1 2014-01-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6 2014-01-01 Allan McRae <allan@archlinux.org>
8 * scripts/update-copyrights: Update configure input file suffix.
10 * NEWS: Update copyright year.
11 * catgets/gencat.c: Likewise.
12 * csu/version.c: Likewise.
13 * debug/catchsegv.sh: Likewise.
14 * debug/pcprofiledump.c: Likewise.
15 * debug/xtrace.sh: Likewise.
16 * elf/ldconfig.c: Likewise.
17 * elf/ldd.bash.in: Likewise.
18 * elf/pldd.c: Likewise.
19 * elf/sotruss.ksh: Likewise.
20 * elf/sprof.c: Likewise.
21 * iconv/iconv_prog.c: Likewise.
22 * iconv/iconvconfig.c: Likewise.
23 * locale/programs/locale.c: Likewise.
24 * locale/programs/localedef.c: Likewise.
25 * login/programs/pt_chown.c: Likewise.
26 * malloc/memusage.sh: Likewise.
27 * malloc/memusagestat.c: Likewise.
28 * malloc/mtrace.pl: Likewise.
29 * manual/libc.texinfo: Likewise.
30 * nscd/nscd.c: Likewise.
31 * nss/getent.c: Likewise.
32 * nss/makedb.c: Likewise.
33 * posix/getconf.c: Likewise.
34 * scripts/test-installation.pl: Likewise.
36 * All files with FSF copyright notices: Update copyright dates
37 using scripts/update-copyrights.
38 * intl/plural.c: Regenerated.
39 * locale/programs/charmap-kw.h: Likewise.
40 * locale/programs/locfile-kw.h: Likewise.
42 2013-12-31 Mike Frysinger <vapier@gentoo.org>
44 * sysdeps/unix/sysv/linux/configure: Regenerated.
45 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
46 the linux/fanotify.h header.
47 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48 HAVE_LINUX_FANOTIFY_H is defined.
50 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
52 * benchtests/cos-inputs: New inputs.
53 * benchtests/sin-inputs: Likewise.
55 * benchtests/atan-inputs: New inputs. Fix name of multiple
56 precision fallback inputs.
58 * benchtests/atanh-inputs: New inputs.
59 * benchtests/tanh-inputs: Likewise.
61 * benchtests/acosh-inputs: New inputs.
62 * benchtests/asinh-inputs: Likewise.
64 * benchtests/cosh-inputs: New inputs.
65 * benchtests/sinh-inputs: Likewise.
67 * benchtests/acos-inputs: Add more inputs.
68 * benchtests/asin-inputs: Likewise.
70 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
73 * manual/arith.texi: Fix spelling.
74 * manual/charset.texi: Likewise.
75 * manual/errno.texi: Likewise.
76 * manual/filesys.texi: Likewise.
77 * manual/lang.texi: Likewise.
78 * manual/llio.texi: Likewise.
79 * manual/locale.texi: Likewise.
80 * manual/message.texi: Likewise.
81 * manual/resource.texi: Likewise.
82 * manual/search.texi: Likewise.
83 * manual/setjmp.texi: Likewise.
84 * manual/stdio.texi: Likewise.
85 * manual/string.texi: Likewise.
86 * manual/sysinfo.texi: Likewise.
87 * manual/time.texi: Likewise.
89 2013-12-27 Carlos O'Donell <carlos@redhat.com>
93 2013-12-27 Mike Frysinger <vapier@gentoo.org>
95 * .gitignore: Add core/.gdbinit/.gdb_history.
97 2013-12-27 Allan McRae <allan@archlinux.org>
100 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
101 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
103 2013-12-24 Brooks Moses <bmoses@google.com>
105 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
106 all compilers that claim C++98 compliance, not just GCC.
107 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
110 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
112 * NEWS: Restore accidentally deleted bug-fix entries.
114 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
115 Ondřej Bílka <neleai@seznam.cz>
118 * malloc/malloc.c (_int_free): Perform sanity check only if we
121 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
124 * manual/stdio.texi (String Input Conversions): Clarify that character
125 classes are not supported.
127 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
131 2013-12-22 Joseph Myers <joseph@codesourcery.com>
134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
135 Calculate results for small negative arguments directly rather
136 than using reflection formula with special underflow handling.
138 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
139 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
140 sysdeps/unix/bsd/bsd4.4/syscalls.list.
141 (fchflags): Likewise.
143 (setlogin): Likewise.
144 (sigaltstack): Likewise.
147 (sigsetmask): Likewise.
150 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
151 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
153 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
154 * sysdeps/unix/bsd/Makefile: ... here.
155 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
156 * sysdeps/unix/bsd/Versions: ... here.
157 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
158 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
159 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
160 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
161 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
162 * sysdeps/unix/bsd/sigblock.c: ... here.
163 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
164 * sysdeps/unix/bsd/sigsetmask.c: ... here.
165 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
166 * sysdeps/unix/bsd/sigvec.c: ... here.
167 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
168 * sysdeps/unix/bsd/tcdrain.c: ... here.
169 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
170 * sysdeps/unix/bsd/tcgetattr.c: ... here.
171 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
172 * sysdeps/unix/bsd/tcsetattr.c: ... here.
173 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
174 * sysdeps/unix/bsd/wait.c: ... here.
175 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
176 * sysdeps/unix/bsd/wait3.c: ... here.
177 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
178 * sysdeps/unix/bsd/waitpid.c: ... here.
180 2013-12-21 Joseph Myers <joseph@codesourcery.com>
183 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
184 round-to-nearest for [!USE_AS_EXPM1L].
185 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
186 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
187 more tests of exp and exp10. Expect some exp10 tests to miss
188 exceptions or fail in directed rounding modes.
189 * math/auto-libm-test-out: Regenerated.
190 * math/libm-test.inc (exp10_tonearest_test_data): New array.
191 (exp10_test_tonearest): New function.
192 (exp10_towardzero_test_data): New array.
193 (exp10_test_towardzero): New function.
194 (exp10_downward_test_data): New array.
195 (exp10_test_downward): New function.
196 (exp10_upward_test_data): New array.
197 (exp10_test_upward): New function.
198 (main): Call the new functions.
199 * sysdeps/i386/fpu/libm-test-ulps: Update.
200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202 2013-12-20 Joseph Myers <joseph@codesourcery.com>
204 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
205 asinh, atan, atan2, atanh, cbrt, cos and cosh.
206 * math/auto-libm-test-out: Regenerated.
207 * math/libm-test.inc (acosh_test_data): Add more tests.
208 (atanh_test_data): Likewise.
209 (ceil_test_data): Likewise.
210 (copysign_test_data): Likewise.
211 * sysdeps/i386/fpu/libm-test-ulps: Update.
212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214 * timezone/checktab.awk: Update from tzcode 2013i.
215 * timezone/private.h: Likewise.
216 * timezone/scheck.c: Likewise.
217 * timezone/tzfile.h: Likewise.
218 * timezone/tzselect.ksh: Likewise.
219 * timezone/zdump.c: Likewise.
220 * timezone/zic.c: Likewise.
222 * math/auto-libm-test-in: Add tests of cpow.
223 * math/auto-libm-test-out: Regenerated.
224 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
225 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
227 (func_calc_desc): Add mpc_cc_c union field.
228 (test_functions): Add cpow.
229 (special_fill_2pi): New function.
230 (special_real_inputs): Add 2pi.
231 (calc_generic_results): Handle mpc_cc_c.
232 * sysdeps/i386/fpu/libm-test-ulps: Update.
233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
235 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
236 csqrt, ctan and ctanh.
237 * math/auto-libm-test-out: Regenerated.
238 * math/libm-test.inc (TEST_COND_x86_64): New macro.
239 (TEST_COND_x86): Likewise.
240 (ccos_test_data): Use AUTO_TESTS_c_c.
241 (ccosh_test_data): Likewise.
242 (cexp_test_data): Likewise.
243 (clog_test_data): Likewise.
244 (csqrt_test_data): Likewise.
245 (ctan_test_data): Likewise.
246 (ctan_tonearest_test_data): Likewise.
247 (ctan_towardzero_test_data): Likewise.
248 (ctan_downward_test_data): Likewise.
249 (ctan_upward_test_data): Likewise.
250 (ctanh_test_data): Likewise.
251 (ctanh_tonearest_test_data): Likewise.
252 (ctanh_towardzero_test_data): Likewise.
253 (ctanh_downward_test_data): Likewise.
254 (ctanh_upward_test_data): Likewise.
255 * math/gen-auto-libm-tests.c (func_calc_method): Add value
257 (func_calc_desc): Add mpc_c_c union field.
258 (FUNC_mpc_c_c): New macro.
259 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
260 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
262 (special_fill_min_subnorm_p120): New function.
263 (special_real_inputs): Add min_subnorm_p120.
264 (calc_generic_results): Handle mpc_c_c.
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
268 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
270 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
271 do_sin_slow): New functions.
272 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
273 cslow2, csloww1, csloww2): Use the new functions.
275 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
276 Use M to change sign of result instead of X. Assume X is
282 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
289 (sloww1): Don't adjust sign of DX.
291 (sloww2): Use X directly and don't adjust sign of DX.
294 2013-12-19 Joseph Myers <joseph@codesourcery.com>
296 * math/auto-libm-test-in: Add tests of cabs and carg.
297 * math/auto-libm-test-out: Regenerated.
298 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
299 (carg_test_data): Likewise.
300 * math/gen-auto-libm-tests.c (func_calc_method): Add value
302 (func_calc_desc): Add mpc_c_f union field.
303 (test_functions): Add cabs and carg.
304 (calc_generic_results): Handle mpc_c_f.
306 * sysdeps/powerpc/powerpc32/libgcc-compat.S
307 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
308 as a macro and a compat symbol.
309 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
310 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
311 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
312 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
313 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
314 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
316 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
318 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
320 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
322 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
324 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
326 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
327 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
330 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
334 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
336 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
337 (__signal_safe_memalign, __signal_safe_free): Use it.
338 (__signal_safe_realloc): Likewise.
340 2013-12-19 Joseph Myers <joseph@codesourcery.com>
342 * manual/texinfo.tex: Update to version 2013-11-26.10 with
343 trailing whitespace removed.
344 * scripts/config.guess: Update to version 2013-11-29.
345 * scripts/config.sub: Update to version 2013-10-01.
347 * math/auto-libm-test-in: Add tests of sincos.
348 * math/auto-libm-test-out: Regenerated.
349 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
352 (func_calc_desc): Add mpfr_f_11 union field.
353 (test_functions): Add sincos.
354 (calc_generic_results): Handle mpfr_f_11.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358 2013-12-19 Andreas Schwab <schwab@suse.de>
360 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
363 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
364 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
366 2013-12-19 Joseph Myers <joseph@codesourcery.com>
368 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
374 round-to-nearest mode when using frndint.
375 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
376 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
377 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
379 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
381 * math/auto-libm-test-out: Regenerated.
382 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
383 (TEST_COND_x86): Likewise.
384 (expm1_tonearest_test_data): New array.
385 (expm1_test_tonearest): New function.
386 (expm1_towardzero_test_data): New array.
387 (expm1_test_towardzero): New function.
388 (expm1_downward_test_data): New array.
389 (expm1_test_downward): New function.
390 (expm1_upward_test_data): New array.
391 (expm1_test_upward): New function.
392 (main): Run the new test functions.
393 * sysdeps/i386/fpu/libm-test-ulps: Update.
394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
396 * include/features.h: Update comment documenting feature test
397 macros. Mention _DEFAULT_SOURCE in comment.
398 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
399 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
400 _BSD_SOURCE and _SVID_SOURCE.
401 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
402 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
403 !_SVID_SOURCE]: Likewise.
404 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
405 (__USE_POSIX_IMPLICITLY): Define.
406 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
407 (_POSIX_SOURCE): Undefine and redefine.
408 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
409 (_POSIX_C_SOURCE): Likewise.
410 * manual/creature.texi (_DEFAULT_SOURCE): Document.
411 (Feature Test Macros): Update documentation of default features.
413 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
415 * benchtests/Makefile: Add bench-strtok.
416 * benchtests/bench-strtok.c: New file: strtok benchtest.
418 2013-12-19 Allan McRae <allan@archlinux.org>
420 * manual/install.texi: Suppress menu for plain text output.
421 * INSTALL: Regenerated.
423 2013-12-18 Andrew Hunter <ahh@google.com>
425 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
426 (__signal_safe_malloc, __signal_safe_free): Likewise.
427 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
428 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
429 (__signal_safe_memalign, __signal_safe_malloc): New function.
430 (__signal_safe_free, __signal_safe_realloc): Likewise.
431 (__signal_safe_calloc): Likewise.
432 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
434 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
436 2013-12-18 Andrew Hunter <ahh@google.com>
438 * elf/Versions (ld): Add _dl_clear_dtv.
439 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
440 * elf/dl-tls.c (_dl_clear_dtv): New function.
441 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
443 2013-12-18 Andrew Hunter <ahh@google.com>
445 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
446 (_dl_unmask_signals): Likewise.
447 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
448 (_dl_unmask_all_signals): Likewise.
449 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
450 (_dl_unmask_all_signals): Likewise.
451 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
452 (_dl_unmask_signals): Likewise.
454 2013-12-18 Brooks Moses <bmoses@google.com>
457 * misc/getauxval.c: Include errno.h.
458 (__getauxval): Set errno to ENOENT if the requested type is not
460 * misc/sys/auxv.h (getauxval): Document that it may set errno;
461 don't declare with __attribute_const__.
462 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
463 * manual/startup.texi: Document that getauxval sets errno.
465 2013-12-18 Joseph Myers <joseph@codesourcery.com>
467 * math/auto-libm-test-in: Add tests of jn and yn.
468 * math/auto-libm-test-out: Regenerated.
469 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
470 (yn_test_data): Likewise.
471 * math/gen-auto-libm-tests.c (func_calc_method): Add value
473 (func_calc_desc): Add mpfr_if_f union field.
474 (FUNC_mpfr_if_f): New macro.
475 (test_functions): Add jn and yn.
476 (calc_generic_results): Assert type of second input for
477 mpfr_ff_f. Handle mpfr_if_f.
478 (output_for_one_input_case): Disable all checking for arguments
479 fitting floating-point types in case of an integer argument.
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
484 Don't expect fegetround reference in libm.so.
486 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
488 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
489 $(config-cflags-nofma).
491 2013-12-18 Joseph Myers <joseph@codesourcery.com>
493 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
494 * math/auto-libm-test-out: Regenerated.
497 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
498 to determine exponent and adjust argument to have exponent of -1.
499 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
501 * math/auto-libm-test-out: Regenerated.
502 * sysdeps/i386/fpu/libm-test-ulps: Update.
503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
505 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
507 * manual/probes.texi: Remove cases when per-thread arenas are
510 2013-12-18 Andreas Schwab <schwab@suse.de>
512 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
513 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
514 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
515 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
516 * sysdeps/i386/i686/multiarch/Makefile: Update.
517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
519 2013-12-17 Joseph Myers <joseph@codesourcery.com>
521 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
522 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
524 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
526 Support TZ transition times < 00:00:00.
527 This is needed for version-3 tz-format files; it supports time
528 stamps past 2037 for America/Godthab (the only entry in the tz
529 database for which this change is relevant).
530 * manual/time.texi (TZ Variable): Document transition times
531 from -167:59:59 through -00:00:01.
532 * time/tzset.c (tz_rule): Time of day is now signed.
533 (__tzset_parse_tz): Parse negative time of day.
535 Document TZ transition times >= 25:00:00.
536 * manual/time.texi (TZ Variable): Document transition times from
537 25:00:00 through 167:59:59. These are already supported, and this
538 support will help with version-3 tz-format files.
540 * manual/time.texi (TZ Variable): Modernize North America example
541 to reflect current (i.e., 2007-and-later) daylight saving rules.
543 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
545 2013-12-17 Joseph Myers <joseph@codesourcery.com>
547 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
548 * sysdeps/unix/bsd/bits/stat.h: Likewise.
549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
551 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
552 * sysdeps/unix/bsd/bsdstat.h: Likewise.
553 * sysdeps/unix/bsd/clock.c: Likewise.
554 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
555 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
556 * sysdeps/unix/bsd/init-posix.c: Likewise.
557 * sysdeps/unix/bsd/poll.c: Likewise.
558 * sysdeps/unix/bsd/ptsname.c: Likewise.
559 * sysdeps/unix/bsd/seekdir.c: Likewise.
560 * sysdeps/unix/bsd/setegid.c: Likewise.
561 * sysdeps/unix/bsd/seteuid.c: Likewise.
562 * sysdeps/unix/bsd/setgid.c: Likewise.
563 * sysdeps/unix/bsd/setrgid.c: Likewise.
564 * sysdeps/unix/bsd/setruid.c: Likewise.
565 * sysdeps/unix/bsd/setsid.c: Likewise.
566 * sysdeps/unix/bsd/setuid.c: Likewise.
567 * sysdeps/unix/bsd/sigaction.c: Likewise.
568 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
569 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
570 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
571 * sysdeps/unix/bsd/telldir.c: Likewise.
572 * sysdeps/unix/bsd/times.c: Likewise.
573 * sysdeps/unix/bsd/usleep.c: Likewise.
575 * misc/Makefile (install-lib): Remove libbsd-compat.a.
576 ($(objpfx)libbsd-compat.a): Remove rule.
578 * include/features.h (__FAVOR_BSD): Do not define.
579 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
580 features conflicting with POSIX.
581 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
582 (_BSD_SOURCE): Remove description of not being a subset of other
584 * manual/job.texi (getpgrp): Do not document BSD version.
585 (getpgid): Do not document by reference to BSD getpgrp.
586 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
587 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
588 * signal/signal.h [__FAVOR_BSD]: Likewise.
589 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
590 instead of making contents conditional on [__FAVOR_BSD].
591 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
593 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
597 2013-12-17 Joseph Myers <joseph@codesourcery.com>
600 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
601 values below 2**-450, not 2**-500.
602 * math/auto-libm-test-in: Don't allow spurious underflow from
604 * math/auto-libm-test-out: Regenerated.
608 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
609 values of ha and hb and sort them after adjusting subnormal
611 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
613 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
614 values of ea and eb and sort them after adjusting subnormal
616 * math/auto-libm-test-in: Do not expect some hypot tests of
617 subnormals to fail. Add more hypot tests.
618 * math/auto-libm-test-out: Regenerated.
620 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
623 * sysdeps/sh/s_fma.c: New file.
624 * sysdeps/sh/s_fmaf.c: New file.
625 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
627 * sysdeps/sh/Implies: Add sh/soft-fp.
629 2013-12-16 Roland McGrath <roland@hack.frob.com>
631 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
632 level of indirection to members `objname', `errstring', `malloced'.
633 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
634 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
635 it as the __longjmp argument (just pass 1 instead).
636 (_dl_catch_error): Initialize C with argument pointers and address of
637 volatile local ERRCODE rather than copying values out of C at return.
639 2013-12-16 Joseph Myers <joseph@codesourcery.com>
641 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
642 * math/auto-libm-test-out: Regenerated.
643 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
644 (hypot_test_data): Likewise.
645 (pow_test_data): Likewise.
646 (pow_tonearest_test_data): Likewise.
647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
649 (func_calc_desc): Add mpfr_ff_f union field.
650 (FUNC_mpfr_ff_f): New macro.
651 (test_functions): Add atan2, hypot and pow.
652 (special_fill_min): New function.
653 (special_fill_minus_min): Likewise.
654 (special_fill_min_subnorm): Likewise.
655 (special_fill_minus_min_subnorm): Likewise.
656 (special_real_inputs): Add min, -min, min_subnorm and
658 (calc_generic_results): Handle mpfr_ff_f.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
662 2013-12-16 Will Newton <will.newton@linaro.org>
664 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
665 (Aligned Memory Blocks): Add documentation for aligned_alloc
666 and suggest it as an alternative to posix_memalign.
667 (Hooks for Malloc): Document __memalign_hook is also called
668 for aligned_alloc. (Summary of Malloc): Add summary for
669 aligned alloc. Document __memalign_hook is also called
672 2013-12-16 Will Newton <will.newton@linaro.org>
674 * manual/memory.texi (Malloc Examples): Clarify default
675 alignment documentation. Suggest posix_memalign rather
676 than memalign or valloc.
677 (Aligned Memory Blocks): Remove suggestion to use memalign
678 or valloc. Remove obsolete comment about BSD.
679 Document memalign errno values and mark the function obsolete.
680 Document posix_memalign returned error codes. Mark valloc
681 as obsolete. (Hooks for Malloc): __memalign_hook is also
682 called for posix_memalign and valloc.
683 (Summary of Malloc): Add posix_memalign to function summary.
684 __memalign_hook is also called for posix_memalign and valloc.
686 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
688 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
692 (sloww): Use mynumber union. Expand ternary operator into
694 (cslow): use mynumber union.
696 2013-12-16 Allan McRae <allan@archlinux.org>
698 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
699 * configure: Regenerated.
701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
704 * configure.ac: Added --enable-maintainer-mode. Check for
705 autoconf when enabled.
706 * configure: Regenerated.
708 * nscd/nscd.service: New file.
709 * nscd/nscd.tmpfiles: New file.
711 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
714 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
715 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
716 * sysdeps/x86_64/multiarch/strstr.c: ... here.
717 (strstr): Add __strstr_sse2_unaligned ifunc.
718 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
719 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
720 (strcasestr): Remove __strcasestr_sse42 ifunc.
721 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
725 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
727 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
728 * sysdeps/sh/bits/fenv.h: ... here.
729 * sysdeps/sh/sh4/fpu/bits: Remove directory.
731 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
735 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
738 hypotf multiarch implementations.
739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
742 multiarch hypot for PPC64.
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
746 multiarch hypotf for PPC64.
748 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
751 modff multiarch implementations.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
755 multiarch modf for PPC64.
756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
759 multiarch modff for PPC64.
761 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
764 and logl multiarch implementations.
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
768 multiarch logb for PPC64.
769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
772 multiarch logb for PPC64.
773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
776 multiarch logb for PPC64.
778 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
781 isinff multiarch implementation.
782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
786 multiarch isinf for PPC64.
787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
790 multiarch isinff for PPC64.
792 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
795 finitef multiarch implementation.
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
800 multiarch finite for PPC64.
801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
804 multiarch finitef for PPC64.
806 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
809 lrint multiarch implementation.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
814 multiarch llrint for PPC64.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
816 multiarch lrint for PPC64.
818 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
821 copysignf multiarch implementation.
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
827 multiarch copysign for PPC64.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
829 multiarch copysignf for PPC64.
831 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
834 multiarch implementation.
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
843 multiarch llround for PPC64.
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
845 multiarch trunc for PPC64.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
847 multiarch truncf for PPC64.
849 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
852 multiarch implementation.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
861 multiarch llround for PPC64.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
863 multiarch round for PPC64.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
865 multiarch roundf for PPC64.
867 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
870 multiarch implementation.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
879 multiarch llround for PPC64.
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
881 multiarch floor for PPC64.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
883 multiarch floorf for PPC64.
885 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
888 multiarch implementation.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
897 multiarch llround for PPC64.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
899 multiarch ceil for PPC64.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
901 multiarch ceilf for PPC64.
903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
906 multiarch implementation.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
914 multiarch llround for PPC64.
915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
916 multiarch lround for PPC64.
918 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
921 multiarch implementation.
922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
929 multiarch isnan for PPC64.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
931 multiarch isnanf for PPC64.
933 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
936 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
937 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
938 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
939 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
942 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
949 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
952 multiarch implementations.
953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
954 (__libc_ifunc_impl_list): Likewise.
955 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
957 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
958 multiarch stpcpy for PPC64.
960 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
963 multiarch implementations.
964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
965 (__libc_ifunc_impl_list): Likewise.
966 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
967 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
968 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
969 multiarch strcpy for PPC64.
971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
974 redefine function name.
975 (_wordcopy_fwd_dest_aligned): Likewise.
976 (_wordcopy_bwd_aligned): Likewise.
977 (_wordcopy_bwd_dest_aligned): Likewise.
978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
979 multiarch implementations.
980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
981 (__libc_ifunc_impl_list): Likewise.
982 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
986 multiarch wcscpy for PPC64.
988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
991 multiarch implementations.
992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
993 (__libc_ifunc_impl_list): Likewise.
994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
998 multiarch wcscpy for PPC64.
1000 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1003 multiarch implementations.
1004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1005 (__libc_ifunc_impl_list): Likewise.
1006 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1009 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1010 multiarch wcsrchr for PPC64.
1012 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1015 multiarch implementations.
1016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1017 (__libc_ifunc_impl_list): Likewise.
1018 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1019 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1020 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1021 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1022 multiarch wcschr for PPC64.
1024 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1027 multiarch implementations.
1028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1029 (__libc_ifunc_impl_list): Likewise.
1030 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1031 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1032 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1033 multiarch strchrnul for PPC64.
1035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1040 (__libc_ifunc_impl_list): Likewise.
1041 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1042 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1043 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1044 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1047 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1052 (__libc_ifunc_impl_list): Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1054 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1055 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1056 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1059 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1062 multiarch implementations.
1063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1064 (__libc_ifunc_impl_list): Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1066 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1067 strncasecmp for PPC64.
1068 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1069 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1070 multiarch strncasecmp_l for PPC64.
1072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1075 multiarch implementations.
1076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1077 (__libc_ifunc_impl_list): Likewise.
1078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1080 multiarch strcasecmp for PPC64.
1081 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1083 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1084 multiarch strcasecmp_l for PPC64.
1086 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1091 (__libc_ifunc_impl_list): Likewise.
1092 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1094 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1097 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1102 (__libc_ifunc_impl_list): Likewise.
1103 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1104 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1105 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1113 (__libc_ifunc_impl_list): Likewise.
1114 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1117 rawmemrchr for PPC64.
1119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Likewise.
1125 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1127 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1130 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1135 (__libc_ifunc_impl_list): Likewise.
1136 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1137 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1138 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1141 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1146 (__libc_ifunc_impl_list): Likewise.
1147 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1154 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1155 avoid cretion of __bzero symbol.
1156 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1158 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1160 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1163 multiarch implementations.
1164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1165 (__libc_ifunc_impl_list): Likewise.
1166 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1169 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1171 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1172 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1173 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1174 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1175 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1177 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1179 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1185 (__libc_ifunc_impl_list): Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1187 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1188 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1189 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1192 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1195 multiarch for POWER/PPC64.
1196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1204 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1207 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1210 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1211 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1212 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1213 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1214 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1216 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1217 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1218 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1220 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1221 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1222 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1223 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1232 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1236 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1238 * benchtests/Makefile (bench): Add exp2 and log2.
1239 (LDLIBS-bench-exp2): Add -lm.
1240 (LDLIBS-bench-log2): Likewise.
1241 * benchtests/exp2-inputs: New inputs file.
1242 * benchtests/log2-inputs: New inputs file.
1243 * benchtests/log-inputs: Add new inputs.
1244 * benchtests/tan-inputs: Likewise.
1246 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1248 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1250 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1251 csloww1, csloww2): ... from here.
1253 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1254 instead of structures.
1255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1256 (POLYNOMIAL): Likewise.
1257 (TAYLOR_SLOW): Likewise.
1265 (bsloww1): Likewise.
1266 (bsloww2): Likewise.
1269 (csloww1): Likewise.
1270 (csloww2): Likewise.
1272 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1274 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1275 (__malloc_assert, __libc_realloc, __libc_calloc,
1276 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1278 * malloc/hooks.c (realloc_check): Likewise.
1280 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1282 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1283 * malloc/arena.c: Remove PER_THREAD conditional.
1284 [!PER_THREAD]: Remove code.
1285 (ptmalloc_unlock_all2): Likewise.
1286 (ptmalloc_init): Likewise.
1287 (_int_new_arena): Likewise.
1288 (arena_get2): Likewise.
1289 * malloc/hooks.c (__malloc_get_state): Likewise.
1290 (__malloc_set_state): Likewise.
1291 * malloc/malloc.c: Likewise.
1292 (struct malloc_state): Likewise.
1293 (struct malloc_par): Likewise.
1294 (__libc_realloc): Likewise.
1295 (__libc_mallopt): Likewise.
1297 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1299 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1301 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1303 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1304 macro to a function. Check for zero perturb_byte.
1305 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1307 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1309 * malloc/malloc.c: (force_reg): Remove.
1310 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1311 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1312 force_reg by atomic_forced_read.
1313 * malloc/arena.c (ptmalloc_init): Likewise.
1314 * malloc/hooks.c (top_check): Likewise.
1316 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1324 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1326 * math/auto-libm-test-in: Add tests of lgamma.
1327 * math/auto-libm-test-out: Regenerated.
1328 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1329 (M_LOG_2_SQRT_PIl): Likewise.
1330 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1333 (func_calc_desc): Add mpfr_f_f1 union field.
1342 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1343 (test_functions): Add lgamma.
1344 (calc_generic_results): Handle mpfr_f_f1.
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1351 __mpn_add_n for PowerPC64/POWER7.
1352 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1353 __mpn_sub_n for PowerPC64/POWER7.
1355 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1358 __mpn_addmul_1 for PowerPC64.
1359 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1360 __mpn_submul_1 for PowerPC64.
1361 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1363 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1366 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1369 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1371 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1373 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1375 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1378 add multiarch folders.
1379 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1380 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1381 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1382 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1383 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1384 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1385 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1386 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1387 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1388 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1389 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1400 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1406 multiarch __ieee754_hypot for PowerPC32.
1407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1412 multiarch __ieee754_hypotf for PowerPC32.
1414 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1417 long_double_symbol only if __logbl is defined.
1418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1419 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1421 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1423 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1425 path for implementation.
1426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1429 logb, and logbl multiarch implementations for PowerPC32.
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1435 multiarch logb for PowerPC32.
1436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1441 multiarch logbf for PowerPC32.
1442 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1446 multiarch logbl implementation for PowerPC32.
1448 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1451 and modff multiarch implementations.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1457 multiarch modf for PowerPC32.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1463 multiarch modff for PowerPC32.
1465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1468 and lrintf multiarch implementations.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1474 multiarch lrint for PowerPC32.
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1476 file: multiarch lrintf for PowerPC32.
1478 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1481 and lroundf multiarch implementations.
1482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1489 multiarch lround for PowerPC32.
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1491 file: multiarch lroundf for PowerPC32.
1493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1496 copysign and copysignf multiarch implementations.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1502 file: multiarch copysign for PowerPC32.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1504 file: multiarch copysignf for PowerPC32.
1506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1509 and truncf multiarch implementations.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1515 multiarch trunc for PowerPC32.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1521 multiarch truncf for PowerPC32.
1523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1526 and roundf multiarch implementations.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1532 multiarch round for PowerPC32.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1538 multiarch roundf for PowerPC32.
1540 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1543 and floorf multiarch implementations.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1549 multiarch floor for PowerPC32.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1555 multiarch floorf for PowerPC32.
1557 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1560 and ceilf multiarch implementations.
1561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1566 multiarch ceil for PowerPC32.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1572 multiarch ceilf for PowerPC32.
1574 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1578 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1581 and finitef multiarch implementations.
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1587 multiarch finite for PowerPC32.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1591 file: multiarch finitef for PowerPC32.
1593 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1596 and isinff multiarch implementations.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1602 multiarch isinf for PowerPC32.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1606 multiarch isinff for PowerPC32.
1608 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1610 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1611 alias when __isnan is defined.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1613 and isnanf multiarch implementations.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1623 multiarch isnan for PowerPC32.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1629 multiarch isnanf for PowerPC32.
1631 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1634 and sqrtf multiarch implementations.
1635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1640 multiarch sqrt for PowerPC32.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1646 multiarch sqrtf for PowerPC32.
1648 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1651 and llroundf multiarch implementations.
1652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1659 file: multiarch llround for PowerPC32.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1661 file: multiarch llroundf for PowerPC32.
1663 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1666 multiarch PowerPC32 fpu implementations.
1667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1672 multiarch llrint for PowerPC32.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1680 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1684 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1693 multiarch wordcopy for PPC32.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1697 (__libc_ifunc_impl_list): Likewise.
1698 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1699 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1700 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1701 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1702 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1703 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1715 multiarch wcscpy for PPC32.
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1719 (__libc_ifunc_impl_list): Likewise.
1720 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1721 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1722 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1723 sysdeps/powerpc/power6/wcscpy.c.
1725 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1735 multiarch wcsrchr for PPC32.
1736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1739 (__libc_ifunc_impl_list): Likewise.
1740 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1741 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1742 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1743 sysdeps/powerpc/power6/wcsrchr.c.
1745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1753 multiarch wcschr for PPc32.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1757 (__libc_ifunc_impl_list): Likewise.
1758 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1759 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1760 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1761 sysdeps/powerpc/power6/wcschr.c.
1763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1769 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1770 file: multiarch strchr for PPC32.
1771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1774 (__libc_ifunc_impl_list): Likewise.
1776 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1780 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1784 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1785 multiarch strchrnul for PPC32.
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1789 (__libc_ifunc_impl_list): Likewise.
1791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1796 multiarch strncasecmp for PPC32.
1797 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1800 multiarch strncasecmp_l for PPC32.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1802 strncasecmp multiarch objects.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1804 (__libc_ifunc_impl_list): Likewise.
1806 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1810 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1811 multiarch strncasecmp for PPC32.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1815 multiarch strcasecmp_l for PPC32.
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1819 (__libc_ifunc_impl_list): Likewise.
1821 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1828 multiarch strncmp for PPC32.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1832 (__libc_ifunc_impl_list): Likewise.
1834 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1837 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1844 (__libc_ifunc_impl_list): Likewise.
1846 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1856 (__libc_ifunc_impl_list): Likewise.
1858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1865 multiarch rawmemchr for PPC32.
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1869 (__libc_ifunc_impl_list): Likewise.
1871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1878 file: memrchr multiarch for PPC32.
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1882 (__libc_ifunc_impl_list): Likewise.
1884 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1891 multiarch memchr for PPC32.
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1895 (__libc_ifunc_impl_list): Likewise.
1897 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1899 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1904 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1905 file: multiarch mempcpy for PPC32.
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1909 (__libc_ifunc_impl_list): Likewise.
1911 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1916 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1917 multiarch bzero for PPC32.
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1923 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1924 file: multiarch memset for PPC32.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1927 memset multiarch objects.
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1929 (__libc_ifunc_impl_list): Likewise.
1931 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1942 (__libc_ifunc_impl_list): Likewise.
1944 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1955 multiarch memcpy for PPC32.
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1959 (__libc_ifunc_impl_list): Likewise.
1961 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1964 support multiarch for POWER/PPC32.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1969 Implies file to make multiarch folder appers before the fpu and
1970 default folder for power4 configuration.
1972 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 * scripts/bench.pl: Append volatile keyword to type.
1976 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1978 * sysdeps/sh/sotruss-lib.c: New file.
1979 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1981 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1985 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1988 * math/w_tgamma.c: Include <errno.h>.
1989 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1990 * math/w_tgammaf.c: Include <errno.h>.
1991 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1992 * math/w_tgammal.c: Include <errno.h>.
1993 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1994 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1995 underflow. Add more tgamma tests.
1996 * math/auto-libm-test-out: Regenerated.
1997 * sysdeps/i386/fpu/libm-test-ulps: Update.
1998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2001 sin, sinh, tan, tanh, tgamma, y0 and y1.
2002 * math/auto-libm-test-out: Regenerated.
2003 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2004 (TEST_COND_x86): Likewise.
2005 (M_E2l): Remove macro.
2007 (M_2_SQRT_PIl): Likewise.
2008 (M_SQRT_PIl): Likewise.
2009 (M_1_DIV_El): Likewise.
2010 (log_test_data): Use AUTO_TESTS_f_f.
2011 (log10_test_data): Likewise.
2012 (log1p_test_data): Likewise.
2013 (log2_test_data): Likewise.
2014 (sin_test_data): Likewise.
2015 (sin_tonearest_test_data): Likewise.
2016 (sin_towardzero_test_data): Likewise.
2017 (sin_downward_test_data): Likewise.
2018 (sin_upward_test_data): Likewise.
2019 (sinh_test_data): Likewise.
2020 (sinh_tonearest_test_data): Likewise.
2021 (sinh_towardzero_test_data): Likewise.
2022 (sinh_downward_test_data): Likewise.
2023 (sinh_upward_test_data): Likewise.
2024 (tan_test_data): Likewise.
2025 (tan_tonearest_test_data): Likewise.
2026 (tan_towardzero_test_data): Likewise.
2027 (tan_downward_test_data): Likewise.
2028 (tan_upward_test_data): Likewise.
2029 (tanh_test_data): Likewise.
2030 (tgamma_test_data): Likewise.
2031 (y0_test_data): Likewise.
2032 (y1_test_data): Likewise.
2033 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2034 (special_real_inputs): Add pi/4.
2035 * sysdeps/i386/fpu/libm-test-ulps: Update.
2036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2041 "longjmp_target" static probes.
2042 (__longjmp): Rename to __longjmp_symbol.
2043 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2044 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2045 on which longjmp to generate.
2046 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2049 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2050 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2051 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2052 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2053 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2054 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2056 __longjmp_symbol based on which __longjmp to generate.
2057 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2059 (setjmp): Rename to setjmp_symbol.
2060 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2061 (_setjmp): Rename to _setjmp_symbol.
2062 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2063 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2064 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2065 which setjmp to generate.
2066 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2067 "longjmp_target" static probes.
2069 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * benchtests/README: Add note about output arguments.
2072 * benchtests/bench-sincos.c: Remove file.
2073 * benchtests/sincos-inputs: New file.
2074 * scripts/bench.pl: Identify output arguments and define
2075 static variables for them.
2077 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2080 * Makefile (INSTALL): Add install-plain.texi as the primary
2082 * manual/install-plain.texi: New file.
2083 * manual/install.texi: Include node directive only for
2084 non-plaintext output.
2086 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2088 * stdlib/longlong.h: Update from GCC.
2092 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2093 * math/w_j0f.c (y0f): Likewise.
2094 * math/w_j0l.c (__y0l): Likewise.
2095 * math/w_j1.c (y1): Likewise.
2096 * math/w_j1f.c (y1f): Likewise.
2097 * math/w_j1l.c (__y1l): Likewise
2098 * math/w_jn.c (yn): Likewise.
2099 * math/w_jnf.c (ynf): Likewise.
2100 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2101 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2102 value for Bessel function domain errors outside _SVID_ mode.
2103 Adjust sign of return value for yn (negative integer, 0).
2104 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2105 by zero in return for negative x and set sign appropriately for
2107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2109 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2110 expectations in error cases.
2111 (y1_test_data): Likewise.
2112 (yn_test_data): Likewise.
2113 * sysdeps/i386/fpu/libm-test-ulps: Update.
2114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2116 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2118 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2119 "64" to "64-v1". Add "64-v2".
2120 (abi-64-options): Rename to ...
2121 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2122 (abi-64-condition): Rename to ...
2123 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2124 (abi-64-ld-soname): Rename to ...
2125 (abi-64-v1-ld-soname): ... this.
2126 (abi-64-v2-options): Define.
2127 (abi-64-v2-condition): Likewise.
2128 (abi-64-v2-ld-soname): Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2130 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2135 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2136 Alan Modra <amodra@gmail.com>
2138 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2139 New versions for use with the ELFv2 ABI.
2140 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2141 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2143 (struct La_ppc64v2_retval): Likewise.
2144 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2145 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2146 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2147 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2148 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2150 Do not save or restore CR.
2151 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2152 (_dl_profile_resolve): Do no save or restore CR. Support extended
2153 return values for ELFv2 ABI. Fix location of FPR return registers.
2154 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2155 updated values for _CALL_ELF == 2.
2156 (La_regs, La_retval, int_retval): Likewise.
2158 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2160 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2161 (FRAME_MIN_SIZE_PARM): Likewise.
2162 (FRAME_BACKCHAIN): Likewise.
2163 (FRAME_CR_SAVE): Likewise.
2164 (FRAME_LR_SAVE): Likewise.
2165 (FRAME_TOC_SAVE): Likewise.
2166 (FRAME_PARM_SAVE): Likewise.
2167 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2168 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2169 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2170 (call_mcount_parm_offset): New macro.
2171 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2172 (PROF): Use symbolic stack frame offsets.
2173 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2175 Redefine in terms of FRAME_MIN_SIZE.
2176 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2177 (_dl_profile_resolve): Likewise. Update comment.
2178 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2179 symbols stack frame offsets.
2180 (__sigsetjmp): Likewise.
2181 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2182 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2183 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2184 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2187 (FRAME_BACKCHAIN): Remove.
2188 (FRAME_CR_SAVE): Likewise.
2189 (FRAME_LR_SAVE): Likewise.
2190 (FRAME_COMPILER_DW): Likewise.
2191 (FRAME_LINKER_DW): Likewise.
2192 (FRAME_TOC_SAVE): Likewise.
2193 (FRAME_PARM_SAVE): Likewise.
2194 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2195 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2196 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2198 (CHECK_SP): Use symbolic stack frame offsets.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2200 zone" instead of caller's parameter save area for temp storage.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2202 Likewise. Also, use symbolic stack frame offsets.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2204 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2205 our own stack frame instead of the caller's.
2206 (__socket): Use symbolic stack frame offsets.
2208 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2209 Alan Modra <amodra@gmail.com>
2211 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2213 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2214 PPC64_LOCAL_ENTRY_OFFSET): Define.
2215 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2217 (elf_machine_fixup_plt): Call it.
2218 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2220 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2222 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2223 r2 before calling target.
2225 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2226 Alan Modra <amodra@gmail.com>
2228 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2229 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2230 versions of macros to support ELFv2 ABI.
2231 (LOCALENTRY): New macro.
2232 (ENTRY, EALIGN): Use it.
2233 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2234 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2235 fall through into ENTRY entry point.
2236 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2237 Only define if _CALL_ELF != 2.
2239 (elf_machine_matches_host): Verify ABI version matches.
2240 (RTLD_START): Use LOCALENTRY.
2241 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2242 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2243 (PLT_ENTRY_WORDS): New macro.
2244 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2245 (elf_machine_runtime_setup): Support ELFv2 ABI.
2246 (elf_machine_fixup_plt): Likewise.
2247 (elf_machine_plt_conflict): Likewise.
2248 (resolve_ifunc): Likewise.
2249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2253 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2255 (makecontext): Support ELFv2 ABI.
2256 * elf/elf.h (EF_PPC64_ABI): Define.
2258 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2260 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2261 New assembler macro.
2262 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2263 [ASSEMBLER] (ENTRY): ... but instead here ...
2264 [ASSEMBLER] (EALIGN): ... and here.
2265 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2266 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2267 [!ASSEMBLER] (ENTRY_2): Use it.
2268 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2269 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2270 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2271 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2272 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2274 Use PPC64_LOAD_FUNCPTR.
2276 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2278 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2280 2013-12-04 Alan Modra <amodra@gmail.com>
2282 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2283 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2284 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2285 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2288 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2289 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2290 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2291 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2292 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2297 (__makecontext): Fix incorrect CFI when backtracing out of
2298 context created via makecontext.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2300 (__setcontext): Fix incorrect CFI during switch to new context.
2301 (__novec_setcontext): Likewise.
2303 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2306 * time/strptime_l.c (__strptime_internal): Allow modifiers
2308 * time/tst-strptime.c (day_tests): Add testcase.
2311 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * scripts/bench.pl: Skip over blank lines.
2315 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2318 * manual/time.texi (Calendar Time): Clarify what timezone functions
2321 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2325 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2327 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2329 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2330 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2331 * debug/memset_chk.c (__memset_chk): Likewise.
2332 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2333 * debug/strncpy_chk.c: Likewise.
2335 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2339 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2340 (__ieee754_exp): For possibly underflowing results, check size of
2341 result and force underflow exception if required.
2342 * math/auto-libm-test-in: Add more tests of exp.
2343 * math/auto-libm-test-out: Regenerated.
2344 * sysdeps/i386/fpu/libm-test-ulps: Update.
2345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2348 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2349 * math/w_exp2f.c (__exp2f): Likewise.
2350 * math/w_exp2l.c (__exp2l): Likewise.
2351 * math/auto-libm-test-in: Do not allow missing errno on exp2
2353 * math/auto-libm-test-out: Regenerated.
2355 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2358 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2359 handle filename validation.
2360 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2363 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2366 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2367 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2368 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2370 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2371 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2372 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2374 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2376 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2377 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2378 Add more erfc tests.
2379 * math/auto-libm-test-out: Regenerated.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2383 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2384 exp2, expm1, j0 and j1.
2385 * math/auto-libm-test-out: Regenerated.
2386 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2387 (erfc_test_data): Likewise.
2388 (exp_test_data): Likewise.
2389 (exp_tonearest_test_data): Likewise.
2390 (exp_towardzero_test_data): Likewise.
2391 (exp_downward_test_data): Likewise.
2392 (exp_upward_test_data): Likewise.
2393 (exp10_test_data): Likewise.
2394 (exp2_test_data): Likewise.
2395 (expm1_test_data): Likewise.
2396 (j0_test_data): Likewise.
2397 (j1_test_data): Likewise.
2398 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2399 (input_flag_type): Add flag_xfail_rounding.
2400 (input_flags): Add xfail-rounding.
2401 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2402 (output_for_one_input_case): Handle flag_xfail_rounding.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2406 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2409 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2412 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2415 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2416 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2417 (STAP_PROBE0): New macro.
2418 (STAP_PROBE1): Likewise.
2419 (STAP_PROBE2): Likewise.
2420 (STAP_PROBE3): Likewise.
2421 (STAP_PROBE4): Likewise.
2423 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2425 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2427 2013-12-02 Steve Ellcey <sellcey@mips.com>
2429 * benchtests/Makefile (bench): Add sqrt.
2430 (LDLIBS-bench-sqrt): New.
2431 * benchtests/sqrt-input: New.
2433 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2435 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2436 (GAIH_EAI): Likewise.
2437 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2438 (gaih_inet): Likewise.
2439 (getaddrinfo): Don't use GAIH_EAI.
2441 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2442 (struct gaih): Remove definition.
2444 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2446 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2447 Use HERRNOP directly.
2449 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2453 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2455 * math/gen-auto-libm-tests.c (test_functions): Add more
2456 single-argument functions.
2457 (special_fill_pi_2): New function.
2458 (special_fill_minus_pi_2): Likewise.
2459 (special_fill_pi_6): Likewise.
2460 (special_fill_minus_pi_6): Likewise.
2461 (special_fill_pi_3): Likewise.
2462 (special_fill_2pi_3): Likewise.
2463 (special_fill_e): Likewise.
2464 (special_fill_1_e): Likewise.
2465 (special_fill_e_minus_1): Likewise.
2466 (special_real_inputs): Add more special inputs.
2467 (output_for_one_input_case): Do not require ERANGE on underflow to
2468 zero if round-to-nearest result does not underflow to zero, unless
2469 exact results required.
2470 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2471 atan, atanh, cbrt, cos and cosh.
2472 * math/auto-libm-test-out: Regenerated.
2473 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2474 (acos_tonearest_test_data): Likewise.
2475 (acos_towardzero_test_data): Likewise.
2476 (acos_downward_test_data): Likewise.
2477 (acos_upward_test_data): Likewise.
2478 (acosh_test_data): Likewise.
2479 (asin_test_data): Likewise.
2480 (asin_tonearest_test_data): Likewise.
2481 (asin_towardzero_test_data): Likewise.
2482 (asin_upward_test_data): Likewise.
2483 (asinh_test_data): Likewise.
2484 (atan_test_data): Likewise.
2485 (atanh_test_data): Likewise.
2486 (cbrt_test_data): Likewise.
2487 (cos_test_data): Likewise.
2488 (cos_tonearest_test_data): Likewise.
2489 (cos_towardzero_test_data): Likewise.
2490 (cos_downward_test_data): Likewise.
2491 (cos_upward_test_data): Likewise.
2492 (cosh_test_data): Likewise.
2493 (cosh_tonearest_test_data): Likewise.
2494 (cosh_towardzero_test_data): Likewise.
2495 (cosh_downward_test_data): Likewise.
2496 (cosh_upward_test_data): Likewise.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2500 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2503 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2504 * math/w_exp10f.c (__exp10f): Likewise.
2505 * math/w_exp10l.c (__exp10l): Likewise.
2506 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2507 errno settings in existing tests.
2510 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2511 precision control set to double precision.
2512 * sysdeps/i386/fpu/w_sqrt.c: New file.
2513 * math/auto-libm-test-in: Add more tests.
2514 * math/auto-libm-test-out: Update.
2516 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2517 (sqrt_test_tonearest): New function.
2518 (sqrt_towardzero_test_data): New variable.
2519 (sqrt_test_towardzero): New function.
2520 (sqrt_downward_test_data): New variable.
2521 (sqrt_test_downward): New function.
2522 (sqrt_upward_test_data): New variable.
2523 (sqrt_test_upward): New function.
2524 (main): Call the new functions.
2526 * math/gen-auto-libm-tests.c: New file.
2527 * math/auto-libm-test-in: Likewise.
2528 * math/auto-libm-test-out: New generated file.
2529 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2531 (%beautify): Add generated representations of zero.
2532 (top level): Set $auto_input and call parse_auto_input.
2533 (beautify): Remove trailing "f" from hex float constants.
2534 (parse_args): Handle XFAIL_TEST.
2535 (convert_condition): New function.
2536 (or_value): Likewise.
2537 (or_cond_value): Likewise.
2538 (generate_testfile): Handle AUTO_TESTS_* lines.
2539 (parse_auto_input): New function.
2540 * math/libm-test.inc (XFAIL_TEST): New macro.
2541 (ERRNO_UNCHANGED): Update value.
2542 (ERRNO_EDOM): Likewise.
2543 (ERRNO_ERANGE): Likewise.
2544 (IGNORE_RESULT): Likewise.
2545 (TEST_COND_flt_32): New macro.
2546 (TEST_COND_dbl_64): Likewise.
2547 (TEST_COND_ldbl_96_intel): Likewise.
2548 (TEST_COND_ldbl_96_m68k): Likewise.
2549 (TEST_COND_ldbl_128): Likewise.
2550 (TEST_COND_ldbl_128ibm): Likewise.
2551 (TEST_COND_long32): Likewise.
2552 (TEST_COND_long64): Likewise.
2553 (TEST_COND_before_rounding): Likewise.
2554 (TEST_COND_after_rounding): Likewise.
2555 (enable_test): Handle XFAIL_TEST flag.
2556 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2557 with finite results.
2558 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2561 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2562 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2565 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2566 __tls_get_addr_internal instead of __tls_get_offset in order to
2567 avoid GOT pointer dependency. Make rtld export
2568 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2569 __tls_get_addr since we are a __tls_get_offset platform.
2570 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2571 GOT pointer being set up before.
2572 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2574 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2576 * manual/math.texi (Errors in Math Functions): Document accuracy
2580 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2581 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2592 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2593 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2594 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2595 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2597 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2598 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2599 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2600 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2601 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2603 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2605 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2607 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2608 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2609 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2610 atomic-feupdateenv and flt-rounds.
2611 * sysdeps/powerpc/nofpu/Versions (libc): Add
2612 __atomic_feholdexcept, __atomic_feclearexcept,
2613 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2614 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2615 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2616 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2617 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2622 * manual/arith.texi (FP Exceptions): Document that exceptions may
2623 not be raised when matherr is used.
2624 (Math Error Reporting): Document overflow in directed rounding
2625 modes. Document that errno may not be set when finite values are
2626 returned on overflow. Document intent to set errno on underflow
2627 only for underflow to zero.
2630 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2631 round-to-nearest then adjust result for other rounding modes.
2632 * include/fenv.h (fegetround): Use libm_hidden_proto.
2633 * math/fegetround.c (fegetround): Use libm_hidden_def.
2634 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2635 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2636 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2639 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2640 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2641 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2642 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2644 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2647 * nss/Versions (libnss_files): Add
2648 _nss_files_gethostbyname3_r.
2649 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2651 (HOST_DB_LOOKUP): Remove macro.
2652 (_nss_files_gethostbyname_r): Implement function without the
2653 HOST_DB_LOOKUP macro.
2654 (_nss_files_gethostbyname2_r): Likewise.
2656 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2658 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2660 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2662 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2663 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2666 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2668 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2669 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2670 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2671 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2672 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2673 __fe_nomask_env_priv and attribute_hidden.
2674 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2675 (libc_feupdateenv_test_ppc): Likewise.
2676 (libc_feresetround_ppc): Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2678 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2679 compat_symbol macro.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2681 (__fe_nomask_env): Likewise.
2682 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2684 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2686 * string/Makefile: Remove ifunc tests.
2687 * string/test-string.h: Define TEST_IFUNC.
2688 * string/test-bcopy-ifunc.c: Remove.
2689 * string/test-bzero-ifunc.c: Likewise.
2690 * string/test-memccpy-ifunc.c: Likewise.
2691 * string/test-memchr-ifunc.c: Likewise.
2692 * string/test-memcmp-ifunc.c: Likewise.
2693 * string/test-memcpy-ifunc.c: Likewise.
2694 * string/test-memmem-ifunc.c: Likewise.
2695 * string/test-memmove-ifunc.c: Likewise.
2696 * string/test-mempcpy-ifunc.c: Likewise.
2697 * string/test-memrchr-ifunc.c: Likewise.
2698 * string/test-memset-ifunc.c: Likewise.
2699 * string/test-rawmemchr-ifunc.c: Likewise.
2700 * string/test-stpcpy-ifunc.c: Likewise.
2701 * string/test-stpncpy-ifunc.c: Likewise.
2702 * string/test-strcasecmp-ifunc.c: Likewise.
2703 * string/test-strcasestr-ifunc.c: Likewise.
2704 * string/test-strcat-ifunc.c: Likewise.
2705 * string/test-strchr-ifunc.c: Likewise.
2706 * string/test-strchrnul-ifunc.c: Likewise.
2707 * string/test-strcmp-ifunc.c: Likewise.
2708 * string/test-strcpy-ifunc.c: Likewise.
2709 * string/test-strcspn-ifunc.c: Likewise.
2710 * string/test-strlen-ifunc.c: Likewise.
2711 * string/test-strncasecmp-ifunc.c: Likewise.
2712 * string/test-strncat-ifunc.c: Likewise.
2713 * string/test-strncmp-ifunc.c: Likewise.
2714 * string/test-strncpy-ifunc.c: Likewise.
2715 * string/test-strnlen-ifunc.c: Likewise.
2716 * string/test-strpbrk-ifunc.c: Likewise.
2717 * string/test-strrchr-ifunc.c: Likewise.
2718 * string/test-strspn-ifunc.c: Likewise.
2719 * string/test-strstr-ifunc.c: Likewise.
2721 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2723 * benchtests/Makefile: Remove ifunc tests.
2724 * benchtests/bench-string.h: Define TEST_IFUNC.
2725 * benchtests/bench-bcopy-ifunc.c: Remove.
2726 * benchtests/bench-bzero-ifunc.c: Likewise.
2727 * benchtests/bench-memccpy-ifunc.c: Likewise.
2728 * benchtests/bench-memchr-ifunc.c: Likewise.
2729 * benchtests/bench-memcmp-ifunc.c: Likewise.
2730 * benchtests/bench-memcpy-ifunc.c: Likewise.
2731 * benchtests/bench-memmem-ifunc.c: Likewise.
2732 * benchtests/bench-memmove-ifunc.c: Likewise.
2733 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2734 * benchtests/bench-memrchr-ifunc.c: Likewise.
2735 * benchtests/bench-memset-ifunc.c: Likewise.
2736 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2737 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2738 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2739 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2740 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2741 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2742 * benchtests/bench-strcat-ifunc.c: Likewise.
2743 * benchtests/bench-strchr-ifunc.c: Likewise.
2744 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2745 * benchtests/bench-strcmp-ifunc.c: Likewise.
2746 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2747 * benchtests/bench-strcpy-ifunc.c: Likewise.
2748 * benchtests/bench-strcspn-ifunc.c: Likewise.
2749 * benchtests/bench-strlen-ifunc.c: Likewise.
2750 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2751 * benchtests/bench-strncat-ifunc.c: Likewise.
2752 * benchtests/bench-strncmp-ifunc.c: Likewise.
2753 * benchtests/bench-strncpy-ifunc.c: Likewise.
2754 * benchtests/bench-strnlen-ifunc.c: Likewise.
2755 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2756 * benchtests/bench-strrchr-ifunc.c: Likewise.
2757 * benchtests/bench-strsep-ifunc.c: Likewise.
2758 * benchtests/bench-strspn-ifunc.c: Likewise.
2759 * benchtests/bench-strstr-ifunc.c: Likewise.
2761 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2763 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2765 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2767 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2768 * rt/aio.h: Likewise.
2769 * sysdeps/gnu/bits/utmp.h: Likewise.
2770 * sysdeps/gnu/bits/utmpx.h: Likewise.
2771 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2772 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2773 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2774 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2775 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2776 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2777 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2778 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2785 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2789 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2791 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2792 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2793 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2794 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2799 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2800 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2804 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2805 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2806 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2807 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2808 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2809 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2810 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2811 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2812 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2814 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2817 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2818 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2820 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2822 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2823 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2826 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2829 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2830 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2831 (__fesetround): Remove define.
2832 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2833 rounding and exceptions handling.
2834 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2835 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2836 (__fe_nomask_env): Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2838 __fegetround instead of fegetround.
2839 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2842 2013-11-21 Roland McGrath <roland@hack.frob.com>
2844 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2847 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2849 2013-11-21 Meador Inge <meadori@codesourcery.com>
2852 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2853 (encrypt_r): Likewise.
2854 * malloc/obstack.h (obstack_free): Likewise.
2855 * posix/unistd.h (encrypt): Likewise.
2857 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2859 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2860 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2861 DL_CALL_DT_FINI() that call the functions directly.
2862 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2863 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2864 * elf/dl-fini.c: Likewise.
2866 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2868 * malloc/hooks.c (memalign_check): Add alignment rounding.
2869 * malloc/malloc.c (_mid_memalign): New function.
2870 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2871 Implement by calling _mid_memalign.
2872 * manual/probes.texi (Memory Allocation Probes): Remove
2873 memory_valloc_retry and memory_pvalloc_retry.
2875 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2877 * locale/programs/locarchive.c (open_archive): Add const
2878 qualifier to ARCHIVEFNAME and copy default fname to
2882 * libio/tst-widetext.input: Rename Oriya to Odia.
2883 * locale/iso-639.def: Likewise.
2885 * manual/probes.texi (Mathematical Function Probes): Add
2886 documentation for sin, cos, asin and acos probes.
2887 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2888 (__sin32): Add slowasin probe.
2889 (__cos32): Add slowacos probe.
2890 (__mpsin): Add slowsin probe.
2891 (__mpcos): Add slowcos probe.
2893 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2897 thread-local __sim_exceptions_thread and global
2898 __sim_exceptions_global.
2899 (__sim_disabled_exceptions): Change to thread-local
2900 __sim_disabled_exceptions_thread and global
2901 __sim_disabled_exceptions_global.
2902 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2903 and global __sim_round_mode_global.
2904 (__simulate_exceptions): Use thread-local floating-point state and
2905 set global state from it as needed.
2906 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2907 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2908 __sim_round_mode_thread.
2909 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2910 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2911 and global __sim_exceptions_global.
2912 (__sim_disabled_exceptions): Change to thread-local
2913 __sim_disabled_exceptions_thread and global
2914 __sim_disabled_exceptions_global.
2915 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2916 and global __sim_round_mode_global.
2917 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2918 (SIM_SET_GLOBAL): Likewise.
2919 * sysdeps/powerpc/soft-fp/sfp-machine.h
2920 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2921 __sim_round_mode_thread.
2922 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2923 __sim_disabled_exceptions_thread.
2924 (__sim_exceptions): Change to __sim_exceptions_thread.
2925 (__sim_disabled_exceptions): Change to
2926 __sim_disabled_exceptions_thread.
2927 (__sim_round_mode): Change to __sim_round_mode_thread.
2928 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2929 thread-local floating-point state and set global state from it as
2931 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2932 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2933 (__sim_disabled_exceptions): Remove extern declaration.
2934 (feenableexcept): Use thread-local floating-point state and set
2935 global state from it as needed.
2936 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2938 (__sim_disabled_exceptions): Likewise.
2939 (__sim_round_mode): Likewise.
2940 (__fegetenv): Use thread-local floating-point state.
2941 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2942 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2943 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2944 floating-point state and set global state from it as needed.
2945 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2946 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2947 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2949 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2950 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2952 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2953 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2954 Use __sim_round_mode_thread.
2955 * math/test-fenv-tls.c: New file.
2956 * math/Makefile (tests): Add test-fenv-tls.
2957 ($(objpfx)test-fenv-tls): Depend on
2958 $(common-objpfx)nptl/libpthread.so.
2960 2013-11-19 Andreas Schwab <schwab@suse.de>
2962 * locale/programs/locale.c (show_info): Decode wordarray elements.
2963 * locale/categories.def (LC_MONETARY): Add element for
2964 _NL_MONETARY_CRNCYSTR.
2965 * locale/C-monetary.c (conversion_rate): New variable.
2966 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2969 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2971 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2972 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2974 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2976 * elf/Makefile (tst-auxv): New test.
2977 * elf/tst-auxv.c: New
2978 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2980 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2982 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2983 (hidden_proto): Caller changed.
2984 (hidden_tls_proto): New macro.
2985 (libc_hidden_tls_proto): Likewise.
2986 (rtld_hidden_tls_proto): Likewise.
2987 (libm_hidden_tls_proto): Likewise.
2988 (libresolv_hidden_tls_proto): Likewise.
2989 (librt_hidden_tls_proto): Likewise.
2990 (libdl_hidden_tls_proto): Likewise.
2991 (libnss_files_hidden_tls_proto): Likewise.
2992 (libnsl_hidden_tls_proto): Likewise.
2993 (libnss_nisplus_hidden_tls_proto): Likewise.
2994 (libutil_hidden_tls_proto): Likewise.
2996 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2999 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3000 (decompose_rpath): Defer expansion to fillin_rpath.
3001 (_dl_init_paths): Pass linkmap to fillin_rpath.
3003 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3005 * benchtests/Makefile: Add strsep.
3006 * benchtests/bench-strsep.c: New file: strsep benchtest.
3007 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3009 2013-11-18 Andreas Schwab <schwab@suse.de>
3011 * locale/programs/locale.c (show_info) [case byte]: Check for
3012 '\377' instead of '\177'.
3013 * locale/C-monetary.c (not_available): Always use "\377".
3014 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3015 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3016 detect unavailable sign_posn locale elements.
3017 * locale/localeconv.c (__localeconv): For grouping and
3018 mon_grouping handle "\177" and "\377" like no grouping.
3019 (INT_ELEM): New macro. Use it to set all numeric members.
3020 * locale/programs/ld-monetary.c (monetary_read)
3021 <tok_mon_grouping>: Normalize single -1 to the empty string.
3022 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3025 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3029 when we match (nil).
3030 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3032 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3034 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3035 (NO_TEST_INLINE): Update value.
3036 (ERRNO_UNCHANGED): Likewise.
3037 (ERRNO_EDOM): Likewise.
3038 (ERRNO_ERANGE): Likewise.
3039 (IGNORE_RESULT): Likewise.
3040 (check_float_internal): Check signs of NaN results if
3042 (check_complex): Pass TEST_NAN_SIGN flag through to second
3043 check_float_internal call.
3044 (copysign_test_data): Add tests with quiet NaNs as second
3045 argument. Use TEST_NAN_SIGN.
3046 (fabs_test_data): Add test of negative quiet NaN argument. Use
3048 (signbit_test_data): Add tests of quiet NaN argument.
3049 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3051 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3053 (parse_args): Handle function results specified as IGNORE.
3054 * math/libm-test.inc (IGNORE_RESULT): New macro.
3055 (check_float_internal): Do not check numerical result if flag
3057 (check_complex): Pass through IGNORE_RESULT to second
3058 check_float_internal call.
3059 (check_int): Do not check numerical result if flag IGNORE_RESULT
3061 (check_long): Likewise.
3062 (check_bool): Likewise.
3063 (check_longlong): Likewise.
3064 (lrint_test_data): Add tests of infinite and NaN arguments.
3065 (lrint_tonearest_test_data): Likewise.
3066 (lrint_towardzero_test_data): Likewise.
3067 (lrint_downward_test_data): Likewise.
3068 (lrint_upward_test_data): Likewise.
3069 (llrint_test_data): Likewise.
3070 (llrint_tonearest_test_data): Likewise.
3071 (llrint_towardzero_test_data): Likewise.
3072 (llrint_downward_test_data): Likewise.
3073 (llrint_upward_test_data): Likewise.
3074 (lround_test_data): Likewise.
3075 (llround_test_data): Likewise.
3077 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3078 (ERRNO_UNCHANGED): Update value.
3079 (ERRNO_EDOM): Likewise.
3080 (ERRNO_ERANGE): Likewise.
3081 (NO_TEST_INLINE_FLOAT): New macro.
3082 (NO_TEST_INLINE_DOUBLE): Likewise.
3083 (enable_test): New function.
3084 (RUN_TEST_f_f): Check enable_test before running test.
3085 (RUN_TEST_2_f): Likewise.
3086 (RUN_TEST_fff_f): Likewise.
3087 (RUN_TEST_c_f): Likewise.
3088 (RUN_TEST_f_f1): Likewise.
3089 (RUN_TEST_fF_f1): Likewise.
3090 (RUN_TEST_fI_f1): Likewise.
3091 (RUN_TEST_ffI_f1): Likewise.
3092 (RUN_TEST_c_c): Likewise.
3093 (RUN_TEST_cc_c): Likewise.
3094 (RUN_TEST_f_i): Likewise.
3095 (RUN_TEST_f_i_tg): Likewise.
3096 (RUN_TEST_ff_i_tg): Likewise.
3097 (RUN_TEST_f_b): Likewise.
3098 (RUN_TEST_f_b_tg): Likewise.
3099 (RUN_TEST_f_l): Likewise.
3100 (RUN_TEST_f_L): Likewise.
3101 (RUN_TEST_fFF_11): Likewise.
3102 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3104 (cosh_test_data): Likewise.
3105 (exp_test_data): Likewise.
3106 (expm1_test_data): Likewise.
3107 (hypot_test_data): Likewise.
3108 (pow_test_data): Likewise.
3109 (sinh_test_data): Likewise.
3110 (tanh_test_data): Likewise.
3111 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3114 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3115 tests with quiet NaN input and output.
3116 (acosh_test_data): Likewise.
3117 (asin_test_data): Likewise.
3118 (asinh_test_data): Likewise.
3119 (atan_test_data): Likewise.
3120 (atanh_test_data): Likewise.
3121 (atan2_test_data): Likewise.
3122 (cbrt_test_data): Likewise.
3123 (cos_test_data): Likewise.
3124 (cosh_test_data): Likewise.
3125 (erf_test_data): Likewise.
3126 (erfc_test_data): Likewise.
3127 (exp_test_data): Likewise.
3128 (exp10_test_data): Likewise.
3129 (exp2_test_data): Likewise.
3130 (expm1_test_data): Likewise.
3131 (hypot_test_data): Likewise.
3132 (j0_test_data): Likewise.
3133 (j1_test_data): Likewise.
3134 (jn_test_data): Likewise.
3135 (lgamma_test_data): Likewise.
3136 (log_test_data): Likewise.
3137 (log10_test_data): Likewise.
3138 (log1p_test_data): Likewise.
3139 (log2_test_data): Likewise.
3140 (pow_test_data): Likewise.
3141 (scalb_test_data): Likewise.
3142 (sin_test_data): Likewise.
3143 (sincos_test_data): Likewise.
3144 (sinh_test_data): Likewise.
3145 (tan_test_data): Likewise.
3146 (tanh_test_data): Likewise.
3147 (tgamma_test_data): Likewise.
3148 (y0_test_data): Likewise.
3149 (y1_test_data): Likewise.
3150 (yn_test_data): Likewise.
3153 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3154 argument being NaN and avoid computations with second argument in
3156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3158 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3160 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3162 * locale/iso-639.def: Add Chitwani Tharu (the).
3164 2013-11-14 Andreas Schwab <schwab@suse.de>
3166 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3167 word instead of empty string.
3169 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3172 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3174 (__fe_nomask_env): Likewise.
3176 2013-11-13 Steve Ellcey <sellcey@mips.com>
3178 * benchtests/bench-timing.h: Include time.h.
3180 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3183 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3185 * sysdeps/unix/sysv/linux/configure: Regenerated.
3187 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3190 * stdlib/strtod_l.c (round_and_return): Do not consider
3191 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3192 exponent one less than half the least subnormal exponent.
3193 * stdlib/test-strtod-round-data: Add more tests.
3194 * stdlib/tst-strtod-round.c (tests): Regenerated.
3196 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3200 (__fe_mask_env): Likewise.
3201 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3202 libm_hidden_proto and add function prototype.
3203 (__fe_mask_env): Add function prototype.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3205 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3207 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3209 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3211 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3213 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3214 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3216 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3218 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3219 of htab_find_slot().
3221 2013-11-11 David S. Miller <davem@davemloft.net>
3224 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3225 symbol in the non-vis3 case in static builds.
3226 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3227 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3229 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3231 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3234 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3237 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239 * benchtests/Makefile: Add bench-strtod.
3240 * benchtests/bench-strtod.c: New file: strtod benchtest
3242 2013-11-11 Andreas Schwab <schwab@suse.de>
3245 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3246 terminating NUL in key length.
3248 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3251 Add artificial ODP entry for vDSO symbol for PPC64.
3252 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3253 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3255 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3258 * nss/getent.c (services_keys): Recognize services starting with digit.
3260 2013-11-06 David S. Miller <davem@davemloft.net>
3263 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3264 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3266 2013-11-06 Will Newton <will.newton@linaro.org>
3268 * manual/memory.texi (Malloc Examples): Remove register
3269 keyword from examples.
3271 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3273 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3275 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3277 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3278 depending on [__GCC_IEC_559 > 0].
3279 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3280 depending on [__GCC_IEC_559_COMPLEX > 0].
3282 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3284 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3287 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3289 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3291 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3294 * malloc/malloc (malloc_info): Do not handle first bin as
3297 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3299 * locale/iso-639.def: Add Central Nahuatl (nhn).
3301 2013-11-01 Bruno Haible <bruno@clisp.org>
3304 * manual/math.texi (BSD Random): Specify range upper bound as
3307 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3309 * locale/iso-639.def: Add Meadow Mari (mhr).
3311 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3313 [BZ #14752], [BZ #15763]
3314 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3316 * rt/tst_shm.c: Add test for escaping directory.
3318 2013-10-31 Andreas Schwab <schwab@suse.de>
3321 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3322 followed by 'x' as part of digit sequence.
3323 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3325 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3328 * configure.ac: allow GNU Make 4.0 and greater.
3329 * configure: Regenerated.
3331 2013-10-30 Will Newton <will.newton@linaro.org>
3334 * malloc/hooks.c (memalign_check): Limit alignment to the
3335 maximum representable power of two.
3336 * malloc/malloc.c (__libc_memalign): Likewise.
3337 * malloc/tst-memalign.c (do_test): Add test for very
3338 large alignment values.
3339 * malloc/tst-posix_memalign.c (do_test): Likewise.
3341 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3344 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3345 (munmap_chunk): Likewise.
3346 (mremap_chunk): Likewise.
3348 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3351 * stdlib/div.c (div): Remove obsolete code.
3352 * stdlib/ldiv.c (ldiv): Likewise.
3353 * stdlib/lldiv.c (lldiv): Likewise.
3355 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3358 * nss/nss_files/files-XXX.c (get_contents_ret): New
3360 (get_contents): New function.
3361 (internal_getent): Use it. Expand size of LINEBUFLEN.
3363 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3365 * configure.in: Moved to ...
3366 * configure.ac: ... here. Change reference to configure.in
3368 * sysdeps/arm/preconfigure.ac: ... here.
3369 configure.in to configure.ac.
3370 * sysdeps/gnu/configure.in: Moved to ...
3371 * sysdeps/gnu/configure.ac: ... here.
3372 * sysdeps/i386/configure.in: Moved to ...
3373 * sysdeps/i386/configure.ac: ... here.
3374 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3375 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3376 * sysdeps/mach/configure.in: Moved to ...
3377 * sysdeps/mach/configure.ac: ... here.
3378 * sysdeps/mach/hurd/configure.in: Moved to ...
3379 * sysdeps/mach/hurd/configure.ac: ... here.
3380 * sysdeps/powerpc/configure.in: Moved to ...
3381 * sysdeps/powerpc/configure.ac: ... here.
3382 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3383 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3384 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3385 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3386 * sysdeps/s390/s390-32/configure.in: Moved to ...
3387 * sysdeps/s390/s390-32/configure.ac: ... here.
3388 * sysdeps/s390/s390-64/configure.in: Moved to ...
3389 * sysdeps/s390/s390-64/configure.ac: ... here.
3390 * sysdeps/sh/configure.in: Moved to ...
3391 * sysdeps/sh/configure.ac: ... here.
3392 * sysdeps/sparc/configure.in: Moved to ...
3393 * sysdeps/sparc/configure.ac: ... here.
3394 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3395 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3396 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3397 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3398 * sysdeps/x86_64/configure.in: Moved to ...
3399 * sysdeps/x86_64/configure.ac: ... here.
3400 * sysdeps/x86_64/preconfigure.in: Moved to ...
3401 * sysdeps/x86_64/preconfigure.ac: ... here.
3402 * aclocal.m4: Change reference to configure.in to configure.ac.
3403 * config.h.in: Likewise.
3404 * manual/install.texi: Likewise.
3405 * manual/maint.texi: Likewise.
3406 * Makefile: Likewise.
3407 * malloc/Makefile: Likewise.
3408 * nscd/Makefile: Likewise.
3409 * Makeconfig: Change reference to configure.in and
3410 preconfigure.in to configure.ac and preconfigure.ac
3412 * INSTALL: Regenerated.
3413 * configure: Likewise.
3414 * sysdeps/gnu/configure: Likewise.
3415 * sysdeps/i386/configure: Likewise.
3416 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3417 * sysdeps/mach/configure: Likewise.
3418 * sysdeps/mach/hurd/configure: Likewise.
3419 * sysdeps/powerpc/configure: Likewise.
3420 * sysdeps/powerpc/powerpc32/configure: Likewise.
3421 * sysdeps/powerpc/powerpc64/configure: Likewise.
3422 * sysdeps/s390/s390-32/configure: Likewise.
3423 * sysdeps/s390/s390-64/configure: Likewise.
3424 * sysdeps/sh/configure: Likewise.
3425 * sysdeps/sparc/configure: Likewise.
3426 * sysdeps/unix/sysv/linux/configure: Likewise.
3427 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3428 * sysdeps/x86_64/configure: Likewise.
3429 * sysdeps/x86_64/preconfigure: Likewise.
3431 2013-10-29 Andreas Schwab <schwab@suse.de>
3433 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3435 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3437 * benchtests/pow-inputs: Add new inputs.
3439 * benchtests/exp-inputs: Add new inputs.
3441 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3442 conditional check for return value.
3443 (__cos32): Likewise.
3445 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3447 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3448 to provide a boost for large inputs with word alignment.
3449 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3450 implementation based on optimized PPC64 strcpy.
3451 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3452 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3453 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3454 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3456 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3459 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3461 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3464 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3465 * time/tst-strptime.c (day_tests): Add testcase.
3467 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3470 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3472 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3475 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3476 MAP_FAILED on error.
3478 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3481 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3482 heap for large requests.
3484 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3487 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3488 result if the result has no associated interface.
3489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3490 interface for all 127.X.Y.Z addresses.
3492 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3494 * locale/iso-639.def: Add Ligurian (lij)
3496 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3499 * sunrpc/rpc_main.c: Document rpcgen -5.
3501 2013-10-19 Michael Stahl <mstahl@redhat.com>
3503 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3505 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3508 * posix/glob.c: Match only directories when trailing slash is present.
3509 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3510 (main): Add testcase.
3512 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3515 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3517 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3519 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3520 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3521 AUTH_DES and cindex for FIPS 140-2.
3522 (DES Encryption): Add cindex FIPS 46-3.
3524 * locale/locarchive.h (struct locarhandle): Add fname.
3525 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3526 if an optional argument was specified to --list-archive,
3528 * locale/programs/locarchive.c (show_archive_content): Take new
3529 argument fname and pass it via ah.fname to open_archive.
3530 * locale/programs/localedef.h: Update decl.
3531 (open_archive): If AH->fname is non-null, open that file
3532 rather than the default file name, and don't ignore ENOENT.
3533 (create_archive): Set AH.fname to NULL.
3534 (delete_locales_from_archive): Likewise.
3535 (add_locales_to_archive): Likewise.
3536 * locale/programs/locfile.c (write_all_categories): Likewise.
3538 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3539 Aldy Hernandez <aldyh@redhat.com>
3541 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3542 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3543 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3544 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3545 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3546 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3547 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3550 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3551 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3552 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3553 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3554 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3555 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3563 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3564 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3567 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3568 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3569 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3571 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3573 * sysdeps/powerpc/preconfigure: Likewise.
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3576 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3577 Replace contents of file by #include of <fenv_libc.h>.
3578 * sysdeps/powerpc/soft-fp/sfp-machine.h
3579 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3581 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3594 Allow copysignl PLT reference to be missing.
3596 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3597 Joseph Myers <joseph@codesourcery.com
3600 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3602 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3604 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3606 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3607 * elf/tst-tls1.c: Likewise.
3608 * elf/tst-tls10.h: Likewise.
3609 * elf/tst-tls14.c: Likewise.
3610 * elf/tst-tls2.c: Likewise.
3611 * elf/tst-tls3.c: Likewise.
3612 * elf/tst-tls4.c: Likewise.
3613 * elf/tst-tls5.c: Likewise.
3614 * elf/tst-tls6.c: Likewise.
3615 * elf/tst-tls7.c: Likewise.
3616 * elf/tst-tls8.c: Likewise.
3617 * elf/tst-tls9.c: Likewise.
3618 * elf/tst-tlsmod1.c: Likewise.
3619 * elf/tst-tlsmod13.c: Likewise.
3620 * elf/tst-tlsmod13a.c: Likewise.
3621 * elf/tst-tlsmod14a.c: Likewise.
3622 * elf/tst-tlsmod16a.c: Likewise.
3623 * elf/tst-tlsmod16b.c: Likewise.
3624 * elf/tst-tlsmod2.c: Likewise.
3625 * elf/tst-tlsmod3.c: Likewise.
3626 * elf/tst-tlsmod4.c: Likewise.
3627 * elf/tst-tlsmod5.c: Likewise.
3628 * elf/tst-tlsmod6.c: Likewise.
3630 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3633 * malloc/malloc.c: remove checks for statistics.
3635 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3638 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3639 * inet/tst-network.c: Add testcase.
3641 2013-10-17 Andreas Schwab <schwab@suse.de>
3644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3645 to determine canonical name.
3647 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3649 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3650 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3672 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3673 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3674 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3679 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3681 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3704 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3708 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3711 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3712 make result into a quiet NaN.
3714 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3716 * soft-fp/adddf3.c: Fix horizontal whitespace.
3717 * soft-fp/addsf3.c: Likewise.
3718 * soft-fp/addtf3.c: Likewise.
3719 * soft-fp/divdf3.c: Likewise.
3720 * soft-fp/divsf3.c: Likewise.
3721 * soft-fp/divtf3.c: Likewise.
3722 * soft-fp/double.h: Likewise.
3723 * soft-fp/eqdf2.c: Likewise.
3724 * soft-fp/eqsf2.c: Likewise.
3725 * soft-fp/eqtf2.c: Likewise.
3726 * soft-fp/extenddftf2.c: Likewise.
3727 * soft-fp/extended.h: Likewise.
3728 * soft-fp/extendsfdf2.c: Likewise.
3729 * soft-fp/extendsftf2.c: Likewise.
3730 * soft-fp/extendxftf2.c: Likewise.
3731 * soft-fp/fixdfdi.c: Likewise.
3732 * soft-fp/fixdfsi.c: Likewise.
3733 * soft-fp/fixdfti.c: Likewise.
3734 * soft-fp/fixsfdi.c: Likewise.
3735 * soft-fp/fixsfsi.c: Likewise.
3736 * soft-fp/fixsfti.c: Likewise.
3737 * soft-fp/fixtfdi.c: Likewise.
3738 * soft-fp/fixtfsi.c: Likewise.
3739 * soft-fp/fixtfti.c: Likewise.
3740 * soft-fp/fixunsdfdi.c: Likewise.
3741 * soft-fp/fixunsdfsi.c: Likewise.
3742 * soft-fp/fixunsdfti.c: Likewise.
3743 * soft-fp/fixunssfdi.c: Likewise.
3744 * soft-fp/fixunssfsi.c: Likewise.
3745 * soft-fp/fixunssfti.c: Likewise.
3746 * soft-fp/fixunstfdi.c: Likewise.
3747 * soft-fp/fixunstfsi.c: Likewise.
3748 * soft-fp/fixunstfti.c: Likewise.
3749 * soft-fp/floatdidf.c: Likewise.
3750 * soft-fp/floatdisf.c: Likewise.
3751 * soft-fp/floatditf.c: Likewise.
3752 * soft-fp/floatsidf.c: Likewise.
3753 * soft-fp/floatsisf.c: Likewise.
3754 * soft-fp/floatsitf.c: Likewise.
3755 * soft-fp/floattidf.c: Likewise.
3756 * soft-fp/floattisf.c: Likewise.
3757 * soft-fp/floattitf.c: Likewise.
3758 * soft-fp/floatundidf.c: Likewise.
3759 * soft-fp/floatundisf.c: Likewise.
3760 * soft-fp/floatunditf.c: Likewise.
3761 * soft-fp/floatunsidf.c: Likewise.
3762 * soft-fp/floatunsisf.c: Likewise.
3763 * soft-fp/floatunsitf.c: Likewise.
3764 * soft-fp/floatuntidf.c: Likewise.
3765 * soft-fp/floatuntisf.c: Likewise.
3766 * soft-fp/floatuntitf.c: Likewise.
3767 * soft-fp/fmadf4.c: Likewise.
3768 * soft-fp/fmasf4.c: Likewise.
3769 * soft-fp/fmatf4.c: Likewise.
3770 * soft-fp/gedf2.c: Likewise.
3771 * soft-fp/gesf2.c: Likewise.
3772 * soft-fp/getf2.c: Likewise.
3773 * soft-fp/ledf2.c: Likewise.
3774 * soft-fp/lesf2.c: Likewise.
3775 * soft-fp/letf2.c: Likewise.
3776 * soft-fp/muldf3.c: Likewise.
3777 * soft-fp/mulsf3.c: Likewise.
3778 * soft-fp/multf3.c: Likewise.
3779 * soft-fp/negdf2.c: Likewise.
3780 * soft-fp/negsf2.c: Likewise.
3781 * soft-fp/negtf2.c: Likewise.
3782 * soft-fp/op-1.h: Likewise.
3783 * soft-fp/op-2.h: Likewise.
3784 * soft-fp/op-4.h: Likewise.
3785 * soft-fp/op-8.h: Likewise.
3786 * soft-fp/op-common.h: Likewise.
3787 * soft-fp/quad.h: Likewise.
3788 * soft-fp/single.h: Likewise.
3789 * soft-fp/soft-fp.h: Likewise.
3790 * soft-fp/sqrtdf2.c: Likewise.
3791 * soft-fp/sqrtsf2.c: Likewise.
3792 * soft-fp/sqrttf2.c: Likewise.
3793 * soft-fp/subdf3.c: Likewise.
3794 * soft-fp/subsf3.c: Likewise.
3795 * soft-fp/subtf3.c: Likewise.
3796 * soft-fp/truncdfsf2.c: Likewise.
3797 * soft-fp/trunctfdf2.c: Likewise.
3798 * soft-fp/trunctfsf2.c: Likewise.
3799 * soft-fp/trunctfxf2.c: Likewise.
3800 * soft-fp/unorddf2.c: Likewise.
3801 * soft-fp/unordsf2.c: Likewise.
3802 * soft-fp/unordtf2.c: Likewise.
3804 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3806 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3807 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3809 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3811 * elf/dl-libc.c: Clear initfini list after freeing.
3813 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3815 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3816 * soft-fp/addsf3.c: Likewise.
3817 * soft-fp/addtf3.c: Likewise.
3818 * soft-fp/divdf3.c: Likewise.
3819 * soft-fp/divsf3.c: Likewise.
3820 * soft-fp/divtf3.c: Likewise.
3821 * soft-fp/double.h: Likewise.
3822 * soft-fp/eqdf2.c: Likewise.
3823 * soft-fp/eqsf2.c: Likewise.
3824 * soft-fp/eqtf2.c: Likewise.
3825 * soft-fp/extenddftf2.c: Likewise.
3826 * soft-fp/extended.h: Likewise.
3827 * soft-fp/extendsfdf2.c: Likewise.
3828 * soft-fp/extendsftf2.c: Likewise.
3829 * soft-fp/extendxftf2.c: Likewise.
3830 * soft-fp/fixdfdi.c: Likewise.
3831 * soft-fp/fixdfsi.c: Likewise.
3832 * soft-fp/fixdfti.c: Likewise.
3833 * soft-fp/fixsfdi.c: Likewise.
3834 * soft-fp/fixsfsi.c: Likewise.
3835 * soft-fp/fixsfti.c: Likewise.
3836 * soft-fp/fixtfdi.c: Likewise.
3837 * soft-fp/fixtfsi.c: Likewise.
3838 * soft-fp/fixtfti.c: Likewise.
3839 * soft-fp/fixunsdfdi.c: Likewise.
3840 * soft-fp/fixunsdfsi.c: Likewise.
3841 * soft-fp/fixunsdfti.c: Likewise.
3842 * soft-fp/fixunssfdi.c: Likewise.
3843 * soft-fp/fixunssfsi.c: Likewise.
3844 * soft-fp/fixunssfti.c: Likewise.
3845 * soft-fp/fixunstfdi.c: Likewise.
3846 * soft-fp/fixunstfsi.c: Likewise.
3847 * soft-fp/fixunstfti.c: Likewise.
3848 * soft-fp/floatdidf.c: Likewise.
3849 * soft-fp/floatdisf.c: Likewise.
3850 * soft-fp/floatditf.c: Likewise.
3851 * soft-fp/floatsidf.c: Likewise.
3852 * soft-fp/floatsisf.c: Likewise.
3853 * soft-fp/floatsitf.c: Likewise.
3854 * soft-fp/floattidf.c: Likewise.
3855 * soft-fp/floattisf.c: Likewise.
3856 * soft-fp/floattitf.c: Likewise.
3857 * soft-fp/floatundidf.c: Likewise.
3858 * soft-fp/floatundisf.c: Likewise.
3859 * soft-fp/floatunsidf.c: Likewise.
3860 * soft-fp/floatunsisf.c: Likewise.
3861 * soft-fp/floatuntidf.c: Likewise.
3862 * soft-fp/floatuntisf.c: Likewise.
3863 * soft-fp/floatuntitf.c: Likewise.
3864 * soft-fp/fmadf4.c: Likewise.
3865 * soft-fp/fmasf4.c: Likewise.
3866 * soft-fp/fmatf4.c: Likewise.
3867 * soft-fp/gedf2.c: Likewise.
3868 * soft-fp/gesf2.c: Likewise.
3869 * soft-fp/getf2.c: Likewise.
3870 * soft-fp/ledf2.c: Likewise.
3871 * soft-fp/lesf2.c: Likewise.
3872 * soft-fp/letf2.c: Likewise.
3873 * soft-fp/muldf3.c: Likewise.
3874 * soft-fp/mulsf3.c: Likewise.
3875 * soft-fp/multf3.c: Likewise.
3876 * soft-fp/negdf2.c: Likewise.
3877 * soft-fp/negsf2.c: Likewise.
3878 * soft-fp/negtf2.c: Likewise.
3879 * soft-fp/op-1.h: Likewise.
3880 * soft-fp/op-2.h: Likewise.
3881 * soft-fp/op-4.h: Likewise.
3882 * soft-fp/op-8.h: Likewise.
3883 * soft-fp/op-common.h: Likewise.
3884 * soft-fp/quad.h: Likewise.
3885 * soft-fp/single.h: Likewise.
3886 * soft-fp/soft-fp.h: Likewise.
3887 * soft-fp/sqrtdf2.c: Likewise.
3888 * soft-fp/sqrtsf2.c: Likewise.
3889 * soft-fp/sqrttf2.c: Likewise.
3890 * soft-fp/subdf3.c: Likewise.
3891 * soft-fp/subsf3.c: Likewise.
3892 * soft-fp/subtf3.c: Likewise.
3893 * soft-fp/truncdfsf2.c: Likewise.
3894 * soft-fp/trunctfdf2.c: Likewise.
3895 * soft-fp/trunctfsf2.c: Likewise.
3896 * soft-fp/trunctfxf2.c: Likewise.
3897 * soft-fp/unorddf2.c: Likewise.
3898 * soft-fp/unordsf2.c: Likewise.
3899 * soft-fp/unordtf2.c: Likewise.
3901 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3904 * misc/error.c (error_tail): Fix possible buffer overflow.
3906 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3909 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3912 2013-10-14 P. J. McDermott <pj@pehjota.net>
3915 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3916 testing pipefail option.
3918 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3920 * soft-fp/double.h: Indent preprocessor directives inside #if.
3921 * soft-fp/extended.h: Likewise.
3922 * soft-fp/op-2.h: Likewise.
3923 * soft-fp/op-4.h: Likewise.
3924 * soft-fp/op-common.h: Likewise.
3925 * soft-fp/quad.h: Likewise.
3926 * soft-fp/single.h: Likewise.
3927 * soft-fp/soft-fp.h: Likewise.
3929 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3931 * iconv/iconv_prog.c: Fix typos.
3932 * stdio-common/psiginfo-data.h: Likewise.
3934 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3937 * locale/setlocale.c: Fix typo.
3939 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3942 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3943 signaling NaN arguments.
3944 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3945 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3948 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3950 * soft-fp/gesf2.c (__gesf2): Likewise.
3951 * soft-fp/getf2.c (__getf2): Likewise.
3952 * soft-fp/ledf2.c (__ledf2): Likewise.
3953 * soft-fp/lesf2.c (__lesf2): Likewise.
3954 * soft-fp/letf2.c (__letf2): Likewise.
3956 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3957 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3958 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3959 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3960 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3961 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3962 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3963 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3964 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3965 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3966 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3967 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3968 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3969 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3970 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3971 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3972 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3973 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3974 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3975 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3976 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3977 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3978 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3979 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3980 * soft-fp/floattidf.c (__floattidf): Likewise.
3981 * soft-fp/floattisf.c (__floattisf): Likewise.
3982 * soft-fp/floattitf.c (__floattitf): Likewise.
3983 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3984 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3985 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3986 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3987 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3988 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3989 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3990 * soft-fp/gesf2.c (__gesf2): Likewise.
3991 * soft-fp/getf2.c (__getf2): Likewise.
3992 * soft-fp/ledf2.c (__ledf2): Likewise.
3993 * soft-fp/lesf2.c (__lesf2): Likewise.
3994 * soft-fp/letf2.c (__letf2): Likewise.
3996 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3997 Undefine and redefine.
3998 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3999 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4000 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4001 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4002 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4003 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4004 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4005 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4006 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4007 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4008 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4009 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4010 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4011 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4012 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4015 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4016 without decrementing exponent if mantissa >= that for the
4018 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4019 denominator, not >. Decrement exponent in < case instead of
4020 incrementing in >= case.
4021 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4022 without decrementing exponent if mantissa >= that for the
4025 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4026 computing saturated result for unsigned overflow.
4028 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4029 Jeff Law <law@redhat.com>
4031 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4032 (atan2Mp): Add systemtap probe marker.
4033 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4034 (__ieee754_log): Add systemtap probe marker.
4035 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4036 (atanMp): Add systemtap probe marker.
4037 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4038 (tanMp): Add systemtap probe marker.
4039 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4040 (__slowexp): Add systemtap probe marker.
4041 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4042 (__slowpow): Add systemtap probe marker.
4043 * manual/probes.texi: Document probes.
4045 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4048 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4050 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4052 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4053 written to buffer but not flushed.
4054 * libio/iofwrite_u.c: Likewise.
4055 * libio/iopadn.c: Return bytes returned even if EOF was
4057 * libio/iowpadn.c: Likewise.
4058 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4059 if _IO_padn does not write the whole buffer.
4060 [!COMPILE_WPRINTF] (PAD): Likewise.
4062 2013-10-10 David S. Miller <davem@davemloft.net>
4064 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4067 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4069 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4070 instead of FSF address.
4071 * soft-fp/fixdfti.c: Likewise.
4072 * soft-fp/fixsfti.c: Likewise.
4073 * soft-fp/fixtfti.c: Likewise.
4074 * soft-fp/fixunsdfti.c: Likewise.
4075 * soft-fp/fixunssfti.c: Likewise.
4076 * soft-fp/fixunstfti.c: Likewise.
4077 * soft-fp/floattidf.c: Likewise.
4078 * soft-fp/floattisf.c: Likewise.
4079 * soft-fp/floattitf.c: Likewise.
4080 * soft-fp/floatuntidf.c: Likewise.
4081 * soft-fp/floatuntisf.c: Likewise.
4082 * soft-fp/floatuntitf.c: Likewise.
4083 * soft-fp/trunctfxf2.c: Likewise.
4085 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4086 * soft-fp/fixdfti.c: Likewise.
4087 * soft-fp/fixsfti.c: Likewise.
4088 * soft-fp/fixtfti.c: Likewise.
4089 * soft-fp/fixunsdfti.c: Likewise.
4090 * soft-fp/fixunssfti.c: Likewise.
4091 * soft-fp/fixunstfti.c: Likewise.
4092 * soft-fp/floattidf.c: Likewise.
4093 * soft-fp/floattisf.c: Likewise.
4094 * soft-fp/floattitf.c: Likewise.
4095 * soft-fp/floatuntidf.c: Likewise.
4096 * soft-fp/floatuntisf.c: Likewise.
4097 * soft-fp/floatuntitf.c: Likewise.
4098 * soft-fp/trunctfxf2.c: Likewise.
4100 2013-10-10 David S. Miller <davem@davemloft.net>
4102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4104 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4106 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4107 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4108 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4109 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4110 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4111 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4112 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4115 for NaNs before doing comparisons on argument.
4116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4119 2013-10-10 Will Newton <will.newton@linaro.org>
4121 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4122 passed to _int_memalign does not overflow.
4124 2013-10-10 Torvald Riegel <triegel@redhat.com>
4126 * scripts/bench.pl: Add include-sources directive.
4127 * benchtests/README: Update documentation.
4129 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4131 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4132 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4133 instead of FP_INIT_ROUNDMODE.
4134 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4135 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4138 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4139 copy class of input value.
4140 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4141 not handle exceptions.
4142 * soft-fp/negsf2.c (__negsf2): Likewise.
4143 * soft-fp/negtf2.c (__negtf2): Likewise.
4144 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4146 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4148 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4149 semicolon. From Linux kernel.
4151 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4153 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4155 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4158 * manual/socket.texi: Added statement about buffer
4159 for gethostbyname2_r.
4161 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4163 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4164 Use .p2align directive instead, throughout.
4165 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4166 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4167 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4170 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4171 * sysdeps/x86_64/strchr.S: Likewise.
4172 * sysdeps/x86_64/strrchr.S: Likewise.
4174 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4176 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4178 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4180 * sysdeps/generic/math_private.h (__mpsin1): Remove
4182 (__mpcos1): Likewise.
4183 (__mpsin): New argument __range_reduce.
4184 (__mpcos): Likewise.
4185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4186 (slow): Use __mpsin and __mpcos.
4193 (bsloww1): Likewise.
4194 (bsloww2): Likewise.
4197 (csloww1): Likewise.
4198 (csloww2): Likewise.
4199 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4200 range_reduce. Merge in __mpsin1.
4201 (__mpcos): Likewise.
4203 (__mpcos1): Likewise.
4205 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4207 * locale/loadlocale.c (_nl_intern_locale_data): Use
4209 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4210 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4211 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4212 obstack data is appropriately aligned.
4213 (obstack_int32_grow_fast): Likewise.
4214 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4215 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4216 (add_locale_uint32_array): Likewise.
4218 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4220 * benchtests/Makefile: Remove ARGLIST and RET variables.
4221 ($(objpfx)bench-%.c): Pass only function name to the script.
4222 * benchtests/README: Update documentation.
4223 * benchtests/acos-inputs: Add new directives.
4224 * benchtests/acosh-inputs: Likewise.
4225 * benchtests/asin-inputs: Likewise.
4226 * benchtests/asinh-inputs: Likewise.
4227 * benchtests/atan-inputs: Likewise.
4228 * benchtests/atanh-inputs: Likewise.
4229 * benchtests/cos-inputs: Likewise.
4230 * benchtests/cosh-inputs: Likewise.
4231 * benchtests/exp-inputs: Likewise.
4232 * benchtests/log-inputs: Likewise.
4233 * benchtests/pow-inputs: Likewise.
4234 * benchtests/rint-inputs: Likewise.
4235 * benchtests/sin-inputs: Likewise.
4236 * benchtests/sinh-inputs: Likewise.
4237 * benchtests/tan-inputs: Likewise.
4238 * benchtests/tanh-inputs: Likewise.
4239 * scripts/bench.pl: Add support for new directives.
4241 2013-10-07 Alan Modra <amodra@gmail.com>
4243 * README: Fix careless merge.
4245 2013-10-05 Alan Modra <amodra@gmail.com>
4247 * NEWS: Mention powerpc64le support and bugs fixed.
4248 * README: Both big-endian and little-endian powerpc64 supported.
4250 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4252 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4253 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4254 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4255 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4257 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4259 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4262 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4265 Move -mhard-float appending from
4266 ports/sysdeps/powerpc/powerpc32/Makefile.
4267 [$(with-fp) = yes] (ASFLAGS): Likewise.
4268 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4269 * sysdeps/powerpc/nofpu: Move directory from
4270 ports/sysdeps/powerpc/nofpu.
4271 * sysdeps/powerpc/soft-fp: Move directory from
4272 ports/sysdeps/powerpc/soft-fp.
4273 * sysdeps/powerpc/powerpc32/405: Move directory from
4274 ports/sysdeps/powerpc/powerpc32/405.
4275 * sysdeps/powerpc/powerpc32/440: Move directory from
4276 ports/sysdeps/powerpc/powerpc32/440.
4277 * sysdeps/powerpc/powerpc32/464: Move directory from
4278 ports/sysdeps/powerpc/powerpc32/464.
4279 * sysdeps/powerpc/powerpc32/476: Move directory from
4280 ports/sysdeps/powerpc/powerpc32/476.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4282 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4291 * README: Update for powerpc-*-linux-gnu software floating point
4294 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4295 case to powerpc/powerpc32*.
4296 * sysdeps/unix/sysv/linux/configure: Regenerated.
4298 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4299 (_FPU_MASK_OM): Define as 0x04.
4300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4308 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4311 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4314 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4315 and setcontext_e500.
4317 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4319 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4321 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4323 * manual/threads.texi (Default Thread Attributes): Fix typo.
4325 2013-10-04 Will Newton <will.newton@linaro.org>
4327 * malloc/Makefile: Add tst-memalign.
4328 * malloc/tst-memalign.c: New file.
4330 * malloc/tst-posix_memalign.c: Add comments.
4331 (do_test): Add comments and call free on all potentially
4332 allocated pointers. Add space after cast.
4334 * malloc/tst-pvalloc.c: Add comments.
4335 (do_test): Add comments and call free on all potentially
4336 allocated pointers. Remove duplicate check for NULL pointer.
4337 Add space after cast.
4339 * malloc/tst-valloc.c: Add comments.
4340 (do_test): Add comments and call free on all potentially
4341 allocated pointers. Remove duplicate check for NULL pointer.
4342 Add space after cast.
4344 2013-10-04 Alan Modra <amodra@gmail.com>
4346 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4347 Use stdint types in rather than __attribute__((mode())).
4348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4350 2013-10-04 Alan Modra <amodra@gmail.com>
4352 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4353 Correct handling of unaligned relocs for little-endian.
4354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4356 2013-10-04 Alan Modra <amodra@gmail.com>
4358 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4359 * configure: Regenerate.
4360 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4361 * shlib-versions: Likewise.
4363 2013-10-04 Alan Modra <amodra@gmail.com>
4365 * string/tester.c (test_memrchr): Increment reported test cycle.
4367 2013-10-04 Alan Modra <amodra@gmail.com>
4369 * string/test-memcpy.c (do_one_test): When reporting errors, print
4370 string address and don't overrun end of string.
4372 2013-10-04 Alan Modra <amodra@gmail.com>
4374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4375 insrdi. Make better use of reg selection to speed exit slightly.
4376 Schedule entry path a little better. Remove useless "are we done"
4377 checks on entry to main loop. Handle wrapping around zero address.
4378 Correct main loop count. Handle single left-over word from main
4379 loop inline rather than by using loop_small. Remove extra word
4380 case in loop_small caused by wrong loop count. Add little-endian
4382 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4387 support. Avoid rlwimi.
4388 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4390 2013-10-04 Alan Modra <amodra@gmail.com>
4392 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4394 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4395 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4396 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4401 2013-10-04 Alan Modra <amodra@gmail.com>
4403 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4412 use of regs. Use power7 mtocrf. Tidy function tails.
4414 2013-10-04 Alan Modra <amodra@gmail.com>
4416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4417 Formatting. Consistently use rXXX register defines or rN defines.
4418 Use early exit labels that avoid restoring unused non-volatile regs.
4419 Make cr field use more consistent with rWORDn compares. Rename
4420 regs used as shift registers for unaligned loop, using rN defines
4421 for short lifetime/multiple use regs.
4422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4423 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4424 addi 1,1,64 to pop stack frame. Simplify return value code.
4425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4427 2013-10-04 Alan Modra <amodra@gmail.com>
4429 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4430 support. Correct typos, formatting. Optimize tail. Use insrdi
4432 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4434 little-endian support. Correct typos.
4435 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4437 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4438 in loop and entry code to keep "and." results.
4439 (strchr): Add little-endian support. Comment. Move cntlzd
4441 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4443 2013-10-04 Alan Modra <amodra@gmail.com>
4445 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4446 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4447 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4450 2013-10-04 Alan Modra <amodra@gmail.com>
4452 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4453 (rTMP): Define as r11.
4454 (strcmp): Add little-endian support. Optimise tail.
4455 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4457 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4459 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4463 2013-10-04 Alan Modra <amodra@gmail.com>
4465 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4466 little-endian support. Remove unnecessary "are we done" tests.
4467 Handle "s" wrapping around zero and extremely large "size".
4468 Correct main loop count. Handle single left-over word from main
4469 loop inline rather than by using small_loop. Correct comments.
4470 Delete "zero" tail, use "end_max" instead.
4471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4473 2013-10-04 Alan Modra <amodra@gmail.com>
4475 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4476 support. Don't branch over align.
4477 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4478 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4479 support. Rearrange tmp reg use to suit. Comment.
4480 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4482 2013-10-04 Alan Modra <amodra@gmail.com>
4484 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4486 2013-10-04 Alan Modra <amodra@gmail.com>
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4489 conditional form of branch and link when obtaining pc.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4492 2013-10-04 Alan Modra <amodra@gmail.com>
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4499 2013-10-04 Alan Modra <amodra@gmail.com>
4501 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4502 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4503 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4504 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4505 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4506 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4509 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4510 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4512 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4513 Alistair Popple <alistair@ozlabs.au.ibm.com>
4514 Alan Modra <amodra@gmail.com>
4517 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4518 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4519 _dl_hwcap access for little-endian.
4520 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4521 destroy vmx regs when saving unaligned.
4522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4524 destroy vmx regs when saving unaligned.
4526 2013-10-04 Alan Modra <amodra@gmail.com>
4528 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4529 Don't use a union to pack hi/low value.
4531 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4533 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4535 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4537 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4538 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4541 2013-10-04 Alan Modra <amodra@gmail.com>
4543 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4544 constants to usual value for .cst8 section, and remove redundant
4546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4547 constant for 0x1p52. Load little-endian words of double from
4548 correct stack offsets.
4550 2013-10-04 Alan Modra <amodra@gmail.com>
4552 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4553 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4554 words of double from correct stack offsets.
4555 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4563 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4567 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4568 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4569 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4570 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4571 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4573 2013-10-04 Alan Modra <amodra@gmail.com>
4575 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4576 64-bit int/double union.
4577 (_FPU_SETCW): Likewise.
4578 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4579 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4581 2013-10-04 Alan Modra <amodra@gmail.com>
4583 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4584 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4586 2013-10-04 Alan Modra <amodra@gmail.com>
4588 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4589 use vector int constants.
4590 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4592 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4594 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4595 array with long long.
4596 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4597 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4598 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4599 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4600 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4601 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4602 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4603 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4604 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4605 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4606 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4607 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4608 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4610 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4612 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4613 (__signbit): Likewise. Correct for little-endian.
4614 (__signbitl): Call __signbit.
4615 (lrint): Correct for little-endian.
4616 (lrintf): Call lrint.
4618 2013-10-04 Alan Modra <amodra@gmail.com>
4620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4621 union 32-bit int array member with 64-bit int array.
4622 (t515, tm256): Double rather than long double.
4623 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4625 2013-10-04 Alan Modra <amodra@gmail.com>
4627 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4629 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4631 version of math_ldbl.h.
4633 2013-10-04 Alan Modra <amodra@gmail.com>
4635 [BZ #15734], [BZ #15735]
4636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4637 all uses of ieee875 long double macros and unions. Simplify test
4638 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4639 ldbl_extract_mantissa value for ix,iy exponents. Properly
4640 normalize after ldbl_extract_mantissa, and don't add hidden bit
4641 already handled. Don't treat low word of ieee854 mantissa like
4642 low word of IBM long double and mask off bit when testing for
4644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4645 all uses of ieee875 long double macros and unions. Simplify tests
4646 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4647 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4648 two1022, instead use their values. Recognise that tests for large
4649 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4651 Rewrite all uses of ieee875 long double macros and unions. Simplify
4652 test for 0.0L and nan. Correct negation.
4653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4654 ieee875 long double macros and unions. Correct output for large
4655 magnitude x. Correct absolute value calculation.
4656 (__erfcl): Likewise.
4657 * math/libm-test.inc: Add tests for errors discovered in IBM long
4658 double versions of fmodl, remainderl, erfl and erfcl.
4660 2013-10-04 Alan Modra <amodra@gmail.com>
4662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4663 all uses of ieee854 long double macros and unions. Simplify tests
4664 for long doubles that are fully specified by the high double.
4665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4668 Remove dead code too.
4669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4670 (__ieee754_ynl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4674 Remove dead code too.
4675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4685 Comment on variable precision.
4686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4689 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4693 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4695 2013-10-04 Alan Modra <amodra@gmail.com>
4697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4699 all uses of ieee854 long double macros and unions.
4700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4713 Simplify sign and nan test too.
4714 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4719 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4729 2013-10-04 Alan Modra <amodra@gmail.com>
4731 * stdio-common/printf_size.c (__printf_size): Don't use
4732 union ieee854_long_double in fpnum union.
4733 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4734 signbit macro to retrieve sign from long double.
4735 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4736 retrieve sign from long double.
4737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4738 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4740 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4741 * math/test-misc.c (main): Don't use union ieee854_long_double.
4743 2013-10-04 Alan Modra <amodra@gmail.com>
4746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4748 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4749 calculation. Remove unnecessary test for denormal exponent.
4750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4751 Correct handling of denormals. Avoid undefined shift behaviour.
4752 Correct normalisation of low mantissa when low double is denormal.
4753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4754 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4755 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4756 Correct normalisation of low mantissa. Test for overflow of high
4757 mantissa and normalise.
4758 (ldbl_nearbyint): Use more readable constant for two52.
4759 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4760 (__mpn_construct_long_double): Fix test for overflow of high
4761 mantissa and correct normalisation. Avoid undefined shift.
4763 2013-10-04 Alan Modra <amodra@gmail.com>
4765 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4766 (union ibm_extended_long_double): Define as an array of ieee754_double.
4767 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4768 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4769 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4770 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4779 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4781 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4782 page size instead of calling getpagesize.
4784 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4785 (LOCFILE_ALIGN_MASK): Likewise.
4786 (LOCFILE_ALIGN_UP): Likewise.
4787 (LOCFILE_ALIGNED_P): Likewise.
4788 * locale/programs/ld-collate.c (collate_output): Use the new
4789 macros instead of __alignof__ (int32_t).
4790 * locale/weight.h (findidx): Likewise.
4792 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4795 * manual/string.texi: Fix strncat and wcsncat.
4797 2013-10-03 Brooks Moses <bmoses@google.com>
4800 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4801 * Makerules: ...here, and adjust associated comments.
4803 2013-10-02 Will Newton <will.newton@linaro.org>
4805 * malloc/Makefile: Add tst-pvalloc.
4806 * malloc/tst-pvalloc.c: New file.
4808 2013-10-02 Will Newton <will.newton@linaro.org>
4810 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4811 improve test coverage.
4813 2013-10-02 Will Newton <will.newton@linaro.org>
4815 * malloc/Makefile: Add tst-posix_memalign.
4816 * malloc/tst-posix_memalign.c: New file.
4818 2013-10-01 Eric Blake <eblake@redhat.com>
4820 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4821 Use __THROWNL rather than __THROW on static functions.
4823 2013-09-30 Petr Machata <pmachata@redhat.com>
4825 * elf/elf.h (R_AARCH64_ABS16): New macro.
4826 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4827 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4828 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4829 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4830 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4831 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4832 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4833 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4834 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4835 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4836 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4837 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4838 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4839 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4840 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4841 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4842 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4843 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4844 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4845 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4846 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4847 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4848 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4849 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4850 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4851 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4852 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4853 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4854 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4855 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4856 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4857 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4858 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4859 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4860 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4861 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4862 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4863 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4864 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4865 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4866 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4867 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4868 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4869 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4870 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4871 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4872 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4873 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4874 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4875 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4876 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4877 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4878 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4879 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4880 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4881 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4882 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4883 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4884 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4885 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4886 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4887 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4888 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4889 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4890 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4891 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4892 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4893 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4894 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4895 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4896 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4897 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4898 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4899 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4900 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4901 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4902 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4903 (R_AARCH64_TLSDESC_LDR): Likewise.
4904 (R_AARCH64_TLSDESC_ADD): Likewise.
4905 (R_AARCH64_TLSDESC_CALL): Likewise.
4907 2013-09-30 Andreas Schwab <schwab@suse.de>
4910 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4911 the nss database lookup.
4912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4915 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4917 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4919 2013-09-28 P. J. McDermott <pj@pehjota.net>
4921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4922 ${Bash-specific parameter/pattern/string} parameter expansion.
4923 * sysdeps/unix/make-syscalls.sh: Likewise.
4925 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4927 * sysdeps/sh/stackguard-macros.h: New file.
4929 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4933 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4935 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4936 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4938 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4941 Fix thread ID register.
4943 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4945 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4946 [POSIX || UNIX98]: Require rather than permitting all symbols from
4948 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4949 element of struct sched_param.
4950 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4951 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4952 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4953 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4956 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4958 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4959 argument calculation.
4961 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4963 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4965 [POSIX] (pthread_attr_t): Do not require type.
4966 [POSIX] (pthread_cond_t): Likewise.
4967 [POSIX] (pthread_condattr_t): Likewise.
4968 [POSIX] (pthread_key_t): Likewise.
4969 [POSIX] (pthread_mutex_t): Likewise.
4970 [POSIX] (pthread_mutexattr_t): Likewise.
4971 [POSIX] (pthread_once_t): Likewise.
4972 [POSIX] (pthread_t): Likewise.
4973 [POSIX-based standards] (pthread_atfork): Expect function.
4975 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4976 Richard Sandiford <richard@codesourcery.com>
4978 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4979 (swap_endianness_p): New extern variable.
4980 (set_big_endian): New inline function.
4981 (maybe_swap_uint32): Likewise.
4982 (maybe_swap_uint32_array): Likewise.
4983 (maybe_swap_uint32_obstack): Likewise.
4984 * locale/programs/locfile.c: Include <stdbool.h>.
4985 (swap_endianness_p): New variable.
4986 (add_locale_uint32): Call maybe_swap_uint32.
4987 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4988 (write_locale_data): Call maybe_swap_uint32_array.
4989 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4991 (obstack_int32_grow_fast): Likewise.
4992 (output_weightwc): Call maybe_swap_uint32_obstack.
4993 (collate_output): Likewise.
4994 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4995 (OPT_LITTLE_ENDIAN): Likewise.
4996 (options): Add --little-endian and --big-endian options.
4997 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4998 * locale/programs/locarchive.c: Include "locfile.h".
5002 (create_archive): Use the new macros to access fields of
5003 structures directly mapped from or written to locale archives.
5004 (oldlocrecentcmp): Likewise.
5005 (enlarge_archive): Likewise.
5006 (insert_name): Likewise.
5007 (add_alias): Likewise.
5008 (add_locale): Likewise.
5009 (delete_locales_from_archive): Likewise.
5010 (show_archive_content): Likewise.
5011 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5014 2013-09-24 Roland McGrath <roland@hack.frob.com>
5016 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5017 http://www.gnu.org/doc/freemanuals.texi.
5018 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5020 2013-09-24 Will Newton <will.newton@linaro.org>
5022 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5025 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5027 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5030 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5032 * manual/threads.texi (POSIX Threads): Fix a typo.
5034 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5037 * string/tst-strcoll-overflow.c: New test case.
5038 * string/Makefile (xtests): Add tst-strcoll-overflow.
5039 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5040 cache if string sizes may cause integer overflow.
5043 * string/strcoll_l.c (coll_seq): New members rule, idx,
5044 save_idx and back_us.
5045 (get_next_seq_nocache): New function.
5046 (do_compare_nocache): New function.
5047 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5050 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5053 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5054 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5055 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5058 * elf/Makefile (tests): Add tst-ptrguard1.
5059 (tests-static): Add tst-ptrguard1-static.
5060 (tst-ptrguard1-ARGS): Define.
5061 (tst-ptrguard1-static-ARGS): Define.
5062 * elf/tst-ptrguard1.c: New file.
5063 * elf/tst-ptrguard1-static.c: New file.
5064 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5065 * sysdeps/i386/stackguard-macros.h: Likewise.
5066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5073 2013-09-23 Hector Marco <hecmargi@upv.es>
5074 Ismael Ripoll <iripoll@disca.upv.es>
5075 Carlos O'Donell <carlos@redhat.com>
5078 * sysdeps/generic/stackguard-macros.h: Define
5079 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5080 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5081 Define __pointer_chk_guard_local.
5082 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5083 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5085 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5088 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5090 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5092 * include/string.h (__ffs): Declare as hidden.
5093 * string/ffs.c (__ffs): Define as hidden.
5094 * sysdeps/i386/ffs.c (__ffs): Likewise.
5095 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5096 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5097 * sysdeps/s390/ffs.c (__ffs): Likewise.
5098 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5100 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5102 * NEWS: Mention malloc probes.
5104 * malloc/arena.c (new_heap): New memory_heap_new probe.
5105 (grow_heap): New memory_heap_more probe.
5106 (shrink_heap): New memory_heap_less probe.
5107 (heap_trim): New memory_heap_free probe.
5108 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5109 (systrim): New memory_sbrk_less probe.
5110 * manual/probes.texi: Document them.
5112 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5113 * manual/probes.texi: Document it.
5115 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5116 (__libc_realloc): Add memory_realloc_retry probe.
5117 (__libc_memalign): Add memory_memalign_retry probe.
5118 (__libc_valloc): Add memory_valloc_retry probe.
5119 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5120 (__libc_calloc): Add memory_calloc_retry probe.
5121 * manual/probes.texi: Document them.
5123 * malloc/arena.c (get_free_list): Add probe
5124 memory_arena_reuse_free_list.
5125 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5126 and memory_arena_reuse.
5127 (arena_get2) [!PER_THREAD]: Likewise.
5128 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5129 memory_arena_reuse_realloc.
5130 * manual/probes.texi: Document them.
5132 * malloc/malloc.c (__libc_free): Add
5133 memory_mallopt_free_dyn_thresholds probe.
5134 (__libc_mallopt): Add multiple memory_mallopt probes.
5135 * manual/probes.texi: Document them.
5137 * malloc/malloc.c: Include stap-probe.h.
5138 (__libc_mallopt): Add memory_mallopt probe.
5139 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5140 * manual/probes.texi: New.
5141 * manual/Makefile (chapters): Add probes.
5142 * manual/threads.texi: Set next node.
5144 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5147 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5148 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5149 Add `Chinese' to `nan' entry name.
5151 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5153 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5154 (POLYNOMIAL): Likewise.
5155 (TAYLOR_SINCOS): Likewise.
5156 (TAYLOR_SLOW): Likewise.
5157 (__sin): Use TAYLOR_SINCOS.
5159 (slow): Use TAYLOR_SLOW.
5164 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5166 * stdlib/strtod_l.c: Fix buffer overrun.
5168 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 * benchtests/Makefile (bench): Add sincos.
5171 * benchtests/bench-sincos.c: New file.
5173 * math/libm-test.inc (cos_test_data): New test inputs.
5174 (sin_test_data): Likewise.
5176 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5184 (bsloww1): Likewise.
5185 (bsloww2): Likewise.
5187 (csloww1): Likewise.
5188 (csloww2): Likewise.
5190 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5199 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5201 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5202 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5203 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5204 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5205 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5206 * elf/cache.c (print_entry): Handle the new cache flags.
5208 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5209 Aldy Hernandez <aldyh@redhat.com>
5211 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5212 Change condition to [_SOFT_FLOAT].
5213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5225 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5228 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5231 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5233 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5234 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5235 (__longjmp): Use LOAD_GP to load saved GPRs.
5236 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5237 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5238 (__sigsetjmp): Use SAVE_GP to save GPRs.
5240 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5241 Do not append -msoft-float.
5242 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5244 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5246 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5248 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5251 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5252 (_FPU_GETCW): Use initial "__" on variable and field names but not
5253 on macro parameter name.
5254 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5255 parentheses around reference to macro parameter.
5257 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5259 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5261 (ctype_startup): Use uint32_t in cast and sizeof for
5264 2013-09-11 Jia Liu <proljc@gmail.com>
5266 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5268 [__FreeBSD__]: Likewise.
5270 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5273 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5274 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5275 (strchr): Remove __strchr_sse42 ifunc selection.
5276 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5277 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5279 2013-09-11 Will Newton <will.newton@linaro.org>
5281 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5282 parameter to RES. Remove hardcoded 1000 value.
5283 * benchtests/bench-skeleton.c (main): Pass RES parameter
5284 to TIMING_INIT and multiply result by 1000.
5286 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5290 2013-09-11 Andreas Schwab <schwab@suse.de>
5292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5294 (O_TMPFILE) [__USE_GNU]: Define.
5295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5298 2013-09-11 Will Newton <will.newton@linaro.org>
5301 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5304 2013-09-11 Will Newton <will.newton@linaro.org>
5307 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5310 2013-09-11 Will Newton <will.newton@linaro.org>
5313 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5316 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5318 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5324 2013-09-10 Allan McRae <allan@archlinux.org>
5327 * manual/arith.texi (Parsing of Floats): Clarify
5331 * manual/install.texi (Running make install): Mention
5333 * INSTALL: Regenerated.
5335 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5337 * csu/init-first.c (_init): Remove the !SHARED condition around
5338 FPU control word initialization.
5339 * elf/dl-support.c (_dl_fpu_control): New variable.
5340 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5341 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5342 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5343 * math/test-fpucw-static.c: New file.
5344 * math/test-fpucw-ieee.c: New file.
5345 * math/test-fpucw-ieee-static.c: New file.
5346 * math/Makefile (tests): Add `test-fpucw-ieee' and
5348 (tests-static): New variable.
5349 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5351 [($(build-shared),yes)]
5352 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5354 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5357 2013-09-09 Allan McRae <allan@archlinux.org>
5360 * manual/string.texi (Collation Functions): Fix typo in
5362 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5365 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5368 * libio/memstream.c (open_memstream): Fix memory leak.
5369 * libio/wmemstream.c (open_wmemstream): Likewise.
5372 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5374 2013-09-09 Will Newton <will.newton@linaro.org>
5376 * malloc/Makefile: Add tst-realloc to tests.
5377 * malloc/tst-realloc.c: New file.
5379 2013-09-09 Allan McRae <allan@archlinux.org>
5382 * COPYING: Update from GNU website to fix FSF address.
5383 * COPYING.LIB: Likewise.
5385 2013-09-06 David S. Miller <davem@davemloft.net>
5387 * po/zh_TW.po: Update Chinese (traditional) translation from
5388 translation project.
5390 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5391 Joseph Myers <joseph@codesourcery.com>
5393 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5395 (obstack_chunk_alloc): New macro.
5396 (obstack_chunk_free): Likewise.
5397 (record_offset): New function.
5398 (init_locale_data): Likewise.
5399 (align_locale_data): Likewise.
5400 (add_locale_empty): Likewise.
5401 (add_locale_raw_data): Likewise.
5402 (add_locale_raw_obstack): Likewise.
5403 (add_locale_string): Likewise.
5404 (add_locale_wstring): Likewise.
5405 (add_locale_uint32): Likewise.
5406 (add_locale_uint32_array): Likewise.
5407 (add_locale_char): Likewise.
5408 (start_locale_structure): Likewise.
5409 (end_locale_structure): Likewise.
5410 (start_locale_prelude): Likewise.
5411 (end_locale_prelude): Likewise.
5412 (write_locale_data): Take locale_file structure rather than an
5414 * locale/programs/locfile.h: Include "obstack.h".
5415 (struct locale_file): Change to store locale file contents instead
5417 (init_locale_data): New prototype.
5418 (align_locale_data): Likewise.
5419 (add_locale_empty): Likewise.
5420 (add_locale_raw_data): Likewise.
5421 (add_locale_raw_obstack): Likewise.
5422 (add_locale_string): Likewise.
5423 (add_locale_wstring): Likewise.
5424 (add_locale_uint32): Likewise.
5425 (add_locale_uint32_array): Likewise.
5426 (add_locale_char): Likewise.
5427 (start_locale_structure): Likewise.
5428 (end_locale_structure): Likewise.
5429 (start_locale_prelude): Likewise.
5430 (end_locale_prelude): Likewise.
5431 (write_locale_data): Update prototype.
5432 * locale/programs/3level.h (struct TABLE): Remove result field.
5433 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5434 Use new locale_file interface.
5435 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5436 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5437 * locale/programs/ld-address.c (address_output): Use new
5438 locale_file interface.
5439 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5441 (collate_finish): Don't call collseq_table_finalize.
5442 (collate_output): Use new locale_file interface.
5443 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5445 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5446 (TABLE): Move defines earlier in file.
5447 (ELEMENT): Likewise.
5448 (DEFAULT): Likewise.
5449 (wctrans_table_add): Move macro and inline function earlier in
5451 (struct wctype_table): Move type earlier in file.
5452 (add_locale_wctype_table): New static prototype.
5453 (struct locale_ctype_t): Use logical types instead of struct iovec
5454 pointers for members.
5455 (ctype_output): Use new locale_file interface.
5456 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5457 new locale_file interface.
5458 (allocate_arrays): Update for use of new locale_file interface.
5459 * locale/programs/ld-identification.c (identification_output): Use
5460 new locale_file interface.
5461 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5462 * locale/programs/ld-messages.c (messages_output): Likewise.
5463 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5464 * locale/programs/ld-name.c (name_output): Likewise.
5465 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5466 * locale/programs/ld-paper.c (paper_output): Likewise.
5467 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5468 * locale/programs/ld-time.c (time_output): Likewise.
5470 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * benchtests/Makefile: Add memrchr benchmark.
5473 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5474 benchmark as memrchr.
5475 * benchtests/bench-memrchr-ifunc.c: New file.
5476 * benchtests/bench-memrchr.c: New file.
5478 2013-09-06 Will Newton <will.newton@linaro.org>
5480 * benchtests/Makefile (string-bench): Add memcpy.
5482 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5483 Cong Wang <amwang@redhat.com>
5485 * sysdeps/unix/sysv/linux/bits/in.h
5486 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5487 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5488 before __USE_KERNEL_IPV6_DEFS uses.
5489 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5491 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5492 sockaddr_in6, or ipv6_mreq.
5494 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5497 memory access for final bytes in some large inputs.
5498 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5500 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5502 * string/test-memrchr.c: New file.
5503 * string/test-memrchr-ifunc.c: New file.
5504 * string/Makefile: Add new memrchr testcase.
5506 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5508 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5509 fanotify_init returns EPERM.
5511 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5513 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5515 (top level): Treat second token from macro or constant entries for
5516 allowed headers as allowed.
5517 * include/complex.h: Condition internal declarations on
5519 * include/fenv.h: Condition include of <stdbool.h> and internal
5520 declarations on [!_ISOMAC].
5522 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5525 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5527 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5529 * configure.in (--enable-versioning): Remove configure option.
5530 (libc_cv_asm_symver_directive): Remove configure test.
5531 (libc_cv_ld_version_script_option): Likewise.
5532 (VERSIONING): Remove variable and AC_SUBST.
5533 (DO_VERSIONING): Remove AC_DEFINE.
5534 * configure: Regenerated.
5535 * config.h.in (DO_VERSIONING): Remove macro.
5536 * Makerules [$(versioning) = yes]: Change conditionals to
5537 [$(build-shared) = yes].
5538 * config.make.in (versioning): Remove variable.
5539 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5540 [$(build-shared) = yes].
5541 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5542 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5543 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5544 [$(build-shared) = yes].
5545 * extra-lib.mk [$(versioning) = yes]: Likewise.
5546 * hurd/Makefile [$(versioning) = yes]: Likewise.
5547 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5549 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5551 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5552 [SHARED && !NO_HIDDEN].
5553 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5555 [SHARED && DO_VERSIONING]: Likewise..
5556 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5557 [$(build-shared) = yes].
5558 * manual/install.texi (--disable-versioning): Remove
5560 * INSTALL: Regenerated.
5561 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5563 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5564 [$(build-shared) = yes].
5565 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5566 * sysdeps/i386/i686/multiarch/strstr-c.c
5567 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5568 [SHARED && !NO_HIDDEN].
5569 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5570 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5571 * sysdeps/powerpc/powerpc32/dl-machine.c
5572 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5573 * sysdeps/powerpc/powerpc32/sysdep.h
5574 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5575 to [SHARED && PIC && !NO_HIDDEN].
5576 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5577 conditional to [SHARED].
5579 2013-09-04 Will Newton <will.newton@linaro.org>
5581 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5582 * benchtests/bench-string.h: Include bench-timing.h instead
5583 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5584 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5585 call to HP_TIMING_DIFF_INIT.
5586 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5587 instead of hp-timing.h macros.
5588 * benchtests/bench-memchr.c: Likewise.
5589 * benchtests/bench-memcmp.c: Likewise.
5590 * benchtests/bench-memcpy.c: Likewise.
5591 * benchtests/bench-memmem.c: Likewise.
5592 * benchtests/bench-memmove.c: Likewise.
5593 * benchtests/bench-memset.c: Likewise.
5594 * benchtests/bench-rawmemchr.c: Likewise.
5595 * benchtests/bench-strcasecmp.c: Likewise.
5596 * benchtests/bench-strcasestr.c: Likewise.
5597 * benchtests/bench-strcat.c: Likewise.
5598 * benchtests/bench-strchr.c: Likewise.
5599 * benchtests/bench-strcmp.c: Likewise.
5600 * benchtests/bench-strcpy.c: Likewise.
5601 * benchtests/bench-strcpy_chk.c: Likewise.
5602 * benchtests/bench-strlen.c: Likewise.
5603 * benchtests/bench-strncasecmp.c: Likewise.
5604 * benchtests/bench-strncat.c: Likewise.
5605 * benchtests/bench-strncmp.c: Likewise.
5606 * benchtests/bench-strncpy.c: Likewise.
5607 * benchtests/bench-strnlen.c: Likewise.
5608 * benchtests/bench-strpbrk.c: Likewise.
5609 * benchtests/bench-strrchr.c: Likewise.
5610 * benchtests/bench-strspn.c: Likewise.
5611 * benchtests/bench-strstr.c: Likewise.
5613 2013-09-04 Will Newton <will.newton@linaro.org>
5615 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5617 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5621 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5622 * math/libm-test.inc (lgamma_test_data): Add more tests.
5623 * sysdeps/i386/fpu/libm-test-ulps: Update.
5624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5626 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5628 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5632 Add strcmp-sse2-unaligned
5633 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5635 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5637 * Versions.def (libc): Add GLIBC_2.19.
5639 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5641 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5642 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5644 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5648 intermediate calculations in recurrence.
5649 (__ieee754_ynf): Likewise.
5650 * math/libm-test.inc (jn_test_data): Do not allow spurious
5651 underflow exception. Add more tests.
5652 (yn_test_data): Add more tests.
5653 * sysdeps/i386/fpu/libm-test-ulps: Update.
5654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5656 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5660 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5662 * csu/init-first.c: Fix then/than typos.
5663 * locale/programs/ld-collate.c: Likewise.
5664 * locale/programs/linereader.h: Likewise.
5665 * manual/charset.texi: Likewise.
5666 * manual/filesys.texi: Likewise.
5667 * manual/stdio.texi: Likewise.
5668 * manual/string.texi: Likewise.
5669 * stdlib/fmtmsg.c: Likewise.
5670 * sysdeps/i386/stpncpy.S: Likewise.
5671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5672 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5673 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5674 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5676 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5678 * elf/dl-open.c: Fix typos.
5679 * iconvdata/gbbig5.c: Likewise.
5680 * iconvdata/iso-2022-jp.c: Likewise.
5681 * iconv/gconv_int.h: Likewise.
5682 * iconv/loop.c: Likewise.
5683 * nis/rpcsvc/nis.h: Likewise.
5684 * resolv/ns_name.c: Likewise.
5685 * stdio-common/vfscanf.c: Likewise.
5686 * streams/stropts.h: Likewise.
5687 * sunrpc/rpc_thread.c: Likewise.
5688 * sysdeps/i386/strpbrk.S: Likewise.
5689 * sysdeps/ieee754/k_standard.c: Likewise.
5690 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5692 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5693 * sysdeps/mach/hurd/profil.c: Likewise.
5694 * sysdeps/s390/dl-procinfo.h: Likewise.
5695 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5698 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5699 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5701 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5703 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5706 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5708 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5710 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5713 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5716 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5717 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5719 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5720 Roland McGrath <roland@hack.frob.com>
5722 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5723 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5725 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5727 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5728 __executable_start symbol instead of _start.
5730 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5732 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5733 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5735 * sysdeps/gnu/ldsodefs.h: ... this new file.
5737 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5738 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5739 instead of ELFOSABI_LINUX.
5741 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5742 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5743 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5744 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5746 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5747 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5750 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5751 (ibm_extended_long_double): Add ieee_nan member.
5752 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5753 (do_test): New function.
5755 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5757 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5758 functions, renamed from truncdfsf_test, trunctfsf_test,
5760 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5762 (do_test): Run all these.
5764 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5766 * argp/argp-help.c: Fix typos.
5767 * argp/argp-parse.c: Likewise.
5768 * debug/backtracesyms.c: Likewise.
5769 * elf/elf.h: Likewise.
5770 * malloc/malloc.c: Likewise.
5771 * nis/nis_print.c: Likewise.
5772 * resolv/res_comp.c: Likewise.
5773 * stdlib/stdlib.h: Likewise.
5774 * sunrpc/clnt_tcp.c: Likewise.
5775 * sunrpc/clnt_udp.c: Likewise.
5776 * sunrpc/clnt_unix.c: Likewise.
5777 * sysdeps/unix/bsd/ptsname.c: Likewise.
5778 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5779 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5786 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5788 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5790 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5793 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5796 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5797 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5798 ($(objpfx)bug-dl-leaf): New rule.
5799 ($(objpfx)bug-dl-leaf.so): Likewise.
5800 ($(objpfx)bug-dl-leaf.out): Likewise.
5801 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5802 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5803 * dlfcn/bug-dl-leaf.c: New test.
5804 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5805 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5806 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5807 (dlclose): Likewise.
5808 (dlmopen): Likewise.
5810 2013-08-27 Roland McGrath <roland@hack.frob.com>
5812 * include/netdb.h [!_ISOMAC]:
5813 Don't include <tls.h>.
5814 (h_errno, __libc_h_errno): Move declaration and macros out of
5817 * include/resolv.h [_RESOLV_H_]:
5818 Don't include <tls.h>.
5819 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5820 * resolv/res_libc.c: Don't include <tls.h>.
5821 (_res): Use __attribute__ ((nocommon)) in place of
5822 __attribute__ ((section (".bss"))).
5824 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5825 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5827 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5829 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5830 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5832 * resolv/res_mkquery.c: Include <sys/time.h>.
5834 * inet/ifreq.c: Moved to ...
5835 * sysdeps/unix/ifreq.c: ... here.
5836 * inet/ifreq.c: New file, true stub version.
5838 * socket/sa_len.c: New file.
5839 * socket/Makefile (aux): Add it.
5840 * sysdeps/unix/sysv/linux/Makefile
5841 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5842 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5843 and #include <socket/sa_len.c>.
5844 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5845 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5847 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5848 * bits/socket.h: ... here.
5850 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5851 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5852 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5854 2013-08-27 Andreas Schwab <schwab@suse.de>
5857 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5858 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5859 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5860 * string/test-strcasecmp.c (test_main): Run tests in several
5862 * string/test-strncasecmp.c (test_main): Likewise.
5864 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5865 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5866 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5868 (__strncasecmp_ssse3) [PIC]: Likewise.
5870 2013-08-26 Roland McGrath <roland@hack.frob.com>
5872 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5874 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5875 instead of explicitly declaring xdecrypt.
5876 * nis/nss_nis/nis-publickey.c: Likewise.
5878 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5881 * nscd/aicache.c: Include res_hconf.h.
5882 (addhstaiX): Initialize res_hconf.
5884 2013-08-26 Andreas Schwab <schwab@suse.de>
5886 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5887 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5889 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5891 * nscd/aicache.c (addhstaiX): Fix indentation.
5893 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5895 * configure.ac: Quote $build_pt_chown test.
5896 * configure: Regenerated.
5898 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5901 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5902 * math/s_cexpf.c (__cexpf): Likewise.
5903 * math/s_cexpl.c (__cexpl): Likewise.
5904 * math/libm-test.inc (cexp_test_data): Correct expected return
5905 value for NaN + i0. Add another test.
5907 2013-08-22 David S. Miller <davem@davemloft.net>
5909 * po/ca.po: Update Catalan translation from translation project.
5910 * po/uk.po: Add Ukrainian translations from translation project.
5912 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5915 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5916 is infinite, not alongside NaN test.
5917 * math/s_fdimf.c (__fdimf): Likewise.
5918 * math/s_fdiml.c (__fdiml): Likewise.
5919 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5922 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5924 * argp/argp-help.c: Fix typos.
5925 * crypt/speeds.c: Likewise.
5926 * csu/check_fds.c: Likewise.
5927 * elf/dl-load.c: Likewise.
5928 * elf/dl-open.c: Likewise.
5929 * elf/reldep3.c: Likewise.
5930 * elf/reldep.c: Likewise.
5931 * elf/sprof.c: Likewise.
5932 * iconv/iconv_charmap.c: Likewise.
5933 * iconv/skeleton.c: Likewise.
5934 * iconv/strtab.c: Likewise.
5935 * io/lockf64.c: Likewise.
5936 * libio/libioP.h: Likewise.
5937 * resolv/gai_notify.c: Likewise.
5938 * resolv/ns_name.c: Likewise.
5939 * resolv/ns_samedomain.c: Likewise.
5940 * resolv/res_send.c: Likewise.
5941 * stdlib/random.c: Likewise.
5942 * sunrpc/rpc/xdr.h: Likewise.
5943 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5948 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5950 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5951 * sysdeps/mach/hurd/check_fds.c: Likewise.
5952 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5953 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5954 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5955 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5956 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5957 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5958 * sysdeps/pthread/aio_notify.c: Likewise.
5959 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5960 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5962 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5963 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5965 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5967 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5968 version if bit_Slow_SSE4_2 is set.
5969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5970 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5972 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5976 trampoline stack frame information.
5977 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5978 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5979 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5980 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5981 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5982 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5983 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5984 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5986 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5987 interrupting a syscall and set with option SA_SIGINFO.
5989 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5992 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5993 argument is infinite.
5994 * math/s_cprojf.c (__cprojf): Likewise.
5995 * math/s_cprojl.c (__cprojl): Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5997 * math/libm-test.inc (cproj_test_data): Add more tests.
5999 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6001 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6002 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6003 size. Use __ffs to determine corresponding shift.
6005 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6006 Roland McGrath <roland@hack.frob.com>
6008 * Makefile (INSTALL): Remove trailing blank lines from output of
6011 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6013 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6014 Align 32 bit compat elf_greg to 8 bytes.
6016 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6018 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6020 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6022 * string/strcoll_l.c (coll_seq): New structure.
6023 (get_next_seq_cached): New function.
6024 (get_next_seq): New function.
6025 (do_compare): New function.
6026 (STRCOLL): Use GNU style definition. Simplify implementation
6027 by using get_next_seq, get_next_seq_cached and do_compare.
6029 2013-08-16 Florian Weimer <fweimer@redhat.com>
6033 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6035 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6037 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6038 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6039 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6041 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6042 GETDENTS_64BIT_ALIGNED.
6043 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6044 * manual/filesys.texi (Reading/Closing Directory): Document
6045 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6047 * manual/conf.texi (Limits for Files): Add portability note to
6049 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6051 2013-08-13 Andreas Schwab <schwab@suse.de>
6054 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6056 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6057 LDBL_MAX_EXP >= 16384]: Add tests for it.
6059 2013-08-12 David S. Miller <davem@davemloft.net>
6061 * version.h (RELEASE): Set to "development".
6062 (VERSION): Set to "2.18.90".
6063 * NEWS: Add 2.19 section.
6065 2013-08-03 David S. Miller <davem@davemloft.net>
6067 * po/ko.po: Update Korean translation from translation project.
6069 2013-08-01 David S. Miller <davem@davemloft.net>
6071 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6072 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6075 2013-07-30 David S. Miller <davem@davemloft.net>
6077 * po/fr.po: Update French translation from translation project.
6079 2013-07-28 David S. Miller <davem@davemloft.net>
6081 * po/cs.po: Update Czech translation from translation project.
6083 * po/sv.po: Update Swedish translation from translation project.
6085 2013-07-27 David S. Miller <davem@davemloft.net>
6087 * po/eo.po: Update Esperanto translation from translation project.
6089 * po/vi.po: Update Vietnamese translation from translation project.
6091 * po/de.po: Update German translation from translation project.
6093 2013-07-26 David S. Miller <davem@davemloft.net>
6095 * po/bg.po: Update Bulgarian translation from translation project.
6097 * po/nl.po: Update Dutch translation from translation project.
6098 * po/pl.po: Update Polish translation from translation project.
6099 * po/ru.po: Update Russian translation from translation project.
6101 2013-07-24 David S. Miller <davem@davemloft.net>
6103 * po/libc.pot: Update.
6105 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6109 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6111 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6113 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6115 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6117 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6118 Andreas Schwab <schwab@suse.de>
6119 Roland McGrath <roland@hack.frob.com>
6120 Joseph Myers <joseph@codesourcery.com>
6121 Carlos O'Donell <carlos@redhat.com>
6124 * config.h.in: Define HAVE_PT_CHOWN.
6125 * config.make.in (build-pt-chown): New variable.
6126 * configure.in (--enable-pt_chown): New configure option.
6127 * configure: Regenerate.
6128 * login/Makefile: Include Makeconfig. Build pt_chown only if
6129 build-pt-chown is enabled.
6130 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6131 pt_chown to fix pty ownership.
6132 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6134 * manual/install.texi (Configuring and compiling): Mention
6135 --enable-pt_chown. Add @findex for grantpt.
6136 * INSTALL: Regenerate.
6138 2013-07-20 David S. Miller <davem@davemloft.net>
6140 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6141 difference between 32-bit and 64-bit.
6143 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6146 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6147 Avoid system header dependency with -ffreestanding.
6148 ($(objpfx)bits/syscall%d): Likewise.
6150 2013-07-13 David S. Miller <davem@davemloft.net>
6152 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6153 underflows from atanl/atan2l due to bug 15319.
6154 (casinh_test_data): Likewise.
6156 2013-07-07 David S. Miller <davem@davemloft.net>
6158 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6160 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6162 * sysdeps/i386/fpu/libm-test-ulps: Update.
6163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6165 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6167 * configure.in (--enable-lock-elision): Fix message text.
6168 * INSTALL: Regenerate.
6169 * configure: Regenerate.
6171 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6175 2013-07-03 Andreas Jaeger <aj@suse.de>
6177 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6179 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6180 (ptrace_peeksiginfo_args): Add.
6181 (__ptrace_peeksiginfo_flags): Add.
6182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6186 2013-07-03 Allan McRae <allan@archlinux.org>
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 2013-07-02 David S. Miller <davem@davemloft.net>
6192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6194 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6198 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6200 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203 2013-07-02 Andi Kleen <ak@linux.intel.com>
6205 * config.h.in (ENABLE_LOCK_ELISION): Add.
6206 * configure.in (--enable-lock-elision): Add option.
6207 * manual/install.texi: Document --enable lock elision.
6208 * configure: Regenerate
6209 * INSTALL: Regenerate.
6211 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6213 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6214 SSE4.2 strcasecmp for libc.a.
6215 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6217 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6220 * soft-fp/op-common.h (_FP_FMA): New macro.
6221 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6222 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6223 (_FP_MUL_MEAT_1_imm): ... here.
6224 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6225 (_FP_MUL_MEAT_1_wide): ... here.
6226 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6227 (_FP_MUL_MEAT_1_hard): ... here.
6228 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6229 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6230 (_FP_MUL_MEAT_2_wide): ... here.
6231 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6232 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6233 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6234 (_FP_MUL_MEAT_2_gmp): ... here.
6235 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6236 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6237 (_FP_MUL_MEAT_4_wide): ... here.
6238 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6239 (_FP_MUL_MEAT_4_gmp): ... here.
6240 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6241 (_FP_WFRACBITS_DW_S): Likewise.
6242 (_FP_WFRACXBITS_DW_S): Likewise.
6243 (_FP_HIGHBIT_DW_S): Likewise.
6244 (FP_FMA_S): Likewise.
6245 (_FP_FRAC_HIGH_DW_S): Likewise.
6246 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6247 (_FP_WFRACBITS_DW_D): Likewise.
6248 (_FP_WFRACXBITS_DW_D): Likewise.
6249 (_FP_HIGHBIT_DW_D): Likewise.
6250 (FP_FMA_D): Likewise.
6251 (_FP_FRAC_HIGH_DW_D): Likewise.
6252 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6253 (_FP_WFRACBITS_DW_E): Likewise.
6254 (_FP_WFRACXBITS_DW_E): Likewise.
6255 (_FP_HIGHBIT_DW_E): Likewise.
6256 (FP_FMA_E): Likewise.
6257 (_FP_FRAC_HIGH_DW_E): Likewise.
6258 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6259 (_FP_WFRACBITS_DW_Q): Likewise.
6260 (_FP_WFRACXBITS_DW_Q): Likewise.
6261 (_FP_HIGHBIT_DW_Q): Likewise.
6262 (FP_FMA_Q): Likewise.
6263 (_FP_FRAC_HIGH_DW_Q): Likewise.
6264 * soft-fp/fmasf4.c: New file.
6265 * soft-fp/fmadf4.c: Likewise.
6266 * soft-fp/fmatf4.c: Likewise.
6268 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6271 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6275 (index_Slow_SSE4_2): Likewise.
6276 (index_Prefer_PMINUB_for_stringop): Likewise.
6277 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6278 bit_Slow_SSE4_2 is set.
6279 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6280 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6282 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6284 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6285 rtld_global._dl_hwcap2.
6286 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6288 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6289 POWER8 feature descriptions defined in _dl_hwcap2.
6290 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6291 string handling for POWER8 feature bits.
6292 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6293 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6294 _dl_powerpc_cap_flags.
6295 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6296 * sysdeps/powerpc/rtld-global-offsets.sym
6297 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6298 _dl_hwcap2 in the rtld_global_ro structure.
6300 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6302 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6303 hardware capabilities in support of AT_HWCAP2.
6304 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6305 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6307 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6308 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6309 explicitly the unknown a_type display mechanism is used.
6310 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6311 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6313 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6314 to macro prototype for AT_HWCAP2 support.
6315 * sysdeps/i386/dl-procinfo.h: Likewise.
6316 * sysdeps/s390/dl-procinfo.h: Likewise.
6317 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6318 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6319 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6320 return -1 for unknown a_type display fallback.
6321 * sysdeps/sparc/dl-procinfo.h: Likewise.
6322 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6323 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6325 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6328 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6330 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6333 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6334 mprotect making __stack_prot writable.
6336 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6337 Joseph Myers <joseph@codesourcery.com>
6339 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6340 as being properly aligned.
6342 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6344 * dlfcn/modstatic5.c: New file.
6345 * dlfcn/tststatic5.c: New file.
6346 * dlfcn/Makefile (tests): Add tststatic5.
6347 (tests-static): Likewise.
6348 (modules-names): Add modstatic5.
6349 (tststatic5-ENV): New variable.
6350 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6353 * elf/dl-support.c (_dl_main_map): New variable.
6354 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6355 (_dl_nns, _dl_load_adds): Set to 1.
6356 (_dl_initial_searchlist): Refer to _dl_main_map.
6357 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6358 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6359 call to _dl_get_origin.
6360 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6362 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6363 * dlfcn/modstatic3.c: New file.
6364 * dlfcn/tststatic3.c: New file.
6365 * dlfcn/tststatic4.c: New file.
6366 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6367 (tests-static): Likewise.
6368 (modules-names): Add modstatic3.
6369 (tststatic3-ENV, tststatic4-ENV): New variables.
6370 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6371 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6373 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6375 * configure.in (CC): Require GCC version 4.4 or later.
6376 * configure: Regenerated.
6377 * manual/install.texi (Tools for Compilation): Update GCC version
6379 * INSTALL: Regenerated.
6381 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6384 * string/test-memcmp.c (check2): New.
6385 (main): Call check2.
6387 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6389 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6392 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6394 (dl_open_worker) [!SHARED]: ... here.
6396 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6398 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6400 2013-06-25 Richard Henderson <rth@redhat.com>
6402 * locale/programs/locarchive.c: Include <libc-internal.h>
6404 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6406 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6407 trailing whitespace removed.
6409 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6412 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6413 * locale/programs/locarchive.c: Include libc-mmap.h.
6414 (prepare_address_space): Take two new outputs (the mmap base and len).
6415 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6417 (create_archive): Declare new mmap base and len values for
6418 prepare_address_space, and store the result in ah.
6419 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6420 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6421 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6422 Declare new mmap base and len values for
6423 prepare_address_space, and store the result in new_ah.
6424 (open_archive): Declare new mmap base and len values for
6425 prepare_address_space, and store the result in ah.
6426 (close_archive): If ah->mmap_base is not NULL, use that and
6427 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6428 * sysdeps/generic/libc-mmap.h: New file.
6430 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6432 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6433 (ALIGN_UP): Likewise.
6434 (PTR_ALIGN_DOWN): Likewise.
6435 (PTR_ALIGN_UP): Likewise.
6437 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6439 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6440 entry mapped to PPC_PLATFORM_POWER8.
6441 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6443 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6444 (_dl_string_platform): Add case for exporting platform position for
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6447 search path to sysdeps/powerpc/powerpc32/power8 directory.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6449 search path to sysdeps/powerpc/powerpc64/power8 directory.
6450 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6452 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6455 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6457 * INSTALL: Regenerate.
6459 * nscd/connections.c (nscd_init): Fix comment.
6461 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6463 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6466 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6467 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6469 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6471 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6473 (DL_DST_REQ_STATIC): Remove macro.
6475 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6478 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6479 with a shift of 0 bits.
6481 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6483 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6486 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6489 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6491 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6494 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6495 accepts -fno-tree-loop-distribute-patterns.
6496 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6497 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6499 * string/memset.c (memset): Likewise.
6500 * string/test-memmove.c (simple_memmove): Disable loop transformation
6502 * string/test-memset.c (simple_memset): Likewise.
6503 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6504 * benchtests/bench-memset.c (simple_memset): Likewise.
6505 * configure: Regenerated.
6507 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6509 * math/test-misc.c (main): Ignore fesetround failure when failures
6510 of subsequent rounding tests would be ignored.
6513 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6514 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6515 * math/fegetenv.c (__fegetenv): Return 0.
6516 * math/fegetexcept.c (fegetexcept): Return 0.
6517 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6519 * math/feholdexcpt.c (feholdexcept): Return 0.
6520 * math/fesetenv.c (__fesetenv): Return 0.
6521 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6522 argument FE_TONEAREST.
6523 * math/feupdateenv.c (__feupdateenv): Return 0.
6524 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6526 2013-06-18 Roland McGrath <roland@hack.frob.com>
6528 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6529 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6530 ($(objpfx)rtld-%.os rules): Use them.
6532 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6534 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6537 2013-06-17 Roland McGrath <roland@hack.frob.com>
6539 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6540 length of target pattern, then descending length of dependency pattern.
6541 * configure.in (AWK): Require gawk 3.1.2 or newer.
6542 * manual/install.texi (Tools for Compilation): Say that we do.
6543 * configure: Regenerated.
6545 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6546 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6547 * scripts/sysd-rules.awk: ... this new script.
6548 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6549 than a glob-style pattern.
6551 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6553 * math/test-misc.c (main): Do not treat incorrectly rounded
6554 conversions as failure unless ROUNDING_TESTS passes.
6556 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6560 restore exception state around main square root computation, then
6561 check for inexactness explicitly.
6563 * math/libm-test.inc (fma_test_data): Add another test.
6565 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 * manual/threads.texi (Non-POSIX Extensions): New document
6568 node. Document pthread_getattr_default_np and
6569 pthread_setattr_default_np.
6571 * Versions.def (libpthread): Add GLIBC_2.18.
6572 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6581 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6592 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6595 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6597 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 H.J. Lu <hjl.tools@gmail.com>
6601 * sysdeps/x86_64/rtld-memset.c: Remove file.
6602 * sysdeps/x86_64/rtld-memset.S: New file.
6604 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6606 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6607 (test_in_one_mode): Take arguments for whether the rounding mode
6608 is supported for each floating-point type.
6609 (do_test): Pass new arguments to test_in_one_mode using
6612 2013-06-13 Roland McGrath <roland@hack.frob.com>
6614 * posix/tst-waitid.c (do_test): Distinguish different instances of
6615 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6616 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6617 before entering the kernel for waitpid.
6619 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6621 * NEWS: Fix note on clock function precision. Text by Roland
6624 2013-06-13 Roland McGrath <roland@hack.frob.com>
6626 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6627 it into place only when and if the sanity check passes.
6629 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6631 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6632 output for whether conversion result is exact. Take argument
6633 indicating whether type is IBM long double.
6634 (round_for_all): Change need_exact field to ibm_ld.
6635 * stdlib/tst-strtod-round.c (struct exactness): New type.
6636 (struct test): Change bool ld_ok field to struct exactness exact.
6637 (TEST): Update all definitions for change to field.
6638 (tests): Regenerate array contents.
6639 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6640 field value. Check for IBM long double here.
6641 (do_test): Update calls to test_in_one_mode.
6643 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6646 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6647 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6649 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6653 generated by the compiler on loop optimizations.
6654 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6655 general definitions.
6657 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6659 * math/bug-nextafter.c: Include <math-tests.h>.
6660 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6662 * math/bug-nexttoward.c: Include <math-tests.h>.
6663 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6665 * math/test-misc.c: Include <math-tests.h>.
6666 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6669 2013-06-12 Andreas Jaeger <aj@suse.de>
6671 * po/ia.po: Update Interlingua translation from translation
6674 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6676 * include/fenv.h: Include stdbool.h.
6677 (struct rm_ctx): New structure.
6678 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6680 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6681 (SET_RESTORE_ROUNDF): Likewise.
6682 (SET_RESTORE_ROUNDL): Likewise.
6683 (SET_RESTORE_ROUND_NOEX): Likewise.
6684 (SET_RESTORE_ROUND_NOEXF): Likewise.
6685 (SET_RESTORE_ROUND_NOEXL): Likewise.
6686 (SET_RESTORE_ROUND_53BIT): Likewise.
6687 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6688 (libc_feresetround_noexf_ctx): Likewise.
6689 (libc_feresetround_noexl_ctx): Likewise.
6690 (libc_feholdsetround_53bit_ctx): Likewise.
6691 (libc_feresetround_53bit_ctx): Likewise.
6692 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6693 (libc_feholdexcept_setround_sse_ctx): New function.
6694 (libc_fesetenv_sse_ctx): Likewise.
6695 (libc_feupdateenv_sse_ctx): Likewise.
6696 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6697 (libc_feholdexcept_setround_387_ctx): Likewise.
6698 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6699 (libc_feholdsetround_387_prec_ctx): Likewise.
6700 (libc_feholdsetround_387_ctx): Likewise.
6701 (libc_feholdsetround_387_53bit_ctx): Likewise.
6702 (libc_feholdsetround_sse_ctx): Likewise.
6703 (libc_feresetround_sse_ctx): Likewise.
6704 (libc_feresetround_387_ctx): Likewise.
6705 (libc_feupdateenv_387_ctx): Likewise.
6706 (libc_feholdexcept_setroundf_ctx): Define macro.
6707 (libc_fesetenvf_ctx): Likewise.
6708 (libc_feupdateenvf_ctx): Likewise.
6709 (libc_feholdsetroundf_ctx): Likewise.
6710 (libc_feresetroundf_ctx): Likewise.
6711 (libc_feholdexcept_setround_ctx): Likewise.
6712 (libc_fesetenv_ctx): Likewise.
6713 (libc_feupdateenv_ctx): Likewise.
6714 (libc_feholdsetround_ctx): Likewise.
6715 (libc_feresetround_ctx): Likewise.
6716 (libc_feholdexcept_setroundl_ctx): Likewise.
6717 (libc_feupdateenvl_ctx): Likewise.
6718 (libc_feholdsetroundl_ctx): Likewise.
6719 (libc_feresetroundl_ctx): Likewise.
6720 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6721 (libc_feresetround_53bit_ctx): Likewise.
6723 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6725 * locale/iso-639.def: Convert to UTF-8.
6727 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6729 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6730 (EXCEPTION_TESTS_double): Likewise.
6731 (EXCEPTION_TESTS_long_double): Likewise.
6732 (EXCEPTION_TESTS): Likewise.
6733 * math/libm-test.inc (test_exceptions): Only test exceptions if
6734 EXCEPTION_TESTS (FLOAT).
6736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6738 * benchtests/Makefile (string-bench): Add strcpy_chk and
6740 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6741 * benchtests/bench-stpcpy_chk.c: New file.
6742 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6743 * benchtests/bench-strcpy_chk.c: New file.
6744 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6746 (do_test): Likewise.
6748 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6750 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6751 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6752 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6753 with tabs where appropriate.
6754 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6756 [PPC_PLATFORM_PPC440]: Likewise.
6757 [PPC_PLATFORM_PPC464]: Likewise.
6758 [PPC_PLATFORM_PPC476]: Likewise.
6759 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6760 ppc464, and ppc476 platform strings merging from ports/
6763 2013-06-11 Andreas Schwab <schwab@suse.de>
6766 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6767 (from_ucs4_idx): Regenerate.
6768 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6769 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6770 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6771 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6772 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6773 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6774 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6775 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6776 from FROM_LOOP and TO_LOOP specific macros.
6777 (BODY): Handle combining characters.
6778 * iconvdata/BIG5HKSCS.irreversible: Update.
6779 * iconvdata/BIG5HKSCS.precomposed: New file.
6780 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6782 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6784 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6786 * include/sys/time.h: Fix indentation and add copyright header.
6788 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6789 (do_test): Likewise.
6790 * string/test-memchr.c (do_one_test): Likewise.
6791 (do_test): Likewise.
6792 * string/test-memcmp.c (do_one_test): Likewise.
6793 (do_test): Likewise.
6794 * string/test-memcpy.c (do_one_test): Likewise.
6795 (do_test): Likewise.
6796 * string/test-memmem.c (do_one_test): Likewise.
6797 (do_test): Likewise.
6798 (do_random_tests): Likewise.
6799 * string/test-memmove.c (do_one_test): Likewise.
6800 (do_test): Likewise.
6801 * string/test-memset.c (do_one_test): Likewise.
6802 (do_test): Likewise.
6803 * string/test-rawmemchr.c (do_one_test): Likewise.
6804 (do_test): Likewise.
6805 * string/test-strcasecmp.c (do_one_test): Likewise.
6806 (do_test): Likewise.
6807 * string/test-strcasestr.c (do_one_test): Likewise.
6808 (do_test): Likewise.
6809 * string/test-strcat.c (do_one_test): Likewise.
6810 (do_test): Likewise.
6811 * string/test-strchr.c (do_one_test): Likewise.
6812 (do_test): Likewise.
6813 * string/test-strcmp.c (do_one_test): Likewise.
6814 (do_test): Likewise.
6815 * string/test-strcpy.c (do_one_test): Likewise.
6816 (do_test): Likewise.
6817 * string/test-string.h: Likewise.
6818 (test_init): Likewise.
6819 * string/test-strlen.c (do_one_test): Likewise.
6820 (do_test): Likewise.
6821 * string/test-strncasecmp.c (do_one_test): Likewise.
6822 (do_test): Likewise.
6823 * string/test-strncat.c (do_one_test): Likewise.
6824 (do_test): Likewise.
6825 * string/test-strncmp.c (do_one_test): Likewise.
6826 (do_test_limit): Likewise.
6827 (do_test): Likewise.
6828 * string/test-strncpy.c (do_one_test): Likewise.
6829 (do_test): Likewise.
6830 * string/test-strnlen.c (do_one_test): Likewise.
6831 (do_test): Likewise.
6832 * string/test-strpbrk.c (do_one_test): Likewise.
6833 (do_test): Likewise.
6834 * string/test-strrchr.c (do_one_test): Likewise.
6835 (do_test): Likewise.
6836 * string/test-strspn.c (do_one_test): Likewise.
6837 (do_test): Likewise.
6838 * string/test-strstr.c (do_one_test): Likewise.
6839 (do_test): Likewise.
6841 * benchtests/Makefile (string-bench): Add string benchmarks.
6842 * benchtests/bench-bcopy-ifunc.c: New file.
6843 * benchtests/bench-bcopy.c: New file.
6844 * benchtests/bench-bzero-ifunc.c: New file.
6845 * benchtests/bench-bzero.c: New file.
6846 * benchtests/bench-memccpy-ifunc.c: New file.
6847 * benchtests/bench-memccpy.c: New file.
6848 * benchtests/bench-memchr-ifunc.c: New file.
6849 * benchtests/bench-memchr.c: New file.
6850 * benchtests/bench-memcmp-ifunc.c: New file.
6851 * benchtests/bench-memcmp.c: New file.
6852 * benchtests/bench-memmem-ifunc.c: New file.
6853 * benchtests/bench-memmem.c: New file.
6854 * benchtests/bench-memmove-ifunc.c: New file.
6855 * benchtests/bench-memmove.c: New file.
6856 * benchtests/bench-mempcpy-ifunc.c: New file.
6857 * benchtests/bench-mempcpy.c: New file.
6858 * benchtests/bench-memset-ifunc.c: New file.
6859 * benchtests/bench-memset.c: New file.
6860 * benchtests/bench-rawmemchr-ifunc.c: New file.
6861 * benchtests/bench-rawmemchr.c: New file.
6862 * benchtests/bench-stpcpy-ifunc.c: New file.
6863 * benchtests/bench-stpcpy.c: New file.
6864 * benchtests/bench-stpncpy-ifunc.c: New file.
6865 * benchtests/bench-stpncpy.c: New file.
6866 * benchtests/bench-strcasecmp-ifunc.c: New file.
6867 * benchtests/bench-strcasecmp.c: New file.
6868 * benchtests/bench-strcasestr-ifunc.c: New file.
6869 * benchtests/bench-strcasestr.c: New file.
6870 * benchtests/bench-strcat-ifunc.c: New file.
6871 * benchtests/bench-strcat.c: New file.
6872 * benchtests/bench-strchr-ifunc.c: New file.
6873 * benchtests/bench-strchr.c: New file.
6874 * benchtests/bench-strchrnul-ifunc.c: New file.
6875 * benchtests/bench-strchrnul.c: New file.
6876 * benchtests/bench-strcmp-ifunc.c: New file.
6877 * benchtests/bench-strcmp.c: New file.
6878 * benchtests/bench-strcpy-ifunc.c: New file.
6879 * benchtests/bench-strcpy.c: New file.
6880 * benchtests/bench-strcspn-ifunc.c: New file.
6881 * benchtests/bench-strcspn.c: New file.
6882 * benchtests/bench-strlen-ifunc.c: New file.
6883 * benchtests/bench-strlen.c: New file.
6884 * benchtests/bench-strncasecmp-ifunc.c: New file.
6885 * benchtests/bench-strncasecmp.c: New file.
6886 * benchtests/bench-strncat-ifunc.c: New file.
6887 * benchtests/bench-strncat.c: New file.
6888 * benchtests/bench-strncmp-ifunc.c: New file.
6889 * benchtests/bench-strncmp.c: New file.
6890 * benchtests/bench-strncpy-ifunc.c: New file.
6891 * benchtests/bench-strncpy.c: New file.
6892 * benchtests/bench-strnlen-ifunc.c: New file.
6893 * benchtests/bench-strnlen.c: New file.
6894 * benchtests/bench-strpbrk-ifunc.c: New file.
6895 * benchtests/bench-strpbrk.c: New file.
6896 * benchtests/bench-strrchr-ifunc.c: New file.
6897 * benchtests/bench-strrchr.c: New file.
6898 * benchtests/bench-strspn-ifunc.c: New file.
6899 * benchtests/bench-strspn.c: New file.
6900 * benchtests/bench-strstr-ifunc.c: New file.
6901 * benchtests/bench-strstr.c: New file.
6903 * benchtests/Makefile: Disable parallel execution of targets.
6904 (string-bench): Add memcpy.
6905 (benchset): New variable to store a list of benchmark sets.
6906 (bench-func): Renamed from bench.
6907 (bench-set): New target.
6908 (bench): Depend on bench-func and bench-set.
6909 * benchtests/README: Add section on benchmark sets.
6910 * benchtests/bench-memcpy-ifunc.c: New file.
6911 * benchtests/bench-memcpy.c: New file.
6912 * benchtests/bench-string.h: New file.
6914 2013-06-11 Andreas Schwab <schwab@suse.de>
6917 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6918 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6919 values in the triple.
6920 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6921 terminator in the group key.
6923 2013-06-11 Andreas Jaeger <aj@suse.de>
6925 * po/zh_TW.po: Update Chinese (traditional) translation from
6926 translation project.
6928 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6930 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6931 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6932 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6933 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6934 (clock_getcpuclockid): Likewise.
6935 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6936 Add weak_alias and libc_hidden_def.
6937 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6938 * rt/clock_gettime.c (clock_gettime): Rename to
6939 __clock_gettime. Add weak_alias and libc_hidden_def.
6940 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6941 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6942 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6943 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6944 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6946 * rt/clock_settime.c (clock_settime): Rename to
6947 __clock_settime. Add weak_alias and libc_hidden_def.
6948 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6950 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6952 * mach/err_boot.sub: Remove trailing whitespace.
6953 * mach/err_ipc.sub: Likewise.
6954 * mach/err_mach.sub: Likewise.
6956 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6957 (ROUNDING_TESTS_double): Likewise.
6958 (ROUNDING_TESTS_long_double): Likewise.
6959 (ROUNDING_TESTS): Likewise.
6960 * math/libm-test.inc: Include <math-tests.h>.
6961 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6962 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6963 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6964 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6966 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6968 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6971 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6973 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6974 otherwise empty TRANS lines.
6975 * sysdeps/gnu/errlist.c: Regenerated.
6977 * catgets/gencat.c (error_print): Use (void) in function
6979 * crypt/crypt_util.c (__init_des): Likewise.
6980 * crypt/speeds.c (Stop): Likewise.
6982 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6983 * inet/ruserpass.c (token): Likewise.
6984 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6985 * intl/localealias.c (extend_alias_table): Likewise.
6986 * intl/plural-exp.c (init_germanic_plural): Likewise.
6987 * libio/fcloseall.c (__fcloseall): Likewise.
6988 * libio/genops.c (_IO_flush_all): Likewise.
6989 (_IO_flush_all_linebuffered): Likewise.
6990 (_IO_cleanup): Likewise.
6991 (_IO_iter_begin): Likewise.
6992 (_IO_iter_end): Likewise.
6993 (_IO_list_lock): Likewise.
6994 (_IO_list_unlock): Likewise.
6995 (_IO_list_resetlock): Likewise.
6996 * libio/getchar.c (getchar): Likewise.
6997 * libio/getchar_u.c (getchar_unlocked): Likewise.
6998 * libio/getwchar.c (getwchar): Likewise.
6999 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7000 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7001 * login/getpt.c (__getpt): Likewise.
7002 * login/tst-utmp.c (main): Likewise.
7003 * malloc/hooks.c (__malloc_check_init): Likewise.
7004 * malloc/malloc.c (__malloc_stats): Likewise.
7005 * malloc/mtrace.c (tr_break): Likewise.
7007 (muntrace): Likewise.
7008 * misc/fstab.c (endfsent): Likewise.
7009 * misc/getclktck.c (__getclktck): Likewise.
7010 * misc/getdtsz.c (__getdtablesize): Likewise.
7011 * misc/gethostid.c (gethostid): Likewise.
7012 * misc/getpagesize.c (__getpagesize): Likewise.
7013 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7014 (__get_nprocs): Likewise.
7015 (__get_phys_pages): Likewise.
7016 (__get_avphys_pages): Likewise.
7017 * misc/getttyent.c (getttyent): Likewise.
7018 (setttyent): Likewise.
7019 (endttyent): Likewise.
7020 * misc/getusershell.c (getusershell): Likewise.
7021 (endusershell): Likewise.
7022 (setusershell): Likewise.
7023 (initshells): Likewise.
7024 * misc/hsearch.c (__hdestroy): Likewise.
7025 * misc/sync.c (sync): Likewise.
7026 * misc/syslog.c (closelog_internal): Likewise.
7027 (closelog): Likewise.
7028 * misc/ttyslot.c (ttyslot): Likewise.
7029 * misc/vhangup.c (vhangup): Likewise.
7030 * posix/fork.c (__fork): Likewise.
7031 * posix/getegid.c (__getegid): Likewise.
7032 * posix/geteuid.c (__geteuid): Likewise.
7033 * posix/getgid.c (__getgid): Likewise.
7034 * posix/getpid.c (__getpid): Likewise.
7035 * posix/getppid.c (__getppid): Likewise.
7036 * posix/getuid.c (__getuid): Likewise.
7037 * posix/pause.c (pause): Likewise.
7038 * posix/setpgrp.c (setpgrp): Likewise.
7039 * posix/setsid.c (__setsid): Likewise.
7040 * posix/test-vfork.c (noop): Likewise.
7041 * resolv/gethnamaddr.c (_endhtent): Likewise.
7042 (_gethtent): Likewise.
7043 (ht_endhostent): Likewise.
7044 (gethostent): Likewise.
7045 (dns_service): Likewise.
7046 * stdlib/drand48.c (drand48): Likewise.
7047 * stdlib/lrand48.c (lrand48): Likewise.
7048 * stdlib/mrand48.c (mrand48): Likewise.
7049 * stdlib/rand.c (rand): Likewise.
7050 * stdlib/random.c (__random): Likewise.
7051 * stdlib/setenv.c (clearenv): Likewise.
7052 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7053 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7054 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7055 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7056 (__get_nprocs): Likewise.
7057 (__get_phys_pages): Likewise.
7058 (__get_avphys_pages): Likewise.
7059 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7060 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7061 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7062 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7063 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7064 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7065 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7066 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7067 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7068 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7069 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7070 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7071 * sysdeps/posix/clock.c (clock): Likewise.
7072 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7073 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7074 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7075 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7076 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7078 (__get_nprocs_conf): Likewise.
7079 (__get_phys_pages): Likewise.
7080 (__get_avphys_pages): Likewise.
7081 * time/clock.c (clock): Likewise.
7082 * time/tzset.c (__tzname_max): Likewise.
7084 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7086 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7087 (__bswap_32): Do not use "register".
7088 * crypt/crypt.c (_ufc_doit_r): Likewise.
7089 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7090 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7091 * gmon/gmon.c (__monstartup): Likewise.
7092 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7093 * hurd/hurdmalloc.c (more_memory): Likewise.
7096 (realloc): Likewise.
7097 (malloc_fork_prepare): Likewise.
7098 (malloc_fork_parent): Likewise.
7099 (malloc_fork_child): Likewise.
7100 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7101 (_svcauth_des): Likewise.
7102 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7103 * inet/inet_net.c (inet_network): Likewise.
7104 * inet/inet_netof.c (inet_netof): Likewise.
7105 * inet/rcmd.c (__validuser2_sa): Likewise.
7106 * io/fts.c (fts_open): Likewise.
7107 (fts_load): Likewise.
7108 (fts_close): Likewise.
7109 (fts_read): Likewise.
7110 (fts_children): Likewise.
7111 (fts_build): Likewise.
7112 (fts_stat): Likewise.
7113 (fts_sort): Likewise.
7114 (fts_alloc): Likewise.
7115 (fts_lfree): Likewise.
7116 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7117 (_IO_file_xsgetn): Likewise.
7118 (_IO_file_xsgetn_mmap): Likewise.
7119 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7120 (_IO_cookie_write): Likewise.
7121 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7122 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7123 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7124 * malloc/obstack.c (_obstack_begin): Likewise.
7125 (_obstack_begin_1): Likewise.
7126 (_obstack_newchunk): Likewise.
7127 (_obstack_allocated_p): Likewise.
7128 (obstack_free): Likewise.
7129 (_obstack_memory_used): Likewise.
7130 * misc/getttyent.c (getttynam): Likewise.
7131 (getttyent): Likewise.
7134 * misc/getusershell.c (initshells): Likewise.
7135 * misc/syslog.c (__vsyslog_chk): Likewise.
7136 * misc/ttyslot.c (ttyslot): Likewise.
7137 * nis/nis_hash.c (__nis_hash): Likewise.
7138 * posix/fnmatch_loop.c (FCT): Likewise.
7139 * posix/getconf.c (print_all): Likewise.
7141 * posix/getopt.c (exchange): Likewise.
7142 * posix/glob.c (globfree): Likewise.
7143 (prefix_array): Likewise.
7144 (__glob_pattern_type): Likewise.
7145 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7146 (NS_GET32): Likewise.
7147 (NS_PUT16): Likewise.
7148 (NS_PUT32): Likewise.
7149 * resolv/gethnamaddr.c (getanswer): Likewise.
7150 (gethostbyname2): Likewise.
7151 (gethostbyaddr): Likewise.
7152 (_gethtent): Likewise.
7153 (_gethtbyname2): Likewise.
7154 (_gethtbyaddr): Likewise.
7155 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7156 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7157 * resolv/res_init.c (__res_vinit): Likewise.
7158 (net_mask): Likewise.
7159 * resolv/res_mkquery.c (outchar): Likewise.
7161 * stdio-common/printf_fp.c (outchar): Likewise.
7163 * stdio-common/printf_fphex.c (outchar): Likewise.
7165 * stdio-common/printf_size.c (outchar): Likewise.
7167 * stdio-common/test_rdwr.c (main): Likewise.
7168 * stdio-common/tfformat.c (matches): Likewise.
7169 * stdio-common/vfprintf.c (outchar): Likewise.
7170 (printf_unknown): Likewise.
7171 (buffered_vfprintf): Likewise.
7172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7173 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7174 (ReadFile): Likewise.
7175 * stdlib/qsort.c (SWAP): Likewise.
7176 (_quicksort): Likewise.
7177 * stdlib/setenv.c (__add_to_environ): Likewise.
7178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7179 * stdlib/strtol_l.c (__strtol_l): Likewise.
7180 * stdlib/tst-strtod.c (main): Likewise.
7181 * stdlib/tst-strtol.c (main): Likewise.
7182 * stdlib/tst-strtoll.c (main): Likewise.
7183 * string/bits/string2.h (__strcmp_cc): Likewise.
7184 (__strcmp_cg): Likewise.
7185 (__strcspn_c1): Likewise.
7186 (__strcspn_c2): Likewise.
7187 (__strcspn_c3): Likewise.
7188 (__strspn_c1): Likewise.
7189 (__strspn_c2): Likewise.
7190 (__strspn_c3): Likewise.
7191 (__strsep_1c): Likewise.
7192 (__strsep_2c): Likewise.
7193 (__strsep_3c): Likewise.
7194 * string/memccpy.c (__memccpy): Likewise.
7195 * string/stpcpy.c (__stpcpy): Likewise.
7196 * string/strcmp.c (strcmp): Likewise.
7197 * string/strrchr.c (strrchr): Likewise.
7198 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7200 * sysdeps/mach/hurd/getcwd.c
7201 (_hurd_canonicalize_directory_name_internal): Likewise.
7202 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7203 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7204 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7205 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7206 Likewise, in both definitions.
7207 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7209 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7210 64] (__bswap_64): Likewise.
7211 * time/test_time.c (main): Likewise.
7212 * time/tzfile.c (__tzfile_read): Likewise.
7213 (__tzfile_compute): Likewise.
7214 * time/tzset.c (__tzset_parse_tz): Likewise.
7215 (tzset_internal): Likewise.
7216 (compute_change): Likewise.
7217 * wcsmbs/wcscat.c (__wcscat): Likewise.
7218 * wcsmbs/wcschr.c (wcschr): Likewise.
7219 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7220 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7221 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7222 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7223 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7224 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7225 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7226 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7227 * wcsmbs/wmemset.c (wmemset): Likewise.
7229 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7231 * scripts/config.guess: Update to version 2013-05-16.
7232 * scripts/config.sub: Update to version 2013-04-24.
7233 * scripts/install-sh: Update to version 2011-11-20.07.
7234 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7235 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7237 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7239 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7240 * elf/sln.c: Likewise.
7241 * hurd/hurd/ioctl.h: Likewise.
7242 * hurd/hurdmalloc.c: Likewise.
7243 * hurd/xattr.c: Likewise.
7244 * include/shlib-compat.h: Likewise.
7245 * inet/ruserpass.c: Likewise.
7246 * libio/iofgets_u.c: Likewise.
7247 * libio/iofgetws_u.c: Likewise.
7248 * locale/programs/ld-identification.c: Likewise.
7249 * locale/programs/ld-time.c: Likewise.
7250 * mach/msg-destroy.c: Likewise.
7251 * nss/nss_files/files-netgrp.c: Likewise.
7252 * resolv/res_data.c: Likewise.
7253 * soft-fp/op-1.h: Likewise.
7254 * soft-fp/op-2.h: Likewise.
7255 * soft-fp/op-4.h: Likewise.
7256 * soft-fp/op-common.h: Likewise.
7257 * stdio-common/printf_fphex.c: Likewise.
7258 * stdlib/strtod_l.c: Likewise.
7259 * sunrpc/rpc/clnt.h: Likewise.
7260 * sysdeps/generic/framestate.c: Likewise.
7261 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7262 * sysdeps/i386/bsd-setjmp.S: Likewise.
7263 * sysdeps/i386/__longjmp.S: Likewise.
7264 * sysdeps/i386/setjmp.S: Likewise.
7265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7267 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7283 * sysdeps/ieee754/support.c: Likewise.
7284 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7285 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7286 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7287 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7288 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7289 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7290 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7291 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7292 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7293 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7294 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7295 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7296 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7297 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7298 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7299 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7300 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7303 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7305 * posix/transbug.c: Remove executable mode.
7307 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7309 * crypt/speeds.c: Remove trailing whitespace.
7310 * dlfcn/default.c: Likewise.
7311 * elf/ifuncdep2.c: Likewise.
7312 * elf/ifuncmain1.c: Likewise.
7313 * elf/ifuncmain1vis.c: Likewise.
7314 * elf/testobj.h: Likewise.
7315 * elf/tst-stackguard1.c: Likewise.
7316 * gmon/sys/gmon.h: Likewise.
7317 * hurd/hurdmsg.c: Likewise.
7318 * hurd/new-fd.c: Likewise.
7319 * hurd/ports-get.c: Likewise.
7320 * iconvdata/ibm1008_420.c: Likewise.
7321 * inet/tst-getni1.c: Likewise.
7322 * inet/tst-getni2.c: Likewise.
7323 * libio/ioungetc.c: Likewise.
7324 * libio/wfiledoalloc.c: Likewise.
7325 * manual/libm-err-tab.pl: Likewise.
7326 * math/w_dremf.c: Likewise.
7327 * misc/ftruncate.c: Likewise.
7328 * posix/bug-glob2.c: Likewise.
7329 * posix/tst-pcre.c: Likewise.
7330 * posix/wait4.c: Likewise.
7331 * resolv/README: Likewise.
7332 * resolv/res_debug.h: Likewise.
7333 * resolv/tst-inet_ntop.c: Likewise.
7334 * setjmp/bug269-setjmp.c: Likewise.
7335 * soft-fp/extended.h: Likewise.
7336 * soft-fp/op-1.h: Likewise.
7337 * soft-fp/op-2.h: Likewise.
7338 * soft-fp/op-4.h: Likewise.
7339 * soft-fp/op-8.h: Likewise.
7340 * soft-fp/testit.c: Likewise.
7341 * stdio-common/bug16.c: Likewise.
7342 * stdlib/random.c: Likewise.
7343 * sunrpc/rpcsvc/rquota.x: Likewise.
7344 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7350 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7353 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7354 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7373 * sysdeps/ieee754/s_lib_version.c: Likewise.
7374 * sysdeps/mach/hurd/check_fds.c: Likewise.
7375 * sysdeps/mach/hurd/getsockname.c: Likewise.
7376 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7377 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7378 * sysdeps/powerpc/bits/link.h: Likewise.
7379 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7380 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7381 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7382 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7383 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7384 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7385 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7386 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7387 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7388 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7389 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7390 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7391 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7392 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7393 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7394 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7398 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7400 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7402 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7403 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7404 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7406 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7408 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7409 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7411 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7412 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7413 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7414 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7415 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7416 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7417 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7418 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7419 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7420 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7421 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7422 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7423 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7424 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7425 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7426 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7427 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7428 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7431 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7432 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7433 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7434 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7435 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7436 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7437 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7439 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7440 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7441 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7442 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7443 * sysdeps/powerpc/sysdep.h: Likewise.
7444 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7445 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7446 * sysdeps/sh/dl-trampoline.S: Likewise.
7447 * sysdeps/sh/memset.S: Likewise.
7448 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7449 * sysdeps/sh/strlen.S: Likewise.
7450 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7451 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7452 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7453 * sysdeps/sparc/sparc32/rem.S: Likewise.
7454 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7455 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7456 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7457 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7458 * sysdeps/sparc/sparc32/urem.S: Likewise.
7459 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7460 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7461 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7462 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7464 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7465 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7466 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7467 * sysdeps/unix/bsd/times.c: Likewise.
7468 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7469 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7473 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7474 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7478 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7479 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7481 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7482 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7483 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7484 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7485 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7486 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7487 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7488 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7490 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7491 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7492 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7493 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7494 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7495 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7496 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7497 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7498 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7499 * sysdeps/x86_64/strcspn.S: Likewise.
7501 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7503 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7504 generated file. Regenerate properly from gen-translit.pl.
7505 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7506 locale/C-translit.h.
7508 2013-06-05 Andreas Schwab <schwab@suse.de>
7511 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7512 week as 6 instead of -1.
7513 * time/tst-strptime.c (day_tests): Add test case.
7515 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7517 * sysdeps/generic/math_private.h
7518 (libc_feholdexcept_setround_53bit): Replace with
7519 libc_feholdsetround_53bit.
7520 (libc_feupdateenv_53bit): Replace with
7521 libc_feresetround_53bit.
7522 (SET_RESTORE_ROUND_53BIT): Adjust.
7524 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7526 * string/test-strchrnul.c: Add copyright header.
7528 * posix/tst-getaddrinfo4.c: Increase test timeout.
7530 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7533 * math/libm-test.inc (MAX_EXP): Remove
7535 (ulp): Use MIN_EXP - MANT_DIG.
7536 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7538 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7540 * po/be.po: Revert last change.
7541 * po/zh_CN.po: Likewise.
7542 * po/header.pot: Likewise.
7544 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7546 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7547 link-libc-deps to empty as target-specific variable.
7548 * Makerules (link-libc-args): New variable.
7549 (libc-for-link): Likewise.
7550 (link-libc-deps): Likewise.
7551 (lib%.so): Depend on $(link-libc-deps). Link with
7553 (build-module): Link with $(link-libc-args).
7554 (build-module-asneeded): Likewise.
7555 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7557 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7558 target-specific variable.
7559 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7560 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7561 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7563 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7565 ($(objpfx)libpcprofile.so): Likewise.
7566 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7568 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7569 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7570 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7572 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7573 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7574 * login/Makefile ($(objpfx)libutil.so): Likewise.
7575 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7576 * math/Makefile ($(objpfx)libm.so): Likewise.
7577 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7578 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7579 variable instead of depending directly on libc.
7580 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7581 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7583 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7585 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7586 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7587 ($(objpfx)libanl.so): Likewise.
7588 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7590 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7592 * sysdeps/i386/fpu/Makefile: Remove file.
7593 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7594 ($(objpfx)libm.so): Remove dependency on ld.so.
7596 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7599 * nis/yp_xdr.c (XDRMAXNAME): Define.
7600 (XDRMAXRECORD): Define.
7601 (xdr_domainname): Use XDRMAXNAME.
7602 (xdr_mapname): Likewise.
7603 (xdr_peername): Likewise.
7604 (xdr_keydat): Use XDRMAXRECORD.
7605 (xdr_valdat): Likewise.
7607 2013-05-30 Jeff Law <law@redhat.com>
7610 * manual/errno.texi (ESTALE): Update to account for more than
7611 just NFS file systems.
7612 * sysdeps/gnu/errlist.c: Regenerated.
7614 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7617 * elf/Makefile (tests): Add tst-null-argv.
7618 (modules-names): Add tst-null-argv-lib.
7619 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7620 (tst-null-argv-ENV): Set environment for tst-null-argv.
7621 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7622 (RTLD_PROGNAME): New macro.
7623 * elf/tst-null-argv.c: New test case.
7624 * elf/tst-null-argv-lib.c: Library for test case.
7625 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7626 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7627 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7628 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7629 * elf/dl-init.c (call_init): Likewise.
7630 (_dl_init): Likewise.
7631 * elf/dl-load.c (print_search_path): Likewise.
7632 (_dl_map_object): Likewise.
7633 * elf/dl-lookup.c (do_lookup_x): Likewise.
7634 (add_dependency): Likewise.
7635 (_dl_lookup_symbol_x): Likewise.
7636 (_dl_debug_bindings): Likewise.
7637 * elf/dl-open.c (_dl_show_scope): Likewise.
7638 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7639 * elf/dl-version.c (match_symbol): Likewise.
7640 (_dl_check_map_versions): Likewise.
7641 * elf/rtld.c (dl_main): Likewise.
7642 (print_unresolved): Use RTLD_PROGNAME.
7643 (print_missing_version): Likewise.
7644 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7645 (elf_machine_rela): Likewise.
7646 * sysdeps/powerpc/powerpc32/dl-machine.c
7647 (__process_machine_rela): Likewise.
7648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7652 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7654 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7661 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7663 * po/be.po: Add descriptive title.
7664 * po/zh_CN.po: Likewise.
7665 * po/header.pot: Likewise.
7667 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7669 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7671 (enlarge_archive): Likewise.
7673 2013-05-28 Ben North <ben@redfrontdoor.org>
7675 * manual/arith.texi (frexp): It is the magnitude of the return
7676 value which lies in [0.5, 1), not the return value itself.
7678 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7682 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7684 * stdio-common/bug26.c (main): Correct fscanf template.
7686 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7687 declare _dl_skip_args.
7689 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7692 * manual/platform.texi: Add missing @end deftypefun.
7694 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7698 bit of mantissa of 2^16382.
7699 * math/libm-test.inc (hypot_test_data): Add more tests.
7701 * math/libm-test.inc: Add drem and pow10 to list of tested
7703 (pow10_test): New function.
7704 (drem_test): Likewise.
7705 (drem_test_tonearest): Likewise.
7706 (drem_test_towardzero): Likewise.
7707 (drem_test_downward): Likewise.
7708 (drem_test_upward): Likewise.
7709 (main): Call the new functions.
7711 * math/libm-test.inc (finite_test_data): Remove.
7712 (finite_test): Run tests from isfinite_test_data.
7713 (gamma_test_data): Remove.
7714 (gamma_test): Run tests from lgamma_test_data.
7715 * sysdeps/i386/fpu/libm-test-ulps: Update.
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7718 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720 * manual/platform.texi: Add PowerPC PPR function set documentation.
7721 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7724 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7726 * math/libm-test.inc (MAX_EXP): Define.
7728 (ulp): New function.
7729 (check_float_internal): Use ULPDIFF.
7730 (cpow_test): Disable failing test.
7731 (check_ulp): Test ulp() implemetnation.
7732 (main): Call check_ulp before starting tests.
7734 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7736 * math/gen-libm-test.pl (generate_testfile): Do not handle
7737 START_DATA and END_DATA.
7738 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7740 (acos_tonearest_test_data): Likewise.
7741 (acos_towardzero_test_data): Likewise.
7742 (acos_downward_test_data): Likewise.
7743 (acos_upward_test_data): Likewise.
7744 (acosh_test_data): Likewise.
7745 (asin_test_data): Likewise.
7746 (asin_tonearest_test_data): Likewise.
7747 (asin_towardzero_test_data): Likewise.
7748 (asin_downward_test_data): Likewise.
7749 (asin_upward_test_data): Likewise.
7750 (asinh_test_data): Likewise.
7751 (atan_test_data): Likewise.
7752 (atanh_test_data): Likewise.
7753 (atan2_test_data): Likewise.
7754 (cabs_test_data): Likewise.
7755 (cacos_test_data): Likewise.
7756 (cacosh_test_data): Likewise.
7757 (carg_test_data): Likewise.
7758 (casin_test_data): Likewise.
7759 (casinh_test_data): Likewise.
7760 (catan_test_data): Likewise.
7761 (catanh_test_data): Likewise.
7762 (cbrt_test_data): Likewise.
7763 (ccos_test_data): Likewise.
7764 (ccosh_test_data): Likewise.
7765 (ceil_test_data): Likewise.
7766 (cexp_test_data): Likewise.
7767 (cimag_test_data): Likewise.
7768 (clog_test_data): Likewise.
7769 (clog10_test_data): Likewise.
7770 (conj_test_data): Likewise.
7771 (copysign_test_data): Likewise.
7772 (cos_test_data): Likewise.
7773 (cos_tonearest_test_data): Likewise.
7774 (cos_towardzero_test_data): Likewise.
7775 (cos_downward_test_data): Likewise.
7776 (cos_upward_test_data): Likewise.
7777 (cosh_test_data): Likewise.
7778 (cosh_tonearest_test_data): Likewise.
7779 (cosh_towardzero_test_data): Likewise.
7780 (cosh_downward_test_data): Likewise.
7781 (cosh_upward_test_data): Likewise.
7782 (cpow_test_data): Likewise.
7783 (cproj_test_data): Likewise.
7784 (creal_test_data): Likewise.
7785 (csin_test_data): Likewise.
7786 (csinh_test_data): Likewise.
7787 (csqrt_test_data): Likewise.
7788 (ctan_test_data): Likewise.
7789 (ctan_tonearest_test_data): Likewise.
7790 (ctan_towardzero_test_data): Likewise.
7791 (ctan_downward_test_data): Likewise.
7792 (ctan_upward_test_data): Likewise.
7793 (ctanh_test_data): Likewise.
7794 (ctanh_tonearest_test_data): Likewise.
7795 (ctanh_towardzero_test_data): Likewise.
7796 (ctanh_downward_test_data): Likewise.
7797 (ctanh_upward_test_data): Likewise.
7798 (erf_test_data): Likewise.
7799 (erfc_test_data): Likewise.
7800 (exp_test_data): Likewise.
7801 (exp_tonearest_test_data): Likewise.
7802 (exp_towardzero_test_data): Likewise.
7803 (exp_downward_test_data): Likewise.
7804 (exp_upward_test_data): Likewise.
7805 (exp10_test_data): Likewise.
7806 (exp2_test_data): Likewise.
7807 (expm1_test_data): Likewise.
7808 (fabs_test_data): Likewise.
7809 (fdim_test_data): Likewise.
7810 (finite_test_data): Likewise.
7811 (floor_test_data): Likewise.
7812 (fma_test_data): Likewise.
7813 (fma_towardzero_test_data): Likewise.
7814 (fma_downward_test_data): Likewise.
7815 (fma_upward_test_data): Likewise.
7816 (fmax_test_data): Likewise.
7817 (fmin_test_data): Likewise.
7818 (fmod_test_data): Likewise.
7819 (fpclassify_test_data): Likewise.
7820 (frexp_test_data): Likewise.
7821 (gamma_test_data): Likewise.
7822 (hypot_test_data): Likewise.
7823 (ilogb_test_data): Likewise.
7824 (isfinite_test_data): Likewise.
7825 (isgreater_test_data): Likewise.
7826 (isgreaterequal_test_data): Likewise.
7827 (isinf_test_data): Likewise.
7828 (isless_test_data): Likewise.
7829 (islessequal_test_data): Likewise.
7830 (islessgreater_test_data): Likewise.
7831 (isnan_test_data): Likewise.
7832 (isnormal_test_data): Likewise.
7833 (issignaling_test_data): Likewise.
7834 (isunordered_test_data): Likewise.
7835 (j0_test_data): Likewise.
7836 (j1_test_data): Likewise.
7837 (jn_test_data): Likewise.
7838 (ldexp_test_data): Likewise.
7839 (lgamma_test_data): Likewise.
7840 (lrint_test_data): Likewise.
7841 (lrint_tonearest_test_data): Likewise.
7842 (lrint_towardzero_test_data): Likewise.
7843 (lrint_downward_test_data): Likewise.
7844 (lrint_upward_test_data): Likewise.
7845 (llrint_test_data): Likewise.
7846 (llrint_tonearest_test_data): Likewise.
7847 (llrint_towardzero_test_data): Likewise.
7848 (llrint_downward_test_data): Likewise.
7849 (llrint_upward_test_data): Likewise.
7850 (log_test_data): Likewise.
7851 (log10_test_data): Likewise.
7852 (log1p_test_data): Likewise.
7853 (log2_test_data): Likewise.
7854 (logb_test_data): Likewise.
7855 (logb_downward_test_data): Likewise.
7856 (lround_test_data): Likewise.
7857 (llround_test_data): Likewise.
7858 (modf_test_data): Likewise.
7859 (nearbyint_test_data): Likewise.
7860 (nextafter_test_data): Likewise.
7861 (nexttoward_test_data): Likewise.
7862 (pow_test_data): Likewise.
7863 (pow_tonearest_test_data): Likewise.
7864 (pow_towardzero_test_data): Likewise.
7865 (pow_downward_test_data): Likewise.
7866 (pow_upward_test_data): Likewise.
7867 (remainder_test_data): Likewise.
7868 (remainder_tonearest_test_data): Likewise.
7869 (remainder_towardzero_test_data): Likewise.
7870 (remainder_downward_test_data): Likewise.
7871 (remainder_upward_test_data): Likewise.
7872 (remquo_test_data): Likewise.
7873 (rint_test_data): Likewise.
7874 (rint_tonearest_test_data): Likewise.
7875 (rint_towardzero_test_data): Likewise.
7876 (rint_downward_test_data): Likewise.
7877 (rint_upward_test_data): Likewise.
7878 (round_test_data): Likewise.
7879 (scalb_test_data): Likewise.
7880 (scalbn_test_data): Likewise.
7881 (scalbln_test_data): Likewise.
7882 (signbit_test_data): Likewise.
7883 (sin_test_data): Likewise.
7884 (sin_tonearest_test_data): Likewise.
7885 (sin_towardzero_test_data): Likewise.
7886 (sin_downward_test_data): Likewise.
7887 (sin_upward_test_data): Likewise.
7888 (sincos_test_data): Likewise.
7889 (sinh_test_data): Likewise.
7890 (sinh_tonearest_test_data): Likewise.
7891 (sinh_towardzero_test_data): Likewise.
7892 (sinh_downward_test_data): Likewise.
7893 (sinh_upward_test_data): Likewise.
7894 (sqrt_test_data): Likewise.
7895 (tan_test_data): Likewise.
7896 (tan_tonearest_test_data): Likewise.
7897 (tan_towardzero_test_data): Likewise.
7898 (tan_downward_test_data): Likewise.
7899 (tan_upward_test_data): Likewise.
7900 (tanh_test_data): Likewise.
7901 (tgamma_test_data): Likewise.
7902 (trunc_test_data): Likewise.
7903 (y0_test_data): Likewise.
7904 (y1_test_data): Likewise.
7905 (yn_test_data): Likewise.
7906 (significand_test_data): Likewise.
7908 * math/gen-libm-test.pl (@functions): Remove variable.
7909 (generate_testfile): Don't handle START and END lines.
7910 * math/libm-test.inc (START): New macro.
7912 (END_COMPLEX): Likewise.
7913 (acos_test): Use END macro without arguments.
7914 (acos_test_tonearest): Likewise.
7915 (acos_test_towardzero): Likewise.
7916 (acos_test_downward): Likewise.
7917 (acos_test_upward): Likewise.
7918 (acosh_test): Likewise.
7919 (asin_test): Likewise.
7920 (asin_test_tonearest): Likewise.
7921 (asin_test_towardzero): Likewise.
7922 (asin_test_downward): Likewise.
7923 (asin_test_upward): Likewise.
7924 (asinh_test): Likewise.
7925 (atan_test): Likewise.
7926 (atanh_test): Likewise.
7927 (atan2_test): Likewise.
7928 (cabs_test): Likewise.
7929 (cacos_test): Use END_COMPLEX macro without arguments.
7930 (cacosh_test): Likewise.
7931 (carg_test): Use END macro without arguments.
7932 (casin_test): Use END_COMPLEX macro without arguments.
7933 (casinh_test): Likewise.
7934 (catan_test): Likewise.
7935 (catanh_test): Likewise.
7936 (cbrt_test): Use END macro without arguments.
7937 (ccos_test): Use END_COMPLEX macro without arguments.
7938 (ccosh_test): Likewise.
7939 (ceil_test): Use END macro without arguments.
7940 (cexp_test): Use END_COMPLEX macro without arguments.
7941 (cimag_test): Use END macro without arguments.
7942 (clog_test): Use END_COMPLEX macro without arguments.
7943 (clog10_test): Likewise.
7944 (conj_test): Likewise.
7945 (copysign_test): Use END macro without arguments.
7946 (cos_test): Likewise.
7947 (cos_test_tonearest): Likewise.
7948 (cos_test_towardzero): Likewise.
7949 (cos_test_downward): Likewise.
7950 (cos_test_upward): Likewise.
7951 (cosh_test): Likewise.
7952 (cosh_test_tonearest): Likewise.
7953 (cosh_test_towardzero): Likewise.
7954 (cosh_test_downward): Likewise.
7955 (cosh_test_upward): Likewise.
7956 (cpow_test): Use END_COMPLEX macro without arguments.
7957 (cproj_test): Likewise.
7958 (creal_test): Use END macro without arguments.
7959 (csin_test): Use END_COMPLEX macro without arguments.
7960 (csinh_test): Likewise.
7961 (csqrt_test): Likewise.
7962 (ctan_test): Likewise.
7963 (ctan_test_tonearest): Likewise.
7964 (ctan_test_towardzero): Likewise.
7965 (ctan_test_downward): Likewise.
7966 (ctan_test_upward): Likewise.
7967 (ctanh_test): Likewise.
7968 (ctanh_test_tonearest): Likewise.
7969 (ctanh_test_towardzero): Likewise.
7970 (ctanh_test_downward): Likewise.
7971 (ctanh_test_upward): Likewise.
7972 (erf_test): Use END macro without arguments.
7973 (erfc_test): Likewise.
7974 (exp_test): Likewise.
7975 (exp_test_tonearest): Likewise.
7976 (exp_test_towardzero): Likewise.
7977 (exp_test_downward): Likewise.
7978 (exp_test_upward): Likewise.
7979 (exp10_test): Likewise.
7980 (exp2_test): Likewise.
7981 (expm1_test): Likewise.
7982 (fabs_test): Likewise.
7983 (fdim_test): Likewise.
7984 (finite_test): Likewise.
7985 (floor_test): Likewise.
7986 (fma_test): Likewise.
7987 (fma_test_towardzero): Likewise.
7988 (fma_test_downward): Likewise.
7989 (fma_test_upward): Likewise.
7990 (fmax_test): Likewise.
7991 (fmin_test): Likewise.
7992 (fmod_test): Likewise.
7993 (fpclassify_test): Likewise.
7994 (frexp_test): Likewise.
7995 (gamma_test): Likewise.
7996 (hypot_test): Likewise.
7997 (ilogb_test): Likewise.
7998 (isfinite_test): Likewise.
7999 (isgreater_test): Likewise.
8000 (isgreaterequal_test): Likewise.
8001 (isinf_test): Likewise.
8002 (isless_test): Likewise.
8003 (islessequal_test): Likewise.
8004 (islessgreater_test): Likewise.
8005 (isnan_test): Likewise.
8006 (isnormal_test): Likewise.
8007 (issignaling_test): Likewise.
8008 (isunordered_test): Likewise.
8009 (j0_test): Likewise.
8010 (j1_test): Likewise.
8011 (jn_test): Likewise.
8012 (ldexp_test): Likewise.
8013 (lgamma_test): Likewise.
8014 (lrint_test): Likewise.
8015 (lrint_test_tonearest): Likewise.
8016 (lrint_test_towardzero): Likewise.
8017 (lrint_test_downward): Likewise.
8018 (lrint_test_upward): Likewise.
8019 (llrint_test): Likewise.
8020 (llrint_test_tonearest): Likewise.
8021 (llrint_test_towardzero): Likewise.
8022 (llrint_test_downward): Likewise.
8023 (llrint_test_upward): Likewise.
8024 (log_test): Likewise.
8025 (log10_test): Likewise.
8026 (log1p_test): Likewise.
8027 (log2_test): Likewise.
8028 (logb_test): Likewise.
8029 (logb_test_downward): Likewise.
8030 (lround_test): Likewise.
8031 (llround_test): Likewise.
8032 (modf_test): Likewise.
8033 (nearbyint_test): Likewise.
8034 (nextafter_test): Likewise.
8035 (nexttoward_test): Likewise.
8036 (pow_test): Likewise.
8037 (pow_test_tonearest): Likewise.
8038 (pow_test_towardzero): Likewise.
8039 (pow_test_downward): Likewise.
8040 (pow_test_upward): Likewise.
8041 (remainder_test): Likewise.
8042 (remainder_test_tonearest): Likewise.
8043 (remainder_test_towardzero): Likewise.
8044 (remainder_test_downward): Likewise.
8045 (remainder_test_upward): Likewise.
8046 (remquo_test): Likewise.
8047 (rint_test): Likewise.
8048 (rint_test_tonearest): Likewise.
8049 (rint_test_towardzero): Likewise.
8050 (rint_test_downward): Likewise.
8051 (rint_test_upward): Likewise.
8052 (round_test): Likewise.
8053 (scalb_test): Likewise.
8054 (scalbn_test): Likewise.
8055 (scalbln_test): Likewise.
8056 (signbit_test): Likewise.
8057 (sin_test): Likewise.
8058 (sin_test_tonearest): Likewise.
8059 (sin_test_towardzero): Likewise.
8060 (sin_test_downward): Likewise.
8061 (sin_test_upward): Likewise.
8062 (sincos_test): Likewise.
8063 (sinh_test): Likewise.
8064 (sinh_test_tonearest): Likewise.
8065 (sinh_test_towardzero): Likewise.
8066 (sinh_test_downward): Likewise.
8067 (sinh_test_upward): Likewise.
8068 (sqrt_test): Likewise.
8069 (tan_test): Likewise.
8070 (tan_test_tonearest): Likewise.
8071 (tan_test_towardzero): Likewise.
8072 (tan_test_downward): Likewise.
8073 (tan_test_upward): Likewise.
8074 (tanh_test): Likewise.
8075 (tgamma_test): Likewise.
8076 (trunc_test): Likewise.
8077 (y0_test): Likewise.
8078 (y1_test): Likewise.
8079 (yn_test): Likewise.
8080 (significand_test): Likewise.
8082 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8085 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8087 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8090 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8091 __ppc_mdoio and __ppc_mdoom.
8092 * manual/platform.texi: Document new functions __ppc_yield,
8093 __ppc_mdoio and __ppc_mdoom.
8095 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8097 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8098 (main): Mention "tls" pseudo-hwcap is legacy.
8099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8101 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8103 * math/gen-libm-test.pl (parse_args): Output only string of
8104 arguments as text for test name, not full call or descriptions of
8105 tests for extra outputs.
8106 (generate_testfile): Do not pass function name to parse_args.
8107 Generate this_func variable from START.
8108 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8110 (struct test_ff_f_data): Likewise.
8111 (test_ff_f_data_nexttoward): Likewise.
8112 (struct test_fi_f_data): Likewise.
8113 (struct test_fl_f_data): Likewise.
8114 (struct test_if_f_data): Likewise.
8115 (struct test_fff_f_data): Likewise.
8116 (struct test_c_f_data): Likewise.
8117 (struct test_f_f1_data): Likewise. Remove field extra_name.
8118 (struct test_fF_f1_data): Likewise.
8119 (struct test_ffI_f1_data): Likewise.
8120 (struct test_c_c_data): Rename test_name field to arg_str.
8121 (struct test_cc_c_data): Likewise.
8122 (struct test_f_i_data): Likewise.
8123 (struct test_ff_i_data): Likewise.
8124 (struct test_f_l_data): Likewise.
8125 (struct test_f_L_data): Likewise.
8126 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8128 (COMMON_TEST_SETUP): New macro.
8129 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8130 (COMMON_TEST_CLEANUP): Likewise.
8131 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8132 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8134 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8135 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8137 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8138 (RUN_TEST_fff_f): Take argument string. Call new setup and
8140 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8141 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8143 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8144 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8146 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8147 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8149 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8150 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8152 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8153 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8155 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8156 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8158 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8159 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8161 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8162 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8164 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8165 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8167 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8168 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8170 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8171 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8173 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8174 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8176 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8177 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8179 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8180 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8182 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8183 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8185 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8187 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8189 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8190 to _sifields.sigfault.
8191 (si_addr_lsb): Define new macro.
8192 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8194 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8196 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8199 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8201 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8203 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8206 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8208 * math/gen-libm-test.pl (parse_args): Do not include expected
8209 result in test name.
8210 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8212 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8213 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8214 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8217 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8219 * benchtests/Makefile: Sort function entries.
8221 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8222 tanh, asinh, acosh, atanh.
8223 * benchtests/acos-inputs: New file.
8224 * benchtests/acosh-inputs: New file.
8225 * benchtests/asin-inputs: New file.
8226 * benchtests/asinh-inputs: New file.
8227 * benchtests/atanh-inputs: New file.
8228 * benchtests/cosh-inputs: New file.
8229 * benchtests/log-inputs: New file.
8230 * benchtests/sinh-inputs: New file.
8231 * benchtests/tanh-inputs: New file.
8233 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8236 * posix/tst-getaddrinfo4.c: New test.
8237 * posix/Makefile (tests): Add it.
8239 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8242 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8243 when no services were used.
8244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8245 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8247 2013-05-21 Andreas Schwab <schwab@suse.de>
8250 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8251 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8253 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8254 redundant variable declarations and reallocation of buffer when
8255 parsing as IPv6 address. Always set NSS status when called from
8256 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8257 buffer too small. Correct computation of needed size.
8258 * nss/Makefile (tests): Add test-digits-dots.
8259 * nss/test-digits-dots.c: New test.
8261 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8263 * benchtests/Makefile: Remove instructions for adding
8265 * benchtests/README: New file to explain how to execute and
8266 enhance the benchmark tests.
8268 2013-05-21 Andreas Schwab <schwab@suse.de>
8271 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8272 * setjmp/tst-sigsetjmp.c: New test.
8274 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8276 * sysdeps/x86_64/memset.S (memset): New implementation.
8277 (__bzero): Likewise.
8278 (__memset_tail): New function.
8280 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8282 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8283 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8284 __memcpy_sse2_unaligned ifunc selection.
8285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8286 Add memcpy-sse2-unaligned.S.
8287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8288 Add: __memcpy_sse2_unaligned.
8290 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8293 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8294 math_force_eval before restoring floating-point envrionment.
8295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8300 (__nearbyintl): Use math_force_eval before restoring
8301 floating-point environment.
8302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8304 * math/gen-libm-test.pl (special_functions): Remove.
8305 (parse_args): Don't handle TEST_extra. Handle functions with no
8307 * math/libm-test.inc (struct test_sincos_data): Replace with
8308 struct test_fFF_11_data.
8309 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8310 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8311 (sincos_test_data): Change element type to struct
8312 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8313 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8314 RUN_TEST_LOOP_sincos.
8315 * math/README.libm-test: Don't mention special handling of
8316 individual functions.
8317 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8319 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8320 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8321 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8324 * math/gen-libm-test.pl (get_variable): Remove function.
8325 (parse_args): Don't show pointer parameters to call in test
8326 names. Use "extra output N" in test names for extra outputs
8327 rather than naming variables.
8329 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8332 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8333 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8334 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8336 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8338 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8341 * math/gen-libm-test.pl (@tests): Remove variable.
8343 (new_test): Remove function.
8344 (show_exceptions): New function.
8345 (special_functions): Use show_exceptions instead of new_test.
8346 (parse_args): Likewise.
8347 (generate_testfile): Pass only function name in generated call to
8348 print_max_error or print_complex_max_error.
8349 (get_ulps): Do not handle complex tests specially.
8350 (output_test): Rename to ...
8351 (get_all_ulps_for_test): ... this. Return a string rather than
8352 printing to a file. Require ulps to be present.
8353 (output_ulps): Generate arrays rather than #defines.
8354 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8355 (struct ulp_data): New type.
8356 (BUILD_COMPLEX_ULP): Remove macro.
8357 (compare_ulp_data): New function.
8358 (find_ulps): Likewise.
8359 (find_test_ulps): Likewise.
8360 (find_function_ulps): Likewise.
8361 (find_complex_function_ulps): Likewise.
8362 (print_max_error): Determine allowed ulps using
8364 (print_complex_max_error): Determine allowed ulps using
8365 find_complex_function_ulps.
8366 (check_float_internal): Determine max ulps using find_test_ulps.
8367 (check_float): Do not take max_ulp parameter. Update call to
8368 check_float_internal.
8369 (check_complex): Likewise.
8370 (check_int): Do not take max_ulp parameter.
8371 (check_long): Likewise.
8372 (check_bool): Likewise.
8373 (check_longlong): Likewise.
8374 (struct test_f_f_data): Remove max_ulp field.
8375 (struct test_ff_f_data): Likewise.
8376 (struct test_ff_f_data_nexttoward): Likewise.
8377 (struct test_fi_f_data): Likewise.
8378 (struct test_fl_f_data): Likewise.
8379 (struct test_if_f_data): Likewise.
8380 (struct test_fff_f_data): Likewise.
8381 (struct test_c_f_data): Likewise.
8382 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8383 (struct test_fF_f1_data): Likewise.
8384 (struct test_ffI_f1_data): Likewise.
8385 (struct test_c_c_data): Remove max_ulp field.
8386 (struct test_cc_c_data): Likewise.
8387 (struct test_f_i_data): Likewise.
8388 (struct test_ff_i_data): Likewise.
8389 (struct test_f_l_data): Likewise.
8390 (struct test_f_L_data): Likewise.
8391 (struct test_sincos_data): Likewise.
8392 (RUN_TEST_f_f): Do not handle ulps.
8393 (RUN_TEST_LOOP_f_f): Likewise.
8394 (RUN_TEST_2_f): Likewise.
8395 (RUN_TEST_LOOP_2_f): Likewise.
8396 (RUN_TEST_fff_f): Likewise.
8397 (RUN_TEST_LOOP_fff_f): Likewise.
8398 (RUN_TEST_c_f): Likewise.
8399 (RUN_TEST_LOOP_c_f): Likewise.
8400 (RUN_TEST_f_f1): Likewise.
8401 (RUN_TEST_LOOP_f_f1): Likewise.
8402 (RUN_TEST_fF_f1): Likewise.
8403 (RUN_TEST_LOOP_fF_f1): Likewise.
8404 (RUN_TEST_fI_f1): Likewise.
8405 (RUN_TEST_LOOP_fI_f1): Likewise.
8406 (RUN_TEST_ffI_f1): Likewise.
8407 (RUN_TEST_LOOP_ffI_f1): Likewise.
8408 (RUN_TEST_c_c): Likewise.
8409 (RUN_TEST_LOOP_c_c): Likewise.
8410 (RUN_TEST_cc_c): Likewise.
8411 (RUN_TEST_LOOP_cc_c): Likewise.
8412 (RUN_TEST_f_i): Likewise.
8413 (RUN_TEST_LOOP_f_i): Likewise.
8414 (RUN_TEST_f_i_tg): Likewise.
8415 (RUN_TEST_LOOP_f_i_tg): Likewise.
8416 (RUN_TEST_ff_i_tg): Likewise.
8417 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8418 (RUN_TEST_f_b): Likewise.
8419 (RUN_TEST_LOOP_f_b): Likewise.
8420 (RUN_TEST_f_b_tg): Likewise.
8421 (RUN_TEST_LOOP_f_b_tg): Likewise.
8422 (RUN_TEST_f_l): Likewise.
8423 (RUN_TEST_LOOP_f_l): Likewise.
8424 (RUN_TEST_f_L): Likewise.
8425 (RUN_TEST_LOOP_f_L): Likewise.
8426 (RUN_TEST_sincos): Likewise.
8427 (RUN_TEST_LOOP_sincos): Likewise.
8429 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8433 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8434 main case of finite arguments, set rounding mode to FE_TONEAREST
8435 and discard exceptions.
8436 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8438 (remainder_tonearest_test_data): New variable.
8439 (remainder_test_tonearest): New function.
8440 (remainder_towardzero_test_data): New variable.
8441 (remainder_test_towardzero): New function.
8442 (remainder_downward_test_data): New variable.
8443 (remainder_test_downward): New function.
8444 (remainder_upward_test_data): New variable.
8445 (remainder_test_upward): New function.
8446 (main): Call the new test functions.
8448 * math/libm-test.inc (struct test_f_f1_data): Remove field
8450 (struct test_fF_f1_data): Likewise.
8451 (struct test_ffI_f1_data): Likewise.
8452 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8453 based on value of EXTRA_EXPECTED.
8454 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8455 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8456 EXTRA_VAR based on value of EXTRA_EXPECTED.
8457 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8458 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8459 EXTRA_VAR based on value of EXTRA_EXPECTED.
8460 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8461 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8462 EXTRA_VAR based on value of EXTRA_EXPECTED.
8463 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8464 * math/gen-libm-test.pl (parse_args): Don't output initializers
8465 for extra output values.
8467 * math/libm-test.inc (check_int): Expect result to be exactly
8468 equal to expected value and do not handle ulps.
8469 (check_long): Likewise.
8470 (check_longlong): Likewise.
8472 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8474 (cimag_test_data): Likewise.
8475 (conj_test_data): Likewise.
8476 (copysign_test_data): Likewise.
8477 (cproj_test_data): Likewise.
8478 (creal_test_data): Likewise.
8479 (fabs_test_data): Likewise.
8480 (fdim_test_data): Likewise.
8481 (finite_test_data): Likewise.
8482 (floor_test_data): Likewise.
8483 (fmax_test_data): Likewise.
8484 (fmin_test_data): Likewise.
8485 (fmod_test_data): Likewise.
8486 (fpclassify_test_data): Likewise.
8487 (frexp_test_data): Likewise.
8488 (ilogb_test_data): Likewise.
8489 (isfinite_test_data): Likewise.
8490 (isgreater_test_data): Likewise.
8491 (isgreaterequal_test_data): Likewise.
8492 (isinf_test_data): Likewise.
8493 (isless_test_data): Likewise.
8494 (islessequal_test_data): Likewise.
8495 (islessgreater_test_data): Likewise.
8496 (isnan_test_data): Likewise.
8497 (isnormal_test_data): Likewise.
8498 (issignaling_test_data): Likewise.
8499 (isunordered_test_data): Likewise.
8500 (ldexp_test_data): Likewise.
8501 (lrint_test_data): Likewise.
8502 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8503 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8504 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8505 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8506 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8507 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8509 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8510 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8511 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8512 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8514 (lrint_downward_test_data): Test for "inexact" exceptions.
8515 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8516 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8517 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8519 (lrint_upward_test_data): Test for "inexact" exceptions.
8520 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8522 (llrint_test_data): Test for "inexact" exceptions.
8523 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8524 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8525 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8526 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8527 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8528 (llrint_downward_test_data): Test for "inexact" exceptions.
8529 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8530 (llrint_upward_test_data): Test for "inexact" exceptions.
8531 (logb_test_data): Likewise.
8532 (logb_downward_test_data): Likewise.
8533 (nextafter_test_data): Likewise.
8534 (nexttoward_test_data): Likewise.
8535 (remainder_test_data): Likewise.
8536 (remquo_test_data): Likewise.
8537 (scalbn_test_data): Likewise.
8538 (scalbln_test_data): Likewise.
8539 (signbit_test_data): Likewise.
8540 (sqrt_test_data): Likewise.
8541 (significand_test_data): Likewise.
8543 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8546 * benchtests/bench-modf.c (struct args): Mark arg0 as
8548 * scripts/bench.pl: Mark members of struct args as volatile.
8550 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8553 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8554 negative infinity on POWER6 or lower.
8555 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8557 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8560 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8561 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8562 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8563 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8564 (_FP_SETQNAN): New macro.
8565 (_FP_SETQNAN_SEMIRAW): Likewise.
8566 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8567 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8568 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8569 (FP_EXTEND): Use _FP_FRAC_SNANP.
8570 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8571 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8573 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8575 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8578 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8580 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8581 with DIVIDE_BY_ZERO_EXCEPTION.
8582 (gamma_test_data): Likewise.
8583 (lgamma_test_data): Likewise.
8584 (log_test_data): Likewise.
8585 (log10_test_data): Likewise.
8586 (log2_test_data): Likewise.
8587 (tgamma_test_data): Likewise.
8589 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8590 (acos_test_tonearest): Likewise.
8591 (acos_test_towardzero): Likewise.
8592 (acos_test_downward): Likewise.
8593 (acos_test_upward): Likewise.
8594 (acosh_test): Likewise.
8595 (asin_test): Likewise.
8596 (asin_test_tonearest): Likewise.
8597 (asin_test_towardzero): Likewise.
8598 (asin_test_downward): Likewise.
8599 (asin_test_upward): Likewise.
8600 (asinh_test): Likewise.
8601 (atan_test): Likewise.
8602 (atanh_test): Likewise.
8603 (atan2_test): Likewise.
8604 (cabs_test): Likewise.
8605 (cacos_test): Likewise.
8606 (cacosh_test): Likewise.
8607 (casin_test): Likewise.
8608 (casinh_test): Likewise.
8609 (catan_test): Likewise.
8610 (catanh_test): Likewise.
8611 (cbrt_test): Likewise.
8612 (ccos_test): Likewise.
8613 (ccosh_test): Likewise.
8614 (cexp_test): Likewise.
8615 (clog_test): Likewise.
8616 (clog10_test): Likewise.
8617 (cos_test): Likewise.
8618 (cos_test_tonearest): Likewise.
8619 (cos_test_towardzero): Likewise.
8620 (cos_test_downward): Likewise.
8621 (cos_test_upward): Likewise.
8622 (cosh_test): Likewise.
8623 (cosh_test_tonearest): Likewise.
8624 (cosh_test_towardzero): Likewise.
8625 (cosh_test_downward): Likewise.
8626 (cosh_test_upward): Likewise.
8627 (cpow_test): Likewise.
8628 (csin_test): Likewise.
8629 (csinh_test): Likewise.
8630 (csqrt_test): Likewise.
8631 (ctan_test): Likewise.
8632 (ctan_test_tonearest): Likewise.
8633 (ctan_test_towardzero): Likewise.
8634 (ctan_test_downward): Likewise.
8635 (ctan_test_upward): Likewise.
8636 (ctanh_test): Likewise.
8637 (ctanh_test_tonearest): Likewise.
8638 (ctanh_test_towardzero): Likewise.
8639 (ctanh_test_downward): Likewise.
8640 (ctanh_test_upward): Likewise.
8641 (erf_test): Likewise.
8642 (erfc_test): Likewise.
8643 (exp_test): Likewise.
8644 (exp_test_tonearest): Likewise.
8645 (exp_test_towardzero): Likewise.
8646 (exp_test_downward): Likewise.
8647 (exp_test_upward): Likewise.
8648 (exp10_test): Likewise.
8649 (exp2_test): Likewise.
8650 (expm1_test): Likewise.
8651 (fmod_test): Likewise.
8652 (gamma_test): Likewise.
8653 (hypot_test): Likewise.
8654 (j0_test): Likewise.
8655 (j1_test): Likewise.
8656 (jn_test): Likewise.
8657 (lgamma_test): Likewise.
8658 (log_test): Likewise.
8659 (log10_test): Likewise.
8660 (log1p_test): Likewise.
8661 (log2_test): Likewise.
8662 (logb_test_downward): Likewise.
8663 (pow_test): Likewise.
8664 (pow_test_tonearest): Likewise.
8665 (pow_test_towardzero): Likewise.
8666 (pow_test_downward): Likewise.
8667 (pow_test_upward): Likewise.
8668 (remainder_test): Likewise.
8669 (remquo_test): Likewise.
8670 (sin_test): Likewise.
8671 (sin_test_tonearest): Likewise.
8672 (sin_test_towardzero): Likewise.
8673 (sin_test_downward): Likewise.
8674 (sin_test_upward): Likewise.
8675 (sincos_test): Likewise.
8676 (sinh_test): Likewise.
8677 (sinh_test_tonearest): Likewise.
8678 (sinh_test_towardzero): Likewise.
8679 (sinh_test_downward): Likewise.
8680 (sinh_test_upward): Likewise.
8681 (sqrt_test): Likewise.
8682 (tan_test): Likewise.
8683 (tan_test_tonearest): Likewise.
8684 (tan_test_towardzero): Likewise.
8685 (tan_test_downward): Likewise.
8686 (tan_test_upward): Likewise.
8687 (tanh_test): Likewise.
8688 (tgamma_test): Likewise.
8689 (y0_test): Likewise.
8690 (y1_test): Likewise.
8691 (yn_test): Likewise.
8693 * math/gen-libm-test.pl (adjust_arg): Remove function.
8694 (special_function): Remove argument $in_func. Only handle
8695 generating output for tables of tests, not inside functions.
8696 (parse_args): Likewise.
8697 (generate_testfile): Remove variable $in_func. Update call to
8699 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8700 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8701 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8702 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8703 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8704 (MAX_VALUE_INIT): Rename macro to max_value.
8705 (MIN_VALUE_INIT): Rename macro to min_value.
8706 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8707 (plus_zero): Remove variable.
8708 (minus_zero): Likewise.
8709 (plus_infty): Likewise.
8710 (minus_infty): Likewise.
8711 (qnan_value): Likewise.
8712 (max_value): Likewise.
8713 (min_value): Likewise.
8714 (min_subnorm_value): Likewise.
8716 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8718 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8719 uint64_t or uint32_t usage.
8720 * crypt/sha256-block.c: Likewise.
8721 * crypt/sha256-crypt.c: Likewise.
8722 * crypt/sha256.c: Likewise.
8723 * crypt/sha512-block.c: Likewise.
8724 * crypt/sha512-crypt.c: Likewise.
8725 * crypt/sha512.c: Likewise.
8726 * debug/backtrace-tst.c: Likewise.
8727 * debug/pcprofiledump.c: Likewise.
8728 * elf/cache.c: Likewise.
8729 * elf/dl-cache.c: Likewise.
8730 * elf/dl-misc.c: Likewise.
8731 * elf/dl-profile.c: Likewise.
8732 * elf/dl-support.c: Likewise.
8733 * elf/ldconfig.c: Likewise.
8734 * elf/sprof.c: Likewise.
8735 * iconv/dummy-repertoire.c: Likewise.
8736 * iconv/iconv_charmap.c: Likewise.
8737 * iconv/skeleton.c: Likewise.
8738 * iconvdata/8bit-generic.c: Likewise.
8739 * iconvdata/cp737.h: Likewise.
8740 * iconvdata/cp775.h: Likewise.
8741 * iconvdata/ibm1008.h: Likewise.
8742 * iconvdata/ibm1025.h: Likewise.
8743 * iconvdata/ibm1046.h: Likewise.
8744 * iconvdata/ibm1097.h: Likewise.
8745 * iconvdata/ibm1112.h: Likewise.
8746 * iconvdata/ibm1122.h: Likewise.
8747 * iconvdata/ibm1123.h: Likewise.
8748 * iconvdata/ibm1124.h: Likewise.
8749 * iconvdata/ibm1129.h: Likewise.
8750 * iconvdata/ibm1130.h: Likewise.
8751 * iconvdata/ibm1132.h: Likewise.
8752 * iconvdata/ibm1133.h: Likewise.
8753 * iconvdata/ibm1137.h: Likewise.
8754 * iconvdata/ibm1140.h: Likewise.
8755 * iconvdata/ibm1141.h: Likewise.
8756 * iconvdata/ibm1142.h: Likewise.
8757 * iconvdata/ibm1143.h: Likewise.
8758 * iconvdata/ibm1144.h: Likewise.
8759 * iconvdata/ibm1145.h: Likewise.
8760 * iconvdata/ibm1146.h: Likewise.
8761 * iconvdata/ibm1147.h: Likewise.
8762 * iconvdata/ibm1148.h: Likewise.
8763 * iconvdata/ibm1149.h: Likewise.
8764 * iconvdata/ibm1153.h: Likewise.
8765 * iconvdata/ibm1154.h: Likewise.
8766 * iconvdata/ibm1155.h: Likewise.
8767 * iconvdata/ibm1156.h: Likewise.
8768 * iconvdata/ibm1157.h: Likewise.
8769 * iconvdata/ibm1158.h: Likewise.
8770 * iconvdata/ibm1160.h: Likewise.
8771 * iconvdata/ibm1161.h: Likewise.
8772 * iconvdata/ibm1162.h: Likewise.
8773 * iconvdata/ibm1163.h: Likewise.
8774 * iconvdata/ibm1164.h: Likewise.
8775 * iconvdata/ibm1166.h: Likewise.
8776 * iconvdata/ibm1167.h: Likewise.
8777 * iconvdata/ibm12712.h: Likewise.
8778 * iconvdata/ibm1390.h: Likewise.
8779 * iconvdata/ibm1399.h: Likewise.
8780 * iconvdata/ibm16804.h: Likewise.
8781 * iconvdata/ibm4517.h: Likewise.
8782 * iconvdata/ibm4899.h: Likewise.
8783 * iconvdata/ibm4909.h: Likewise.
8784 * iconvdata/ibm4971.h: Likewise.
8785 * iconvdata/ibm5347.h: Likewise.
8786 * iconvdata/ibm803.h: Likewise.
8787 * iconvdata/ibm856.h: Likewise.
8788 * iconvdata/ibm901.h: Likewise.
8789 * iconvdata/ibm902.h: Likewise.
8790 * iconvdata/ibm9030.h: Likewise.
8791 * iconvdata/ibm9066.h: Likewise.
8792 * iconvdata/ibm921.h: Likewise.
8793 * iconvdata/ibm922.h: Likewise.
8794 * iconvdata/ibm9448.h: Likewise.
8795 * iconvdata/isiri-3342.h: Likewise.
8796 * iconvdata/jis0201.h: Likewise.
8797 * include/link.h: Likewise.
8798 * include/netdb.h: Likewise.
8799 * inet/check_native.c: Likewise.
8800 * inet/check_pf.c: Likewise.
8801 * inet/getipv4sourcefilter.c: Likewise.
8802 * inet/getnameinfo.c: Likewise.
8803 * inet/getsourcefilter.c: Likewise.
8804 * inet/htonl.c: Likewise.
8805 * inet/setipv4sourcefilter.c: Likewise.
8806 * inet/setsourcefilter.c: Likewise.
8807 * inet/test-inet6_opt.c: Likewise.
8808 * inet/tst-network.c: Likewise.
8809 * locale/C-collate.c: Likewise.
8810 * locale/C-ctype.c: Likewise.
8811 * locale/C-time.c: Likewise.
8812 * locale/C-translit.h: Likewise.
8813 * locale/loadarchive.c: Likewise.
8814 * locale/programs/3level.h: Likewise.
8815 * locale/programs/charmap.c: Likewise.
8816 * locale/programs/charmap.h: Likewise.
8817 * locale/programs/ld-address.c: Likewise.
8818 * locale/programs/ld-collate.c: Likewise.
8819 * locale/programs/ld-ctype.c: Likewise.
8820 * locale/programs/ld-identification.c: Likewise.
8821 * locale/programs/ld-measurement.c: Likewise.
8822 * locale/programs/ld-messages.c: Likewise.
8823 * locale/programs/ld-monetary.c: Likewise.
8824 * locale/programs/ld-name.c: Likewise.
8825 * locale/programs/ld-numeric.c: Likewise.
8826 * locale/programs/ld-paper.c: Likewise.
8827 * locale/programs/ld-telephone.c: Likewise.
8828 * locale/programs/ld-time.c: Likewise.
8829 * locale/programs/linereader.c: Likewise.
8830 * locale/programs/locale.c: Likewise.
8831 * locale/programs/locarchive.c: Likewise.
8832 * locale/programs/locfile.h: Likewise.
8833 * locale/programs/repertoire.c: Likewise.
8834 * locale/programs/simple-hash.c: Likewise.
8835 * locale/programs/simple-hash.h: Likewise.
8836 * malloc/memusage.c: Likewise.
8837 * malloc/memusagestat.c: Likewise.
8838 * nis/nis_defaults.c: Likewise.
8839 * nis/nis_hash.c: Likewise.
8840 * nis/nis_print.c: Likewise.
8841 * nis/nis_xdr.c: Likewise.
8842 * nscd/connections.c: Likewise.
8843 * nscd/hstcache.c: Likewise.
8844 * nscd/nscd_gethst_r.c: Likewise.
8845 * nscd/nscd_getserv_r.c: Likewise.
8846 * nscd/nscd_helper.c: Likewise.
8847 * nscd/servicescache.c: Likewise.
8848 * nss/makedb.c: Likewise.
8849 * nss/nss_db/db-XXX.c: Likewise.
8850 * nss/nss_db/db-initgroups.c: Likewise.
8851 * nss/nss_db/db-netgrp.c: Likewise.
8852 * nss/nss_files/files-network.c: Likewise.
8853 * nss/nss_files/files-parse.c: Likewise.
8854 * posix/bug-regex5.c: Likewise.
8855 * posix/fnmatch_loop.c: Likewise.
8856 * posix/regcomp.c: Likewise.
8857 * posix/regexec.c: Likewise.
8858 * posix/tst-rfc3484-2.c: Likewise.
8859 * posix/tst-rfc3484-3.c: Likewise.
8860 * posix/tst-rfc3484.c: Likewise.
8861 * resolv/nss_dns/dns-canon.c: Likewise.
8862 * resolv/nss_dns/dns-network.c: Likewise.
8863 * resolv/res_init.c: Likewise.
8864 * resolv/res_mkquery.c: Likewise.
8865 * resolv/tst-aton.c: Likewise.
8866 * stdlib/cxa_atexit.c: Likewise.
8867 * stdlib/cxa_finalize.c: Likewise.
8868 * stdlib/gen-fpioconst.c: Likewise.
8869 * stdlib/strtol_l.c: Likewise.
8870 * string/tst-endian.c: Likewise.
8871 * sunrpc/auth_des.c: Likewise.
8872 * sunrpc/clnt_udp.c: Likewise.
8873 * sunrpc/rtime.c: Likewise.
8874 * sunrpc/svcauth_des.c: Likewise.
8875 * sunrpc/xdr.c: Likewise.
8876 * sunrpc/xdr_intXX_t.c: Likewise.
8877 * sunrpc/xdr_rec.c: Likewise.
8878 * sysdeps/generic/ldconfig.h: Likewise.
8879 * sysdeps/generic/ldsodefs.h: Likewise.
8880 * sysdeps/generic/memusage.h: Likewise.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8891 * sysdeps/posix/getaddrinfo.c: Likewise.
8892 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8893 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8894 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8895 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8896 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8897 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8898 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8899 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8900 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8901 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8902 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8903 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8904 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8905 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8907 * sysdeps/x86_64/dl-tls.h: Likewise.
8908 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8909 * time/alt_digit.c: Likewise.
8910 * time/era.c: Likewise.
8911 * wcsmbs/tst-c16c32-1.c: Likewise.
8913 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8915 * math/libm-test.inc (struct test_sincos_data): New type.
8916 (RUN_TEST_LOOP_sincos): New macro.
8917 (sincos_test_data): New variable.
8918 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8920 2013-05-16 Richard Henderson <rth@redhat.com>
8922 * math/atest-exp2.c (LIMB64): New macro.
8923 (CONSTSZ): New macro.
8924 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8926 (print_mpn_fp): ... to function scope.
8927 (read_mpn_hex): Remove.
8929 (exp2_mpn): Use mp_log2.
8930 (main): Use mp_exp1.
8932 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8934 * math/libm-test.inc: Remove comment about not testing "inexact"
8936 (INEXACT_EXCEPTION): New macro.
8937 (NO_INEXACT_EXCEPTION): Likewise.
8938 (INVALID_EXCEPTION_OK): Update value.
8939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8940 (OVERFLOW_EXCEPTION_OK): Likewise.
8941 (UNDERFLOW_EXCEPTION_OK): Likewise.
8942 (IGNORE_ZERO_INF_SIGN): Likewise.
8943 (ERRNO_UNCHANGED): Likewise.
8944 (ERRNO_EDOM): Likewise.
8945 (ERRNO_ERANGE): Likewise.
8946 (test_exceptions): Handle testing "inexact" exceptions.
8947 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8948 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8949 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8950 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8952 (rint_towardzero_test_data): Likewise.
8953 (rint_downward_test_data): Likewise.
8954 (rint_upward_test_data): Likewise.
8956 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8957 with OVERFLOW_EXCEPTION.
8958 (exp10_test_data): Likewise.
8959 (exp2_test_data): Likewise.
8960 (expm1_test_data): Likewise.
8961 (lgamma_test_data): Likewise.
8962 (pow_test_data): Likewise.
8963 (tgamma_test_data): Likewise.
8964 (yn_test_data): Remove duplicate test of overflow.
8966 * math/libm-test.inc (struct test_cc_c_data): New type.
8967 (RUN_TEST_LOOP_cc_c): New macro.
8968 (cpow_test_data): New variable.
8969 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8971 * math/libm-test.inc (struct test_f_L_data): New type.
8972 (RUN_TEST_LOOP_f_L): New macro.
8973 (llrint_test_data): New variable.
8974 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8975 (llrint_tonearest_test_data): New variable.
8976 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8977 (llrint_towardzero_test_data): New variable.
8978 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8979 (llrint_downward_test_data): New variable.
8980 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8981 (llrint_upward_test_data): New variable.
8982 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8983 (llround_test_data): New variable.
8984 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8986 2013-05-13 Peter Collingbourne <pcc@google.com>
8988 * math/atest-exp2.c (get_log2): Remove const attribute.
8990 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8992 * math/libm-test.inc (struct test_f_l_data): New type.
8993 (RUN_TEST_LOOP_f_l): New macro.
8994 (lrint_test_data): New variable.
8995 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8996 (lrint_tonearest_test_data): New variable.
8997 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8998 (lrint_towardzero_test_data): New variable.
8999 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9000 (lrint_downward_test_data): New variable.
9001 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9002 (lrint_upward_test_data): New variable.
9003 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9004 (lround_test_data): New variable.
9005 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9007 2013-05-15 Peter Collingbourne <pcc@google.com>
9009 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9010 (EXTRACT_WORDS64) Use where appropriate.
9011 (INSERT_WORDS64) Likewise.
9013 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9014 constraints with x constraints.
9015 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9017 * malloc/obstack.c (_obstack_compat): Add initializer.
9019 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9022 si_trapno and add si_addr_lsb to _sifields.sigfault.
9023 (si_trapno): Remove macro.
9024 (si_addr_lsb): Define new macro.
9025 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9027 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9029 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9030 instead of TEST_f_l.
9031 (llrint_test_tonearest): Likewise.
9032 (llrint_test_towardzero): Likewise.
9033 (llrint_test_downward): Likewise.
9034 (llrint_test_upward): Likewise.
9035 (llround_test): Likewise.
9037 * math/libm-test.inc (struct test_f_i_data): Add comment.
9038 (RUN_TEST_LOOP_f_b): New macro.
9039 (RUN_TEST_LOOP_f_b_tg): Likewise.
9040 (finite_test_data): New variable.
9041 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9042 (isfinite_test_data): New variable.
9043 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9044 (isinf_test_data): New variable.
9045 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9046 (isnan_test_data): New variable.
9047 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9048 (isnormal_test_data): New variable.
9049 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9050 (issignaling_test_data): New variable.
9051 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9052 (signbit_test_data): New variable.
9053 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9055 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9056 with INVALID_EXCEPTION.
9057 (acosh_test_data): Likewise.
9058 (asin_test_data): Likewise.
9059 (atanh_test_data): Likewise.
9060 (fmod_test_data): Likewise.
9061 (log_test_data): Likewise.
9062 (log10_test_data): Likewise.
9063 (log2_test_data): Likewise.
9064 (pow_test_data): Likewise.
9065 (sqrt_test_data): Likewise.
9066 (y0_test_data): Likewise.
9067 (y1_test_data): Likewise.
9068 (yn_test_data): Likewise.
9070 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9073 * math/libm-test.inc (struct test_ff_i_data): New type.
9074 (RUN_TEST_LOOP_ff_i_tg): New macro.
9075 (isgreater_test_data): New variable.
9076 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9077 (isgreaterequal_test_data): New variable.
9078 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9079 (isless_test_data): New variable.
9080 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9081 (islessequal_test_data): New variable.
9082 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9083 (islessgreater_test_data): New variable.
9084 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9085 (isunordered_test_data): New variable.
9086 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9088 2013-05-14 David S. Miller <davem@davemloft.net>
9090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9092 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9094 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9096 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9098 (struct test_f_i_data): Change type of max_ulp to int.
9100 * math/libm-test.inc (test_ffI_f1_data): New type.
9101 (RUN_TEST_LOOP_ffI_f1): New macro.
9102 (remquo_test_data): New variable.
9103 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9105 * setjmp/tst-setjmp-fp.c: New file.
9106 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9107 (link-libm): New variable.
9108 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9110 * math/libm-test.inc (struct test_f_i_data): New type.
9111 (RUN_TEST_LOOP_f_i): New macro.
9112 (RUN_TEST_LOOP_f_i_tg): Likewise.
9113 (fpclassify_test_data): New variable.
9114 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9115 (ilogb_test_data): New variable.
9116 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9118 * math/libm-test.inc (scalbln_test): Correct function name in END
9121 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9122 (RUN_TEST_LOOP_fI_f1): New macro.
9123 (frexp_test_data): New variable.
9124 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9126 * math/libm-test.inc (struct test_fF_f1_data): New type.
9127 (RUN_TEST_LOOP_fF_f1): New macro.
9128 (modf_test_data): New variable.
9129 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9131 * math/libm-test.inc (struct test_f_f1_data): New type.
9132 (RUN_TEST_LOOP_f_f1): New macro.
9133 (gamma_test_data): New variable.
9134 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9135 (lgamma_test_data): New variable.
9136 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9138 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9140 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9141 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9142 (main): Comment "tls" pseudo-hwcap.
9144 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9146 * math/libm-test.inc (struct test_fl_f_data): New type.
9147 (RUN_TEST_LOOP_fl_f): New variable.
9148 (scalbln_test_data): New variable.
9149 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9151 * math/libm-test.inc (struct test_fi_f_data): New type.
9152 (RUN_TEST_LOOP_fi_f): New macro.
9153 (ldexp_test_data): New variable.
9154 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9155 (scalbn_test_data): New variable.
9156 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9158 * math/libm-test.inc (struct test_c_f_data): New type.
9159 (RUN_TEST_LOOP_c_f): New macro.
9160 (cabs_test_data): New variable.
9161 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9162 (carg_test_data): New variable.
9163 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9164 (cimag_test_data): New variable.
9165 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9166 (creal_test_data): New variable.
9167 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9169 * math/libm-test.inc (struct test_if_f_data): New type.
9170 (RUN_TEST_LOOP_if_f): New macro.
9171 (jn_test_data): New variable.
9172 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9173 (yn_test_data): New variable.
9174 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9176 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9178 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9180 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9181 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9183 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9185 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9186 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9187 (bench-deps): Add bench-timing.h.
9188 * benchtests-bench-skeleton.c: Include bench-timing.h.
9189 (main): Use TIMING_* macros instead of clock_gettime.
9190 * benchtests/bench-timing.h: New file.
9193 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9194 Renamed from _LIB_VERSION.
9195 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9197 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9199 * math/libm-test.inc (struct test_fff_f_data): New type.
9200 (RUN_TEST_LOOP_fff_f): New macro.
9201 (fma_test_data): New variable.
9202 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9203 (fma_towardzero_test_data): New variable.
9204 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9205 (fma_downward_test_data): New variable.
9206 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9207 (fma_upward_test_data): New variable.
9208 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9210 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9211 (struct test_c_c_data): New type.
9212 (RUN_TEST_LOOP_c_c): New macro.
9213 (cacos_test_data): New variable.
9214 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9215 (cacosh_test_data): New variable.
9216 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9217 (casin_test_data): New variable.
9218 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9219 (casinh_test_data): New variable.
9220 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9221 (catan_test_data): New variable.
9222 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9223 (catanh_test_data): New variable.
9224 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9225 (ccos_test_data): New variable.
9226 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9227 (ccosh_test_data): New variable.
9228 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9229 (cexp_test_data): New variable.
9230 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9231 (clog_test_data): New variable.
9232 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9233 (clog10_test_data): New variable.
9234 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9235 (conj_test_data): New variable.
9236 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9237 (cproj_test_data): New variable.
9238 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9239 (csin_test_data): New variable.
9240 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9241 (csinh_test_data): New variable.
9242 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9243 (csqrt_test_data): New variable.
9244 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9245 (ctan_test_data): New variable.
9246 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9247 (ctan_tonearest_test_data): New variable.
9248 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9249 (ctan_towardzero_test_data): New variable.
9250 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9251 (ctan_downward_test_data): New variable.
9252 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9253 (ctan_upward_test_data): New variable.
9254 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9255 (ctanh_test_data): New variable.
9256 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9257 (ctanh_tonearest_test_data): New variable.
9258 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9259 (ctanh_towardzero_test_data): New variable.
9260 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9261 (ctanh_downward_test_data): New variable.
9262 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9263 (ctanh_upward_test_data): New variable.
9264 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9265 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9268 * math/libm-test.inc (struct test_ff_f_data): New type.
9269 (struct test_ff_f_data_nexttoward): Likewise.
9270 (RUN_TEST_LOOP_2_f): New macro.
9271 (RUN_TEST_LOOP_ff_f): Likewise.
9272 (atan2_test_data): New variable.
9273 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9274 (copysign_test_data): New variable.
9275 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9276 (fdim_test_data): New variable.
9277 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9278 (fmax_test_data): New variable.
9279 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9280 (fmin_test_data): New variable.
9281 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9282 (fmod_test_data): New variable.
9283 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9284 (hypot_test_data): New variable.
9285 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9286 (nextafter_test_data): New variable.
9287 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9288 (nexttoward_test_data): New variable.
9289 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9290 (pow_test_data): New variable.
9291 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9292 (pow_tonearest_test_data): New variable.
9293 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9294 (pow_towardzero_test_data): New variable.
9295 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9296 (pow_downward_test_data): New variable.
9297 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9298 (pow_upward_test_data): New variable.
9299 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9300 (remainder_test_data): New variable.
9301 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9302 (scalb_test_data): New variable.
9303 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9304 * sysdeps/i386/fpu/libm-test-ulps: Update.
9306 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9308 * math/libm-test.inc (fma_test): Use max_value instead of local
9310 (nextafter_test): Likewise.
9312 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9313 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9314 (acos_downward_test_data): New variable.
9315 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9316 (acos_upward_test_data): New variable.
9317 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9318 (acosh_test_data): New variable.
9319 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9320 (asin_test_data): New variable.
9321 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9322 (asin_tonearest_test_data): New variable.
9323 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9324 (asin_towardzero_test_data): New variable.
9325 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9326 (asin_downward_test_data): New variable.
9327 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9328 (asin_upward_test_data): New variable.
9329 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9330 (asinh_test_data): New variable.
9331 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9332 (atan_test_data): New variable.
9333 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9334 (atanh_test_data): New variable.
9335 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9336 (cbrt_test_data): New variable.
9337 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9338 (ceil_test_data): New variable.
9339 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9340 (cos_test_data): New variable.
9341 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9342 (cos_tonearest_test_data): New variable.
9343 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9344 (cos_towardzero_test_data): New variable.
9345 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9346 (cos_downward_test_data): New variable.
9347 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9348 (cos_upward_test_data): New variable.
9349 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9350 (cosh_test_data): New variable.
9351 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9352 (cosh_tonearest_test_data): New variable.
9353 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9354 (cosh_towardzero_test_data): New variable.
9355 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9356 (cosh_downward_test_data): New variable.
9357 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9358 (cosh_upward_test_data): New variable.
9359 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9360 (erf_test_data): New variable.
9361 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9362 (erfc_test_data): New variable.
9363 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9364 (exp_test_data): New variable.
9365 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9366 (exp_tonearest_test_data): New variable.
9367 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9368 (exp_towardzero_test_data): New variable.
9369 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9370 (exp_downward_test_data): New variable.
9371 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9372 (exp_upward_test_data): New variable.
9373 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9374 (exp10_test_data): New variable.
9375 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9376 (exp2_test_data): New variable.
9377 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9378 (expm1_test_data): New variable.
9379 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9380 (fabs_test_data): New variable.
9381 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9382 (floor_test_data): New variable.
9383 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9384 (j0_test_data): New variable.
9385 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9386 (j1_test_data): New variable.
9387 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9388 (log_test_data): New variable.
9389 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9390 (log10_test_data): New variable.
9391 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9392 (log1p_test_data): New variable.
9393 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9394 (log2_test_data): New variable.
9395 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9396 (logb_test_data): New variable.
9397 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9398 (logb_downward_test_data): New variable.
9399 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9400 (nearbyint_test_data): New variable.
9401 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9402 (rint_test_data): New variable.
9403 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9404 (rint_tonearest_test_data): New variable.
9405 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9406 (rint_towardzero_test_data): New variable.
9407 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9408 (rint_downward_test_data): New variable.
9409 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9410 (rint_upward_test_data): New variable.
9411 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9412 (round_test_data): New variable.
9413 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9414 (sin_test_data): New variable.
9415 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9416 (sin_tonearest_test_data): New variable.
9417 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9418 (sin_towardzero_test_data): New variable.
9419 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9420 (sin_downward_test_data): New variable.
9421 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9422 (sin_upward_test_data): New variable.
9423 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9424 (sinh_test_data): New variable.
9425 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9426 (sinh_tonearest_test_data): New variable.
9427 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9428 (sinh_towardzero_test_data): New variable.
9429 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9430 (sinh_downward_test_data): New variable.
9431 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9432 (sinh_upward_test_data): New variable.
9433 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9434 (sqrt_test_data): New variable.
9435 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9436 (tan_test_data): New variable.
9437 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9438 (tan_tonearest_test_data): New variable.
9439 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9440 (tan_towardzero_test_data): New variable.
9441 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9442 (tan_downward_test_data): New variable.
9443 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9444 (tan_upward_test_data): New variable.
9445 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9446 (tanh_test_data): New variable.
9447 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9448 (tgamma_test_data): New variable.
9449 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9450 (trunc_test_data): New variable.
9451 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9452 (y0_test_data): New variable.
9453 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9454 (y1_test_data): New variable.
9455 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9456 (significand_test_data): New variable.
9457 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9459 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9462 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9464 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9466 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9468 2013-05-10 Andreas Jaeger <aj@suse.de>
9471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9472 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9474 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9476 * math/gen-libm-test.pl (adjust_arg): New function.
9477 (special_functions): Handle generating output in both functions
9479 (parse_args): Likewise.
9480 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9481 $in_func argument to parse_args.
9482 * math/libm-test.inc (struct test_f_f_data): New type.
9483 (IF_ROUND_INIT_): New macro.
9484 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9485 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9486 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9487 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9488 (ROUND_RESTORE_): Likewise.
9489 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9490 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9491 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9492 (ROUND_RESTORE_FE_UPWARD): Likewise.
9493 (RUN_TEST_LOOP_f_f): New macro.
9494 (acos_test_data): New variable.
9495 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9496 (acos_tonearest_test_data): New variable.
9497 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9499 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9501 * benchtests/bench-skeleton.c (startup): Fix coding style.
9503 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9506 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9507 negative infinity argument.
9508 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9509 negative infinity argument.
9510 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9511 negative infinity argument.
9512 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9515 2013-05-10 Florian Weimer <fweimer@redhat.com>
9517 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9518 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9519 * iconv/iconv_prog.c (main): Likewise.
9520 * locale/programs/charmap-dir.c (charmap_readdir)
9521 (fopen_uncompressed): Likewise.
9522 * locale/programs/locfile.c (siblings_uncached)
9523 (write_locale_data): Use lstat64 instead of lstat.
9524 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9527 2013-05-10 Andreas Jaeger <aj@suse.de>
9530 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9534 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9536 * elf/dl-close.c (_dl_close_worker): Add comments.
9538 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9543 (__ieee754_rem_pio2l): Update comments.
9546 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9548 (__ieee754_rem_pio2l): Update comments.
9550 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9551 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9553 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9556 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9557 (M_PI_34_LOG10El): Likewise.
9558 (M_PI2_LOG10El): Likewise.
9559 (M_PI4_LOG10El): Likewise.
9560 (M_PI_LOG10El): Likewise.
9562 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9566 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9568 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9569 (MINUS_ZERO_INIT): Likewise.
9570 (PLUS_INFTY_INIT): Likewise.
9571 (MINUS_INFTY_INIT): Likewise.
9572 (QNAN_VALUE_INIT): Likewise.
9573 (MAX_VALUE_INIT): Likewise.
9574 (MIN_VALUE_INIT): Likewise.
9575 (MIN_SUBNORM_VALUE_INIT): Likewise.
9576 (plus_zero): Initialize with PLUS_ZERO_INIT.
9577 (minus_zero): Initialize with MINUS_ZERO_INIT.
9578 (plus_infty): Initialize with PLUS_INFTY_INIT.
9579 (minus_infty): Initialize with MINUS_INFTY_INIT.
9580 (qnan_value): Initialize with QNAN_VALUE_INIT.
9581 (max_value): Initialize with MAX_VALUE_INIT.
9582 (min_value): Initialize with MIN_VALUE_INIT.
9583 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9585 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9586 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9587 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9588 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9590 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9591 (RUN_TEST_2_f): Likewise.
9592 (RUN_TEST_ff_f): Likewise.
9593 (RUN_TEST_fi_f): Likewise.
9594 (RUN_TEST_fl_f): Likewise.
9595 (RUN_TEST_fff_f): Likewise.
9596 (RUN_TEST_c_f): Likewise.
9597 (RUN_TEST_f_f1): Likewise.
9598 (RUN_TEST_fF_f1): Likewise.
9599 (RUN_TEST_fI_f1): Likewise.
9600 (RUN_TEST_ffI_f1): Likewise.
9601 (RUN_TEST_c_c): Likewise.
9602 (RUN_TEST_cc_c): Likewise.
9603 (RUN_TEST_f_i): Likewise.
9604 (RUN_TEST_f_i_tg): Likewise.
9605 (RUN_TEST_ff_i_tg): Likewise.
9606 (RUN_TEST_f_b): Likewise.
9607 (RUN_TEST_f_b_tg): Likewise.
9608 (RUN_TEST_f_l): Likewise.
9609 (RUN_TEST_f_L): Likewise.
9610 (RUN_TEST_sincos): Likewise.
9611 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9612 whether to show exceptions. Do not include ");\n" in return
9614 (special_functions): Output call to RUN_TEST_sincos instead of
9615 check_float calls. Update calls to new_test.
9616 (parse_args): Output call to single RUN_TEST_* macro instead of
9617 check_* calls and other assignments. Update calls to new_test.
9623 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9624 input to result for tgamma overflow.
9625 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9626 (gamma_coeff): New variable.
9627 (NCOEFF): New macro.
9628 (gamma_positive): New function.
9629 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9630 underflow here. Use gamma_positive instead of exp (lgamma) for
9632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9633 (gamma_coeff): New variable.
9634 (NCOEFF): New macro.
9635 (gammaf_positive): New function.
9636 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9637 underflow here. Use gamma_positive instead of exp (lgamma) for
9639 * sysdeps/ieee754/ldbl-128/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, NaN, overflow and
9644 underflow here. Use gamma_positive instead of exp (lgamma) for
9646 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9647 (gamma_coeff): New variable.
9648 (NCOEFF): New macro.
9649 (gammal_positive): New function.
9650 (__ieee754_gammal_r): Handle positive infinity, overflow and
9651 underflow here. Handle NaN the same as positive infinity. Remove
9652 check x < 0xffffffff for negative integers. Use gamma_positive
9653 instead of exp (lgamma) for other arguments.
9654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9655 (gamma_coeff): New variable.
9656 (NCOEFF): New macro.
9657 (gammal_positive): New function.
9658 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9659 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9664 * sysdeps/generic/math_private.h (__gamma_productf): New
9666 (__gamma_product): Likewise.
9667 (__gamma_productl): Likewise.
9668 * math/Makefile (libm-calls): Add gamma_product.
9669 * math/libm-test.inc (tgamma_test): Add more tests.
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9673 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9675 * benchtests/bench-skeleton.c (main): Preheat CPU.
9677 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9679 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9681 2013-05-07 Roland McGrath <roland@hack.frob.com>
9683 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9684 and _dl_skip_args_internal.
9686 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9688 * manual/message.texi (Message Translation): Talk about users.
9689 Message to key mapping impacts design.
9691 2013-05-06 Roland McGrath <roland@hack.frob.com>
9693 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9695 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9697 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9698 * sysdeps/wordsize-64/glob64.c: ... here.
9700 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9701 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9704 * debug/getlogin_r_chk.c: Moved to ...
9705 * login/getlogin_r_chk.c: ... here.
9706 * debug/Makefile (routines): Move getlogin_r_chk to ...
9707 * login/Makefile (routines): ... here.
9708 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9709 * login/Versions (libc: GLIBC_2.4): ... here.
9711 * io/poll.c (__poll): Renamed from poll.
9712 Add libc_hidden_def.
9713 (poll): Define as weak alias.
9715 * debug/ptsname_r_chk.c: Moved to ...
9716 * login/ptsname_r_chk.c: ... here.
9717 * debug/Makefile (routines): Move ptsname_r_chk to ...
9718 * login/Makefile (routines): ... here.
9719 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9720 * login/Versions (libc: GLIBC_2.4): ... here.
9722 * posix/getlogin.c: Moved to ...
9723 * login/getlogin.c: ... here.
9724 * posix/getlogin_r.c: Moved to ...
9725 * login/getlogin_r.c: ... here.
9726 * posix/getlogin_r.c: Moved to ...
9727 * login/getlogin_r.c: ... here.
9728 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9729 * login/Makefile (routines): ... here.
9730 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9731 * login/Versions (libc: GLIBC_2.0): ... here.
9733 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9734 (setrlimit): Define as weak alias.
9736 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9737 Call __ names for open, ftruncate, and close.
9738 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9739 (truncate): Define as weak alias.
9741 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9743 * math/gen-libm-test.pl (parse_args): Initialize x before each
9744 test of frexp, modf and remquo.
9746 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9749 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9757 2013-05-06 Roland McGrath <roland@hack.frob.com>
9759 * elf/dl-writev.h: New file.
9760 * elf/dl-misc.c: Include it.
9761 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9762 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9764 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9766 * math/libm-test.inc (noXFails): Remove variable.
9767 (noXPasses): Likewise.
9768 (BUILD_COMPLEX_INT): Remove macro.
9769 (print_screen): Remove xfail argument.
9770 (print_screen_max_error): Likewise.
9771 (update_stats): Likewise.
9772 (print_max_error): Likewise. Update calls to other affected
9774 (print_complex_max_error): Likewise.
9775 (test_single_exception): Update calls to print_screen.
9776 (test_single_errno): Likewise.
9777 (check_float_internal): Remove xfail argument. Update calls to
9778 other affected functions.
9779 (check_float): Likewise.
9780 (check_complex): Likewise.
9781 (check_int): Likewise.
9782 (check_long): Likewise.
9783 (check_bool): Likewise.
9784 (check_longlong): Likewise.
9785 (main): Don't print noXFails and noXPasses.
9786 * math/gen-libm-test.pl (top level): Don't mention expected
9787 failure handling in comment.
9788 (new_test): Don't handle expected failures.
9789 (parse_args): Don't mention expected failure handling in comment.
9790 (generate_testfile): Don't handle expected failures.
9791 (parse_ulps): Likewise.
9792 (print_ulps_file): Likewise.
9793 (get_failure): Remove function.
9794 (output_test): Don't handle expected failures.
9795 * make/README.libm-test: Don't mention expected failure handling.
9797 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9798 (minus_zero): Likewise.
9799 (plus_infty): Likewise.
9800 (minus_infty): Likewise.
9801 (qnan_value): Likewise.
9802 (max_value): Likewise.
9803 (min_value): Likewise.
9804 (min_subnorm_value): Likewise.
9805 (initialize): Do not initialize those variables dynamically.
9807 2013-05-03 Roland McGrath <roland@hack.frob.com>
9809 * io/open.c (__open_2): Moved to ...
9810 * io/open_2.c: ... this new file.
9811 * io/open64.c (__open64_2): Moved to ...
9812 * io/open64_2.c: ... this new file.
9813 * io/openat.c (__openat_2): Moved to ...
9814 * io/openat_2.c: ... this new file.
9815 * io/openat64.c (__openat64_2): Moved to ...
9816 * io/openat64_2.c: ... this new file.
9817 * io/Makefile (routines): Add them.
9818 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9819 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9820 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9821 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9822 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9823 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9824 (__openat64): Add hidden_ver.
9825 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9826 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9828 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9829 Separately conditionalize setting of GLRO(dl_sysinfo) so
9830 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9831 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9833 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9835 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9836 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9838 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9839 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9840 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9841 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9842 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9844 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9846 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9849 * math/libm-test.inc (hypot_test): Do not use
9850 IGNORE_ZERO_INF_SIGN.
9852 2013-05-03 Andreas Jaeger <aj@suse.de>
9854 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9856 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9857 (PF_MAX): Adjust for VSOCK change.
9859 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9863 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9866 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9867 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9868 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9870 2013-05-02 David S. Miller <davem@davemloft.net>
9872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9874 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9876 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9878 2013-05-01 Roland McGrath <roland@hack.frob.com>
9880 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9882 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9885 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9886 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9887 Use __attribute__ ((__gnu_inline__)).
9888 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9889 Don't use __attribute__ ((__gnu_inline__)).
9891 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9894 * math/s_catan.c (__catan): Handle small real or imaginary part of
9895 input specially to avoid spurious underflow.
9896 * math/s_catanf.c (__catanf): Likewise.
9897 * math/s_catanh.c (__catanh): Likewise.
9898 * math/s_catanhf.c (__catanhf): Likewise.
9899 * math/s_catanhl.c (__catanhl): Likewise.
9900 * math/s_catanl.c (__catanl): Likewise.
9901 * math/libm-test.inc (catan_test): Add more tests.
9902 (catanh_test): Likewise.
9903 * sysdeps/i386/fpu/libm-test-ulps: Update.
9904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9910 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9913 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9914 accurately for denominator in atan2.
9915 * math/s_catanf.c (__catanf): Likewise.
9916 * math/s_catanh.c (__catanh): Likewise.
9917 * math/s_catanhf.c (__catanhf): Likewise.
9918 * math/s_catanhl.c (__catanhl): Likewise.
9919 * math/s_catanl.c (__catanl): Likewise.
9920 * math/libm-test.inc (catan_test): Add more tests.
9921 (catanh_test): Likewise.
9922 * sysdeps/i386/fpu/libm-test-ulps: Update.
9923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9925 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9927 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9929 * benchtests/Makefile (bench): Remove slow benchmarks.
9930 * benchtests/atan-inputs: Add slow benchmark inputs.
9931 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9932 (BENCH_FUNC): Accept variant offset.
9934 * benchtests/bench-skeleton.c (main): Run benchmark for each
9936 * benchtests/cos-inputs: Add slow benchmark inputs.
9937 * benchtests/exp-inputs: Likewise.
9938 * benchtests/pow-inputs: Likewise.
9939 * benchtests/sin-inputs: Likewise.
9940 * benchtests/slowatan-inputs: Remove.
9941 * benchtests/slowatan.c: Remove.
9942 * benchtests/slowcos-inputs: Remove.
9943 * benchtests/slowcos.c: Remove.
9944 * benchtests/slowexp-inputs: Remove.
9945 * benchtests/slowexp.c: Remove.
9946 * benchtests/slowpow-inputs: Remove.
9947 * benchtests/slowpow.c: Remove.
9948 * benchtests/slowsin-inputs: Remove.
9949 * benchtests/slowsin.c: Remove.
9950 * benchtests/slowtan-inputs: Remove.
9951 * benchtests/slowtan.c: Remove.
9952 * benchtests/tan-inputs: Add slow benchmark inputs.
9953 * scripts/bench.pl: Parse comments and directives.
9955 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9957 ($(objpfx)bench-%.c): Remove *-ITER.
9958 * benchtests/bench-modf.c: Remove definition of ITER.
9959 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9960 (main): Loop for DURATION seconds instead of fixed number of
9962 * scripts/bench.pl: Don't expect iterations in parameters.
9964 2013-04-29 Roland McGrath <roland@hack.frob.com>
9966 * io/fchdir.c (__fchdir): Renamed from fchdir.
9967 (fchdir): Define as weak alias.
9969 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9971 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9972 (ERRNO_EDOM): Likewise.
9973 (ERRNO_ERANGE): Likewise.
9974 (noErrnoTests): New variable.
9975 (init_max_error): Set errno to 0.
9976 (test_single_errno): New function.
9977 (test_errno): Likewise.
9978 (check_float_internal): Call test_errno. Set errno to 0.
9979 (check_complex): Refer to errno tests in comment.
9980 (check_int): Call test_errno. Set errno to 0.
9981 (check_long): Likewise.
9982 (check_bool): Likewise.
9983 (check_longlong): Likewise.
9984 (cos_test): Use ERRNO_* flags for errno tests instead of
9986 (expm1_test): Likewise.
9987 (fmod_test): Likewise.
9988 (ilogb_test): Likewise.
9989 (lgamma_test): Likewise.
9990 (pow_test): Likewise.
9991 (remainder_test): Likewise.
9992 (sin_test): Likewise.
9993 (tan_test): Likewise.
9994 (yn_test): Likewise.
9995 (initialize): Set errno to 0.
9996 (main): Print number of errno tests.
9997 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9999 2013-04-29 Andreas Jaeger <aj@suse.de>
10002 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10006 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10007 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10011 * stdlib/random.c (__initstate): Return NULL if
10015 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10016 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10019 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10023 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10025 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10026 of individual tests.
10027 (casin_test): Likewise.
10028 (casinh_test): Likewise.
10030 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10033 * math/s_catan.c (__catan): Handle arguments with large real or
10034 imaginary part separately without squaring.
10035 * math/s_catanf.c (__catanf): Likewise.
10036 * math/s_catanh.c (__catanh): Likewise.
10037 * math/s_catanhf.c (__catanhf): Likewise.
10038 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10040 (__catanhl): Handle arguments with large real or imaginary part
10041 separately without squaring.
10042 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10044 (__catanl): Handle arguments with large real or imaginary part
10045 separately without squaring.
10046 * math/libm-test.inc (catan_test): Add more tests.
10047 (catanh_test): Likewise.
10048 * sysdeps/i386/fpu/libm-test-ulps: Update.
10049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051 2013-04-27 Andreas Jaeger <aj@suse.de>
10054 * stdlib/stdlib.h: Update guards for qecvt.
10055 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10058 2013-04-27 Allan McRae <allan@archlinux.org>
10060 * sysdeps/i386/fpu/libm-test-ulps: Update.
10062 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10065 * math/s_catan.c: Include <float.h>.
10066 (__catan): Ensure underflow exception occurs for underflowed
10068 * math/s_catanf.c: Include <float.h>.
10069 (__catanf): Ensure underflow exception occurs for underflowed
10071 * math/s_catanh.c: Include <float.h>.
10072 (__catanh): Ensure underflow exception occurs for underflowed
10074 * math/s_catanhf.c: Include <float.h>.
10075 (__catanhf): Ensure underflow exception occurs for underflowed
10077 * math/s_catanhl.c: Include <float.h>.
10078 (__catanhl): Ensure underflow exception occurs for underflowed
10080 * math/s_catanl.c: Include <float.h>.
10081 (__catanl): Ensure underflow exception occurs for underflowed
10083 * math/libm-test.inc (catan_test): Add more tests.
10084 (catanh_test): Likewise.
10087 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10088 underflowed result.
10089 * math/s_ccoshf.c (__ccoshf): Likewise.
10090 * math/s_ccoshl.c (__ccoshl): Likewise.
10091 * math/s_csin.c (__csin): Likewise.
10092 * math/s_csinf.c (__csinf): Likewise.
10093 * math/s_csinh.c (__csinh): Likewise.
10094 * math/s_csinhf.c (__csinhf): Likewise.
10095 * math/s_csinhl.c (__csinhl): Likewise.
10096 * math/s_csinl.c (__csinl): Likewise.
10097 * math/libm-test.inc (ccos_test): Add more tests.
10098 (ccosh_test): Likewise.
10099 (csin_test): Likewise.
10100 (csinh_test): Likewise.
10102 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10104 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10105 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10106 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10107 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10108 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10109 powerpc/power5+/fpu folders.
10110 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10113 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10117 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10119 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10120 additions to variable.
10121 [$(config-machine) = x86_64] (modules-names): Likewise.
10122 ($(objpfx)tst-audit3): Remove dependency.
10123 ($(objpfx)tst-audit3.out): Likewise.
10124 ($(objpfx)tst-audit4): Likewise.
10125 ($(objpfx)tst-audit4.out): Likewise.
10126 ($(objpfx)tst-audit5): Likewise.
10127 ($(objpfx)tst-audit5.out): Likewise.
10128 ($(objpfx)tst-audit6): Likewise.
10129 ($(objpfx)tst-audit6.out): Likewise.
10130 ($(objpfx)tst-audit7): Likewise.
10131 ($(objpfx)tst-audit7.out): Likewise.
10132 (tst-audit3-ENV): Remove variable.
10133 (tst-audit4-ENV): Likewise.
10134 (tst-audit5-ENV): Likewise.
10135 (tst-audit6-ENV): Likewise.
10136 (tst-audit7-ENV): Likewise.
10137 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10138 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10139 addition to variable.
10140 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10143 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10144 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10145 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10146 tst-audit3, tst-audit4 and tst-audit5.
10147 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10148 tst-audit6 and tst-audit7.
10149 [$(subdir) = elf] (modules-names): Add audit modules for those
10151 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10152 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10153 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10154 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10155 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10156 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10157 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10158 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10159 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10160 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10161 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10162 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10163 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10164 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10165 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10166 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10168 [$(subdir) = elf && $(config-cflags-avx) = yes]
10169 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10170 [$(subdir) = elf && $(config-cflags-avx) = yes]
10171 (CFLAGS-tst-auditmod4a.c): Likewise.
10172 [$(subdir) = elf && $(config-cflags-avx) = yes]
10173 (CFLAGS-tst-auditmod4b.c): Likewise.
10174 [$(subdir) = elf && $(config-cflags-avx) = yes]
10175 (CFLAGS-tst-auditmod6b.c): Likewise.
10176 [$(subdir) = elf && $(config-cflags-avx) = yes]
10177 (CFLAGS-tst-auditmod6c.c): Likewise.
10178 [$(subdir) = elf && $(config-cflags-avx) = yes]
10179 (CFLAGS-tst-auditmod7b.c): Likewise.
10180 * elf/tst-audit3.c: Move to ...
10181 * sysdeps/x86_64/tst-audit3.c: ... here.
10182 * elf/tst-audit4.c: Move to ...
10183 * sysdeps/x86_64/tst-audit4.c: ... here.
10184 * elf/tst-audit5.c: Move to ...
10185 * sysdeps/x86_64/tst-audit5.c: ... here.
10186 * elf/tst-audit6.c: Move to ...
10187 * sysdeps/x86_64/tst-audit6.c: ... here.
10188 * elf/tst-audit7.c: Move to ...
10189 * sysdeps/x86_64/tst-audit7.c: ... here.
10190 * elf/tst-auditmod3a.c: Move to ...
10191 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10192 * elf/tst-auditmod3b.c: Move to ...
10193 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10194 * elf/tst-auditmod4a.c: Move to ...
10195 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10196 * elf/tst-auditmod4b.c: Move to ...
10197 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10198 * elf/tst-auditmod5a.c: Move to ...
10199 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10200 * elf/tst-auditmod5b.c: Move to ...
10201 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10202 * elf/tst-auditmod6a.c: Move to ...
10203 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10204 * elf/tst-auditmod6b.c: Move to ...
10205 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10206 * elf/tst-auditmod6c.c: Move to ...
10207 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10208 * elf/tst-auditmod7a.c: Move to ...
10209 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10210 * elf/tst-auditmod7b.c: Move to ...
10211 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10213 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10216 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10217 define unconditionally.
10218 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10219 define unconditionally.
10220 (INT8_C, INT16_C, etc.): Likewise.
10222 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10224 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10225 __ehdr_start with hidden visibility.
10227 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10229 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10231 * math/libm-test.inc (cos_test): Use accurate hex constants.
10232 (sincost_test): Likewise.
10234 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10236 * math/libm-test.inc (catan_test): Add more tests.
10237 (catanh_test): Likewise.
10239 * math/s_catanf.c (__catanf): Use suffixed floating-point
10241 * math/s_catanhf.c (__catanhf): Likewise.
10242 * math/s_catanhl.c (__catanhl): Likewise.
10243 * math/s_catanl.c (__catanl): Likewise.
10246 * math/s_catan.c (__catan): Calculate imaginary part of result
10247 with log1p not log unless computing log of number close to 0.
10248 * math/s_catanf.c (__catanf): Likewise.
10249 * math/s_catanl.c (__catanl): Likewise.
10250 * math/s_catanh.c (__catanh): Calculate real part of result with
10251 log1p not log unless computing log of number close to 0.
10252 * math/s_catanhf.c (__catanhf): Likewise.
10253 * math/s_catanhl.c (__catanhl): Likewise.
10254 * math/libm-test.inc (catan_test): Add more tests.
10255 (catanh_test): Likewise.
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10259 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10261 * benchtests/Makefile: Mention files in which fast and slow
10262 paths of math functions are implemented.
10264 2013-04-23 Roland McGrath <roland@hack.frob.com>
10266 * sysdeps/posix/timespec_get.c: New file.
10268 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10270 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10272 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10274 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10275 powerpc/power5/fpu folders.
10276 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10277 * benchtests/Makefile: Add modf testcase.
10278 * benchtests/bench-modf.c: New file: Benchmark test for mo
10280 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10283 * time/Makefile (tests): Add tst-strptime-whitespace.
10284 * time/strptime_l.c (get_number): Use ISSPACE.
10285 (__strptime_internal): Likewise.
10286 * time/tst-strptime-whitespace.c: New test case.
10288 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10290 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10292 (_nss_files_init): Set it here.
10294 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10296 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10297 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10300 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10302 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10304 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10309 2013-04-21 David S. Miller <davem@davemloft.net>
10311 * po/ru.po: Update Russion translation from translation project.
10313 2013-04-17 Adam Conrad <adconrad@0c3.net>
10315 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10318 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10320 * configure.in: Remove i386 configure warning. Remove i386 case.
10321 * configure: Regenerate.
10322 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10323 Add example to error message.
10324 * sysdeps/i386/configure: Regenerate.
10326 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10328 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10330 * benchtests/cos-inputs: New file.
10331 * benchtests/slowcos-inputs: New file.
10332 * benchtests/slowcos.c: New file.
10333 * benchtests/slowtan-inputs: New file.
10334 * benchtests/slowtan.c: New file.
10335 * benchtests/tan-inputs: New file.
10337 2013-04-16 Roland McGrath <roland@hack.frob.com>
10339 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10342 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10344 * benchtests/Makefile: Include cppflags-iterator.mk to add
10345 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10347 * Makefile.in (bench-clean): New target.
10348 * benchtests/Makefile (bench-clean): Likewise.
10350 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10352 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10354 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10356 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10358 2013-04-15 Andreas Schwab <schwab@suse.de>
10360 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10362 * nscd/pwdcache.c (cache_addpw): Likewise.
10363 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10366 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10368 * benchtests/Makefile (bench): Write all output to
10369 bench-out.tmp together.
10371 2013-04-15 Andreas Schwab <schwab@suse.de>
10373 * nscd/nscd.c (main): Don't fork again after closing files.
10375 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10377 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10379 * benchtests/Rules (bench-deps): Collect dependencies into a
10380 single variable. Add Makefile to dependencies.
10381 ($(objpfx)bench-%.c): Depend on bench-deps.
10383 2013-04-12 Roland McGrath <roland@hack.frob.com>
10384 Xavier Roche <roche+kml2@exalead.com>
10387 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10388 just that it's a file descriptor.
10389 * manual/llio.texi (Synchronizing AIO Operations): Update description
10390 for EBADF error from aio_fsync.
10392 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10394 * Rules (bench): Move target definition...
10395 * benchtests/Makefile: ... here.
10397 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10399 * math/libm-test.inc (cos_test): Fix PI/2 test.
10400 (sincos_test): Likewise.
10401 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10402 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10404 2013-04-11 Andreas Schwab <schwab@suse.de>
10407 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10408 accept exponent character only when digits were seen.
10409 * stdio-common/Makefile (tests): Add bug26.
10410 * stdio-common/bug26.c: New file.
10413 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10416 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10418 * Makeconfig (rtld-prefix): Define built linker prefix.
10419 * Rules (run-bench): Use it.
10420 * math/Makefile (run-regen-ulps): Likewise.
10422 * Rules (bench): Remove eval.
10424 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10425 Roland McGrath <roland@hack.frob.com>
10426 Ondrej Bilka <neleai@seznam.cz>
10429 * time/getdate.c: Include ctype.h and alloca.h.
10430 (__getdate_r): Trim leading and trailing spaces of input.
10431 * time/tst-getdate.c (tests): Add tests with leading and
10434 2013-04-08 Roland McGrath <roland@hack.frob.com>
10437 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10438 when computing value.
10440 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10442 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10443 Use testrun.sh to run libm tests.
10446 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10448 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10451 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10453 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10455 * Makefile.in (regen-ulps): New target.
10456 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10457 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10458 [ifneq (no,$(PERL)] (regen-ulps): New target.
10459 [ifeq (no,$(PERL)] (regen-ulps): New target.
10460 * math/libm-test.inc (ulps_file_name): Define.
10461 (output_dir): New variable.
10462 (options): Add "output-dir" option.
10463 (parse_opt): Handle 'o' case.
10464 (main): If output_dir is non-NULL use it as a prefix
10466 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10468 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10470 [BZ #10060, #10062]
10471 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10472 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10473 fail configure if __sync_val_compare_and_swap is not inlined.
10474 * sysdeps/i386/configure: Regenerate.
10475 * configure.in: Build for i686 when configured for i386.
10476 * configure: Regenerate.
10477 * README: Remove i386 reference.
10479 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10481 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10482 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10484 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10486 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10487 (lmsnanval): New variables.
10488 (F): Add conversion tests.
10489 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10490 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10492 * stdio-common/tstdiomisc.c (F): Properly collect individual
10495 [BZ #14686, #15336]
10496 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10497 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10498 Instead, use input NaN values or generate a qNaN by arithmetic
10499 operation. Also fix bugs to comply with the standard.
10500 * math/libm-test.inc (remainder_test): Add more tests.
10502 [BZ #15335, #15342]
10503 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10505 input NaN values or generate a qNaN by arithmetic operation.
10507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10510 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10513 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10516 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10517 underflowed result.
10518 * math/s_cexpf.c (__cexpf): Likewise.
10519 * math/s_cexpl.c (__cexpl): Likewise.
10520 * math/libm-test.inc (cexp_test): Add more tests.
10522 2013-04-03 Andreas Schwab <schwab@suse.de>
10525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10526 order arrays from heap if bigger than alloca cutoff.
10528 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10530 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10531 (SNAN_TESTS_double): Refer to GCC PR56831.
10532 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10535 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10537 * Rules (bench): Move bench.out after the run is complete.
10539 * Rules (bench): Echo currently running benchmark.
10541 * benchtests/Makefile (bench): Add atan and slowatan.
10542 * benchtests/atan-inputs: New file.
10543 * benchtests/slowatan-inputs: New file.
10544 * benchtests/slowatan.c: New file.
10546 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10551 * sysdeps/unix/sysv/linux/kernel-features.h
10552 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10553 __ASSUME_XFS_RESTRICTED_CHOWN.
10554 * sysdeps/unix/sysv/linux/pathconf.c
10555 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10556 Save and restore errno.
10558 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10561 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10562 arguments using __kernel_casinh.
10563 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10564 arguments using __kernel_casinhf.
10565 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10566 arguments using __kernel_casinhl.
10567 * math/libm-test.inc (cacosh_test): Add more tests.
10568 * sysdeps/i386/fpu/libm-test-ulps: Update.
10569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10571 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10573 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10576 * bench/Makefile (bench): Add sin and slowsin.
10577 * benchtests/sin-inputs: New file.
10578 * benchtests/slowsin-inputs: New file.
10579 * benchtests/slowsin.c: New file.
10581 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10582 (bench): Add slowexp and slowpow.
10583 (exp-ITER): Increase iterations.
10584 (pow-ITER): Likewise.
10585 * benchtests/exp-inputs: Change input.
10586 * benchtests/pow-inputs: Likewise.
10587 * benchtests/slowexp-inputs: New file.
10588 * benchtests/slowexp.c: New file.
10589 * benchtests/slowpow-inputs: New file.
10590 * benchtests/slowpow.c: New file.
10592 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10594 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10596 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10597 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10598 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10599 * benchtests/Makefile: Add rint benchtest.
10600 * benchtests/rint-inputs: Input for rint benchtest.
10602 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10604 * Versions.def (libm): Add GLIBC_2.18.
10605 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10606 hidden libm prototypes.
10607 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10608 * math/Makefile (libm-calls): Add s_issignaling.
10609 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10610 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10611 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10613 * math/math.h [__USE_GNU] (issignaling): New macro.
10614 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10615 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10617 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10620 * manual/arith.texi (issignaling): New section.
10621 * manual/libm-err-tab.pl (@all_functions): Update comment.
10622 * math/gen-libm-test.pl (parse_args): Apply special handling for
10624 * math/libm-test.inc (print_float, issignaling_test): New
10626 (check_float_internal): Add issignaling checks.
10627 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10628 default definition.
10629 * sysdeps/powerpc/math-tests.h: New file.
10630 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10632 * math/test-snan.c (TEST_FUNC): Likewise.
10634 2013-03-30 David S. Miller <davem@davemloft.net>
10636 * po/de.po: Update from translation team.
10638 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10641 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10642 imaginary part less than 1.0 and real part less than 0.5
10644 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10645 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10646 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10647 (cacos_test): Add more tests.
10648 (casin_test): Likewise.
10649 (casinh_test): Likewise.
10650 * sysdeps/i386/fpu/libm-test-ulps: Update.
10651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10655 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10656 ONE with its value.
10658 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10659 (__pow_mp): Replace ONE and MONE with their values.
10660 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10662 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10663 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10664 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10665 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10667 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10669 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10670 (__pow_mp): Replace ZERO and MZERO with their values.
10671 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10673 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10675 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10676 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10679 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10681 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10683 2013-03-28 Roland McGrath <roland@hack.frob.com>
10685 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10686 Declare with __attribute__ ((weak)).
10687 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10688 Call __call_tls_dtors only if it's not NULL.
10690 2013-03-28 Roland McGrath <roland@hack.frob.com>
10692 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10693 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10694 magic __ehdr_start linker symbol if it's defined.
10695 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10696 them up here if it was already done.
10698 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10699 (_dl_aux_init): Use const in cast when setting it.
10700 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10701 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10702 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10704 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10706 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10707 * csu/libc-tls.c: Nor here.
10708 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10710 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10711 (__libc_message): Never call vsyslog.
10713 2013-03-28 Alan Modra <amodra@gmail.com>
10715 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10717 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10720 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10727 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10730 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10731 Don't add gid passed as argument.
10733 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10735 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10738 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10739 imaginary part between 1.0 and 1.5 and real part less than 0.5
10741 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10742 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10743 * math/libm-test.inc (cacos_test): Add more tests.
10744 (casin_test): Likewise.
10745 (casinh_test): Likewise.
10746 * sysdeps/i386/fpu/libm-test-ulps: Update.
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10751 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10754 (denorm): Likewise.
10755 (__dbl_mp): Likewise.
10756 (add_magnitudes): Likewise.
10757 (sub_magnitudes): Likewise.
10765 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10767 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10768 (__dubcos): Likewise.
10769 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10770 (__ieee754_acos): Likewise.
10771 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10772 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10773 (__exp1): Likewise.
10774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10777 (my_log2): Likewise.
10778 (checkint): Likewise.
10779 * sysdeps/ieee754/dbl-64/e_remainder.c
10780 (__ieee754_remainder): Likewise.
10781 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10783 (bsloww): Likewise.
10784 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10786 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10788 MANTISSA_STORE_T to store computations on mantissa. Use
10789 macros for rounding and division.
10790 (denorm): Likewise.
10791 (__dbl_mp): Likewise.
10792 (add_magnitudes): Likewise.
10793 (sub_magnitudes): Likewise.
10796 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10797 powers of two in terms of TWOPOW macro.
10798 (mp_no): Make type of mantissa as MANTISSA_T.
10799 [!RADIXI]: Define RADIXI.
10800 [!TWO52]: Define TWO52.
10801 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10803 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10806 llroundl symbol when building for PPC32.
10808 2013-03-24 Mark H Weaver <mhw@netris.org>
10810 * manual/arith.texi (Normalization Functions): Fix prototypes for
10811 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10813 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10816 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10817 high value to check if expl overflow.
10818 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10819 to check for underflow and overflow.
10820 * math/libm-test.inc: Add exp test.
10822 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10825 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10828 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10833 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10835 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10836 wrap blocks consisting of several statements.
10838 * sysdeps/generic/math-tests.h: New file.
10839 * sysdeps/i386/fpu/math-tests.h: Likewise.
10840 * math/test-snan.c: Include it.
10841 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10843 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10846 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10847 (__ieee754_j0l): Do not improve calculations using cos of twice
10848 input for inputs above LDBL_MAX / 2.0L.
10849 (__ieee754_y0l): Likewise.
10850 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10851 (__ieee754_j1l): Do not improve calculations using cos of twice
10852 input for inputs above LDBL_MAX / 2.0L.
10853 (__ieee754_y1l): Likewise.
10854 * math/libm-test.inc (j0_test): Add another test.
10855 (j1_test): Likewise.
10856 (y0_test): Likewise.
10857 (y1_test): Likewise.
10858 * sysdeps/i386/fpu/libm-test-ulps: Update.
10860 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10862 * Rules ($(objpfx)bench-%.c): Include code from a C source
10865 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10868 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10869 imaginary part 1.0 and real part less than 0.5 specially.
10870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10872 * math/libm-test.inc (cacos_test): Add more tests.
10873 (casin_test): Likewise.
10874 (casinh_test): Likewise.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10878 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10880 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10881 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10883 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10885 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10886 * config.make.in (config-cflags-sse4): Remove variable.
10887 (config-cflags-avx): Likewise.
10888 (config-cflags-sse2avx): Likewise.
10889 (config-cflags-novzeroupper): Likewise.
10890 (config-asflags-i686): Likewise.
10891 (have-mfma4): Likewise.
10892 (have-as-vis3): Likewise.
10894 * configure.in (MIG): Do not AC_SUBST.
10895 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10896 (libc_cv_cc_sse4): Do not AC_SUBST.
10897 (libc_cv_cc_avx): Likewise.
10898 (libc_cv_cc_sse2avx): Likewise.
10899 (libc_cv_cc_novzeroupper): Likewise.
10900 (libc_cv_cc_fma4): Likewise.
10901 (libc_cv_as_i686): Likewise.
10902 (libc_cv_sparc_as_vis3): Likewise.
10903 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10905 (config-asflags-i686): Likewise.
10906 (config-cflags-avx): Likewise.
10907 (config-cflags-sse2avx): Likewise.
10908 (have-mfma4): Likewise.
10909 (config-cflags-novzeroupper): Likewise.
10910 * sysdeps/mach/configure.in (MIG): Likewise.
10911 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10912 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10914 (config-cflags-avx): Likewise.
10915 (config-cflags-sse2avx): Likewise.
10916 (have-mfma4): Likewise.
10917 (config-cflags-novzeroupper): Likewise.
10918 * configure: Regenerated.
10919 * sysdeps/i386/configure: Likewise.
10920 * sysdeps/mach/configure: Likewise.
10921 * sysdeps/sparc/configure: Likewise.
10922 * sysdeps/x86_64/configure: Likewise.
10924 2013-03-20 Roland McGrath <roland@hack.frob.com>
10927 * locale/programs/localedef.c (options): Put N_ translation marker
10928 on argument names, not just descriptions.
10930 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10932 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10934 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10937 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10939 2013-03-19 Roland McGrath <roland@hack.frob.com>
10941 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10942 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10943 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10944 [!BEFORE_ABORT] (before_abort): New function.
10945 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10946 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10947 (writev_for_fatal): New function.
10948 (WRITEV_FOR_FATAL): New macro; call that.
10949 (backtrace_and_maps): New function.
10950 (BEFORE_ABORT): New macro; call that.
10951 (struct str_list): Type removed.
10952 (__libc_message, __libc_fatal): Functions removed.
10953 Include <sysdeps/posix/libc_fatal.c> instead.
10955 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10957 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10959 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10962 2013-03-19 Andreas Schwab <schwab@suse.de>
10964 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10965 * sysdeps/gnu/configure: Regenerate.
10967 * configure.in: Substitute libc_cv_rtlddir.
10968 * configure: Regenerate.
10969 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10970 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10971 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10972 * elf/Makefile (install-others, CFLAGS-interp.c)
10973 (ldso_install, common-ldd-rewrite): Likewise.
10974 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10975 $(inst_slibdir)/$(rtld-installed-name).
10976 * scripts/rellns-sh: Add -p option.
10977 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10980 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10982 * manual/nptl.texi: Renamed to ...
10983 * manual/threads.texi: ... this.
10984 * manual/Makefile (chapters): Update.
10986 2013-03-18 Roland McGrath <roland@hack.frob.com>
10989 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10990 on argument names, not just descriptions.
10991 * malloc/memusagestat.c (options): Likewise.
10992 * nss/getent.c (options): Likewise.
10994 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10997 * iconv/iconv_prog.c (options): Put N_ translation marker
10998 on argument names, not just descriptions.
10999 * iconv/iconvconfig.c (options): Likewise.
11001 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11003 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11004 implementation which is faster on all x86_64 architectures.
11005 Tested on AMD, Intel Nehalem, SNB, IVB.
11006 * sysdeps/x86_64/strnlen.S: Likewise.
11008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11009 Remove all multiarch strlen and strnlen versions.
11010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11011 Remove strlen and strnlen related parts.
11013 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11014 Inline strlen part.
11015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11017 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11018 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11019 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11020 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11021 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11022 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11024 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11026 * manual/memory.texi (Malloc Tunable Parameters):
11027 Sort parameters alphabetically. Add comments for missing entries.
11029 2013-03-17 David S. Miller <davem@davemloft.net>
11031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11033 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11036 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11037 for arguments at most half maximum finite value.
11038 * math/libm-test.inc (j0_test): Add more tests.
11039 (j1_test): Likewise.
11040 (y0_test): Likewise.
11041 (y1_test): Likewise.
11042 * sysdeps/i386/fpu/libm-test-ulps: Update.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11046 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11047 1 / x and functions P and Q for arguments above 0x1p256L.
11048 (__ieee754_y0l): Likewise.
11049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11050 (__ieee754_y1l): Likewise.
11051 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11052 (j1_test): Likewise.
11053 (y0_test): Likewise.
11054 (y1_test): Likewise.
11056 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11058 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11061 2013-03-15 Roland McGrath <roland@hack.frob.com>
11063 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11064 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11065 zero since it's initialized to EXEC_PAGESIZE.
11067 * sysdeps/unix/sysv/linux/ldsodefs.h
11068 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11069 * sysdeps/generic/ldsodefs.h: ... here.
11071 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11073 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11075 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11077 * math/test-snan.c: Renamed from
11078 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11079 * math/Makefile (tests): Add test-snan.
11080 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11083 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11084 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11086 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11087 __builtin_nan family of functions.
11088 * math/libm-test.inc (initialize): Initialize qnan_value with
11089 __builtin_nan family of functions.
11090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11092 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11094 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11095 storage class. Initialize qNaN_var and sNaN_var with
11096 __builtin_nan and __builtin_nans families of functions,
11099 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11100 (sqrt_test): Remove duplicate test with qNaN input.
11101 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11102 (round_test, signbit_test, significand_test): Note missing +/-Inf
11103 as well as qNaN tests.
11105 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11106 qNaN_var. Fix a few strings, too.
11107 * math/libm-test.inc (nan_value): Rename to qnan_value.
11108 * math/gen-libm-test.pl (%beautify): Adjust to that.
11109 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11110 * math/test-misc.c (main): Likewise.
11111 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11112 to __qnan_bytes, and __qnan_union, respectively.
11113 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11115 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11116 and lqnanval, respectively.
11117 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11118 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11120 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11122 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11123 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11126 * math/test-misc.c (main): Fix copy'n'pastos.
11127 * misc/tst-efgcvt.c (special): Likewise.
11129 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11130 Remove declarations.
11132 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11134 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11135 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11136 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11137 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11139 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11142 macro to return vdso values correctly in IFUNC implementations.
11143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11144 Optimization by using IFUNC.
11146 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 Richard Henderson <rth@redhat.com>
11148 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11150 * Makefile.in (bench): New target.
11151 * NEWS: Mention the benchmark framework.
11152 * Rules (bench): Likewise.
11153 (binaries-bench): Generate binaries for functions to
11155 * benchtests/Makefile: New makefile for benchmark tests.
11156 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11158 * benchtests/exp-inputs: New input file for EXP function.
11159 * benchtests/pow-inputs: New input file for POW function.
11160 * scripts/bench.pl: New script to generate source files for
11161 benchmark programs.
11163 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11166 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11167 computations on mantissa. Use macros for rounding and
11169 (denorm): Likewise.
11170 (__dbl_mp): Likewise.
11171 (add_magnitudes): Likewise.
11172 (sub_magnitudes): Likewise.
11175 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11176 powers of two in terms of TWOPOW macro.
11177 (mp_no): Make type of mantissa as MANTISSA_T.
11178 [!RADIXI]: Define RADIXI.
11179 [!TWO52]: Define TWO52.
11180 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11182 * manual/nptl.texi (cindex): Modify threads to pthreads.
11184 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11186 * sysdeps/x86_64/preconfigure: Regenerated.
11188 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11191 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11193 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11194 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11196 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11197 * math/libm-test.inc (j0_test): Do not allow one spurious
11198 underflow exception.
11199 (y1_test): Likewise.
11201 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11203 * manual/Makefile (chapters): Add nptl.
11204 * manual/debug.texi (Debugging Support): Add link to Threads
11206 * manual/nptl.texi: New file.
11208 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11210 2013-03-14 Petr Baudis <pasky@ucw.cz>
11212 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11213 for non-NULL pointer before the memory validity test. Pointed
11214 out by Holger Brunck <holger.brunck@keymile.com>.
11216 2013-03-13 Andreas Schwab <schwab@suse.de>
11218 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11221 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11223 * timezone/zic.c: Update from tzcode 2013b.
11225 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11227 * manual/install.texi (Configuring and compiling):
11228 Mention i686 and i586.
11229 * INSTALL: Regenerate.
11231 2013-03-12 Roland McGrath <roland@hack.frob.com>
11233 * sysdeps/init_array/elf-init.c: New file.
11235 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11236 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11238 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11239 __gmon_start__ as global, but as static with a .preinit_array pointer.
11240 * sysdeps/init_array/gmon-start.c: New file. Use that.
11241 * sysdeps/init_array/crti.S: New file, empty except for comments.
11242 * sysdeps/init_array/crtn.S: Likewise.
11244 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11246 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11249 Remove Prefer_SSE_for_memop.
11250 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11251 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11252 HAS_PREFER_SSE_FOR_MEMOP.
11253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11256 Remove bzero, memset ifunc support.
11257 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11258 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11259 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11260 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11262 2013-03-11 Andreas Schwab <schwab@suse.de>
11265 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11268 (GLIBC_2.16): Remove pthread_atfork.
11270 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11272 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11273 (ptestcases.h): Likewise.
11275 2013-03-08 Roland McGrath <roland@hack.frob.com>
11277 * Makeconfig ($(common-objpfx)config.status): Depend on
11278 sysdeps/*/preconfigure{,.in} too.
11280 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11282 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11283 (__free_hook): Use void * instead of __malloc_ptr_t.
11284 (__malloc_hook): Likewise.
11285 (__realloc_hook): Likewise.
11286 (__memalign_hook): Likewise.
11287 (__after_morecore_hook): Likewise.
11288 * malloc/arena.c (save_malloc_hook): Likewise.
11289 (save_free_hook): Likewise.
11290 * malloc/hooks.c (malloc_hook_ini): Likewise.
11291 (realloc_hook_ini): Likewise.
11292 (memalign_hook_ini): Likewise.
11293 * malloc/malloc.c (malloc_hook_ini): Likewise.
11294 (realloc_hook_ini): Likewise.
11295 (memalign_hook_ini): Likewise.
11296 (__free_hook): Likewise.
11297 (__malloc_hook): Likewise.
11298 (__realloc_hook): Likewise.
11299 (__memalign_hook): Likewise.
11300 (__libc_malloc): Likewise.
11301 (__libc_free): Likewise.
11302 (__libc_realloc): Likewise.
11303 (__libc_memalign): Likewise.
11304 (__libc_valloc): Likewise.
11305 (__libc_pvalloc): Likewise.
11306 (__libc_calloc): Likewise.
11307 (__posix_memalign): Likewise.
11308 * malloc/morecore.c (__sbrk): Likewise.
11309 (__default_morecore): Likewise.
11311 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11313 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11314 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11315 __malloc_ptrdiff_t.
11317 * malloc/malloc.h (__malloc_size_t): Remove macro.
11318 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11320 (old_memalign_hook): Likewise.
11321 (old_realloc_hook): Likewise.
11322 (struct hdr): Likewise.
11324 (mallochook): Likewise.
11325 (memalignhook): Likewise.
11326 (reallochook): Likewise.
11327 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11328 (tr_old_realloc_hook): Likewise.
11329 (tr_old_memalign_hook): Likewise.
11330 (tr_mallochook): Likewise.
11331 (tr_reallochook): Likewise.
11332 (tr_memalignhook): Likewise.
11334 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11337 default_ldbl_pack and using as default implementation.
11338 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11340 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11341 redundant definition.
11342 (ldbl_insert_mantissa): Likewise.
11343 (ldbl_canonicalize): Likewise.
11344 (ldbl_nearbyint): Likewise.
11345 (ldbl_pack): Rename to ldbl_pack_ppc.
11346 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11347 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11348 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11350 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11353 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11354 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11355 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11357 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11358 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11359 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11361 2013-03-07 Andreas Jaeger <aj@suse.de>
11363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11366 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11368 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11369 Include mpa.h and declare __MPEXP.
11370 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11372 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11373 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11375 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11378 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11379 (__slowpow): Use long double EXPL and LOGL functions to
11381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11382 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11384 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11385 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11386 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11389 intermediate variable to calculate exponent.
11391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11395 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11396 [!NO__SQR]: Define __sqr.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11398 and NO__SQR. Remove all code except __mul and __sqr. Include
11399 sysdeps/ieee754/dbl-64/mpa.c.
11400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11403 * posix/Makefile (tests): Add tst-pathconf.
11404 * posix/tst-pathconf.c: New test case.
11405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11407 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11409 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11411 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11413 2013-03-06 Andreas Jaeger <aj@suse.de>
11415 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11416 definition via __MAP_ANONYMOUS.
11418 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11419 it's not part of Linux headers.
11421 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11422 (MAP_HUGE_MASK): Define.
11424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11426 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11427 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11429 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11430 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11432 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11435 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11437 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11438 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11439 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11440 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11441 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11444 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11448 Handle f2fs and efivarfs.
11450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11453 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11454 (EFIVARFS_MAGIC): Add.
11455 (F2FS_LINK_MAX): Add.
11457 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11459 * stdio-common/vfprintf.c: Replace __builtin_expect with
11462 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/generic/bp-sym.h: Remove file.
11466 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11467 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11468 <bp-sym.h> and <bp-asm.h>.
11469 (__longjmp): Don't use BP_SYM.
11470 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11472 (memcpy): Don't use BP_SYM.
11473 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11474 <bp-sym.h> and <bp-asm.h>.
11475 (memcpy): Don't use BP_SYM.
11476 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11478 (memcpy): Don't use BP_SYM.
11479 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11481 (memset): Don't use BP_SYM.
11482 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11483 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11484 (__bzero): Don't use BP_SYM.
11485 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11486 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11487 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11488 <bp-sym.h> and <bp-asm.h>.
11489 (memcmp): Don't use BP_SYM. Remove comment about bounded
11491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (memcpy): Don't use BP_SYM.
11494 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11495 <bp-sym.h> and <bp-asm.h>.
11496 (memset): Don't use BP_SYM.
11497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11499 (__bzero): Don't use BP_SYM.
11500 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11501 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11502 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11503 <bp-sym.h> and <bp-asm.h>.
11504 (strncmp): Don't use BP_SYM. Remove comment about bounded
11506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11507 <bp-sym.h> and <bp-asm.h>.
11508 (memcpy): Don't use BP_SYM.
11509 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11510 <bp-sym.h> and <bp-asm.h>.
11511 (memset): Don't use BP_SYM.
11512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11514 (__bzero): Don't use BP_SYM.
11515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11518 <bp-sym.h> and <bp-asm.h>.
11519 (__memchr): Don't use BP_SYM.
11520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11521 <bp-sym.h> and <bp-asm.h>.
11522 (memcmp): Don't use BP_SYM. Remove comment about bounded
11524 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11525 <bp-sym.h> and <bp-asm.h>.
11526 (memcpy): Don't use BP_SYM.
11527 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11528 <bp-sym.h> and <bp-asm.h>.
11529 (__mempcpy): Don't use BP_SYM.
11530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11531 <bp-sym.h> and <bp-asm.h>.
11532 (__memrchr): Don't use BP_SYM.
11533 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11534 <bp-sym.h> and <bp-asm.h>.
11535 (memset): Don't use BP_SYM.
11536 (__bzero): Likewise.
11537 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11538 <bp-sym.h> and <bp-asm.h>.
11539 (__rawmemchr): Don't use BP_SYM.
11540 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11541 <bp-sym.h> and <bp-asm.h>.
11542 (__STRCMP): Don't use BP_SYM.
11543 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11544 <bp-sym.h> and <bp-asm.h>.
11545 (strchr): Don't use BP_SYM.
11546 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11547 <bp-sym.h> and <bp-asm.h>.
11548 (__strchrnul): Don't use BP_SYM.
11549 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11550 <bp-sym.h> and <bp-asm.h>.
11551 (strlen): Don't use BP_SYM.
11552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11553 <bp-sym.h> and <bp-asm.h>.
11554 (strncmp): Don't use BP_SYM. Remove comment about bounded
11556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11557 <bp-sym.h> and <bp-asm.h>.
11558 (__strnlen): Don't use BP_SYM.
11559 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11560 <bp-sym.h> and <bp-asm.h>.
11561 (__GI__setjmp): Don't use BP_SYM.
11562 (_setjmp): Likewise.
11563 (__sigsetjmp): Likewise.
11564 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11565 (L(start_addresses)): Don't use BP_SYM.
11566 (_start): Likewise.
11567 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11569 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11570 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11571 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11573 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11575 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11576 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11577 about bounded pointers.
11578 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11579 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11580 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11582 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11583 about bounded pointers. Remove GKM FIXME comments.
11584 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11585 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11587 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11588 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11589 Remove GKM FIXME comments.
11590 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11591 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11592 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11594 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11595 about bounded pointers. Remove GKM FIXME comment.
11596 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11598 (strncmp): Don't use BP_SYM. Remove comment about bounded
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11601 <bp-sym.h> and <bp-asm.h>.
11602 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11608 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11610 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11613 2013-03-05 David S. Miller <davem@davemloft.net>
11615 * po/es.po: Update from translation team.
11617 2013-03-05 Andreas Jaeger <aj@suse.de>
11619 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11620 <bits/mman-linux.h>.
11621 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11623 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11624 <bits/mman-linux.h> to end of file.
11625 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11628 <bits/mman-linux.h> to end of file.
11629 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11632 <bits/mman-linux.h> to end of file.
11634 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11635 (MCL_CURRENT, MCL_FUTURE): Define here.
11637 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11640 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11642 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11644 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11646 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11647 fourth parameter needed for rt_sigprocmask syscall.
11648 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11649 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11650 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11651 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11652 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11653 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11655 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11658 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11659 comment about bounded pointers.
11660 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11661 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11663 2013-03-04 Andreas Jaeger <aj@suse.de>
11665 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11666 common definitions.
11668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11669 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11670 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11671 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11673 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11675 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11679 __ieee754_sqrl instead of __sqrl.
11681 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11683 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11684 * sysdeps/powerpc/fpu_control.h: ... here.
11685 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11686 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11687 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11688 * sysdeps/powerpc/bits/mathinline.h: ... here.
11690 2013-03-01 Roland McGrath <roland@hack.frob.com>
11692 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11693 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11694 to just [NEED_DL_SYSINFO_DSO].
11695 * elf/dl-support.c: Likewise.
11696 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11697 * elf/rtld.c (dl_main): Likewise.
11698 * elf/setup-vdso.h (setup_vdso): Likewise.
11699 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11700 * sysdeps/unix/sysv/linux/dl-sysdep.c
11701 (_dl_discover_osversion): Likewise.
11703 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11705 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11706 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11708 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11710 * NEWS: Mention libm performance improvements and non-x86 PI
11713 * csu/libc-start.c (__pthread_initialize_minimal): Change
11714 function arguments.
11715 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11717 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11720 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11721 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11722 <bp-sym.h> and <bp-asm.h>.
11723 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11724 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11726 (memcpy): Don't use BP_SYM.
11727 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11729 (__mpn_add_n): Don't use BP_SYM.
11730 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11731 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11733 (__mpn_addmul_1): Don't use BP_SYM.
11734 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11735 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11737 (_setjmp): Don't use BP_SYM.
11738 (__novmx_setjmp): Likewise.
11739 (__GI__setjmp): Likewise.
11740 (__vmx_setjmp): Likewise.
11741 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11743 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11744 (__bzero): Don't use BP_SYM.
11745 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11746 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (memcpy): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11756 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11758 (__mpn_lshift): Don't use BP_SYM.
11759 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11760 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11762 (memset): Don't use BP_SYM.
11763 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11764 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11765 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11767 (__mpn_mul_1): Don't use BP_SYM.
11768 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11770 <bp-sym.h> and <bp-asm.h>.
11771 (memcmp): Don't use BP_SYM.
11772 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11773 <bp-sym.h> and <bp-asm.h>.
11774 (memcpy): Don't use BP_SYM.
11775 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11776 <bp-sym.h> and <bp-asm.h>.
11777 (memset): Don't use BP_SYM.
11778 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11779 <bp-sym.h> and <bp-asm.h>.
11780 (strncmp): Don't use BP_SYM.
11781 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11782 <bp-sym.h> and <bp-asm.h>.
11783 (memcpy): Don't use BP_SYM.
11784 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11785 <bp-sym.h> and <bp-asm.h>.
11786 (memset): Don't use BP_SYM.
11787 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11788 <bp-sym.h> and <bp-asm.h>.
11789 (__memchr): Don't use BP_SYM.
11790 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11791 <bp-sym.h> and <bp-asm.h>.
11792 (memcmp): Don't use BP_SYM.
11793 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11794 <bp-sym.h> and <bp-asm.h>.
11795 (memcpy): Don't use BP_SYM.
11796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11797 <bp-sym.h> and <bp-asm.h>.
11798 (__mempcpy): Don't use BP_SYM.
11799 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11800 <bp-sym.h> and <bp-asm.h>.
11801 (__memrchr): Don't use BP_SYM.
11802 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11803 <bp-sym.h> and <bp-asm.h>.
11804 (memset): Don't use BP_SYM.
11805 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11806 <bp-sym.h> and <bp-asm.h>.
11807 (__rawmemchr): Don't use BP_SYM.
11808 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11809 <bp-sym.h> and <bp-asm.h>.
11810 (__STRCMP): Don't use BP_SYM.
11811 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11812 <bp-sym.h> and <bp-asm.h>.
11813 (strchr): Don't use BP_SYM.
11814 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11815 <bp-sym.h> and <bp-asm.h>.
11816 (__strchrnul): Don't use BP_SYM.
11817 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11818 <bp-sym.h> and <bp-asm.h>.
11819 (strlen): Don't use BP_SYM.
11820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11821 <bp-sym.h> and <bp-asm.h>.
11822 (strncmp): Don't use BP_SYM.
11823 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (__strnlen): Don't use BP_SYM.
11826 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11828 (__mpn_rshift): Don't use BP_SYM.
11829 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11830 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11831 <bp-sym.h> and <bp-asm.h>.
11832 (__sigsetjmp): Don't use BP_SYM.
11833 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11834 (L(start_addresses)): Don't use BP_SYM.
11835 (_start): Likewise.
11836 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11838 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11839 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11840 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11841 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11843 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11844 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11845 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11846 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11848 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11850 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11851 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11853 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11855 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11856 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11857 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11859 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11861 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11863 (strncmp): Don't use BP_SYM,
11864 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11866 (__mpn_sub_n): Don't use BP_SYM.
11867 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11868 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11870 (__mpn_submul_1): Don't use BP_SYM.
11871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11880 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11883 Use ZK to minimize writes to Z.
11884 (sub_magnitudes): Simplify code a bit.
11885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11886 Use ZK to minimize writes to Z.
11887 (sub_magnitudes): Simplify code a bit.
11889 2013-02-27 Roland McGrath <roland@hack.frob.com>
11891 * csu/gmon-start.c: Add special exception to license text.
11893 2013-02-27 Richard Henderson <rth@redhat.com>
11895 * scripts/config.guess: Update from config.git.
11896 * scripts/config.sub: Likewise.
11898 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11900 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11902 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11904 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11906 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11908 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11910 2013-02-26 Roland McGrath <roland@hack.frob.com>
11912 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11913 [$(build-shared = yes].
11915 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11917 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11918 (__mul): Reduce iterations for calculating mantissa.
11920 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11922 (__mpranred): Likewise.
11925 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11926 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11928 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11930 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11931 Define __attribute__.
11933 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11935 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11937 * posix/regex_internal.h (__attribute): Remove.
11938 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11939 (re_string_context_at): Likewise.
11940 (bitset_not): Use __attribute__ and mark function as possibly
11942 (bitset_merge): Likewise.
11943 (bitset_mask): Likewise.
11944 (re_string_char_size_at): Likewise.
11945 (re_string_wchar_at): Likewise.
11946 (re_string_elem_size_at): Likewise.
11948 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11954 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11958 (denorm): Likewise.
11959 (__dbl_mp): Likewise.
11960 (add_magnitudes): Likewise.
11961 (sub_magnitudes): Likewise.
11965 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11968 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11971 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11975 up changes with default code.
11976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11979 2013-02-24 Allan McRae <allan@archlinux.org>
11981 * manual/socket.texi (The Internet Namespace): Order menu items
11982 to match that in the file.
11984 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11985 node listing of the info page menu.
11987 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11990 * sysdeps/i386/bp-asm.h: Remove file.
11991 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11992 (PARMS): Do not use macros from bp-asm.h.
11996 (__mpn_add_n): Do not use BP_SYM
11997 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11999 (PARMS): Do not use macros from bp-asm.h.
12002 (__mpn_addmul_1): Do not use BP_SYM
12003 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12005 (PARMS): Do not use macros from bp-asm.h.
12006 (SIGMSK): Likewise.
12007 (_setjmp): Likewise. Do not use BP_SYM.
12008 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12010 (PARMS): Do not use macros from bp-asm.h.
12011 (SIGMSK): Likewise.
12012 (setjmp): Likewise. Do not use BP_SYM.
12013 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12015 (PARMS): Do not use macros from bp-asm.h.
12016 (__frexp): Do not use BP_SYM.
12018 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12020 (PARMS): Do not use macros from bp-asm.h.
12021 (__frexpf): Do not use BP_SYM.
12022 (frexpf): Likewise.
12023 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12025 (PARMS): Do not use macros from bp-asm.h.
12026 (__frexpl): Do not use BP_SYM.
12027 (frexpl): Likewise.
12028 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12030 (PARMS): Do not use macros from bp-asm.h.
12031 (__remquo): Do not use BP_SYM.
12032 (remquo): Likewise.
12033 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12035 (PARMS): Do not use macros from bp-asm.h.
12036 (__remquof): Do not use BP_SYM.
12037 (remquof): Likewise.
12038 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12040 (PARMS): Do not use macros from bp-asm.h.
12041 (__remquol): Do not use BP_SYM.
12042 (remquol): Likewise.
12043 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12045 (PARMS): Do not use macros from bp-asm.h.
12048 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12049 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12051 (PARMS): Do not use macros from bp-asm.h.
12052 (strlen): Do not use BP_SYM.
12053 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12055 (PARMS): Do not use macros from bp-asm.h.
12059 (__mpn_add_n): Do not use BP_SYM.
12060 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12062 (PARMS): Do not use macros from bp-asm.h.
12065 (__mpn_addmul_1): Do not use BP_SYM.
12066 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12069 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12071 (PARMS): Do not use macros from bp-asm.h.
12074 (__mpn_lshift): Do not use BP_SYM.
12075 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12077 (PARMS): Do not use macros from bp-asm.h.
12081 (memcpy): Likewise. Do not use BP_SYM.
12082 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12083 libc_hidden_def and weak_alias.
12084 (mempcpy): Do not use BP_SYM in weak_alias.
12085 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12087 (PARMS): Do not use macros from bp-asm.h.
12090 [!BZERO_P] (CHR): Likewise.
12091 (memset): Likewise. Do not use BP_SYM.
12092 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12094 (PARMS): Do not use macros from bp-asm.h.
12097 (__mpn_mul_1): Do not use BP_SYM.
12098 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12100 (PARMS): Do not use macros from bp-asm.h.
12103 (__mpn_rshift): Do not use BP_SYM.
12104 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12106 (PARMS): Do not use macros from bp-asm.h.
12109 (strchr): Likewise. Do not use BP_SYM.
12110 (index): Do not use BP_SYM in weak_alias.
12111 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12113 (PARMS): Do not use macros from bp-asm.h.
12116 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12117 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12119 (PARMS): Do not use macros from bp-asm.h.
12120 (strlen): Do not use BP_SYM.
12121 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12123 (PARMS): Do not use macros from bp-asm.h.
12127 (__mpn_sub_n): Do not use BP_SYM.
12128 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12130 (PARMS): Do not use macros from bp-asm.h.
12133 (__mpn_submul_1): Do not use BP_SYM.
12134 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12136 (PARMS): Do not use macros from bp-asm.h.
12140 (__mpn_add_n): Do not use BP_SYM.
12141 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12144 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12146 (PARMS): Do not use macros from bp-asm.h.
12149 (memcmp): Do not use BP_SYM.
12150 (bcmp): Do not use BP_SYM in weak_alias.
12151 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12153 (PARMS): Do not use macros from bp-asm.h.
12157 (memcpy): Likewise. Do not use BP_SYM.
12158 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12160 (PARMS): Do not use macros from bp-asm.h.
12164 (memmove): Likewise. Do not use BP_SYM.
12165 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12167 (PARMS): Do not use macros from bp-asm.h.
12171 (__mempcpy): Likewise. Do not use BP_SYM.
12172 (mempcpy): Do not use BP_SYM in weak_alias.
12173 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12175 (PARMS): Do not use macros from bp-asm.h.
12178 [!BZERO_P] (CHR): Likewise.
12179 (memset): Likewise. Do not use BP_SYM.
12180 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12182 (PARMS): Do not use macros from bp-asm.h.
12184 (strcmp): Do not use BP_SYM.
12185 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12187 (PARMS): Do not use macros from bp-asm.h.
12190 [USE_AS_STRTOK_R] (SAVE): Likewise.
12191 (FUNCTION): Likewise. Do not use BP_SYM.
12192 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12194 (strtok_r): Likewise.
12195 (__GI___strtok_r): Likewise.
12196 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12197 (PARMS): Do not use macros from bp-asm.h.
12200 (__mpn_lshift): Do not use BP_SYM.
12201 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12202 (PARMS): Do not use macros from bp-asm.h.
12205 (__memchr): Do not use BP_SYM.
12206 (memchr): Do not use BP_SYM in weak_alias.
12207 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12208 (PARMS): Do not use macros from bp-asm.h.
12211 (memcmp): Do not use BP_SYM.
12212 (bcmp): Do not use BP_SYM in weak_alias.
12213 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12214 (PARMS): Do not use macros from bp-asm.h.
12217 (__mpn_mul_1): Do not use BP_SYM.
12218 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12220 (PARMS): Do not use macros from bp-asm.h.
12223 (__rawmemchr): Do not use BP_SYM.
12224 (rawmemchr): Do not use BP_SYM in weak_alias.
12225 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12229 (__mpn_rshift): Do not use BP_SYM.
12230 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12231 (PARMS): Do not use macros from bp-asm.h.
12232 (SIGMSK): Likewise.
12233 (__sigsetjmp): Likewise. Do not use BP_SYM.
12234 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12235 (_start): Do not use BP_SYM.
12236 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12237 (PARMS): Do not use macros from bp-asm.h.
12240 (__stpcpy): Likewise. Do not use BP_SYM.
12241 (stpcpy): Do not use BP_SYM in weak_alias.
12242 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12244 (PARMS): Do not use macros from bp-asm.h.
12248 (__stpncpy): Likewise. Do not use BP_SYM.
12249 (stpncpy): Do not use BP_SYM in weak_alias.
12250 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12251 (PARMS): Do not use macros from bp-asm.h.
12254 (strchr): Likewise. Do not use BP_SYM.
12255 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12257 (PARMS): Do not use macros from bp-asm.h.
12260 (__strchrnul): Likewise. Do not use BP_SYM.
12261 (strchrnul): Do not use BP_SYM in weak_alias.
12262 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12264 (PARMS): Do not use macros from bp-asm.h.
12266 (strcspn): Do not use BP_SYM.
12267 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12269 (PARMS): Do not use macros from bp-asm.h.
12272 (strpbrk): Likewise. Do not use BP_SYM.
12273 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12275 (PARMS): Do not use macros from bp-asm.h.
12278 (strrchr): Likewise. Do not use BP_SYM.
12279 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12280 (PARMS): Do not use macros from bp-asm.h.
12282 (strspn): Do not use BP_SYM.
12283 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12284 (PARMS): Do not use macros from bp-asm.h.
12288 (FUNCTION): Likewise. Do not use BP_SYM.
12289 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12291 (strtok_r): Likewise.
12292 (__GI___strtok_r): Likewise.
12293 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12294 (PARMS): Do not use macros from bp-asm.h.
12298 (__mpn_sub_n): Do not use BP_SYM.
12299 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12301 (PARMS): Do not use macros from bp-asm.h.
12304 (__mpn_submul_1): Do not use BP_SYM.
12305 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12307 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12309 (PARMS): Do not use macros from bp-asm.h.
12314 (__clone): Do not use BP_SYM.
12315 (clone): Do not use BP_SYM in weak_alias.
12316 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12318 (PARMS): Do not use macros from bp-asm.h.
12320 (__mmap64): Do not use BP_SYM.
12321 (mmap64): Do not use BP_SYM in weak_alias.
12322 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12323 <bp-sym.h> and <bp-asm.h>.
12324 (PARMS): Do not use macros from bp-asm.h.
12325 (__posix_fadvise64_l64): Do not use BP_SYM.
12326 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12327 (PARMS): Do not use macros from bp-asm.h.
12329 (semtimedop): Do not use BP_SYM.
12330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12333 2013-02-21 Allan McRae <allan@archlinux.org>
12335 * manual/message.texi (Charset conversion in gettext):
12336 Move @end statement to beginning of line.
12338 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12345 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12346 (denorm): Likewise.
12347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12350 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12352 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12353 tail-call to the resolved function if pltexit isn't needed.
12355 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12358 or Y being zero as being unlikely.
12359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12362 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12364 * manual/nss.texi (System Databases and Name Service Switch):
12365 Remove frobnicate @pxref.
12367 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12369 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12370 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12372 2013-02-20 Petr Machata <pmachata@redhat.com>
12374 * elf/elf.h (R_ARM_TARGET1): New macro.
12375 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12376 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12377 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12378 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12379 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12380 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12381 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12382 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12383 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12384 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12385 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12386 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12387 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12388 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12389 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12390 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12391 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12392 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12393 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12394 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12395 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12396 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12397 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12398 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12399 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12400 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12401 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12402 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12403 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12404 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12405 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12406 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12407 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12408 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12409 (R_ARM_THM_GOT_BREL12): Likewise.
12410 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12411 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12412 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12413 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12414 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12415 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12416 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12417 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12418 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12420 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12422 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12423 __attribute_used__ to __attribute__ ((unused)).
12425 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12427 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12430 comment formatting.
12431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12433 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12436 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12438 (ENTER): Remove both macro definitions.
12440 (CHECK_BOUNDS_LOW): Likewise.
12441 (CHECK_BOUNDS_HIGH): Likewise.
12442 (CHECK_BOUNDS_BOTH): Likewise.
12443 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12444 (RETURN_BOUNDED_POINTER): Likewise.
12445 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12446 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12447 (POP_ERRNO_LOCATION_RETURN): Likewise.
12448 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12450 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12452 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12453 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12454 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12455 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12456 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12457 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12458 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12459 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12460 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12461 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12462 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12463 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12464 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12465 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12467 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12468 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12470 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12471 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12472 * sysdeps/i386/i586/memset.S (memset): Likewise.
12473 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12474 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12475 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12477 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12478 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12479 Change uses of L(2) to L(out).
12480 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12481 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12482 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12483 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12484 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12486 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12487 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12489 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12490 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12491 (RETURN): Do not use macro LEAVE.
12492 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12493 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12494 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12495 * sysdeps/i386/i686/memset.S (memset): Likewise.
12496 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12497 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12498 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12499 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12501 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12502 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12503 L(1_2) and L(1_3) into L(1).
12504 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12505 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12506 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12507 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12508 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12509 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12510 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12511 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12512 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12514 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12515 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12516 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12517 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12518 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12519 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12520 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12521 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12522 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12523 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12524 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12525 * sysdeps/i386/strspn.S (strspn): Likewise.
12526 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12528 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12529 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12530 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12531 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12532 L(1_3) into L(1_1).
12533 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12534 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12535 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12537 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12539 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12541 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12544 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12546 * math/atest-exp.c (exp_mpn): Remove ROUND.
12547 * math/atest-exp2.c (exp_mpn): Likewise.
12548 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12550 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12551 * stdlib/tst-tls-atexit-lib.c: Likewise.
12552 * stdlib/tst-tls-atexit.c: Likewise.
12554 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12556 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12557 and __attribute_alloc_size__.
12559 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12561 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12562 __attribute_alloc_size__.
12563 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12564 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12566 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12568 * include/programs/xmalloc.h: New file.
12569 * catgets/gencat.c: Include it.
12570 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12571 * elf/pldd.c: Likewise.
12572 * iconv/iconv_charmap.c: Likewise.
12573 * iconv/iconvconfig.c: Likewise.
12574 * iconv/strtab.c: Likewise.
12575 * locale/programs/locale.c: Likewise.
12576 * locale/programs/localedef.h: Likewise.
12577 * locale/programs/simple-hash.c: Likewise.
12578 * nscd/nscd.h: Likewise.
12579 * nss/makedb.c: Likewise.
12580 * sysdeps/generic/ldconfig.h: Likewise.
12582 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12584 * Versions.def: Add GLIBC_2.18.
12585 * include/link.h (struct link_map): New member l_tls_dtor_count.
12586 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12587 (__call_tls_dtors): Likewise.
12588 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12589 __cxa_thread_atexit_impl.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12606 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12607 (tests): Add test case tst-tls-atexit.
12608 (modules-names): Add shared library for tst-tls-atexit.
12609 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12610 (GLIBC_PRIVATE): Add __call_tls_dtors.
12611 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12613 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12614 * stdlib/tst-tls-atexit.c: New test case.
12615 * stdlib/tst-tls-atexit-lib.c: New test case.
12617 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12619 * elf/Versions (ld): Add _dl_find_dso_for_object.
12620 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12621 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12622 (dl_open_worker): Use _dl_find_dso_for_object.
12623 * elf/dl-sym.c (do_sym): Likewise.
12624 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12626 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12628 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12629 Syntactic changes only.
12630 (_dl_runtime_profile): Do a tail-call to the resolved function.
12632 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12635 * sysdeps/x86_64/bp-asm.h: Remove file.
12636 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12637 <bp-sym.h> and <bp-asm.h>.
12638 (__clone): Do not use BP_SYM.
12639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12640 <bp-sym.h> and <bp-asm.h>.
12641 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12642 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12644 (_setjmp): Do not use BP_SYM.
12645 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12647 (setjmp): Do not use BP_SYM.
12648 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12650 (mempcpy): Do not use BP_SYM in weak_alias.
12651 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12653 (strchr): Do not use BP_SYM.
12654 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12656 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12657 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12658 (_start): Do not use BP_SYM.
12659 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12661 (strcat): Do not use BP_SYM.
12662 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12664 (STRCMP): Do not use BP_SYM.
12665 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12667 (STRCPY): Do not use BP_SYM.
12668 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12670 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12672 (FUNCTION): Do not use BP_SYM.
12673 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12675 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12677 2013-02-17 Andreas Jaeger <aj@suse.de>
12679 * time/Versions: Sort entries.
12680 * string/Versions: Likewise.
12681 * resolv/Versions: Likewise.
12682 * posix/Versions: Likewise.
12683 * iconv/Versions: Likewise.
12684 * elf/Versions: Likewise.
12685 * wcsmbs/Versions: Likewise.
12687 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12689 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12690 loop termination condition.
12692 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12693 variable to calculate EZ.
12696 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12697 the lower precision input.
12699 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12702 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12703 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12704 (run-via-rtld-prefix): Do not handle %-bp tests.
12705 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12706 (all-object-suffixes): Remove .ob.
12707 (bppfx): Remove variable.
12708 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12709 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12710 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12711 [$(build-bounded) = yes] (libtype.ob): Likewise.
12712 * Makerules (elide-routines.ob): Remove variable.
12713 (do-tests-clean): Do not handle *-bp.out.
12714 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12715 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12716 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12717 (tests): Do not include $(tests-bp.out).
12718 (xtests): Do not include $(xtests-bp.out).
12719 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12720 [$(build-bounded) = yes] ($(addprefix
12721 $(objpfx),$(binaries-bounded))): Remove rule.
12722 ($(objpfx)%-bp.out): Remove rule.
12723 * config.make.in (build-bounded): Remove variable.
12724 * crypt/Makefile [$(build-bounded) = yes]
12725 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12726 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12727 append to variable.
12728 [$(build-bounded) = yes] (install-lib): Likewise.
12729 [$(build-bounded) = yes] (generated): Likewise.
12730 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12732 * intl/Makefile [$(build-bounded) = yes]
12733 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12734 * math/Makefile [$(build-bounded) = yes]
12735 ($(tests:%=$(objpfx)%-bp): Likewise.
12736 * misc/Makefile [$(build-bounded) = yes]
12737 ($(objpfx)tst-tsearch-bp): Likewise.
12738 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12739 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12741 * string/Makefile (o-objects.ob): Remove variable.
12742 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12743 (CFLAGS-.ob): Remove variable.
12744 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12745 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12746 both definitions of variable.
12747 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12748 (ASFLAGS-.ob): Remove variable.
12750 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12753 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12754 Remove __BOUNDED_POINTERS__ from condition.
12755 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12756 * string/bits/string2.h [!__NO_STRING_INLINES &&
12757 !__BOUNDED_POINTERS__]: Likewise.
12758 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12760 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12761 Remove conditional code.
12762 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12763 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12764 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12768 * csu/libc-start.c: Do not include <bp-sym.h>.
12769 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12770 * elf/dl-open.c: Do not include <bp-sym.h>.
12771 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12772 * math/fegetenv.c: Do not include <bp-sym.h>.
12773 (fegetenv): Do not use BP_SYM in versioned symbols.
12774 * nptl/sysdeps/pthread/bits/libc-lockP.h
12775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12778 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12780 (__pthread_mutex_destroy): Likewise.
12781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12782 (__pthread_mutex_lock): Likewise.
12783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12784 (__pthread_mutex_trylock): Likewise.
12785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12786 (__pthread_mutex_unlock): Likewise.
12787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12788 (__pthread_mutexattr_init): Likewise.
12789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12790 (__pthread_mutexattr_destroy): Likewise.
12791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12792 (__pthread_mutexattr_settype): Likewise.
12793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12794 (__pthread_rwlock_init): Likewise.
12795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12796 (__pthread_rwlock_destroy): Likewise.
12797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12798 (__pthread_rwlock_rdlock): Likewise.
12799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12800 (__pthread_rwlock_tryrdlock): Likewise.
12801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12802 (__pthread_rwlock_wrlock): Likewise.
12803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12804 (__pthread_rwlock_trywrlock): Likewise.
12805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12806 (__pthread_rwlock_unlock): Likewise.
12807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12808 (__pthread_key_create): Likewise.
12809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12810 (__pthread_setspecific): Likewise.
12811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12812 (__pthread_getspecific): Likewise.
12813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12816 (_pthread_cleanup_push_defer): Likewise.
12817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12818 (_pthread_cleanup_pop_restore): Likewise.
12819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12820 (pthread_setcancelstate): Likewise.
12821 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12823 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12824 (memchr): Do not use BP_SYM in weak_alias.
12825 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12826 (fegetenv): Do not use BP_SYM in versioned symbols.
12827 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12828 (fesetenv): Do not use BP_SYM in versioned symbols.
12829 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12830 (feupdateenv): Do not use BP_SYM in versioned symbols.
12831 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12832 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12833 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12834 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12835 (open64): Do not use BP_SYM in weak_alias.
12836 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12837 (fegetenv): Do not use BP_SYM in versioned symbols.
12838 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12839 (fesetenv): Do not use BP_SYM in versioned symbols.
12840 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12841 (feupdateenv): Do not use BP_SYM in versioned symbols.
12842 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12843 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12844 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12845 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12846 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12847 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12848 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12850 (__libc_start_main): Do not use BP_SYM.
12852 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12855 redundant return line.
12857 (denorm): Likewise.
12858 (dbl_mp): Likewise.
12859 (sub_magnitudes): Likewise.
12865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12867 (denorm): Likewise.
12868 (dbl_mp): Likewise.
12869 (sub_magnitudes): Likewise.
12876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12879 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12882 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12883 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12885 of __mul for squares.
12886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12890 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12893 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12896 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12898 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12899 prototype or function definition. Rename ubp_* variables and
12900 parameters. Remove argv definitions conditional on
12901 [__BOUNDED_POINTERS__].
12902 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12903 * elf/dl-runtime.c (_dl_fixup): Likewise.
12904 * include/set-hooks.h (RUN_HOOK): Likewise.
12905 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12907 * string/strcpy.c (strcpy): Do not use __unbounded.
12908 * sysdeps/generic/frame.h (struct layout): Likewise.
12909 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12910 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12911 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12912 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12913 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12914 (__backtrace): Likewise.
12915 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12917 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12918 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12919 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12921 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12922 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12923 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12925 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12926 Do not use __unbounded.
12927 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12928 Rename __unboundedrlimits parameter to rlimits in prototype.
12929 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12930 Do not use __unbounded.
12931 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12932 not use __ptrvalue.
12933 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12934 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12935 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12936 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12937 __ptrvalue or __unbounded.
12938 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12939 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12941 (__new_msgctl): Do not use __ptrvalue.
12942 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12944 (__libc_msgrcv): Do not use __ptrvalue.
12945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12946 startup_info): Do not use __unbounded.
12947 (__libc_start_main): Likewise. Rename ubp_* variables and
12948 parameters. Remove argv definitions conditional on
12949 [__BOUNDED_POINTERS__].
12950 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12952 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12954 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12956 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12958 (__new_shmctl): Do not use __ptrvalue.
12959 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12960 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12962 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12964 (__libc_sigaction): Likewise.
12965 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12966 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12968 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12970 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12972 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12974 * string/mempcpy.c: Implement by calling memcpy.
12976 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12984 values in the mantissa.
12986 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12987 minimize writes to Z.
12988 (sub_magnitudes): Simplify code a bit.
12990 2013-02-12 Roland McGrath <roland@hack.frob.com>
12992 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12993 from the message. The linker prefixes all warnings with that already.
12995 2013-02-12 Andreas Schwab <schwab@suse.de>
12998 * posix/regexec.c (extend_buffers): Add parameter min_len.
12999 (check_matching): Pass minimum needed length.
13000 (clean_state_log_if_needed): Likewise.
13001 (get_subexp): Likewise.
13002 * posix/Makefile (tests): Add bug-regex34.
13003 (bug-regex34-ENV): Define.
13004 * posix/bug-regex34.c: New file.
13007 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13008 elements compare against the byte sequence of it, not its name.
13009 * posix/Makefile (tests): Add bug-regex35.
13010 (bug-regex35-ENV): Define.
13011 * posix/bug-regex35.c: New file.
13013 2013-02-11 Tom de Vries <tom@codesourcery.com>
13015 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13017 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13018 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13019 (CHECK_EOL): Add undef.
13021 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13023 * bits/stdlib-bsearch.h: New file.
13024 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13025 * stdlib/stdlib.h: Likewise.
13027 2013-02-11 Roland McGrath <roland@hack.frob.com>
13029 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13030 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13032 * manual/search.texi (Array Search Function): Add missing const in
13034 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13035 declaration to use rlim_t.
13036 (Basic Scheduling Functions): Remove erroneous const from
13037 sched_getparam prototype. Remove erroneous * from
13038 sched_get_priority_max and sched_get_priority_min prototypes.
13039 (Resource Usage): Fix summary @comment on vtimes to refer to
13040 sys/vtimes.h rather than vtimes.h.
13041 Add missing *s in vtimes prototype.
13042 (Limits on Resources): Fix ulimit prototype to return long int.
13043 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13044 prototypes to use long int rather than double.
13045 (BSD Random): Fix initstate and setstate to use char *, not void *.
13046 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13047 prototype to make second argument 'struct aiocb64 *const[]'.
13048 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13049 (Status of AIO Operations): Remove erroneous const in aio_return and
13050 aio_return64 prototypes.
13051 (Synchronizing I/O): Fix sync prototype to return void.
13052 * manual/startup.texi (Suboptions): Remove an erroneous const in
13053 getsubopt prototype.
13054 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13055 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13056 use size_t rather than int.
13057 (Scanning All Users): Likewise for getpwent_r.
13058 (Setting Groups): Add missing const to setgroups prototype.
13059 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13060 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13061 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13062 'const void *' rather than 'const char *'.
13063 (Host Address Functions): Likewise for inet_ntop.
13064 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13065 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13066 ssize_t for return value.
13067 (Sending Data): Likewise for send, sendto, sendmsg.
13068 (Socket Option Functions): Add a missing const in setsockopt prototype.
13069 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13070 use wchar_t for the argument.
13071 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13072 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13074 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13075 double/float/long double for second argument.
13076 Fix return types of significand, significandf, significandl.
13077 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13078 argument in fchmod prototype.
13079 (File Owner): Use uid_t and gid_t in fchown prototype.
13080 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13081 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13082 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13083 use 'const struct dirent **' as argument types to CMP function pointer
13085 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13086 (File Times): Fix summary magic @comment for struct utimbuf and utime
13087 to refer to utime.h, not time.h.
13088 * manual/string.texi (Argz Functions): Add missing const in
13089 argz_extract and argz_next prototypes.
13090 (Finding Tokens in a String): Likewise for basename.
13091 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13092 (Copying and Concatenation): Fix typo in wmemmove prototype.
13093 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13094 (Signal Stack): Remove erroneous const in sigstack prototype.
13095 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13097 (Simple Calendar Time): Likewise for stime.
13098 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13100 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13101 say sys/sysctl.h instead.
13102 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13103 and vsyslog prototypes.
13105 2013-02-11 Tom de Vries <tom@codesourcery.com>
13107 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13110 2013-02-11 Roland McGrath <roland@hack.frob.com>
13112 * misc/sys/mman.h: Fix typo in mremap comment.
13114 2013-02-08 Roland McGrath <roland@hack.frob.com>
13116 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13117 the '\0' terminator.
13119 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13122 * debug/segfault.c: Don't include <bp-checks.h>.
13123 * sysdeps/generic/bp-checks.h: Remove file.
13124 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13125 (__GETDENTS): Don't use CHECK_N.
13126 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13127 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13128 (__getgroups): Don't use CHECK_N.
13129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13130 (setgroups): Don't use CHECK_N.
13131 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13132 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13133 (__libc_msgrcv): Don't use CHECK_N.
13134 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13135 (__libc_msgsnd): Don't use CHECK_N.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13138 (__libc_pread): Don't use CHECK_N.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13140 include <bp-checks.h>.
13141 (__libc_pread64): Don't use CHECK_N.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13143 include <bp-checks.h>.
13144 (__libc_pwrite): Don't use CHECK_N.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13146 include <bp-checks.h>.
13147 (__libc_pwrite64): Don't use CHECK_N.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13150 (__libc_pread): Don't use CHECK_N.
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13152 include <bp-checks.h>.
13153 (__libc_pread64): Don't use CHECK_N.
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13155 include <bp-checks.h>.
13156 (__libc_pwrite): Don't use CHECK_N.
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13158 include <bp-checks.h>.
13159 (__libc_pwrite64): Don't use CHECK_N.
13160 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13161 (do_pread): Don't use CHECK_N.
13162 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13163 (do_pread64): Don't use CHECK_N.
13164 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13165 (do_pwrite): Don't use CHECK_N.
13166 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13167 (do_pwrite64): Don't use CHECK_N.
13168 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13169 (__libc_readv): Don't use CHECK_N.
13170 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13171 (semop): Don't use CHECK_N.
13172 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13174 (semtimedop): Don't use CHECK_N.
13175 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13176 (__libc_pread): Don't use CHECK_N.
13177 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13179 (__libc_pread64): Don't use CHECK_N.
13180 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13182 (__libc_pwrite): Don't use CHECK_N.
13183 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13185 (__libc_pwrite64): Don't use CHECK_N.
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13188 (__libc_msgrcv): Don't use CHECK_N.
13189 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13190 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13191 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13192 (__libc_writev): Don't use CHECK_N.
13194 2013-02-08 Roland McGrath <roland@hack.frob.com>
13196 * string/strcpy.c: Removed unused variable.
13198 * Makeconfig (+sysdep-includes): Define with := rather than =.
13199 Use an existing include/ subdir of each sysdeps dir before it.
13201 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13203 * nscd/connection.c (register_traced_file): Comment function.
13204 [HAVE_INOTIFY] (union __inev): Define.
13205 [HAVE_INOTIFY] (inotify_check_files): New function.
13206 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13207 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13209 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13211 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13213 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13214 loaded if not already and that a failure is permanent.
13216 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13219 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13220 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13222 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13225 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13226 (CHECK_1_NULL_OK): Likewise.
13227 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13228 (__fxstat): Do not use CHECK_1.
13229 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13231 (___fxstat64): Do not use CHECK_1.
13232 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13234 (__fxstatat): Do not use CHECK_1.
13235 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13237 (__fxstatat64): Do not use CHECK_1.
13238 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13240 (__fxstat): Do not use CHECK_1.
13241 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13243 (__fxstatat): Do not use CHECK_1.
13244 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13246 (__getresgid): Do not use CHECK_1.
13247 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13249 (__getresuid): Do not use CHECK_1.
13250 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13252 (__lxstat): Do not use CHECK_1.
13253 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13255 (__old_msgctl): Do not use CHECK_1.
13256 (__new_msgctl): Likewise.
13257 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13259 (__new_setrlimit): Do not use CHECK_1.
13260 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13262 (__old_shmctl): Do not use CHECK_1.
13263 (__new_shmctl): Likewise.
13264 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13266 (__xstat): Do not use CHECK_1.
13267 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13268 (__lxstat): Do not use CHECK_1.
13269 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13271 (___lxstat64): Do not use CHECK_1.
13272 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13273 (__old_msgctl): Do not use CHECK_1.
13274 (__new_msgctl): Likewise.
13275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13277 (__gettimeofday): Do not use CHECK_1.
13278 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13279 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13280 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13282 (__gettimeofday): Do not use CHECK_1.
13283 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13284 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13285 (__new_shmctl): Do not use CHECK_1.
13286 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13288 (do_sigtimedwait): Do not use CHECK_1.
13289 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13291 (do_sigwaitinfo): Do not use CHECK_1.
13292 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13294 (msgctl): Do not use CHECK_1.
13295 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13297 (shmctl): Do not use CHECK_1.
13298 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13299 (ustat): Do not use CHECK_1.
13300 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13302 (__fxstat): Do not use CHECK_1.
13303 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13305 (__fxstatat): Do not use CHECK_1.
13306 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13308 (__lxstat): Do not use CHECK_1.
13309 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13311 (__xstat): Do not use CHECK_1.
13312 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13313 (__xstat): Do not use CHECK_1.
13314 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13315 (___xstat64): Do not use CHECK_1.
13318 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13320 (CHECK_BOUNDS_HIGH): Likewise.
13321 * string/strcpy.c: Do not include <bp-checks.h>.
13322 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13324 2013-02-07 Roland McGrath <roland@hack.frob.com>
13326 * nscd/nscd-client.h (__nscd_drop_map_ref):
13327 Add __attribute__ ((unused)).
13328 * nis/nss-nisplus.h (niserr2nss): Likewise.
13330 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13331 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13333 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13334 Remove inline keyword.
13335 * include/rounding-mode.h (round_away): Likewise.
13336 * libio/wfileops.c (adjust_wide_data): Likewise.
13337 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13338 (__m128i_strloadu_tolower): Likewise.
13339 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13340 (__m128i_strloadu_tolower): Likewise.
13341 * time/mktime.c (ydhms_diff): Likewise.
13342 * locale/elem-hash.h (elem_hash): Likewise.
13343 * locale/setlocale.c (setdata): Likewise.
13344 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13345 (re_string_wchar_at): Likewise.
13346 (bitset_not, bitset_merge, bitset_mask): Likewise.
13347 [!(__GNUC__ > 3)] (inline): Remove macro.
13348 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13349 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13350 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13351 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13352 * string/memcmp.c (memcmp_bytes): Likewise.
13353 * locale/programs/locarchive.c (compute_hashval): Likewise.
13354 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13355 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13356 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13357 * nss/getent.c (print_rpc, print_protocols): Likewise.
13358 (print_passwd, print_group, print_aliases): Likewise.
13359 * nis/nss-nisplus.h (niserr2nss): Likewise.
13360 * nscd/connections.c (restart_p): Likewise.
13361 Change return type to bool.
13363 2013-02-05 Roland McGrath <roland@hack.frob.com>
13365 * Makeconfig (all-Depend-files): Add existing
13366 $(sorted-subdirs:=/Depend) files.
13367 (all-subdirs): Remove nss.
13368 * sysdeps/unix/inet/Subdirs: Add it here instead.
13369 * hesiod/Depend: New file.
13371 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13372 instead of calling alloca.
13374 * io/lseek.c (__lseek): Rename to __libc_lseek.
13375 Define __lseek as an alias.
13377 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13379 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13381 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13382 else clause and remove check for non-standard endianness.
13384 2013-02-04 David S. Miller <davem@davemloft.net>
13386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13388 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13391 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13392 (__ubp_memchr): Remove prototype.
13393 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13394 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13395 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13396 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13397 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13399 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13400 (__ubp_memchr): Likewise.
13401 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13402 (__ubp_memchr): Likewise.
13403 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13404 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13405 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13406 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13408 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13409 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13410 (__getcwd): Do not use CHECK_STRING.
13411 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13413 (__real_chown): Do not use CHECK_STRING.
13414 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13416 (fchownat): Do not use CHECK_STRING.
13417 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13419 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13421 (__lchown): Do not use CHECK_STRING.
13422 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13423 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13424 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13425 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13427 include <bp-checks.h>.
13428 (truncate64): Do not use CHECK_STRING.
13429 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13431 (__real_chown): Do not use CHECK_STRING.
13432 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13434 (__lchown): Do not use CHECK_STRING.
13435 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13437 (__chown): Do not use CHECK_STRING.
13438 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13440 (truncate64): Do not use CHECK_STRING.
13441 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13443 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13444 (__xmknod): Do not use CHECK_STRING.
13445 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13447 (__xmknodat): Do not use CHECK_STRING.
13448 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13449 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13451 2013-02-04 Andreas Schwab <schwab@suse.de>
13454 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13455 * include/netdb.h: Likewise for h_errno.
13456 * elf/tst-stackguard1.c: Include <tls.h>.
13458 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13460 * elf/link.h (struct link_map): Extend the l_addr comment.
13461 * include/link.h (struct link_map): Likewise.
13463 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13466 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13467 (BOUNDED_1): Remove macro.
13468 * debug/backtrace.c: Don't include <bp-checks.h>.
13469 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13470 (__backtrace): Likewise.
13471 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13473 (__backtrace): Don't use BOUNDED_1.
13474 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13476 (__backtrace): Don't use BOUNDED_1.
13477 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13478 (__backtrace): Don't use BOUNDED_1.
13479 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13480 (shmat): Don't use BOUNDED_N.
13482 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13485 * sysdeps/generic/bp-start.h: Remove file.
13486 * csu/libc-start.c: Don't include <bp-start.h>.
13487 (LIBC_START_MAIN): Set up __environ directly instead of using
13488 INIT_ARGV_and_ENVIRON.
13489 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13493 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13495 (CHECK_FCNTL): Likewise.
13496 (CHECK_N_PAGES): Likewise.
13499 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13501 (CHECK_SIGSET_NULL_OK): Likewise.
13502 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13504 (sigpending): Don't use CHECK_SIGSET.
13505 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13507 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13508 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13510 (do_sigsuspend): Don't use CHECK_SIGSET.
13511 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13513 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13514 (do_sigwait): Don't use CHECK_SIGSET.
13515 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13517 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13518 include <bp-checks.h>.
13519 (sigpending): Don't use CHECK_SIGSET.
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13521 include <bp-checks.h>.
13522 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13523 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13525 (sigpending): Don't use CHECK_SIGSET.
13526 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13528 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13531 * sysdeps/generic/bp-semctl.h: Remove file.
13532 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13533 <bp-checks.h> and <bp-semctl.h>.
13534 (__old_semctl): Don't use CHECK_SEMCTL.
13535 (__new_semctl): Likewise.
13536 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13538 (__old_semctl): Don't use CHECK_SEMCTL.
13539 (__new_semctl): Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13541 <bp-checks.h> and <bp-semctl.h>.
13542 (__old_semctl): Don't use CHECK_SEMCTL.
13543 (__new_semctl): Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13545 <bp-checks.h> and <bp-semctl.h>.
13546 (semctl): Don't use CHECK_SEMCTL.
13549 * Makerules (elide-bp-thunks): Remove variable.
13550 (elide-routines.oS): Don't use $(elide-bp-thunks).
13551 (elide-routines.os): Likewise.
13552 (elide-routines.o): Likewise.
13553 (elide-routines.op): Likewise.
13554 (elide-routines.og): Likewise.
13555 (objects): Don't use $(bp-thunks).
13556 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13558 (common-generated): Do not add s-proto-bp.d.
13559 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13562 Do not generate makefile rules for bounded-pointer thunks.
13563 * sysdeps/generic/bp-thunks.h: Remove file.
13564 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13565 * sysdeps/unix/s-proto-bp.S: Likewise.
13568 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13569 parts of result separately when argument is not close to line from
13570 -i to i and one part of argument is small.
13571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13573 * math/libm-test.inc (cacos_test): Add more tests.
13574 (casin_test): Likewise.
13575 (casinh_test): Likewise.
13576 * sysdeps/i386/fpu/libm-test-ulps: Update.
13577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13579 2013-01-31 David S. Miller <davem@davemloft.net>
13581 * po/de.po: Update from translation team.
13583 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13585 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13587 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13589 * configure.in (_AC_PROG_CC_C89): New definition.
13590 * configure: Regenerate.
13592 * configure.in (AC_PROG_CPP): New definition.
13593 * configure: Regenerate.
13595 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13597 * debug/tst-backtrace.h: New file.
13598 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13599 (ret): Remove variable.
13601 (FAIL): Remove macro.
13602 (NO_INLINE): Likewise.
13603 (fn1): Use match function instead of strstr.
13604 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13605 (ret): Remove variable.
13607 (FAIL): Remove macro.
13608 (NO_INLINE): Likewise.
13609 (fn): Use match function instead of strstr.
13610 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13611 (ret): Remove variable.
13613 (FAIL): Remove macro.
13614 (NO_INLINE): Likewise.
13615 (handle_signal): Use match function instead of strstr.
13616 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13617 (ret): Remove variable.
13619 (FAIL): Remove macro.
13620 (NO_INLINE): Likewise.
13621 (handle_signal): Use match function instead of strstr.
13623 2013-01-23 Roland McGrath <roland@hack.frob.com>
13625 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13627 2013-01-23 David S. Miller <davem@davemloft.net>
13629 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13630 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13631 argument of CAS if possible.
13632 * sysdeps/sparc/sparc64/bits/atomic.h
13633 (__arch_compare_and_exchange_val_32_acq): Likewise.
13634 (__arch_compare_and_exchange_val_64_acq): Likewise.
13636 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13638 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13639 * sysdeps/posix/ulimit.c: ... this.
13640 Include <limits.h>.
13641 * sysdeps/unix/bsd/ulimit.c: Remove file.
13643 2013-01-23 Adam Conrad <adconrad@0c3.net>
13645 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13646 (LDFLAGS-tst-array5): Likewise.
13648 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13651 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13652 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13653 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13654 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13656 2013-01-21 David S. Miller <davem@davemloft.net>
13658 * sysdeps/sparc/backtrace.c: New file.
13659 * sysdeps/sparc/sparc32/backtrace.h: New file.
13660 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13661 * sysdeps/sparc/sparc64/backtrace.h: New file.
13662 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13663 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13666 2013-01-21 Andreas Schwab <schwab@suse.de>
13669 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13672 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13678 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13679 Mark Mitchell <mark@codesourcery.com>
13680 Tom de Vries <tom@codesourcery.com>
13681 Paul Pluzhnikov <ppluzhnikov@google.com>
13683 * debug/tst-backtrace2.c: New file.
13684 * debug/tst-backtrace3.c: Likewise.
13685 * debug/tst-backtrace4.c: Likewise.
13686 * debug/tst-backtrace5.c: Likewise.
13687 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13688 (CFLAGS-tst-backtrace3.c): Likewise.
13689 (CFLAGS-tst-backtrace4.c): Likewise.
13690 (CFLAGS-tst-backtrace5.c): Likewise.
13691 (LDFLAGS-tst-backtrace2): Likewise.
13692 (LDFLAGS-tst-backtrace3): Likewise.
13693 (LDFLAGS-tst-backtrace4): Likewise.
13694 (LDFLAGS-tst-backtrace5): Likewise.
13695 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13696 tst-backtrace4 and tst-backtrace5.
13698 2013-01-18 Anton Blanchard <anton@samba.org>
13699 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13701 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13702 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13703 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13704 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13706 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13707 "+r" and remove output regs list as redundant. Add explicit inline
13708 asm to specify register of return val to work around compiler codegen
13709 bug. Remove (int) cast on return value. Add return type parameter to
13710 use in macro so that this macro does not truncate return value for
13712 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13713 pass to INTERNAL_VSYSCALL_NCS.
13714 (INLINE_VSYSCALL): Add 'long int' as return type to
13715 INTERNAL_VSYSCALL_NCS macro invocation.
13716 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13717 INTERNAL_VSYSCALL_NCS macro invocation.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13720 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13723 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13724 Fix application of SIMD FP exception mask.
13726 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13727 mp_no from a power of two.
13728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13729 __mpexp_twomm1. Use __pow_mp.
13731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13734 2013-01-17 David S. Miller <davem@davemloft.net>
13736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13738 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13741 * include/complex.h: Condition contents on [!_COMPLEX_H].
13742 (__kernel_casinhf): New prototype.
13743 (__kernel_casinh): Likewise.
13744 (__kernel_casinhl): Likewise.
13745 * math/Makefile (libm_calls): Add k_casinh.
13746 * math/k_casinh.c: New file.
13747 * math/k_casinhf.c: Likewise.
13748 * math/k_casinhl.c: Likewise.
13749 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13750 finite nonzero arguments.
13751 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13752 finite nonzero arguments.
13753 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13754 finite nonzero arguments.
13755 * math/s_casinh.c: Do not include <float.h>.
13756 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13757 * math/s_casinhf.c: Do not include <float.h>.
13758 (__casinhf): Move code for finite nonzero arguments to
13760 * math/s_casinhl.c: Do not include <float.h>.
13761 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13763 (__casinhl): Move code for finite nonzero arguments to
13765 * math/libm-test.inc (cacos_test): Add more tests.
13766 * sysdeps/i386/fpu/libm-test-ulps: Update.
13767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13771 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13772 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13773 [!HAVE_MREMAP]: Remove [defined linux] case.
13774 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13776 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13778 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13780 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13782 * elf/elf.h (R_386_SIZE32): New relocation.
13783 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13785 (elf_machine_rela): Likewise.
13786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13787 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13789 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13791 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13792 (FP_FAST_FMA): Do not define.
13793 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13794 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13795 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13796 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13797 !_SOFT_FLOAT]: Likewise.
13798 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13801 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13802 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13803 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13805 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13806 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13809 2013-01-16 Andreas Schwab <schwab@suse.de>
13812 * include/stdlib.h (__mktemp): Add declaration.
13813 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13814 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13816 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13818 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13820 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13821 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13822 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13824 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13825 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13827 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13829 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13830 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13831 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13833 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13834 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13836 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13838 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13840 2013-01-15 David S. Miller <davem@davemloft.net>
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13843 trunc{,f} to libm-sysdep_routes.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13858 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13862 nearbyint{,f} to libm-sysdep_routes.
13863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13874 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13876 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13880 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13881 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13883 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13884 libc_feholdexcept and libc_fesetenv.
13886 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13888 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13890 2013-01-14 David S. Miller <davem@davemloft.net>
13892 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13893 (SPARC_ASM_VIS2_IFUNC): Likewise.
13894 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13896 use of 'siam' instruction.
13897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13930 routines to libm-sysdep_routines.
13931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13934 fdim/fdimf to libm-sysdep_routines.
13935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13943 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13944 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13945 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13946 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13948 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13950 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13951 to optimize copies.
13953 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13958 local variable MPTWO.
13959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13962 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13964 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13967 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13969 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13971 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13973 * manual/pattern.texi (glob_t): Document gl_flags.
13974 (glob64_t): Likewise.
13976 2013-01-11 David S. Miller <davem@davemloft.net>
13978 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13979 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13980 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13981 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13982 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13983 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13984 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13985 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13986 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13987 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13988 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13989 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13990 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13992 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13993 sparc V9 rather than using V8 code.
13994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13999 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14002 2013-01-11 Roland McGrath <roland@hack.frob.com>
14004 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14005 not in the main loop.
14006 * configure: Regenerated.
14008 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14010 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14011 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14013 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14014 [!__GLIBC_HAVE_LONG_LONG] case.
14015 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14016 condition to just #else.
14017 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14018 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14019 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14020 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14022 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14023 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14024 #elif condition to just #else.
14025 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14026 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14027 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14028 #elif condition to just #else.
14030 2013-01-11 Steve Ellcey <sellcey@mips.com>
14032 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14033 (EF_MIPS_ARCH_64): Fix value.
14034 (EF_MIPS_ARCH_32R2): New.
14035 (EF_MIPS_ARCH_64R2): New.
14037 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14039 * Makeconfig (+link-pie-before-libc): New.
14040 (+link-pie-after-libc): Likewise.
14041 (+link-pie-tests): Likewise.
14042 (+link-pie): Rewritten.
14043 (link-before-libc): Remove $(config-LDFLAGS).
14044 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14045 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14046 (config-LDFLAGS): Renamed to ...
14047 (rtld-LDFLAGS): This.
14048 (rtld-tests-LDFLAGS): New macro.
14049 (link-libc-rpath-link): Likewise.
14050 (link-libc-tests-rpath-link): Likewise.
14051 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14052 (link-libc): Prepand $(link-libc-rpath-link).
14053 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14054 (test-program-prefix): New macro.
14055 (test-via-rtld-prefix): Likewise.
14056 (test-program-cmd): Likewise.
14057 (host-test-program-cmd): Likewise.
14058 * Makefile ($(common-objpfx)testrun.sh): Replace
14059 $(run-program-prefix) with $(test-program-prefix).
14060 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14062 ($(common-objpfx)shlib.lds): Likewise.
14063 (build-module-helper): Likewise.
14064 ($(common-objpfx)format.lds): Likewise.
14065 * Rules (binaries-pie-tests): New.
14066 (binaries-pie-notests): Likewise.
14067 (binaries-pie): Rewritten.
14068 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14069 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14070 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14071 (make-test-out): Replace $(host-built-program-cmd) with
14072 $(host-test-program-cmd).
14073 * config.make.in (build-hardcoded-path-in-tests): New variable.
14074 * configure.in (--enable-hardcoded-path-in-tests): New configure
14076 (hardcoded_path_in_tests): New AC_SUBST.
14077 * configure: Regenerated.
14078 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14079 $(built-program-cmd) with $(test-program-cmd).
14080 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14081 (test_program_cmd): This.
14082 * elf/Makefile ($(objpfx)order.out): Run test with
14083 $(test-program-prefix).
14084 ($(objpfx)order2.out): Likewise.
14085 ($(objpfx)tst-initorder.out): Likewise.
14086 ($(objpfx)tst-initorder2.out): Likewise.
14087 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14088 $(test-program-cmd).
14089 ($(objpfx)tst-array1-static.out): Likewise.
14090 ($(objpfx)tst-array2.out): Likewise.
14091 ($(objpfx)tst-array3.out): Likewise.
14092 ($(objpfx)tst-array4.out): Likewise.
14093 ($(objpfx)tst-array5.out): Likewise.
14094 ($(objpfx)tst-array5-static.out): Likewise.
14095 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14096 $(test-program-cmd).
14097 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14098 $(run-program-prefix) with $(test-program-prefix).
14099 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14100 (test_program_prefix): This.
14101 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14102 $(run-program-prefix) with $(test-program-prefix).
14103 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14104 (test_program_prefix): This.
14105 * iconvdata/tst-tables.sh: Likewise.
14106 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14107 $(run-program-prefix) with $(test-program-prefix).
14108 ($(objpfx)tst-translit.out): Likewise.
14109 ($(objpfx)tst-gettext2.out): Likewise.
14110 ($(objpfx)tst-gettext4.out): Likewise.
14111 ($(objpfx)tst-gettext6.out): Likewise.
14112 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14113 (test_program_prefix): This.
14114 * intl/tst-gettext2.sh: Likewise.
14115 * intl/tst-gettext4.sh Likewise.
14116 * intl/tst-gettext6.sh: Likewise.
14117 * intl/tst-translit.sh: Likewise.
14118 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14119 with $(test-program-cmd).
14120 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14121 $(run-program-prefix) with $(test-program-prefix).
14122 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14123 (test_program_prefix): This.
14124 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14125 $(run-program-prefix) with $(test-program-prefix).
14126 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14127 (test_program_prefix): This.
14128 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14129 * posix/Makefile ($(objpfx)globtest.out): Replace
14130 $(run-via-rtld-prefix) and $(test-wrapper) with
14131 $(test-program-prefix) and $(test-via-rtld-prefix).
14132 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14133 $(test-program-prefix).
14134 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14135 $(host-test-program-cmd).
14136 (tst-spawn-ARGS): Likewise.
14137 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14138 $(test-program-prefix).
14139 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14140 (test_via_rtld_prefix): This.
14141 (test_wrapper): Renamed to ...
14142 (test_program_prefix): This.
14143 (run_program_prefix): Replaced by test_program_prefix.
14144 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14145 (test_program_prefix): This.
14146 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14147 with $(host-test-program-cmd).
14148 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14149 $(run-program-prefix) with $(test-program-prefix).
14150 ($(objpfx)tst-printf.out): Likewise.
14151 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14152 $(test-program-cmd).
14153 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14154 (test_program_prefix): This.
14155 * stdio-common/tst-unbputc.sh: Likewise.
14156 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14157 $(run-program-prefix) with $(test-program-prefix).
14158 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14159 (test_program_prefix): This.
14160 * string/Makefile ($(objpfx)tst-svc.out): Replace
14161 $(built-program-cmd) with $(test-program-cmd).
14163 2013-01-11 Andreas Jaeger <aj@suse.de>
14166 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14167 value. Sync with Linux 3.7.
14169 2013-01-10 David S. Miller <davem@davemloft.net>
14171 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14172 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14173 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14175 2013-01-10 Roland McGrath <roland@hack.frob.com>
14177 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14179 * configure: Regenerated.
14181 2013-01-10 David S. Miller <davem@davemloft.net>
14183 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14184 sparc V9 rather than using V8 code.
14185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14188 2013-01-10 Roland McGrath <roland@hack.frob.com>
14190 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14191 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14192 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14193 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14194 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14195 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14196 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14197 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14198 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14199 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14200 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14201 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14202 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14203 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14204 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14205 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14206 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14207 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14208 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14209 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14210 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14211 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14212 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14213 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14214 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14215 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14216 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14218 2013-01-10 David S. Miller <davem@davemloft.net>
14220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14222 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14224 * posix/Makefile (tests-static): New variable.
14225 (tests): Add $(tests-static).
14226 (tst-exec-static-ARGS): New variable.
14227 (tst-spawn-static-ARGS): Likewise.
14228 * posix/tst-exec-static.c: New file.
14229 * posix/tst-spawn-static.c: Likewise.
14230 * posix/tst-exec.c: Support run directly.
14231 * posix/tst-spawn.c: Likewise.
14233 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14235 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14237 * math/bits/mathcalls.h (llrint): Likewise.
14238 (llround): Likewise.
14239 * stdlib/stdlib.h (struct drand48_data): Likewise.
14240 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14241 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14242 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14244 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14246 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14247 (elf_greg_t): Likewise.
14248 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14249 (__jmp_buf): Likewise.
14250 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14252 (llrint): Likewise, for all definitions.
14253 (llrintl): Likewise.
14255 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14256 Remove [__GNUC__] condition.
14257 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14258 condition to just [__USE_ISOC99].
14259 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14261 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14264 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14265 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14267 (_POSIX_V6_ILP32_OFF32): Likewise.
14268 (_XBS5_ILP32_OFF32): Likewise.
14269 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14270 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14272 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14274 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14277 doubles __mpexp_twomm1. Adjust usage.
14278 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14281 2013-01-10 Andreas Schwab <schwab@suse.de>
14284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14285 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14287 2013-01-09 David S. Miller <davem@davemloft.net>
14290 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14291 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14292 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14293 TCP_FASTOPEN): Define.
14294 (tcp_repair_opt): New structure.
14295 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14297 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14298 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14299 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14300 (tcp_cookie_transactions): New structure.
14302 2013-01-09 Anton Blanchard <anton@samba.org>
14304 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14305 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14306 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14309 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14311 * include/features.h (__USE_ANSI): Remove.
14313 2013-01-09 Roland McGrath <roland@hack.frob.com>
14315 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14317 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14319 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14321 * sysdeps/s390/fpu/libm-test-ulps: Update.
14323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14325 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14329 (denorm): Likewise.
14330 (__mp_dbl): Likewise.
14331 (__dbl_mp): Likewise.
14332 (add_magnitudes): Likewise.
14333 (sub_magnitudes): Likewise.
14339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14343 (denorm): Likewise.
14344 (__mp_dbl): Likewise.
14345 (__dbl_mp): Likewise.
14346 (add_magnitudes): Likewise.
14347 (sub_magnitudes): Likewise.
14353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14357 (denorm): Likewise.
14358 (__mp_dbl): Likewise.
14359 (__dbl_mp): Likewise.
14360 (add_magnitudes): Likewise.
14361 (sub_magnitudes): Likewise.
14368 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14370 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14371 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14372 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14373 2 && __USE_EXTERN_INLINES]: Likewise.
14375 2013-01-08 Andreas Jaeger <aj@suse.de>
14378 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14380 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14381 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14383 2013-01-07 Anton Blanchard <anton@samba.org>
14385 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14386 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14387 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14388 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14389 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14391 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14394 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14395 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14402 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14403 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14404 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14405 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14406 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14408 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14409 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14410 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14411 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14412 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14413 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14414 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14415 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14417 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14418 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14419 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14423 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14424 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14425 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14427 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14429 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14431 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14432 (__MALLOC_PMT): Likewise.
14433 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14434 [__GNUC__], only on [_LIBC].
14435 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14436 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14437 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14438 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14439 forward declaration.
14440 (realloc_hook_ini): Likewise.
14441 (memalign_hook_ini): Likewise.
14442 (__libc_memalign): Do not use __MALLOC_PMT in variable
14444 (__libc_valloc): Likewise.
14445 (__libc_pvalloc): Likewise.
14446 (__libc_calloc): Likewise.
14447 (__posix_memalign): Likewise.
14450 * math/s_casinh.c: Include <float.h>.
14451 (__casinh): Do not do computation with squaring and square root
14452 for large arguments.
14453 * math/s_casinhf.c: Include <float.h>.
14454 (__casinhf): Do not do computation with squaring and square root
14455 for large arguments.
14456 * math/s_casinhl.c: Include <float.h>.
14457 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14458 (__casinhl): Do not do computation with squaring and square root
14459 for large arguments.
14460 * math/libm-test.inc (casin_test): Add more tests.
14461 (casinh_test): Likewise.
14462 * sysdeps/i386/fpu/libm-test-ulps: Update.
14463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14465 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14467 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14468 (__x86_64_raw_data_cache_size): Likewise.
14469 (__x86_64_data_cache_size_half): Likewise.
14470 (__x86_64_raw_data_cache_size_half): Likewise.
14471 (__x86_64_shared_cache_size): Likewise.
14472 (__x86_64_raw_shared_cache_size): Likewise.
14473 (__x86_64_shared_cache_size_half): Likewise.
14474 (__x86_64_raw_shared_cache_size_half): Likewise.
14475 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14477 (__x86_data_cache_size): This.
14478 (__x86_64_raw_data_cache_size): Renamed to ...
14479 (__x86_raw_data_cache_size): This.
14480 (__x86_64_data_cache_size_half): Renamed to ...
14481 (__x86_data_cache_size_half): This.
14482 (__x86_64_raw_data_cache_size_half): Renamed to ...
14483 (__x86_raw_data_cache_size_half): This.
14484 (__x86_64_shared_cache_size): Renamed to ...
14485 (__x86_shared_cache_size): This.
14486 (__x86_64_raw_shared_cache_size): Renamed to ...
14487 (__x86_raw_shared_cache_size): This.
14488 (__x86_64_shared_cache_size_half): Renamed to ...
14489 (__x86_shared_cache_size_half): This.
14490 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14491 (__x86_raw_shared_cache_size_half): This.
14492 * sysdeps/x86_64/memcpy.S: Updated.
14493 * sysdeps/x86_64/memset.S: Likewise.
14494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14498 2013-01-04 David S. Miller <davem@davemloft.net>
14500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14502 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14504 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14505 1 to avoid redefinition warning.
14506 (__USE_GNU): Don't define.
14507 (init_signaling_nan): Protoize.
14509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14511 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14515 (__cpymn): Likewise.
14516 (norm): Remove commented code.
14517 (denorm): Likewise.
14518 (__mp_dbl): Likewise.
14520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14521 (__cpymn): Likewise.
14522 (norm): Remove commented code.
14523 (denorm): Likewise.
14524 (__mp_dbl): Likewise.
14527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14528 mp_no value for 1.0 and 2.0.
14529 (norm): Use RADIXI instead of radixi.d.
14530 (denorm): Likewise.
14531 (__mul): Use 0.0 instead of zero.d.
14532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14533 mp_no value for 1.0 and 2.0.
14534 (norm): Use RADIXI instead of radixi.d.
14535 (denorm): Likewise.
14536 (__mul): Use 0.0 instead of zero.d.
14538 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14541 * math/s_casinh.c (__casinh): Reduce finite argument to first
14542 quadrant then set signs of results at the end.
14543 * math/s_casinhf.c (__casinhf): Likewise.
14544 * math/s_casinhl.c (__casinhl): Likewise.
14545 * math/libm-test.inc (casin_test): Add more tests.
14546 (casinh_test): Likewise.
14547 * sysdeps/i386/fpu/libm-test-ulps: Update.
14548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14550 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14552 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14554 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14556 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14558 (denorm): Likewise.
14559 (__mp_dbl): Likewise.
14562 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14563 and adjust the header comment.
14565 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14566 variable name from declaration.
14568 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14571 Initialize COMMON_CPUID_INDEX_7 element.
14572 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14573 (CPUID_RTM): Likewise.
14574 (HAS_RTM): Likewise.
14575 (COMMON_CPUID_INDEX_7): New enum.
14577 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14580 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14581 size is zero, record memory as freed.
14583 2013-01-03 Andreas Jaeger <aj@suse.de>
14585 * po/ia.po: Add new Interlingua translation.
14587 2012-01-03 Allan McRae <allan@archlinux.org>
14589 * locale/programs/localedef.c: Fix description of '--posix' flag.
14591 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14593 * NEWS: Update dates in second copyright notice.
14594 * README: Update copyright dates in example.
14595 * manual/libc.texinfo: Update copyright dates.
14596 * scripts/test-installation.pl: Update copyright date in --version
14599 * hurd/ctty-input.c: Fix copyright notice formatting.
14600 * hurd/ctty-output.c: Likewise.
14601 * hurd/dtable.c: Likewise.
14602 * hurd/hurd-raise.c: Likewise.
14603 * hurd/hurdprio.c: Likewise.
14604 * hurd/msgportdemux.c: Likewise.
14605 * misc/sys/file.h: Likewise.
14606 * misc/sys/ioctl.h: Likewise.
14607 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14608 * sysdeps/mach/hurd/chdir.c: Likewise.
14609 * sysdeps/mach/hurd/fchdir.c: Likewise.
14610 * sysdeps/mach/hurd/rename.c: Likewise.
14611 * sysdeps/mach/hurd/rmdir.c: Likewise.
14612 * sysdeps/mach/hurd/seekdir.c: Likewise.
14613 * sysdeps/mach/hurd/setsid.c: Likewise.
14614 * sysdeps/posix/wait3.c: Likewise.
14616 * All files with FSF copyright notices: Update copyright dates
14617 using scripts/update-copyrights.
14618 * intl/plural.c: Regenerated.
14619 * locale/programs/charmap-kw.h: Likewise.
14620 * locale/programs/locfile-kw.h: Likewise.
14622 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14624 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14627 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14628 calculation loop and add branch prediction.
14630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14631 check access beyond bounds of m1np.
14633 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14635 (__inv): Remove local variable MPTWO to use the global
14637 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14638 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14640 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14641 MP3HALFS static const.
14643 2013-01-01 David S. Miller <davem@davemloft.net>
14645 * po/ca.po: Update from translation team.
14647 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14649 * scripts/update-copyrights: New file.
14650 * Makeconfig: Reformat copyright notice.
14651 * ctype/ctype.h: Likewise.
14652 * debug/swprintf_chk.c: Likewise.
14653 * elf/dl-cache.c: Likewise.
14654 * elf/dl-debug.c: Likewise.
14655 * elf/dl-object.c: Likewise.
14656 * grp/initgroups.c: Likewise.
14657 * hurd/Makefile: Likewise.
14658 * hurd/hurd/signal.h: Likewise.
14659 * hurd/hurdfault.c: Likewise.
14660 * hurd/hurdioctl.c: Likewise.
14661 * hurd/hurdlookup.c: Likewise.
14662 * hurd/intr-msg.c: Likewise.
14663 * iconv/gconv_open.c: Likewise.
14664 * libio/swprintf.c: Likewise.
14665 * locale/lc-ctype.c: Likewise.
14666 * locale/nl_langinfo.c: Likewise.
14667 * mach/Machrules: Likewise.
14668 * mach/Makefile: Likewise.
14669 * malloc/obstack.h: Likewise.
14670 * manual/Makefile: Likewise.
14671 * manual/tsort.awk: Likewise.
14672 * misc/bits/stab.def: Likewise.
14673 * nis/nis_print_group_entry.c: Likewise.
14674 * nis/nis_table.c: Likewise.
14675 * nis/nss_compat/compat-pwd.c: Likewise.
14676 * nis/nss_compat/compat-spwd.c: Likewise.
14677 * po/Makefile: Likewise.
14678 * posix/fnmatch.c: Likewise.
14679 * posix/regex.h: Likewise.
14680 * resolv/Makefile: Likewise.
14681 * resolv/nss_dns/dns-network.c: Likewise.
14682 * resolv/res_hconf.c: Likewise.
14683 * scripts/gen-sorted.awk: Likewise.
14684 * soft-fp/soft-fp.h: Likewise.
14685 * stdio-common/printf.h: Likewise.
14686 * stdlib/monetary.h: Likewise.
14687 * stdlib/random.c: Likewise.
14688 * stdlib/random_r.c: Likewise.
14689 * sysdeps/generic/Makefile: Likewise.
14690 * sysdeps/gnu/Makefile: Likewise.
14691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14719 * sysdeps/mach/hurd/errnos.awk: Likewise.
14720 * sysdeps/mach/hurd/fork.c: Likewise.
14721 * sysdeps/mach/hurd/getcwd.c: Likewise.
14722 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14723 * sysdeps/mach/hurd/mmap.c: Likewise.
14724 * sysdeps/mach/hurd/utimes.c: Likewise.
14725 * sysdeps/mach/hurd/xmknod.c: Likewise.
14726 * sysdeps/posix/profil.c: Likewise.
14727 * sysdeps/posix/readdir_r.c: Likewise.
14728 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14729 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14730 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14731 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14733 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14734 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14735 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14739 * sysdeps/pthread/lio_listio.c: Likewise.
14740 * sysdeps/sparc/dl-procinfo.h: Likewise.
14741 * sysdeps/unix/i386/sysdep.S: Likewise.
14742 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14743 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14744 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14745 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14747 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14748 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14749 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14750 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14751 * sysdeps/wordsize-32/divdi3.c: Likewise.
14752 * time/sys/time.h: Likewise.
14753 * wcsmbs/Makefile: Likewise.
14755 2013-01-01 David S. Miller <davem@davemloft.net>
14757 * po/fr.po: Update from translation team.
14759 * catgets/gencat.c: Update copyright year.
14760 * csu/version.c: Likewise.
14761 * debug/catchsegv.sh: Likewise.
14762 * debug/pcprofiledump.c: Likewise.
14763 * debug/xtrace.sh: Likewise.
14764 * elf/ldconfig.c: Likewise.
14765 * elf/ldd.bash.in: Likewise.
14766 * elf/pldd.c: Likewise.
14767 * elf/sotruss.ksh: Likewise.
14768 * elf/sprof.c: Likewise.
14769 * iconv/iconv_prog.c: Likewise.
14770 * iconv/iconvconfig.c: Likewise.
14771 * locale/programs/locale.c: Likewise.
14772 * locale/programs/localedef.c: Likewise.
14773 * login/programs/pt_chown.c: Likewise.
14774 * malloc/memusage.sh: Likewise.
14775 * malloc/memusagestat.c: Likewise.
14776 * malloc/mtrace.pl: Likewise.
14777 * nscd/nscd.c: Likewise.
14778 * nss/getent.c: Likewise.
14779 * nss/makedb.c: Likewise.
14780 * posix/getconf.c: Likewise.
14782 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14787 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14789 * math/bits/mathcalls.h (modf): Use __nonnull.
14791 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14793 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14794 (split): Use macro CN instead of the bare value.
14795 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14798 instead of the bare value.
14799 (power1): Likewise.
14801 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14805 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14807 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14809 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14811 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14812 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14814 2012-12-28 Andreas Jaeger <aj@suse.de>
14816 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14817 values are from Linux 3.7.
14819 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14820 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14822 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14824 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14829 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14830 variables with preprocessor constants.
14831 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14832 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14833 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14835 2012-12-27 Bruno Haible <bruno@clisp.org>
14838 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14841 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14844 and use variable directly.
14845 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14847 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14849 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14852 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14854 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14855 include directive. Remove local variable MPONE.
14856 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14857 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14858 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14860 2012-12-25 David S. Miller <davem@davemloft.net>
14862 * version.h (RELEASE): Set to "development".
14863 (VERSION): Set to "2.17.90".
14864 * NEWS: Add 2.18 section.
14866 2012-12-21 David S. Miller <davem@davemloft.net>
14868 * po/hr.po: Update from translation team.
14870 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14872 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14874 2012-12-19 Steve Ellcey <sellcey@mips.com>
14876 * NEWS: Mention new memcpy for MIPS.
14878 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14880 * manual/contrib.texi (Contributors): Spelling correction.
14882 2012-12-15 David S. Miller <davem@davemloft.net>
14884 * po/ru.po: Update from translation team.
14886 2012-12-13 David S. Miller <davem@davemloft.net>
14888 * NEWS: Mention IFUNC testsuite enhancements.
14890 * po/pl.po: Update from translation team.
14891 * po/bg.po: Likewise.
14893 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14894 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14896 2012-12-11 David S. Miller <davem@davemloft.net>
14898 * po/sv.po: Update from translation team.
14900 * po/vi.po: Update from translation team.
14902 * po/cs.po: Update from translation team.
14904 * po/de.po: Update from translation team.
14905 * po/eo.po: Likewise.
14906 * po/nl.po: Likewise.
14908 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14911 * manual/argp.texi (Argp Helper Functions): Move node to follow
14912 Argp Parsing State.
14915 * manual/conf.texi (Limits on File System Capacity): Mention if
14916 terminating null is included in the max size.
14918 2012-12-10 Andreas Jaeger <aj@suse.de>
14920 * po/cs.po: Update from translation team.
14922 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14924 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14925 void pointer and cast to uintptr_t.
14926 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14928 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14929 * sysdeps/s390/s390-64/memset.S: Likewise.
14931 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14934 * menual/message.texi (Message Translation): Fix typos.
14935 (Helper programs for gettext): Likewise.
14937 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14940 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14943 2012-12-07 David S. Miller <davem@davemloft.net>
14945 * po/libc.pot: Update.
14947 2012-12-07 Richard Henderson <rth@redhat.com>
14950 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14951 normal/normal case to before the switch.
14952 (_FP_DIV): Likewise.
14954 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14955 Mike Frysinger <vapier@gentoo.org>
14957 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14958 check for __NR_fadvise64_64.
14960 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14962 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14963 0, not just to plain "0" as a statement.
14964 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14967 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14969 * NEWS: Use sourceware.org in Bugzilla URL.
14971 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14974 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14976 * stdio-common/tst-put-error.c (do_test): Add newline to the
14977 padded test to ensure flush.
14979 2012-12-05 Jeff Law <law@redhat.com>
14981 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14983 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14985 * README: Don't refer to ports add-on as distributed separately.
14986 Mention AArch64 in list of systems supported in the ports add-on.
14988 * LICENSES: Add more non-FSF copyright and license notices.
14990 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14993 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14995 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14996 10000 as width of padded output.
14998 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15000 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15003 variable LX with __attribute__ ((unused)).
15004 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15006 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15009 with __attribute__ ((unused)).
15011 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15013 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15015 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15017 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15018 (CFLAGS-nldbl-acos.c): New variable.
15019 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15058 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15059 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15060 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15061 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15062 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15063 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15064 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15065 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15066 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15071 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15072 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15073 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15074 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15075 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15076 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15077 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15078 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15079 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15080 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15081 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15082 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15083 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15084 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15085 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15086 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15087 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15088 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15089 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15090 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15091 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15092 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15093 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15094 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15095 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15118 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15122 whole low double instead of just low 47 bits when splitting values
15125 2012-12-03 Allan McRae <allan@archlinux.org>
15127 * manual/stdio.texi (Predefined Printf Handlers): Remove
15128 @hsep and @vsep usage.
15130 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15132 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15133 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15135 2012-12-03 Jeff Law <law@redhat.com>
15137 * time/sys/time.h (settimeofday): Do not mark TV argument
15140 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15142 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15143 when currently writing and seek to current position when not.
15144 * libio/Makefile (tests): Remove bug-fclose1.
15145 * libio/bug-fclose1.c: Delete.
15147 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15149 * manual/arith.texi (feenableexcept): Fix typo.
15150 (fedisableexcept): Likewise.
15152 2012-11-30 Roland McGrath <roland@hack.frob.com>
15154 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15155 second, differently-typed declaration, rather than a cast.
15157 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15159 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15160 * include/rpc/svc.h: ... here.
15162 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15165 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15166 depending n and resplen2 to catch cases where answer
15169 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15171 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15172 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15174 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15176 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15178 2012-11-29 Roland McGrath <roland@hack.frob.com>
15180 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15182 2012-11-28 Jeff Law <law@redhat.com>
15185 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15186 dataset_temporary. Track alloca usage into alloca_used.
15187 If dataset is large allocate and release it via malloc/free.
15189 2012-06-04 Florian Weimer <fweimer@redhat.com>
15192 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15194 2012-11-28 David S. Miller <davem@davemloft.net>
15196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15198 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15201 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15202 of pi/2 rounded to nearest to 64 bits.
15203 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15204 nearest to 64 bits.
15205 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15208 2012-11-28 Jeff Law <law@redhat.com>
15209 Martin Osvald <mosvald@redhat.com>
15212 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15213 * sunrpc/svc.c: Include time.h.
15214 (__svc_accept_failed): New function.
15215 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15216 any reason other than EINTR, call __svc_accept_failed.
15217 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15218 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15220 2012-11-28 Andreas Schwab <schwab@suse.de>
15222 * scripts/abilist.awk: Also handle indirect functions in .opd
15225 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15228 * sysdeps/x86/fpu/powl_helper.c: New file.
15229 * sysdeps/x86/fpu/Makefile: Likewise.
15230 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15232 (__ieee754_powl): Use __powl_helper for finite arguments except
15233 integer exponents below 8.
15234 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15236 (__ieee754_powl): Use __powl_helper for finite arguments except
15237 integer exponents below 8.
15238 * math/libm-test.inc (pow_test): Add more tests and enable some
15239 previously disabled tests.
15240 * sysdeps/i386/fpu/libm-test-ulps: Update.
15241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15243 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15244 Carlos O'Donell <carlos_odonell@mentor.com>
15246 * nss/makedb.c (is_prime): Assert that input is odd and greater
15247 than 4. Note that fact in a comment too.
15248 (next_prime): Add 4 to input.
15250 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15253 * libio/Makefile (tests): Add test case tst-fwrite-error.
15254 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15255 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15256 * libio/tst-fwrite-error.c: New test case.
15258 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15260 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15261 before casting to void *.
15262 * include/libc-internal.h (__pointer_type): New macro.
15263 (__integer_if_pointer_type_sub): Likewise.
15264 (__integer_if_pointer_type): Likewise.
15265 (cast_to_integer): Likewise.
15266 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15267 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15268 before casting to atomic64_t.
15269 (atomic_exchange_acq): Likewise.
15270 (__arch_exchange_and_add_body): Likewise.
15271 (__arch_add_body): Likewise.
15272 (atomic_add_negative): Likewise.
15273 (atomic_add_zero): Likewise.
15275 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15277 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15278 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15279 (add_fdes): Likewise.
15280 (linear_search_fdes): Likewise.
15281 (binary_search_unencoded_fdes): Likewise.
15283 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15285 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15287 2012-11-24 Adam Conrad <adconrad@0c3.net>
15289 * configure.in: Autodetect C++ header directories.
15290 * configure: Regenerated.
15292 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15294 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15296 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15300 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15302 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15303 LDBL_MANT_DIG == 106]: Disable some tests.
15304 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15306 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15311 input for small inputs. Return +/- pi/2 for large inputs.
15312 * math/libm-test.inc (atan_test): Add more tests.
15314 * sysdeps/generic/unwind-dw2-fde-glibc.c
15315 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15316 __attribute__ ((unused)).
15319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15320 x * y if x and y are nonzero and z is zero.
15323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15324 nonzero exponents with absolute value below 0x1p-117 to +/-
15328 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15329 up arguments below 2**-450, not just those below 2**-500.
15330 * math/libm-test.inc (hypot_test): Add another test.
15333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15334 Return a+b for ratio over 2**120, not 2**60.
15335 * math/libm-test.inc (hypot_test): Add another test.
15337 * math/libm-test.inc (clog_test): Use
15338 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15339 (clog10_test): Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15344 2012-11-22 Andreas Schwab <schwab@suse.de>
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15348 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15350 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15351 printf output with newline.
15353 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15356 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15357 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15358 -z nodlopen, -z initfirst and -z execstack support.
15359 * configure: Regenerated.
15361 * elf/elf.h (DF_1_NODIRECT): New macro.
15362 (DF_1_IGNMULDEF): Likewise.
15363 (DF_1_NOKSYMS): Likewise.
15364 (DF_1_NOHDR): Likewise.
15365 (DF_1_EDITED): Likewise.
15366 (DF_1_NORELOC): Likewise.
15367 (DF_1_SYMINTPOSE): Likewise.
15368 (DF_1_GLOBAUDIT): Likewise.
15369 (DF_1_SINGLETON): Likewise.
15370 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15371 DT_1_SUPPORTED_MASK bits.
15372 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15374 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15376 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15378 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15380 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15383 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15384 (sendmmsg): Move declarations...
15385 * socket/sys/socket.h: ... here.
15386 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15387 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15389 * socket/recvmmsg.c: ... this new file.
15390 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15391 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15392 definition of __sendmmsg hidden.
15393 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15394 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15395 Move ENOSYS stub into and include it from...
15396 * socket/sendmmsg.c: ... this new file.
15397 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15398 (sysdep_routines): Move recvmmsg and sendmmsg...
15399 * socket/Makefile (routines): ... here.
15400 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15401 (GLIBC_PRIVATE): Add __sendmmsg.
15402 * include/sys/socket.h (__sendmmsg): Add declarations.
15403 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15406 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15409 variable I1 with __attribute__ ((unused)).
15410 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15412 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15414 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15415 DUMMY variables with __attribute__ ((unused)).
15417 * bits/byteswap.h: Include <bits/types.h>.
15418 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15420 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15422 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15423 string_t. Do not manually set errno.
15424 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15425 length with __strnlen. Make sure to both set errno and return it on
15428 2012-11-19 David S. Miller <davem@davemloft.net>
15430 With help from Joseph Myers.
15431 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15432 very large arguments properly.
15433 * math/libm-test.inc (atan_test): New tests.
15434 (atan2_test): New tests.
15435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15438 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15441 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15444 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15445 [POSIX] (EADDRNOTAVAIL): Likewise.
15446 [POSIX] (EAFNOSUPPORT): Likewise.
15447 [POSIX] (EALREADY): Likewise.
15448 [POSIX] (ECONNABORTED): Likewise.
15449 [POSIX] (ECONNREFUSED): Likewise.
15450 [POSIX] (ECONNRESET): Likewise.
15451 [POSIX] (EDESTADDRREQ): Likewise.
15452 [POSIX] (EDQUOT): Likewise.
15453 [POSIX] (EHOSTUNREACH): Likewise.
15454 [POSIX] (EIDRM): Likewise.
15455 [POSIX] (EISCONN): Likewise.
15456 [POSIX] (ELOOP): Likewise.
15457 [POSIX] (EMULTIHOP): Likewise.
15458 [POSIX] (ENETDOWN): Likewise.
15459 [POSIX] (ENETUNREACH): Likewise.
15460 [POSIX] (ENOBUFS): Likewise.
15461 [POSIX] (ENODATA): Likewise.
15462 [POSIX] (ENOLINK): Likewise.
15463 [POSIX] (ENOMSG): Likewise.
15464 [POSIX] (ENOPROTOOPT): Likewise.
15465 [POSIX] (ENOSR): Likewise.
15466 [POSIX] (ENOSTR): Likewise.
15467 [POSIX] (ENOTCONN): Likewise.
15468 [POSIX] (ENOTSOCK): Likewise.
15469 [POSIX] (EOPNOTSUPP): Likewise.
15470 [POSIX] (EOVERFLOW): Likewise.
15471 [POSIX] (EPROTO): Likewise.
15472 [POSIX] (EPROTONOSUPPORT): Likewise.
15473 [POSIX] (EPROTOTYPE): Likewise.
15474 [POSIX] (ESTALE): Likewise.
15475 [POSIX] (ETIME): Likewise.
15476 [POSIX] (ETXTBSY): Likewise.
15477 [POSIX] (EWOULDBLOCK): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15479 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15480 [POSIX] (SEEK_CUR): Likewise.
15481 [POSIX] (SEEK_END): Likewise.
15482 [POSIX || UNIX98] (mode_t): Do not require.
15483 [POSIX] (off_t): Likewise.
15484 [POSIX] (pid_t): Likewise.
15485 [POSIX] (sys/stat.h): Do not allow header.
15486 [POSIX] (unistd.h): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15488 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15490 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15492 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15493 sigevent): Specify elements.
15494 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15496 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15497 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15499 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15500 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15501 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15502 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15503 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15504 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15505 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15506 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15508 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15509 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15510 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15511 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15512 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15514 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15516 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15518 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15520 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15521 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15522 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15523 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15525 Specify lower bound on value.
15526 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15532 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15533 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15535 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15537 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15549 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15554 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15556 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15563 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15568 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15569 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15571 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15573 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15574 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15575 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15576 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15577 specify as optional.
15578 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15579 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15580 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15581 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15582 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15583 [XPG3] (NL_LANGMAX): Likewise.
15584 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15585 [POSIX || XPG3] (NL_NMAX): Likewise.
15586 [POSIX || XPG3] (NL_SETMAX): Likewise.
15587 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15588 [XPG3] (NZERO): Likewise.
15589 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15590 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15591 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15592 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15593 (REG_ERANGE): Expect.
15594 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15596 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15597 Use (void) in prototype.
15598 [POSIX] (*_t): Allow.
15599 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15600 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15601 (WRDE_BADVAL): Expect.
15603 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15605 [XPG3 || XPG4] (O_RSYNC): Likewise.
15606 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15608 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15609 [XPG3 || XPG4] (sigqueue): Likewise.
15610 [XPG3 || XPG4] (sigtimedwait): Likewise.
15611 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15612 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15613 [XPG3 || XPG4] (vsnprintf): Likewise.
15614 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15616 [XPG3 || XPG4] (blksize_t): Likewise.
15617 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15619 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15620 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15621 [XPG3 || XPG4] (struct itimerspec): Likewise.
15622 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15623 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15624 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15625 [XPG3 || XPG4] (clockid_t): Likewise.
15626 [XPG3 || XPG4] (timer_t): Likewise.
15627 [XPG3 || XPG4] (clock_getres): Likewise.
15628 [XPG3 || XPG4] (clock_gettime): Likewise.
15629 [XPG3 || XPG4] (clock_settime): Likewise.
15630 [XPG3 || XPG4] (nanosleep): Likewise.
15631 [XPG3 || XPG4] (timer_create): Likewise.
15632 [XPG3 || XPG4] (timer_delete): Likewise.
15633 [XPG3 || XPG4] (timer_gettime): Likewise.
15634 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15635 [XPG3 || XPG4] (timer_settime): Likewise.
15636 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15637 [XPG3 || XPG4] (getlogin_r): Likewise.
15638 [XPG3 || XPG4] (pread): Likewise.
15639 [XPG3 || XPG4] (pthread_atfork): Likewise.
15640 [XPG3 || XPG4] (pwrite): Likewise.
15643 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15646 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15648 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15649 finalizing MALLSTREAM.
15651 * sysdeps/mach/hurd/syncfs.c: New file.
15653 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15656 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15657 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15658 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15659 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15660 (_nss_dns_gethostbyname4_r): Likewise.
15661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15662 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15664 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15667 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15669 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15671 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15672 * elf/cache.c (print_entry): Print ",AArch64" for
15675 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15676 * elf/cache.c (print_entry): Print ",hard-float" for
15679 2012-11-18 David S. Miller <davem@davemloft.net>
15681 With help from Joseph Myers.
15682 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15684 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15686 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15687 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15689 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15690 * math/libm-test.inc (y0_test): New tests.
15691 (y1_test): New tests.
15692 * sysdeps/i386/fpu/libm-test-ulps: Update.
15693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15696 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15698 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15700 * configure: Regenerated.
15702 2012-11-17 David S. Miller <davem@davemloft.net>
15705 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15706 nonzero exponents with absolute value below 0x1p-128 to +/-
15709 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15711 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15713 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15715 * posix/getconf-speclist.c: New file.
15716 * posix/posix-envs.def: Likewise.
15717 * posix/confstr.c (START_ENV_GROUP): New macro.
15718 (END_ENV_GROUP): Likewise.
15719 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15720 (KNOWN_PRESENT_ENV_STRING): Likewise.
15721 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15722 (UNKNOWN_ENVIRONMENT): Likewise.
15723 (confstr): Include posix-envs.def instead of handling
15724 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15725 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15726 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15727 (END_ENV_GROUP): Likewise.
15728 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15729 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15730 (UNKNOWN_ENVIRONMENT): Likewise.
15731 (__sysconf): Include posix-envs.def instead of handling associated
15732 cases directly here.
15733 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15734 preprocessing getconf-speclist.c rather than running getconf or
15735 generating empty file.
15737 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15739 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15741 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15744 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15746 2012-11-16 David S. Miller <davem@davemloft.net>
15748 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15749 smaller than LDBL_EPSILON/2.0L, just return xm1.
15751 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15753 * elf/tst-array1.c (init): Set constructor priority to 1000.
15754 (fini): Set destructor priority to 1000.
15755 * elf/tst-array2dep.c: Likewise.
15757 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15760 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15761 (_IO_new_file_xsputn): Also return EOF if none of the input
15762 data was written when overflow failed.
15763 * libio/iopadn.c (_IO_padn): Likewise.
15764 * libio/iowpadn.c (_IO_wpadn): Likewise.
15765 * stdio-common/tst-put-error.c: Add copyright notice.
15766 (do_test): Add case for printing padded string.
15767 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15768 _IO_padn returned error.
15769 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15770 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15773 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15775 * libio/libioP.h: Add comment note that the references to C++
15776 bits are now obsolete.
15778 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15780 * math/libm-test.inc (check_complex): Use asprintf.
15782 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15784 * debug/pcprofiledump.c (print_version): Update copyright year.
15785 * malloc/memusagestat.c (print_version): Likewise.
15787 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15790 * elf/Makefile (tests): Add tst-audit8.
15791 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15792 ($(objpfx)tst-audit8.out): New target.
15793 (tst-audit8-ENV): New variable.
15794 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15795 audit if l_reloc_result is NULL.
15796 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15797 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15798 * elf/tst-audit8.c: New file.
15800 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15802 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15803 * misc/Makefile (CFLAGS-select.c): Define.
15804 * posix/Makefile (CFLAGS-pause.c): Define.
15806 2012-11-13 David S. Miller <davem@davemloft.net>
15808 * crypt/Makefile: Move test targets after toplevel Rules
15809 inclusion. Grab any necessary sysdep routines when linking.
15810 * crypt/md5.c (md5_process_block): Remove define, we will always
15811 name it __md5_process_block.
15812 (md5_finish_ctx): Update md5_process_block call.
15813 (md5_stream): Likewise.
15814 (md5_process_bytes): Likewise.
15815 (md5_process_block): Rename to __md5_process_block and move to ...
15816 * crypt/md5-block.c: ... here.
15817 * crypt/sha256.c (sha256_process_block): Move to ...
15818 * crypt/sha256-block.c: ... here.
15819 * crypt/sha512.c (sha512_process_block): Move to ...
15820 * crypt/sha512-block.c: ... here.
15821 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15823 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15824 * sysdeps/sparc/sparc64/multiarch/Makefile
15825 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15827 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15828 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15830 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15831 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15832 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15833 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15834 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15835 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15836 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15837 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15838 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15840 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15843 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15845 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15847 * timezone/tzselect.ksh: Update from tzcode git revision
15848 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15849 * timezone/zdump.c: Likewise.
15850 * timezone/zic.c: Likewise.
15851 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15852 in TZVERSION setting, not $(PKGVERSION).
15853 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15854 REPORT_BUGS_TO settings.
15857 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15860 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15862 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15863 detection to immediately after _FP_ROUND().
15864 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15867 2012-11-11 David S. Miller <davem@davemloft.net>
15869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15871 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15872 __close rather than their public counterparts.
15874 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15876 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15878 [UNIX98] (sem_timedwait): Do not expect.
15879 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15880 [XPG4 || UNIX98] (sockatmark): Do not expect.
15881 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15882 (clock_getcpuclockid): Do not expect.
15883 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15884 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15886 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15887 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15888 [UNIX98] (vwscanf): Likewise.
15889 [UNIX98] (vswscanf): Likewise.
15891 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15893 * timezone/version.h: Remove file.
15894 * timezone/README: Do not refer to version.h.
15895 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15896 $(objpfx)version.h.
15897 ($(objpfx)zdump.o): Likewise.
15898 ($(objpfx)version.h): New target.
15900 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15902 * timezone/README: Don't mention modification to tzselect.ksh.
15903 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15904 work on unmodified tzselect.ksh. Substitute version numbers in
15907 * Makefile (format-me): Remove.
15908 (INSTALL): Adjust indentation. Use commands directly instead of
15909 using $(format-me).
15911 * aclocal.m4 (ACX_PKGVERSION): New macro.
15912 (ACX_BUGURL): Likewise.
15913 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15914 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15915 (REPORT_BUGS_TO): Likewise.
15916 * configure: Regenerated.
15917 * config.h.in (PKGVERSION): New macro.
15918 (REPORT_BUGS_TO): Likewise.
15919 * config.make.in (PKGVERSION): New variable.
15920 (PKGVERSION_TEXI): Likewise.
15921 (REPORT_BUGS_TO): Likewise.
15922 (REPORT_BUGS_TEXI): Likewise.
15923 * Makefile (format-me): Use -I$(common-objpfx)manual.
15924 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15925 ($(common-objpfx)manual/%): New target.
15926 (manual/%): Remove target.
15927 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15928 (print_version): Use PKGVERSION.
15929 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15930 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15931 and REPORT_BUGS_TO.
15932 ($(objpfx)xtrace): Likewise.
15933 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15934 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15935 (print_version): Use PKGVERSION.
15936 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15937 (do_version): Use PKGVERSION.
15938 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15940 (common-ldd-rewrite): Likewise.
15941 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15942 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15943 (print_version): Use PKGVERSION.
15944 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15945 * elf/pldd.c (argp_program_bug_address): Remove variable.
15946 (more_help): New function.
15947 (argp): Use more_help.
15948 (print_version): Use PKGVERSION.
15949 * elf/sln.c (main): Use PKGVERSION.
15950 (usage): Use REPORT_BUGS_TO.
15951 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15952 (top level): Use PKGVERSION.
15953 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15954 (print_version): Use PKGVERSION.
15955 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15956 (print_version): Use PKGVERSION.
15957 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15958 (print_version): Use PKGVERSION.
15959 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15960 (print_version): Use PKGVERSION.
15961 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15962 (print_version): Use PKGVERSION.
15963 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15964 (print_version): Use PKGVERSION.
15965 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15967 ($(objpfx)memusage): Likewise.
15968 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15969 (do_version): Use PKGVERSION.
15970 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15971 (print_version): Use PKGVERSION.
15972 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15973 ($PKGVERSION): New variable.
15974 ($REPORT_BUGS_TO): Likewise.
15975 (usage): Use $REPORT_BUGS_TO.
15976 (top level): Use $PKGVERSION.
15977 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15978 ($(objpfx)pkgvers.texi): New rule.
15979 ($(objpfx)stamp-pkgvers): Likewise.
15980 * manual/install.texi: Include pkgvers.texi.
15981 (--with-pkgversion): Document new configure option.
15982 (--with-bugurl): Likewise.
15983 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15984 than necessarily for this particular distribution. Use
15985 REPORT_BUGS_TO for where to report bugs.
15986 * INSTALL: Regenerated.
15987 * manual/libc.texinfo: Include pkgvers.texi.
15988 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15989 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15990 (print_version): Use PKGVERSION.
15991 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15992 (print_version): Use PKGVERSION.
15993 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15994 (print_version): Use PKGVERSION.
15995 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15996 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15998 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15999 (print_version): Use PKGVERSION.
16000 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16001 (print_version): Use PKGVERSION.
16002 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16005 * timezone/checktab.awk: Update from tzcode 2012i.
16006 * timezone/ialloc.c: Likewise.
16007 * timezone/private.h: Likewise.
16008 * timezone/scheck.c: Likewise.
16009 * timezone/tzfile.h: Likewise.
16010 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16011 (TZVERSION): Hardcode tzcode version number.
16012 * timezone/zdump.c: Update from tzcode 2012i.
16013 * timezone/zic.c: Likewise.
16014 * timezone/version.h: New file.
16015 * timezone/README: Describe version.h. Update upstream location.
16018 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16019 (mktemp): Enable declaration.
16020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16037 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16038 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16039 for copies of such integer values.
16040 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16041 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16043 2012-11-09 Andreas Jaeger <aj@suse.de>
16045 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16046 definitions and declarations that are provided by
16047 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16049 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16051 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16052 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16053 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16056 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16058 * elf/elf.h: Update comment before AArch64 relocations.
16060 2012-11-07 David S. Miller <davem@davemloft.net>
16062 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16063 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16064 (__start_context): Declare.
16065 (__makecontext_ret): Delete.
16066 (__makecontext): Hook up __start_context instead of
16068 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16069 (sysdep_routines): Add __start_context when in stdlib.
16071 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16073 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16074 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16075 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16077 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16078 (READELF): New variable. Use it instead of hardcoded "readelf".
16080 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16082 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16083 * sysdeps/x86/Makefile: Here.
16084 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16085 * sysdeps/x86/tst-xmmymm.sh: This.
16087 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16089 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16091 [UNIX98] (pthread_barrier_t): Do not expect.
16092 [UNIX98] (pthread_barrierattr_t): Likewise.
16093 [UNIX98] (pthread_spinlock_t): Likewise.
16094 [UNIX98] (pthread_barrier_destroy): Likewise.
16095 [UNIX98] (pthread_barrier_init): Likewise.
16096 [UNIX98] (pthread_barrier_wait): Likewise.
16097 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16098 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16099 [UNIX98] (pthread_barrierattr_init): Likewise.
16100 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16101 [UNIX98] (pthread_getcpuclockid): Likewise.
16102 [UNIX98] (pthread_mutex_timedlock): Likewise.
16103 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16104 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16105 [UNIX98] (pthread_sigmask): Likewise.
16106 [UNIX98] (pthread_spin_destroy): Likewise.
16107 [UNIX98] (pthread_spin_init): Likewise.
16108 [UNIX98] (pthread_spin_lock): Likewise.
16109 [UNIX98] (pthread_spin_trylock): Likewise.
16110 [UNIX98] (pthread_spin_unlock): Likewise.
16111 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16113 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16115 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16116 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16117 [XPG3 || XPG4] (pthread_key_t): Likewise.
16118 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16119 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16120 [XPG3 || XPG4] (pthread_once_t): Likewise.
16121 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16122 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16124 [XPG3 || XPG4] (pthread_t): Likewise.
16126 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16128 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16130 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16131 Change function return type to int.
16133 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16134 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16135 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16136 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16137 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16138 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16139 [!POSIX] (posix_madvise): Likewise.
16140 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16142 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16143 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16144 (mode_t): Likewise.
16145 (posix_mem_offset): Likewise.
16146 (posix_typed_mem_get_info): Likewise.
16147 (posix_typed_mem_open): Likewise.
16149 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16150 Change condition to [XOPEN2K8].
16152 * conform/conformtest.pl: Preprocess allow-header data with -x c
16153 instead of from stdin.
16154 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16155 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16156 [C99-based standards] (cerfc): Likewise.
16157 [C99-based standards] (cexp2): Likewise.
16158 [C99-based standards] (cexpm1): Likewise.
16159 [C99-based standards] (clog10): Likewise.
16160 [C99-based standards] (clog1p): Likewise.
16161 [C99-based standards] (clog2): Likewise.
16162 [C99-based standards] (clgamma): Likewise.
16163 [C99-based standards] (ctgamma): Likewise.
16164 [C99-based standards] (cerff): Likewise.
16165 [C99-based standards] (cerfcf): Likewise.
16166 [C99-based standards] (cexp2f): Likewise.
16167 [C99-based standards] (cexpm1f): Likewise.
16168 [C99-based standards] (clog10f): Likewise.
16169 [C99-based standards] (clog1pf): Likewise.
16170 [C99-based standards] (clog2f): Likewise.
16171 [C99-based standards] (clgammaf): Likewise.
16172 [C99-based standards] (ctgammaf): Likewise.
16173 [C99-based standards] (cerfl): Likewise.
16174 [C99-based standards] (cerfcl): Likewise.
16175 [C99-based standards] (cexp2l): Likewise.
16176 [C99-based standards] (cexpm1l): Likewise.
16177 [C99-based standards] (clog10l): Likewise.
16178 [C99-based standards] (clog1pl): Likewise.
16179 [C99-based standards] (clog2l): Likewise.
16180 [C99-based standards] (clgammal): Likewise.
16181 [C99-based standards] (ctgammal): Likewise.
16182 * conform/data/inttypes.h-data [C99-based standards]: Include
16183 stdint.h-data. Remove all expectations for stdint.h contents.
16184 [C99-based standards] (PRI*): Do not allow.
16185 [C99-based standards] (SCN*): Likewise.
16186 [C99-based standards] (*_t): Likewise.
16187 [C99-based-standards] (PRId8): Expect macro.
16188 [C99-based-standards] (PRIi8): Likewise.
16189 [C99-based-standards] (PRIo8): Likewise.
16190 [C99-based-standards] (PRIu8): Likewise.
16191 [C99-based-standards] (PRIx8): Likewise.
16192 [C99-based-standards] (PRIX8): Likewise.
16193 [C99-based-standards] (SCNd8): Likewise.
16194 [C99-based-standards] (SCNi8): Likewise.
16195 [C99-based-standards] (SCNo8): Likewise.
16196 [C99-based-standards] (SCNu8): Likewise.
16197 [C99-based-standards] (SCNx8): Likewise.
16198 [C99-based-standards] (PRIdLEAST8): Likewise.
16199 [C99-based-standards] (PRIiLEAST8): Likewise.
16200 [C99-based-standards] (PRIoLEAST8): Likewise.
16201 [C99-based-standards] (PRIuLEAST8): Likewise.
16202 [C99-based-standards] (PRIxLEAST8): Likewise.
16203 [C99-based-standards] (PRIXLEAST8): Likewise.
16204 [C99-based-standards] (SCNdLEAST8): Likewise.
16205 [C99-based-standards] (SCNiLEAST8): Likewise.
16206 [C99-based-standards] (SCNoLEAST8): Likewise.
16207 [C99-based-standards] (SCNuLEAST8): Likewise.
16208 [C99-based-standards] (SCNxLEAST8): Likewise.
16209 [C99-based-standards] (PRIdFAST8): Likewise.
16210 [C99-based-standards] (PRIiFAST8): Likewise.
16211 [C99-based-standards] (PRIoFAST8): Likewise.
16212 [C99-based-standards] (PRIuFAST8): Likewise.
16213 [C99-based-standards] (PRIxFAST8): Likewise.
16214 [C99-based-standards] (PRIXFAST8): Likewise.
16215 [C99-based-standards] (SCNdFAST8): Likewise.
16216 [C99-based-standards] (SCNiFAST8): Likewise.
16217 [C99-based-standards] (SCNoFAST8): Likewise.
16218 [C99-based-standards] (SCNuFAST8): Likewise.
16219 [C99-based-standards] (SCNxFAST8): Likewise.
16220 [C99-based-standards] (PRId16): Likewise.
16221 [C99-based-standards] (PRIi16): Likewise.
16222 [C99-based-standards] (PRIo16): Likewise.
16223 [C99-based-standards] (PRIu16): Likewise.
16224 [C99-based-standards] (PRIx16): Likewise.
16225 [C99-based-standards] (PRIX16): Likewise.
16226 [C99-based-standards] (SCNd16): Likewise.
16227 [C99-based-standards] (SCNi16): Likewise.
16228 [C99-based-standards] (SCNo16): Likewise.
16229 [C99-based-standards] (SCNu16): Likewise.
16230 [C99-based-standards] (SCNx16): Likewise.
16231 [C99-based-standards] (PRIdLEAST16): Likewise.
16232 [C99-based-standards] (PRIiLEAST16): Likewise.
16233 [C99-based-standards] (PRIoLEAST16): Likewise.
16234 [C99-based-standards] (PRIuLEAST16): Likewise.
16235 [C99-based-standards] (PRIxLEAST16): Likewise.
16236 [C99-based-standards] (PRIXLEAST16): Likewise.
16237 [C99-based-standards] (SCNdLEAST16): Likewise.
16238 [C99-based-standards] (SCNiLEAST16): Likewise.
16239 [C99-based-standards] (SCNoLEAST16): Likewise.
16240 [C99-based-standards] (SCNuLEAST16): Likewise.
16241 [C99-based-standards] (SCNxLEAST16): Likewise.
16242 [C99-based-standards] (PRIdFAST16): Likewise.
16243 [C99-based-standards] (PRIiFAST16): Likewise.
16244 [C99-based-standards] (PRIoFAST16): Likewise.
16245 [C99-based-standards] (PRIuFAST16): Likewise.
16246 [C99-based-standards] (PRIxFAST16): Likewise.
16247 [C99-based-standards] (PRIXFAST16): Likewise.
16248 [C99-based-standards] (SCNdFAST16): Likewise.
16249 [C99-based-standards] (SCNiFAST16): Likewise.
16250 [C99-based-standards] (SCNoFAST16): Likewise.
16251 [C99-based-standards] (SCNuFAST16): Likewise.
16252 [C99-based-standards] (SCNxFAST16): Likewise.
16253 [C99-based-standards] (PRId32): Likewise.
16254 [C99-based-standards] (PRIi32): Likewise.
16255 [C99-based-standards] (PRIo32): Likewise.
16256 [C99-based-standards] (PRIu32): Likewise.
16257 [C99-based-standards] (PRIx32): Likewise.
16258 [C99-based-standards] (PRIX32): Likewise.
16259 [C99-based-standards] (SCNd32): Likewise.
16260 [C99-based-standards] (SCNi32): Likewise.
16261 [C99-based-standards] (SCNo32): Likewise.
16262 [C99-based-standards] (SCNu32): Likewise.
16263 [C99-based-standards] (SCNx32): Likewise.
16264 [C99-based-standards] (PRIdLEAST32): Likewise.
16265 [C99-based-standards] (PRIiLEAST32): Likewise.
16266 [C99-based-standards] (PRIoLEAST32): Likewise.
16267 [C99-based-standards] (PRIuLEAST32): Likewise.
16268 [C99-based-standards] (PRIxLEAST32): Likewise.
16269 [C99-based-standards] (PRIXLEAST32): Likewise.
16270 [C99-based-standards] (SCNdLEAST32): Likewise.
16271 [C99-based-standards] (SCNiLEAST32): Likewise.
16272 [C99-based-standards] (SCNoLEAST32): Likewise.
16273 [C99-based-standards] (SCNuLEAST32): Likewise.
16274 [C99-based-standards] (SCNxLEAST32): Likewise.
16275 [C99-based-standards] (PRIdFAST32): Likewise.
16276 [C99-based-standards] (PRIiFAST32): Likewise.
16277 [C99-based-standards] (PRIoFAST32): Likewise.
16278 [C99-based-standards] (PRIuFAST32): Likewise.
16279 [C99-based-standards] (PRIxFAST32): Likewise.
16280 [C99-based-standards] (PRIXFAST32): Likewise.
16281 [C99-based-standards] (SCNdFAST32): Likewise.
16282 [C99-based-standards] (SCNiFAST32): Likewise.
16283 [C99-based-standards] (SCNoFAST32): Likewise.
16284 [C99-based-standards] (SCNuFAST32): Likewise.
16285 [C99-based-standards] (SCNxFAST32): Likewise.
16286 [C99-based-standards] (PRId64): Likewise.
16287 [C99-based-standards] (PRIi64): Likewise.
16288 [C99-based-standards] (PRIo64): Likewise.
16289 [C99-based-standards] (PRIu64): Likewise.
16290 [C99-based-standards] (PRIx64): Likewise.
16291 [C99-based-standards] (PRIX64): Likewise.
16292 [C99-based-standards] (SCNd64): Likewise.
16293 [C99-based-standards] (SCNi64): Likewise.
16294 [C99-based-standards] (SCNo64): Likewise.
16295 [C99-based-standards] (SCNu64): Likewise.
16296 [C99-based-standards] (SCNx64): Likewise.
16297 [C99-based-standards] (PRIdLEAST64): Likewise.
16298 [C99-based-standards] (PRIiLEAST64): Likewise.
16299 [C99-based-standards] (PRIoLEAST64): Likewise.
16300 [C99-based-standards] (PRIuLEAST64): Likewise.
16301 [C99-based-standards] (PRIxLEAST64): Likewise.
16302 [C99-based-standards] (PRIXLEAST64): Likewise.
16303 [C99-based-standards] (SCNdLEAST64): Likewise.
16304 [C99-based-standards] (SCNiLEAST64): Likewise.
16305 [C99-based-standards] (SCNoLEAST64): Likewise.
16306 [C99-based-standards] (SCNuLEAST64): Likewise.
16307 [C99-based-standards] (SCNxLEAST64): Likewise.
16308 [C99-based-standards] (PRIdFAST64): Likewise.
16309 [C99-based-standards] (PRIiFAST64): Likewise.
16310 [C99-based-standards] (PRIoFAST64): Likewise.
16311 [C99-based-standards] (PRIuFAST64): Likewise.
16312 [C99-based-standards] (PRIxFAST64): Likewise.
16313 [C99-based-standards] (PRIXFAST64): Likewise.
16314 [C99-based-standards] (SCNdFAST64): Likewise.
16315 [C99-based-standards] (SCNiFAST64): Likewise.
16316 [C99-based-standards] (SCNoFAST64): Likewise.
16317 [C99-based-standards] (SCNuFAST64): Likewise.
16318 [C99-based-standards] (SCNxFAST64): Likewise.
16319 [C99-based-standards] (PRIdMAX): Likewise.
16320 [C99-based-standards] (PRIiMAX): Likewise.
16321 [C99-based-standards] (PRIoMAX): Likewise.
16322 [C99-based-standards] (PRIuMAX): Likewise.
16323 [C99-based-standards] (PRIxMAX): Likewise.
16324 [C99-based-standards] (PRIXMAX): Likewise.
16325 [C99-based-standards] (SCNdMAX): Likewise.
16326 [C99-based-standards] (SCNiMAX): Likewise.
16327 [C99-based-standards] (SCNoMAX): Likewise.
16328 [C99-based-standards] (SCNuMAX): Likewise.
16329 [C99-based-standards] (SCNxMAX): Likewise.
16330 [C99-based-standards] (PRIdPTR): Likewise.
16331 [C99-based-standards] (PRIiPTR): Likewise.
16332 [C99-based-standards] (PRIoPTR): Likewise.
16333 [C99-based-standards] (PRIuPTR): Likewise.
16334 [C99-based-standards] (PRIxPTR): Likewise.
16335 [C99-based-standards] (PRIXPTR): Likewise.
16336 [C99-based-standards] (SCNdPTR): Likewise.
16337 [C99-based-standards] (SCNiPTR): Likewise.
16338 [C99-based-standards] (SCNoPTR): Likewise.
16339 [C99-based-standards] (SCNuPTR): Likewise.
16340 [C99-based-standards] (SCNxPTR): Likewise.
16341 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16343 * conform/data/stdint.h-data: Update comments to clarify
16345 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16347 [C99-based standards] (INT8_MAX): Likewise.
16348 [C99-based standards] (INT16_MIN): Likewise.
16349 [C99-based standards] (INT16_MAX): Likewise.
16350 [C99-based standards] (INT32_MIN): Likewise.
16351 [C99-based standards] (INT32_MAX): Likewise.
16352 [C99-based standards] (INT64_MIN): Likewise.
16353 [C99-based standards] (INT64_MAX): Likewise.
16354 [C99-based standards] (UINT8_MAX): Likewise.
16355 [C99-based standards] (UINT16_MAX): Likewise.
16356 [C99-based standards] (UINT32_MAX): Likewise.
16357 [C99-based standards] (UINT64_MAX): Likewise.
16358 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16359 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16360 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16361 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16362 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16363 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16364 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16365 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16366 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16367 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16368 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16369 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16370 [C99-based standards] (INT_FAST8_MIN): Likewise.
16371 [C99-based standards] (INT_FAST8_MAX): Likewise.
16372 [C99-based standards] (INT_FAST16_MIN): Likewise.
16373 [C99-based standards] (INT_FAST16_MAX): Likewise.
16374 [C99-based standards] (INT_FAST32_MIN): Likewise.
16375 [C99-based standards] (INT_FAST32_MAX): Likewise.
16376 [C99-based standards] (INT_FAST64_MIN): Likewise.
16377 [C99-based standards] (INT_FAST64_MAX): Likewise.
16378 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16379 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16380 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16381 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16382 [C99-based standards] (INTPTR_MIN): Likewise.
16383 [C99-based standards] (INTPTR_MAX): Likewise.
16384 [C99-based standards] (UINTPTR_MAX): Likewise.
16385 [C99-based standards] (INTMAX_MIN): Likewise.
16386 [C99-based standards] (INTMAX_MAX): Likewise.
16387 [C99-based standards] (UINTMAX_MAX): Likewise.
16388 [C99-based standards] (PTRDIFF_MIN): Likewise.
16389 [C99-based standards] (PTRDIFF_MAX): Likewise.
16390 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16391 [C99-based standards] (SIZE_MAX): Likewise.
16392 [C99-based standards] (WCHAR_MAX): Likewise.
16393 [C99-based standards] (WINT_MAX): Likewise.
16394 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16395 constraint on value.
16396 [C99-based standards] (WCHAR_MIN): Likewise.
16397 [C99-based standards] (WINT_MIN): Likewise.
16398 [C99-based standards] (*_t): Allow.
16399 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16400 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16401 Include math.h-data and complex.h-data. Remove all expectations
16402 of math.h and complex.h contents.
16403 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16405 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16406 (struct tm): Expect tag.
16407 [C99-based-standards] (wcstof): Expect function.
16408 [C99-based-standards] (wcstold): Likewise.
16409 [C99-based-standards] (wcstoll): Likewise.
16410 [C99-based-standards] (wcstoull): Likewise.
16411 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16412 macro-int-constant. Specify type.
16413 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16414 constraint on value.
16415 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16417 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16419 [ISO C standards]: Do not allow headers.
16420 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16421 wcs[abcdefghijklmnopqrstuvwxyz]*.
16422 [ISO C standards] (*_t): Do not allow.
16423 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16425 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16426 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16428 [ISO C standards]: Do not allow headers.
16429 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16430 is[abcdefghijklmnopqrstuvwxyz]*.
16431 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16432 to[abcdefghijklmnopqrstuvwxyz]*.
16433 [ISO C standards] (*_t): Do not allow.
16434 * conform/data/stdalign.h-data: New file.
16435 * conform/data/stdbool.h-data: Likewise.
16436 * conform/data/stdnoreturn.h-data: Likewise.
16438 2012-11-07 Roland McGrath <roland@hack.frob.com>
16441 * manual/filesys.texi (Directory Entries): Typo fix.
16442 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16444 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16446 * elf/elf.h (EM_AARCH64): New macro.
16447 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16448 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16449 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16450 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16451 (R_AARCH64_TLSDESC): Likewise.
16452 (NT_ARM_TLS): Likewise.
16453 (NT_ARM_HW_BREAK): Likewise.
16454 (NT_ARM_HW_WATCH): Likewise.
16456 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16459 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16460 (__ieee754_powl): Saturate nonzero exponents with absolute value
16461 below 0x1p-79 to +/- 0x1p-79.
16462 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16463 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16464 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16465 nonzero exponents with absolute value below 0x1p-32 to +/-
16467 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16468 (__ieee754_powl): Saturate nonzero exponents with absolute value
16469 below 0x1p-79 to +/- 0x1p-79.
16470 * math/libm-test.inc (pow_test): Add more tests.
16472 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16474 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16475 _dl_s390_cap_flags with kernel. Increase string length.
16476 (_dl_s390_platforms): Add z196 and zEC12.
16478 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16480 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16481 Change XOPEN21K to XOPEN2K.
16483 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16485 * string/memmove.c: Use memcpy when possible.
16487 2012-11-06 Andreas Jaeger <aj@suse.de>
16489 * po/eo.po: Update from translation team.
16491 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16495 exponent and small x and y exponents, scale x or y up. Increase
16496 by 2 the exponent used in scaling up.
16497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16499 * math/libm-test.inc (fma_test): Add more tests.
16500 (fma_test_towardzero): Likewise.
16501 (fma_test_downward): Likewise.
16502 (fma_test_upward): Likewise.
16504 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16507 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16511 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16512 namespace for names of struct fields.
16513 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16515 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16516 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16518 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16521 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16523 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16525 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16529 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16532 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16536 definitely overflow as x * y not x * y + z.
16537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16539 * math/libm-test.inc (fma_test): Add more tests.
16540 (fma_test_towardzero): Likewise.
16541 (fma_test_downward): Likewise.
16542 (fma_test_upward): Likewise.
16544 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16548 * include/stub-tag.h: Remove file.
16549 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16551 * manual/maint.texi (Porting): Don't reference it.
16552 * Makerules ($(objpfx)stubs): Likewise.
16553 * dirent/closedir.c: Don't include <stub-tag.h>.
16554 * dirent/dirfd.c: Likewise.
16555 * dirent/fdopendir.c: Likewise.
16556 * dirent/getdents.c: Likewise.
16557 * dirent/getdents64.c: Likewise.
16558 * dirent/opendir.c: Likewise.
16559 * dirent/readdir.c: Likewise.
16560 * dirent/readdir64.c: Likewise.
16561 * dirent/readdir64_r.c: Likewise.
16562 * dirent/readdir_r.c: Likewise.
16563 * dirent/rewinddir.c: Likewise.
16564 * dirent/seekdir.c: Likewise.
16565 * dirent/telldir.c: Likewise.
16566 * gmon/profil.c: Likewise.
16567 * grp/setgroups.c: Likewise.
16568 * inet/if_index.c: Likewise.
16569 * io/access.c: Likewise.
16570 * io/chdir.c: Likewise.
16571 * io/chmod.c: Likewise.
16572 * io/chown.c: Likewise.
16573 * io/close.c: Likewise.
16574 * io/dup.c: Likewise.
16575 * io/dup2.c: Likewise.
16576 * io/dup3.c: Likewise.
16577 * io/euidaccess.c: Likewise.
16578 * io/faccessat.c: Likewise.
16579 * io/fchdir.c: Likewise.
16580 * io/fchmod.c: Likewise.
16581 * io/fchmodat.c: Likewise.
16582 * io/fchown.c: Likewise.
16583 * io/fchownat.c: Likewise.
16584 * io/fcntl.c: Likewise.
16585 * io/flock.c: Likewise.
16586 * io/fstatfs.c: Likewise.
16587 * io/fstatfs64.c: Likewise.
16588 * io/fstatvfs.c: Likewise.
16589 * io/fstatvfs64.c: Likewise.
16590 * io/futimens.c: Likewise.
16591 * io/fxstat.c: Likewise.
16592 * io/fxstat64.c: Likewise.
16593 * io/fxstatat.c: Likewise.
16594 * io/fxstatat64.c: Likewise.
16595 * io/getcwd.c: Likewise.
16596 * io/isatty.c: Likewise.
16597 * io/lchmod.c: Likewise.
16598 * io/lchown.c: Likewise.
16599 * io/link.c: Likewise.
16600 * io/linkat.c: Likewise.
16601 * io/lseek.c: Likewise.
16602 * io/lseek64.c: Likewise.
16603 * io/lxstat64.c: Likewise.
16604 * io/mkdir.c: Likewise.
16605 * io/mkdirat.c: Likewise.
16606 * io/mkfifo.c: Likewise.
16607 * io/mkfifoat.c: Likewise.
16608 * io/open.c: Likewise.
16609 * io/open64.c: Likewise.
16610 * io/openat.c: Likewise.
16611 * io/openat64.c: Likewise.
16612 * io/pipe.c: Likewise.
16613 * io/pipe2.c: Likewise.
16614 * io/poll.c: Likewise.
16615 * io/posix_fadvise.c: Likewise.
16616 * io/posix_fadvise64.c: Likewise.
16617 * io/posix_fallocate.c: Likewise.
16618 * io/posix_fallocate64.c: Likewise.
16619 * io/read.c: Likewise.
16620 * io/readlink.c: Likewise.
16621 * io/readlinkat.c: Likewise.
16622 * io/rmdir.c: Likewise.
16623 * io/sendfile.c: Likewise.
16624 * io/sendfile64.c: Likewise.
16625 * io/statfs.c: Likewise.
16626 * io/statfs64.c: Likewise.
16627 * io/statvfs.c: Likewise.
16628 * io/statvfs64.c: Likewise.
16629 * io/symlink.c: Likewise.
16630 * io/symlinkat.c: Likewise.
16631 * io/ttyname.c: Likewise.
16632 * io/ttyname_r.c: Likewise.
16633 * io/umask.c: Likewise.
16634 * io/unlink.c: Likewise.
16635 * io/unlinkat.c: Likewise.
16636 * io/utime.c: Likewise.
16637 * io/utimensat.c: Likewise.
16638 * io/write.c: Likewise.
16639 * io/xmknod.c: Likewise.
16640 * io/xmknodat.c: Likewise.
16641 * io/xstat.c: Likewise.
16642 * io/xstat64.c: Likewise.
16643 * login/getpt.c: Likewise.
16644 * login/grantpt.c: Likewise.
16645 * login/unlockpt.c: Likewise.
16646 * math/e_acoshl.c: Likewise.
16647 * math/e_acosl.c: Likewise.
16648 * math/e_asinl.c: Likewise.
16649 * math/e_atan2l.c: Likewise.
16650 * math/e_atanhl.c: Likewise.
16651 * math/e_coshl.c: Likewise.
16652 * math/e_expl.c: Likewise.
16653 * math/e_fmodl.c: Likewise.
16654 * math/e_gammal_r.c: Likewise.
16655 * math/e_hypotl.c: Likewise.
16656 * math/e_j0l.c: Likewise.
16657 * math/e_j1l.c: Likewise.
16658 * math/e_jnl.c: Likewise.
16659 * math/e_lgammal_r.c: Likewise.
16660 * math/e_log10l.c: Likewise.
16661 * math/e_log2l.c: Likewise.
16662 * math/e_logl.c: Likewise.
16663 * math/e_powl.c: Likewise.
16664 * math/e_rem_pio2l.c: Likewise.
16665 * math/e_sinhl.c: Likewise.
16666 * math/e_sqrtl.c: Likewise.
16667 * math/fclrexcpt.c: Likewise.
16668 * math/fedisblxcpt.c: Likewise.
16669 * math/feenablxcpt.c: Likewise.
16670 * math/fegetenv.c: Likewise.
16671 * math/fegetexcept.c: Likewise.
16672 * math/fegetround.c: Likewise.
16673 * math/feholdexcpt.c: Likewise.
16674 * math/fesetenv.c: Likewise.
16675 * math/fesetround.c: Likewise.
16676 * math/feupdateenv.c: Likewise.
16677 * math/fgetexcptflg.c: Likewise.
16678 * math/fraiseexcpt.c: Likewise.
16679 * math/fsetexcptflg.c: Likewise.
16680 * math/ftestexcept.c: Likewise.
16681 * math/k_cosl.c: Likewise.
16682 * math/k_rem_pio2l.c: Likewise.
16683 * math/k_sinl.c: Likewise.
16684 * math/k_tanl.c: Likewise.
16685 * math/s_asinhl.c: Likewise.
16686 * math/s_atanl.c: Likewise.
16687 * math/s_cbrtl.c: Likewise.
16688 * math/s_erfl.c: Likewise.
16689 * math/s_expm1l.c: Likewise.
16690 * math/s_log1pl.c: Likewise.
16691 * math/s_tanhl.c: Likewise.
16692 * misc/acct.c: Likewise.
16693 * misc/brk.c: Likewise.
16694 * misc/chflags.c: Likewise.
16695 * misc/chroot.c: Likewise.
16696 * misc/fchflags.c: Likewise.
16697 * misc/fgetxattr.c: Likewise.
16698 * misc/flistxattr.c: Likewise.
16699 * misc/fremovexattr.c: Likewise.
16700 * misc/fsetxattr.c: Likewise.
16701 * misc/fsync.c: Likewise.
16702 * misc/ftruncate.c: Likewise.
16703 * misc/futimes.c: Likewise.
16704 * misc/futimesat.c: Likewise.
16705 * misc/getdomain.c: Likewise.
16706 * misc/getdtsz.c: Likewise.
16707 * misc/gethostid.c: Likewise.
16708 * misc/gethostname.c: Likewise.
16709 * misc/getloadavg.c: Likewise.
16710 * misc/getpagesize.c: Likewise.
16711 * misc/getsysstats.c: Likewise.
16712 * misc/getxattr.c: Likewise.
16713 * misc/gtty.c: Likewise.
16714 * misc/ioctl.c: Likewise.
16715 * misc/lgetxattr.c: Likewise.
16716 * misc/listxattr.c: Likewise.
16717 * misc/llistxattr.c: Likewise.
16718 * misc/lremovexattr.c: Likewise.
16719 * misc/lsetxattr.c: Likewise.
16720 * misc/lutimes.c: Likewise.
16721 * misc/madvise.c: Likewise.
16722 * misc/mincore.c: Likewise.
16723 * misc/mlock.c: Likewise.
16724 * misc/mlockall.c: Likewise.
16725 * misc/mmap.c: Likewise.
16726 * misc/mprotect.c: Likewise.
16727 * misc/msync.c: Likewise.
16728 * misc/munlock.c: Likewise.
16729 * misc/munlockall.c: Likewise.
16730 * misc/munmap.c: Likewise.
16731 * misc/preadv.c: Likewise.
16732 * misc/preadv64.c: Likewise.
16733 * misc/ptrace.c: Likewise.
16734 * misc/pwritev.c: Likewise.
16735 * misc/pwritev64.c: Likewise.
16736 * misc/readv.c: Likewise.
16737 * misc/reboot.c: Likewise.
16738 * misc/remap_file_pages.c: Likewise.
16739 * misc/removexattr.c: Likewise.
16740 * misc/revoke.c: Likewise.
16741 * misc/select.c: Likewise.
16742 * misc/setdomain.c: Likewise.
16743 * misc/setegid.c: Likewise.
16744 * misc/seteuid.c: Likewise.
16745 * misc/sethostid.c: Likewise.
16746 * misc/sethostname.c: Likewise.
16747 * misc/setregid.c: Likewise.
16748 * misc/setreuid.c: Likewise.
16749 * misc/setxattr.c: Likewise.
16750 * misc/sstk.c: Likewise.
16751 * misc/stty.c: Likewise.
16752 * misc/swapoff.c: Likewise.
16753 * misc/swapon.c: Likewise.
16754 * misc/sync.c: Likewise.
16755 * misc/syncfs.c: Likewise.
16756 * misc/syscall.c: Likewise.
16757 * misc/truncate.c: Likewise.
16758 * misc/ualarm.c: Likewise.
16759 * misc/usleep.c: Likewise.
16760 * misc/ustat.c: Likewise.
16761 * misc/utimes.c: Likewise.
16762 * misc/vhangup.c: Likewise.
16763 * misc/writev.c: Likewise.
16764 * posix/_exit.c: Likewise.
16765 * posix/alarm.c: Likewise.
16766 * posix/execve.c: Likewise.
16767 * posix/fexecve.c: Likewise.
16768 * posix/fork.c: Likewise.
16769 * posix/fpathconf.c: Likewise.
16770 * posix/getaddrinfo.c: Likewise.
16771 * posix/getegid.c: Likewise.
16772 * posix/geteuid.c: Likewise.
16773 * posix/getgid.c: Likewise.
16774 * posix/getgroups.c: Likewise.
16775 * posix/getlogin.c: Likewise.
16776 * posix/getlogin_r.c: Likewise.
16777 * posix/getpgid.c: Likewise.
16778 * posix/getpid.c: Likewise.
16779 * posix/getppid.c: Likewise.
16780 * posix/getresgid.c: Likewise.
16781 * posix/getresuid.c: Likewise.
16782 * posix/getsid.c: Likewise.
16783 * posix/getuid.c: Likewise.
16784 * posix/glob64.c: Likewise.
16785 * posix/nanosleep.c: Likewise.
16786 * posix/pathconf.c: Likewise.
16787 * posix/pause.c: Likewise.
16788 * posix/posix_madvise.c: Likewise.
16789 * posix/pread.c: Likewise.
16790 * posix/pread64.c: Likewise.
16791 * posix/pwrite.c: Likewise.
16792 * posix/pwrite64.c: Likewise.
16793 * posix/sched_getaffinity.c: Likewise.
16794 * posix/sched_getp.c: Likewise.
16795 * posix/sched_gets.c: Likewise.
16796 * posix/sched_primax.c: Likewise.
16797 * posix/sched_primin.c: Likewise.
16798 * posix/sched_rr_gi.c: Likewise.
16799 * posix/sched_setaffinity.c: Likewise.
16800 * posix/sched_setp.c: Likewise.
16801 * posix/sched_sets.c: Likewise.
16802 * posix/sched_yield.c: Likewise.
16803 * posix/setgid.c: Likewise.
16804 * posix/setlogin.c: Likewise.
16805 * posix/setpgid.c: Likewise.
16806 * posix/setresgid.c: Likewise.
16807 * posix/setresuid.c: Likewise.
16808 * posix/setsid.c: Likewise.
16809 * posix/setuid.c: Likewise.
16810 * posix/sleep.c: Likewise.
16811 * posix/spawni.c: Likewise.
16812 * posix/sysconf.c: Likewise.
16813 * posix/times.c: Likewise.
16814 * posix/wait.c: Likewise.
16815 * posix/wait3.c: Likewise.
16816 * posix/wait4.c: Likewise.
16817 * posix/waitpid.c: Likewise.
16818 * resolv/gai_sigqueue.c: Likewise.
16819 * resource/getpriority.c: Likewise.
16820 * resource/getrlimit.c: Likewise.
16821 * resource/getrusage.c: Likewise.
16822 * resource/nice.c: Likewise.
16823 * resource/setpriority.c: Likewise.
16824 * resource/setrlimit.c: Likewise.
16825 * resource/ulimit.c: Likewise.
16826 * rt/aio_cancel.c: Likewise.
16827 * rt/aio_fsync.c: Likewise.
16828 * rt/aio_read.c: Likewise.
16829 * rt/aio_sigqueue.c: Likewise.
16830 * rt/aio_suspend.c: Likewise.
16831 * rt/aio_write.c: Likewise.
16832 * rt/clock_getres.c: Likewise.
16833 * rt/clock_gettime.c: Likewise.
16834 * rt/clock_nanosleep.c: Likewise.
16835 * rt/clock_settime.c: Likewise.
16836 * rt/lio_listio.c: Likewise.
16837 * rt/mq_close.c: Likewise.
16838 * rt/mq_getattr.c: Likewise.
16839 * rt/mq_notify.c: Likewise.
16840 * rt/mq_open.c: Likewise.
16841 * rt/mq_receive.c: Likewise.
16842 * rt/mq_send.c: Likewise.
16843 * rt/mq_setattr.c: Likewise.
16844 * rt/mq_timedreceive.c: Likewise.
16845 * rt/mq_timedsend.c: Likewise.
16846 * rt/mq_unlink.c: Likewise.
16847 * rt/shm_open.c: Likewise.
16848 * rt/shm_unlink.c: Likewise.
16849 * rt/timer_create.c: Likewise.
16850 * rt/timer_delete.c: Likewise.
16851 * rt/timer_getoverr.c: Likewise.
16852 * rt/timer_gettime.c: Likewise.
16853 * rt/timer_settime.c: Likewise.
16854 * setjmp/__longjmp.c: Likewise.
16855 * setjmp/setjmp.c: Likewise.
16856 * signal/kill.c: Likewise.
16857 * signal/killpg.c: Likewise.
16858 * signal/raise.c: Likewise.
16859 * signal/sigaction.c: Likewise.
16860 * signal/sigaltstack.c: Likewise.
16861 * signal/sigblock.c: Likewise.
16862 * signal/sigignore.c: Likewise.
16863 * signal/sigintr.c: Likewise.
16864 * signal/signal.c: Likewise.
16865 * signal/sigpause.c: Likewise.
16866 * signal/sigpending.c: Likewise.
16867 * signal/sigqueue.c: Likewise.
16868 * signal/sigreturn.c: Likewise.
16869 * signal/sigset.c: Likewise.
16870 * signal/sigsetmask.c: Likewise.
16871 * signal/sigstack.c: Likewise.
16872 * signal/sigsuspend.c: Likewise.
16873 * signal/sigtimedwait.c: Likewise.
16874 * signal/sigvec.c: Likewise.
16875 * signal/sigwait.c: Likewise.
16876 * signal/sigwaitinfo.c: Likewise.
16877 * signal/sysv_signal.c: Likewise.
16878 * socket/accept.c: Likewise.
16879 * socket/accept4.c: Likewise.
16880 * socket/bind.c: Likewise.
16881 * socket/connect.c: Likewise.
16882 * socket/getpeername.c: Likewise.
16883 * socket/getsockname.c: Likewise.
16884 * socket/getsockopt.c: Likewise.
16885 * socket/isfdtype.c: Likewise.
16886 * socket/listen.c: Likewise.
16887 * socket/recv.c: Likewise.
16888 * socket/recvfrom.c: Likewise.
16889 * socket/recvmsg.c: Likewise.
16890 * socket/send.c: Likewise.
16891 * socket/sendmsg.c: Likewise.
16892 * socket/sendto.c: Likewise.
16893 * socket/setsockopt.c: Likewise.
16894 * socket/shutdown.c: Likewise.
16895 * socket/sockatmark.c: Likewise.
16896 * socket/socket.c: Likewise.
16897 * socket/socketpair.c: Likewise.
16898 * stdio-common/ctermid.c: Likewise.
16899 * stdio-common/cuserid.c: Likewise.
16900 * stdio-common/remove.c: Likewise.
16901 * stdio-common/rename.c: Likewise.
16902 * stdio-common/renameat.c: Likewise.
16903 * stdio-common/tempname.c: Likewise.
16904 * stdlib/getcontext.c: Likewise.
16905 * stdlib/makecontext.c: Likewise.
16906 * stdlib/setcontext.c: Likewise.
16907 * stdlib/swapcontext.c: Likewise.
16908 * stdlib/system.c: Likewise.
16909 * streams/fattach.c: Likewise.
16910 * streams/fdetach.c: Likewise.
16911 * streams/getmsg.c: Likewise.
16912 * streams/getpmsg.c: Likewise.
16913 * streams/putmsg.c: Likewise.
16914 * streams/putpmsg.c: Likewise.
16915 * sysdeps/unix/bsd/getpt.c: Likewise.
16916 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16917 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16918 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16921 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16922 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16923 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16924 * sysvipc/msgctl.c: Likewise.
16925 * sysvipc/msgget.c: Likewise.
16926 * sysvipc/msgrcv.c: Likewise.
16927 * sysvipc/msgsnd.c: Likewise.
16928 * sysvipc/semctl.c: Likewise.
16929 * sysvipc/semget.c: Likewise.
16930 * sysvipc/semop.c: Likewise.
16931 * sysvipc/semtimedop.c: Likewise.
16932 * sysvipc/shmat.c: Likewise.
16933 * sysvipc/shmctl.c: Likewise.
16934 * sysvipc/shmdt.c: Likewise.
16935 * sysvipc/shmget.c: Likewise.
16936 * termios/tcdrain.c: Likewise.
16937 * termios/tcflow.c: Likewise.
16938 * termios/tcflush.c: Likewise.
16939 * termios/tcgetattr.c: Likewise.
16940 * termios/tcgetpgrp.c: Likewise.
16941 * termios/tcsendbrk.c: Likewise.
16942 * termios/tcsetattr.c: Likewise.
16943 * termios/tcsetpgrp.c: Likewise.
16944 * time/adjtime.c: Likewise.
16945 * time/clock.c: Likewise.
16946 * time/getitimer.c: Likewise.
16947 * time/gettimeofday.c: Likewise.
16948 * time/setitimer.c: Likewise.
16949 * time/settimeofday.c: Likewise.
16950 * time/stime.c: Likewise.
16951 * time/time.c: Likewise.
16953 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16955 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16958 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16960 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16962 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16966 FE_TONEAREST before applying Dekker multiplication and Knuth
16967 addition. Clear inexact exceptions and check for exact zero
16968 results afterwards.
16969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16970 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16971 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16972 * math/libm-test.inc (fma_test): Add more tests.
16973 (fma_test_towardzero): Likewise.
16974 (fma_test_downward): Likewise.
16975 (fma_test_upward): Likewise.
16976 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16978 (libc_fesetround): New macro.
16979 (libc_fesetroundf): Likewise.
16980 (libc_fesetroundl): Likewise.
16981 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16983 (libc_fesetround_387): Likewise.
16984 (libc_fesetroundf): New macro.
16985 (libc_fesetround): Likewise.
16986 (libc_fesetroundl): Likewise.
16987 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16989 (libc_fesetroundf): New macro.
16990 (libc_fesetround): Likewise.
16991 (libc_fesetroundl): Likewise.
16992 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16993 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16994 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16996 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16997 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16999 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17000 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17002 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17006 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17007 integer constant usable in #if and use that to give value to enum
17009 (FE_DIVBYZERO): Likewise.
17010 (FE_UNDERFLOW): Likewise.
17011 (FE_OVERFLOW): Likewise.
17012 (FE_INVALID): Likewise.
17013 (FE_INVALID_SNAN): Likewise.
17014 (FE_INVALID_ISI): Likewise.
17015 (FE_INVALID_IDI): Likewise.
17016 (FE_INVALID_ZDZ): Likewise.
17017 (FE_INVALID_IMZ): Likewise.
17018 (FE_INVALID_COMPARE): Likewise.
17019 (FE_INVALID_SOFTWARE): Likewise.
17020 (FE_INVALID_SQRT): Likewise.
17021 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17022 (FE_TONEAREST): Likewise.
17023 (FE_TOWARDZERO): Likewise.
17024 (FE_UPWARD): Likewise.
17025 (FE_DOWNWARD): Likewise.
17026 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17027 (FE_DIVBYZERO): Likewise.
17028 (FE_OVERFLOW): Likewise.
17029 (FE_UNDERFLOW): Likewise.
17030 (FE_INEXACT): Likewise.
17031 (FE_TONEAREST): Likewise.
17032 (FE_DOWNWARD): Likewise.
17033 (FE_UPWARD): Likewise.
17034 (FE_TOWARDZERO): Likewise.
17035 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17036 (FE_UNDERFLOW): Likewise.
17037 (FE_OVERFLOW): Likewise.
17038 (FE_DIVBYZERO): Likewise.
17039 (FE_INVALID): Likewise.
17040 (FE_TONEAREST): Likewise.
17041 (FE_TOWARDZERO): Likewise.
17042 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17043 (FE_OVERFLOW): Likewise.
17044 (FE_UNDERFLOW): Likewise.
17045 (FE_DIVBYZERO): Likewise.
17046 (FE_INEXACT): Likewise.
17047 (FE_TONEAREST): Likewise.
17048 (FE_TOWARDZERO): Likewise.
17049 (FE_UPWARD): Likewise.
17050 (FE_DOWNWARD): Likewise.
17051 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17052 (FE_DIVBYZERO): Likewise.
17053 (FE_OVERFLOW): Likewise.
17054 (FE_UNDERFLOW): Likewise.
17055 (FE_INEXACT): Likewise.
17056 (FE_TONEAREST): Likewise.
17057 (FE_DOWNWARD): Likewise.
17058 (FE_UPWARD): Likewise.
17059 (FE_TOWARDZERO): Likewise.
17061 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17063 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17065 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17067 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17068 commands. Quote $PWD.
17069 (blacklist_exports): Don't use remove_newlines. Replace "declare
17071 (remove_newlines): Remove.
17073 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17075 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17076 * stdlib/stdlib.h (atof): Moved to ...
17077 * include/bits/stdlib-float.h: Here. New file.
17078 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17079 * stdlib/bits/stdlib-float.h: New file.
17080 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17085 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17087 * conform/conformtest.pl (@headers): Add fenv.h.
17088 * conform/data/fenv.h-data: New file.
17089 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17090 include of <math/fenv.h>.
17092 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17093 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17094 && !UNIX98]. Enables tests for XOPEN2K8.
17095 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17096 POSIX2008]: Likewise.
17098 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17099 (struct rusage): Do not expect type or its members.
17102 * math/math.h (FP_NAN): Define macro to integer constant usable in
17103 #if and use that to give value to enum constant.
17104 (FP_INFINITE): Likewise.
17105 (FP_ZERO): Likewise.
17106 (FP_SUBNORMAL): Likewise.
17107 (FP_NORMAL): Likewise.
17109 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17111 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17112 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17115 2012-11-02 Roland McGrath <roland@hack.frob.com>
17117 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17118 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17119 autoconf-time if not.
17120 * configure.in: Remove AC_PREREQ.
17122 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17124 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17125 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17126 of the internal implementation.
17128 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17130 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17131 except include of <misc/sys/syslog.h>.
17133 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17136 function returns with a NULL context exit with zero.
17138 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17140 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17142 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17144 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17145 (run_program_cmd): This.
17146 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17147 (tst_langinfo): New variable. Use it.
17149 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17151 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17152 floating point opcodes.
17154 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17156 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17159 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17161 * sysdeps/mach/hurd/powerpc: Remove directory.
17162 * sysdeps/mach/powerpc: Likewise.
17164 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17166 * scripts/check-local-headers.sh: Ignore c++ headers.
17168 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17170 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17171 __libc_cleanup_region_start argument.
17173 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17178 x * y using scaling, not as x * y + z.
17179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17180 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17181 * math/libm-test.inc (fma_test): Add more tests.
17182 (fma_test_towardzero): Likewise.
17183 (fma_test_downward): Likewise.
17184 (fma_test_upward): Likewise.
17186 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17188 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17190 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17192 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17195 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17197 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17199 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17206 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17209 Fix the order of the list for glibc 2.17.
17210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17213 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17217 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17220 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17221 for low part of x being zero before using __atanl (y).
17222 * math/libm-test.inc (atan2_test): Add another test.
17224 * manual/install.texi (Configuring and compiling): Document
17225 general use of test-wrapper and test-wrapper-env.
17226 * INSTALL: Regenerated.
17228 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17229 (__fma): Do not extract and scale down low bits on after-rounding
17230 systems when result rounded to normal precision would have normal
17232 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17233 (__fmal): Do not extract and scale down low bits on after-rounding
17234 systems when result rounded to normal precision would have normal
17236 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17237 (__fmal): Do not extract and scale down low bits on after-rounding
17238 systems when result rounded to normal precision would have normal
17240 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17242 (fma_test): Add more tests.
17243 (fma_test_towardzero): Likewise.
17244 (fma_test_downward): Likewise.
17245 (fma_test_upward): Likewise.
17247 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17249 * sysdeps/i386/tininess.h: Renamed to ...
17250 * sysdeps/x86/tininess.h: This.
17251 * sysdeps/x86_64/tininess.h: Removed.
17253 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17255 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17256 input. Use $(build-program-cmd).
17257 ($(objpfx)tst-array1-static.out): Likewise.
17258 ($(objpfx)tst-array2.out): Likewise.
17259 ($(objpfx)tst-array3.out): Likewise.
17260 ($(objpfx)tst-array4.out): Likewise.
17261 ($(objpfx)tst-array5.out): Likewise.
17262 ($(objpfx)tst-array5-static.out): Likewise.
17264 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17266 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17269 * nss/nsswitch.h (nss_interface_function): Provide new
17270 macro for use with NSS functions.
17271 * grp/initgroups.c: Use new macro.
17272 * nss/getXXbyYY.c: Likewise.
17273 * nss/getXXbyYY_r.c: Likewise.
17274 * nss/getXXent.c: Likewise.
17275 * nss/getXXent_r.c: Likewise.
17276 * sysdeps/posix/getaddrinfo.c: Likewise.
17278 2012-10-30 Andreas Jaeger <aj@suse.de>
17280 * po/ru.po: Update Russion translation from translation project.
17282 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17287 result and shift together with sticky bit instead of replicating
17288 round-to-nearest rounding.
17289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17290 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17291 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17292 missing underflow exceptions.
17293 (fma_test_towardzero): Add more tests.
17294 (fma_test_downward): Likewise.
17295 (fma_test_upward): Likewise.
17298 * sysdeps/generic/tininess.h: New file.
17299 * sysdeps/i386/tininess.h: Likewise.
17300 * sysdeps/sh/tininess.h: Likewise.
17301 * sysdeps/x86_64/tininess.h: Likewise.
17302 * stdlib/tst-strtod-underflow.c: Likewise.
17303 * stdlib/tst-tininess.c: Likewise.
17304 * stdlib/strtod_l.c: Include <tininess.h>.
17305 (round_and_return): Do not set errno for exact underflow cases.
17306 Force an underflow exception when setting errno for underflow.
17307 Determine underflow based on rounding to normal precision if
17308 TININESS_AFTER_ROUNDING.
17309 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17310 ERANGE for exact underflow cases.
17311 * stdlib/Makefile (tests): Add tst-tininess and
17312 tst-strtod-underflow.
17313 ($(objpfx)tst-tininess): Use $(link-libm).
17314 ($(objpfx)tst-strtod-underflow): Likewise.
17316 2012-10-30 Andreas Jaeger <aj@suse.de>
17319 * elf/Makefile (tests): Remove conditional for have-initfini-array
17320 since this is now always required and the variable does not exist
17322 (tests-static): Likewise.
17323 (modules-names): Likewise.
17325 * po/eo.po: Add Esperanto translation from translation project.
17327 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17328 merged with constructor/destructor.
17329 (init_array): Likewise.
17330 * elf/tst-array2dep.c (fini_array): Likewise.
17331 (init_array): Likewise.
17333 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17335 * manual/message.texi: Delete @cartouche tags.
17337 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17339 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17341 * sysdeps/mach/hurd/fsync.c: Likewise.
17343 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17344 [_POSIX_REALTIME_SIGNALS]: Change condition to
17345 [_POSIX_REALTIME_SIGNALS > 0].
17347 2012-10-27 Andreas Jaeger <aj@suse.de>
17349 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17350 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17352 [__WORDSIZE != 64]: Likewise.
17354 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17356 * iconvdata/tst-table.sh: Remove ${SHELL}.
17357 * iconvdata/tst-tables.sh: Likewise.
17359 2012-10-25 David S. Miller <davem@davemloft.net>
17361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17362 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17368 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17369 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17372 2012-10-25 Roland McGrath <roland@hack.frob.com>
17374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17375 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17378 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17379 Jim Blandy <jimb@codesourcery.com>
17381 * scripts/cross-test-ssh.sh: New file.
17382 * manual/install.texi (Configuring and compiling): Document use of
17384 * INSTALL: Regenerated.
17386 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17388 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17391 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17393 * Makeconfig (run-program-prefix): Fix comment.
17395 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17396 Jim Blandy <jimb@codesourcery.com>
17398 * Makeconfig (test-wrapper): New variable,
17399 (test-wrapper-env): Likewise.
17400 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17401 (run-built-tests): Define to yes.
17402 (run-program-prefix): Use $(test-wrapper).
17403 (built-program-cmd): Likewise.
17404 * Rules (make-test-out): Use $(test-wrapper-env) and
17405 $(host-built-program-cmd).
17406 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17407 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17409 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17410 $(test-wrapper-env) to tst-rtld-load-self.sh.
17411 ($(objpfx)order2.out): Use $(test-wrapper).
17412 ($(objpfx)tst-initorder.out): Likewise.
17413 ($(objpfx)tst-initorder2.out): Likewise.
17414 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17415 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17416 (test_wrapper_env): New variable. Use it to run ld.so.
17417 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17418 Use it to run ld.so.
17419 (test_wrapper_env): Likewise.
17420 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17421 $(test-wrapper) to run-iconv-test.sh.
17422 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17423 (ICONV): Use $test_wrapper.
17424 * posix/Makefile ($(objpfx)globtest.out): Pass
17425 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17426 globtest.sh, not $(run-program-prefix).
17427 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17428 (test_wrapper): Likewise.
17429 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17430 set together with run_via_rtld_prefix.
17431 (run_program_prefix): Define in terms of test_wrapper and
17432 run_via_rtld_prefix.
17434 2012-10-24 Roland McGrath <roland@hack.frob.com>
17436 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17437 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17441 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17442 Declare __clock_getres, __clock_gettime, __clock_settime,
17443 __clock_nanosleep, and __clock_getcpuclockid.
17444 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17445 Remove librt_hidden_def (clock_gettime).
17446 * sysdeps/unix/clock_gettime.c: Likewise.
17447 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17449 * rt/clock_getres.c: Define __clock_getres as an alias.
17450 * sysdeps/posix/clock_getres.c: Likewise.
17451 * rt/clock_settime.c: Define __clock_settime as an alias.
17452 * sysdeps/unix/clock_settime.c: Likewise.
17453 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17454 * sysdeps/unix/clock_nanosleep.c: Likewise.
17455 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17456 * rt/clock-compat.c: New file.
17457 * rt/Makefile (librt-routines): Add clock-compat and move
17458 $(clock-routines) to ...
17459 (routines): ... here, new variable.
17460 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17461 Don't add get_clockfreq here.
17462 * rt/Versions (libc: GLIBC_2.17): New version set.
17463 Add clock_* symbols here.
17464 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17466 (GLIBC_2.17): Add clock_* symbols.
17467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17478 * NEWS: Mention the move.
17480 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17481 Use __open, __read, __close rather than their public counterparts.
17482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17483 (__get_clockfreq_via_cpuinfo): Likewise.
17484 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17485 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17487 * config.h.in (HAVE_IFUNC): New #undef.
17488 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17490 * configure: Regenerated.
17492 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17494 * configure.in: Move READELF check to start of file.
17495 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17496 libc_cv_asm_gnu_indirect_function in the process.
17497 * configure: Regenerated.
17499 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17501 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17502 send the output to /dev/null.
17503 (libc_cv_cc_with_libunwind): Likewise.
17504 (libc_cv_as_noexecstack): Likewise.
17505 * configure: Regenerate.
17507 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17509 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17511 * posix/globtest.sh (TMPDIR): Do not set.
17512 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17513 (testout): Likewise.
17515 2012-10-24 Andreas Jaeger <aj@suse.de>
17517 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17518 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17519 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17520 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17521 posix_fadvise64, posix_fallocate64.
17523 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17524 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17525 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17527 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17529 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17532 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17533 <bits/fcntl-linux.h>.
17534 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17537 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17538 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17539 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17540 [__WORDSIZE != 64]: Likewise.
17542 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17544 * Makeconfig (run-built-tests): New variable.
17545 * Rules [$(cross-compiling) = yes]: Change condition to
17546 [$(run-built-tests) = no].
17547 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17548 to [$(run-built-tests) = yes].
17549 * elf/Makefile [$(cross-compiling) = no]: Likewise
17550 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17551 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17552 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17553 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17554 * io/Makefile [$(cross-compiling) = no]: Likewise.
17555 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17556 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17557 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17558 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17559 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17560 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17561 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17562 * string/Makefile [$(cross-compiling) = no]: Likewise.
17564 * posix/Makefile ($(objpfx)globtest.out): Pass
17565 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17566 $(rtld-installed-name).
17567 * posix/globtest.sh (elf_objpfx): Remove variable.
17568 (rtld_installed_name): Likewise.
17569 (library_path): Likewise.
17570 (run_program_prefix): New variable. Use for running globtest
17573 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17574 Joseph Myers <joseph@codesourcery.com>
17576 * Makeconfig (host-built-program-cmd): New variable.
17577 * elf/Makefile (tst-stackguard1-ARGS): Use
17578 $(host-built-program-cmd).
17579 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17580 (tst-spawn-ARGS): Likewise.
17581 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17583 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17584 Jim Blandy <jimb@codesourcery.com>
17586 * Makeconfig (run-via-rtld-prefix): New variable.
17587 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17588 (built-program-cmd): Likewise.
17590 2012-10-22 Andreas Jaeger <aj@suse.de>
17592 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17593 __O_RSYNC if it exists, otherwise to O_SYNC.
17595 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17596 Joseph Myers <joseph@codesourcery.com>
17598 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17600 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17602 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17605 2012-10-22 Andreas Jaeger <aj@suse.de>
17607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17612 bits/fcntl-linux.h.
17614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17615 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17622 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17623 Joseph Myers <joseph@codesourcery.com>
17625 * config.make.in (NM): New variable.
17627 2012-10-21 Andreas Jaeger <aj@suse.de>
17629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17630 definitions and declarations that are provided by
17631 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17633 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17636 * elf/Makefile (tests-static): Add tst-leaks1-static.
17637 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17638 ($(objpfx)tst-leaks1-static): New rule.
17639 ($(objpfx)tst-leaks1-static-mem): Likewise.
17640 (tst-leaks1-static-ENV): New macro.
17641 * elf/dl-open.c (dl_open_worker): Check the main application
17642 only if SHARED is defined.
17643 * elf/tst-leaks1-static.c: New file.
17645 2012-10-20 Andreas Jaeger <aj@suse.de>
17647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17648 generic values for Linux.
17649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17650 and declarations that are provided by <bits/fcntl-linux.h> and
17651 include <bits/fcntl-linux.h>.
17652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17655 2012-10-20 Roland McGrath <roland@hack.frob.com>
17657 * io/fcntl.h: Move include of <bits/types.h> to the top and
17658 include it unconditionally.
17660 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17662 * wcsmbs/Makefile (tests-ifunc): New variable.
17663 (tests): Add $(tests-ifunc).
17664 * wcsmbs/test-wcschr-ifunc.c: New file.
17665 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17666 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17667 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17668 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17669 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17671 * string/Makefile (tests-ifunc): New variable.
17672 (tests): Add $(tests-ifunc).
17673 * string/test-memccpy.c (TEST_NAME): New macro.
17674 * string/test-memchr.c (TEST_NAME): Likewise.
17675 * string/test-memcmp.c (TEST_NAME): Likewise.
17676 * string/test-memcpy.c (TEST_NAME): Likewise.
17677 * string/test-memmem.c (TEST_NAME): Likewise.
17678 * string/test-memmove.c (TEST_NAME): Likewise.
17679 * string/test-memset.c (TEST_NAME): Likewise.
17680 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17681 * string/test-stpcpy.c (TEST_NAME): Likewise.
17682 * string/test-stpncpy.c (TEST_NAME): Likewise.
17683 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17684 * string/test-strcasestr.c (TEST_NAME): Likewise.
17685 * string/test-strcat.c (TEST_NAME): Likewise.
17686 * string/test-strchr.c (TEST_NAME): Likewise.
17687 * string/test-strcmp.c(TEST_NAME): Likewise.
17688 * string/test-strcpy.c (TEST_NAME): Likewise.
17689 * string/test-strcspn.c (TEST_NAME): Likewise.
17690 * string/test-strlen.c (TEST_NAME): Likewise.
17691 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17692 * string/test-strncmp.c (TEST_NAME): Likewise.
17693 * string/test-strncpy.c (TEST_NAME): Likewise.
17694 * string/test-strnlen.c (TEST_NAME): Likewise.
17695 * string/test-strpbrk.c (TEST_NAME): Likewise.
17696 * string/test-strrchr.c (TEST_NAME): Likewise.
17697 * string/test-strspn.c (TEST_NAME): Likewise.
17698 * string/test-strstr.c (TEST_NAME): Likewise.
17699 * string/test-bcopy-ifunc.c: New file.
17700 * string/test-bzero-ifunc.c: Likewise.
17701 * string/test-memccpy-ifunc.c: Likewise.
17702 * string/test-memchr-ifunc.c: Likewise.
17703 * string/test-memcmp-ifunc.c: Likewise.
17704 * string/test-memcpy-ifunc.c: Likewise.
17705 * string/test-memmem-ifunc.c: Likewise.
17706 * string/test-memmove-ifunc.c: Likewise.
17707 * string/test-mempcpy-ifunc.c: Likewise.
17708 * string/test-memset-ifunc.c: Likewise.
17709 * string/test-rawmemchr-ifunc.c: Likewise.
17710 * string/test-stpcpy-ifunc.c: Likewise.
17711 * string/test-stpncpy-ifunc.c: Likewise.
17712 * string/test-strcasecmp-ifunc.c: Likewise.
17713 * string/test-strcasestr-ifunc.c: Likewise.
17714 * string/test-strcat-ifunc.c: Likewise.
17715 * string/test-strchr-ifunc.c: Likewise.
17716 * string/test-strchrnul-ifunc.c: Likewise.
17717 * string/test-strcmp-ifunc.c: Likewise.
17718 * string/test-strcpy-ifunc.c: Likewise.
17719 * string/test-strcspn-ifunc.c: Likewise.
17720 * string/test-strlen-ifunc.c: Likewise.
17721 * string/test-strncasecmp-ifunc.c: Likewise.
17722 * string/test-strncat-ifunc.c: Likewise.
17723 * string/test-strncmp-ifunc.c: Likewise.
17724 * string/test-strncpy-ifunc.c: Likewise.
17725 * string/test-strnlen-ifunc.c: Likewise.
17726 * string/test-strpbrk-ifunc.c: Likewise.
17727 * string/test-strrchr-ifunc.c: Likewise.
17728 * string/test-strspn-ifunc.c: Likewise.
17729 * string/test-strstr-ifunc.c: Likewise.
17731 * debug/Makefile (tests-ifunc): New variable.
17732 (tests): Add $(tests-ifunc).
17733 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17734 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17735 * debug/test-stpcpy_chk-ifunc.c: New file.
17736 * debug/test-strcpy_chk-ifunc.c: Likewise.
17738 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17741 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17742 header is not read in.
17744 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17746 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17747 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17748 directly. Pass built executable to script as
17749 $(built-program-cmd).
17750 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17751 $testprogram without using LD_LIBRARY_PATH and $ldso.
17753 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17754 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17755 $(rtld-installed-name).
17756 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17757 (rtld_installed_name): Likewise.
17758 (library_path): Likewise.
17759 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17760 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17761 $(run-program-prefix) to tst-tables.sh.
17762 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17763 it to run tst-table-from and tst-table-to.
17764 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17765 Pass it to tst-table.sh.
17766 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17767 $(run-program-prefix) to tst-gettext.sh.
17768 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17770 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17772 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17773 to run tst-gettext.
17774 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17775 to run tst-gettext2.
17776 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17777 to run tst-translit.
17778 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17779 $(run-program-prefix) to tst-mtrace.sh.
17780 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17782 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17783 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17784 $(rtld-installed-name).
17785 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17786 (rtld_installed_name): Likewise.
17787 (run_program_prefix): New variable. Use it to run wordexp-test.
17789 * Makeconfig (ARCH): Remove all definitions.
17790 (machine): Likewise.
17791 [ARCH]: Remove conditional code.
17792 [!objdir]: Give error.
17793 [!objdir] (objpfx): Remove.
17794 [!objdir] (common-objpfx): Likewise.
17795 [!objdir] (common-objdir): Likewise.
17796 * configure.in (config_makefile): Remove. Hardcode Makefile in
17797 AC_CONFIG_FILES call.
17798 * configure: Regenerated.
17801 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17803 (testout): Likewise.
17805 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17806 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17807 $(rtld-installed-name).
17808 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17809 (rtld_installed_name): Likwise.
17810 (runit): Remove function.
17811 (run_getconf): New variable, Use it for running getconf binary.
17813 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17816 * string/test-memmem.c (check_result): New function.
17817 (do_one_test): Use it.
17818 (check1): New function.
17819 (test_main): Use it.
17821 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17823 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17825 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17827 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17828 (_G_LSEEK64): Likewise.
17829 (_G_MMAP64): Likewise.
17830 (_G_FSTAT64): Likewise.
17831 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17832 (_G_LSEEK64): Likewise.
17833 (_G_MMAP64): Likewise.
17834 (_G_FSTAT64): Likewise.
17835 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17836 unconditional. Call __mmap64 directly.
17837 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17838 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17839 __lseek64 directly.
17840 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17841 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17843 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17844 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17845 __lseek64 directly.
17846 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17847 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17848 __lseek64 directly.
17849 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17850 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17851 __lseek64 directly.
17852 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17853 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17854 __fxstat64 directly.
17855 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17856 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17858 (freopen64) [!_G_OPEN64]: Remove conditional code.
17859 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17861 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17862 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17864 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17865 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17867 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17868 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17870 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17871 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17873 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17874 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17876 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17877 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17879 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17881 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17884 * manual/memory.texi (Malloc Tunable Parameters): Add note
17885 about free list pointers overwriting some perturb bytes.
17886 Wording suggested by Roland McGrath.
17888 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17890 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17891 (lgamma_test): Likewise.
17892 (tgamma_test): Likewise.
17894 2012-10-16 Florian Weimer <fweimer@redhat.com>
17897 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17898 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17900 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17902 * NEWS: Mention BZ #14716.
17903 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17904 when removing AVAILABLE1_USES_J macro.
17906 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17908 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17909 (__bswap_64): __uint64_t for unsigned 64-bit int.
17911 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17913 * include/string.h (memmem): Declare libc hidden alias.
17914 * string/memmem.c (memmem): Define libc hidden alias.
17915 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17916 __read, __close instead of open, read, close.
17918 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17921 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17923 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17924 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17925 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17927 (__rawmemchr_sse2): Likewise.
17928 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17929 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17930 (__strchr_sse2): Likewise.
17931 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17932 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17933 (__strcasecmp_sse2): Likewise.
17934 (__strncasecmp_sse2): Likewise.
17935 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17936 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17937 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17938 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17939 (__strrchr_sse2): Likewise.
17940 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17942 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17943 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17944 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17945 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17946 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17947 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17948 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17949 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17950 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17951 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17952 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17953 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17954 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17955 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17956 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17957 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17958 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17959 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17960 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17961 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17962 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17963 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17964 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17965 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17966 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17967 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17968 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17969 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17970 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17971 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17973 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17975 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17976 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17977 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17978 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17980 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17982 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17983 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17984 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17985 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17996 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17997 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17998 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17999 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18000 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18001 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18003 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18004 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18005 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18006 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18008 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18009 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18010 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18011 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18012 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18013 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18014 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18021 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18022 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18023 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18024 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18025 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18026 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18027 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18029 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18030 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18031 * include/ifunc-impl-list.h: New file.
18032 * misc/ifunc-impl-list.c: Likewise.
18033 * misc/Makefile (routines): Add ifunc-impl-list.
18034 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18035 * string/test-string.h: Include <ifunc-impl-list.h>.
18036 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18037 impl_array): New variables.
18038 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18040 (test_init): Call __libc_ifunc_impl_list to initialize
18041 func_list if TEST_IFUNC and TEST_NAME are defined.
18043 * string/Makefile (strop-tests): Add bcopy and bzero.
18044 * string/test-bcopy.c: New file.
18045 * string/test-bzero.c: Likewise.
18046 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18048 * string/test-memset.c: Support bzero test if TEST_BZERO is
18050 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18052 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18054 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18057 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18059 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18060 * configure: Regenerated.
18062 * Makeconfig (+link-static-before-libc): Don't include
18063 $(link-static-libc).
18065 * libio/libio.h (_IO_pos_t): Remove.
18067 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18069 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18072 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18074 * crypt/crypt-entry.c: Include fips-private.h.
18075 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18076 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18077 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18078 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18080 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18082 * crypt/crypt-private.h: Include stdbool.h.
18083 (_ufc_setup_salt_r): Return bool.
18084 * crypt/crypt-entry.c: Include errno.h.
18085 (__crypt_r): Return NULL with EINVAL for bad salt.
18086 * crypt/crypt_util.c (bad_for_salt): New.
18087 (_ufc_setup_salt_r): Check that salt is long enough and within
18088 the specified alphabet.
18089 * crypt/badsalttest.c: New file.
18090 * crypt/Makefile (tests): Add it.
18091 ($(objpfx)badsalttest): New.
18093 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18095 * NEWS: Add entry for BZ #14602.
18097 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18099 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18101 * math/libm-test.inc: Update comment listing what functions and
18103 (isgreater_test): New function.
18104 (isgreaterequal_test): Likewise.
18105 (isless_test): Likewise.
18106 (islessequal_test): Likewise.
18107 (islessgreater_test): Likewise.
18108 (isunordered_test): Likewise.
18109 (main): Call the new functions.
18111 2012-10-09 Roland McGrath <roland@hack.frob.com>
18113 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18114 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18115 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18116 * sysdeps/i386/configure: Regenerated.
18117 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18118 * sysdeps/mach/configure: Regenerated.
18119 * sysdeps/mach/hurd/configure: Regenerated.
18120 * sysdeps/powerpc/configure: Regenerated.
18121 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18122 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18123 * sysdeps/s390/s390-32/configure: Regenerated.
18124 * sysdeps/s390/s390-64/configure: Regenerated.
18125 * sysdeps/sh/configure: Regenerated.
18126 * sysdeps/sparc/configure: Regenerated.
18127 * sysdeps/unix/sysv/linux/configure: Regenerated.
18128 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18129 * sysdeps/x86_64/configure: Regenerated.
18131 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18132 defined. Don't check if MAP is NULL.
18134 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18136 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18137 (_G_stat64): Likewise.
18138 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18139 (_G_stat64): Likewise.
18140 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18141 instead of struct _G_stat64.
18142 * libio/fileops.c (mmap_remap_check): Likewise.
18143 (decide_maybe_mmap): Likewise.
18144 (_IO_new_file_seekoff): Likewise.
18145 (_IO_file_stat): Likewise.
18146 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18148 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18149 instead of struct _G_stat64.
18150 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18152 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18155 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18157 (CHECK_EOL): New macro.
18158 (two_way_short_needle): Check beginning of haystack for EOL. Use
18160 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18161 Replace with CHECK_EOL.
18162 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18163 Replace with CHECK_EOL.
18165 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18167 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18169 * math/libm-test.inc: Update comment listing what functions and
18171 (finite_test): New function.
18172 (isinf_test): Likewise.
18173 (isnan_test): Likewise.
18174 (fpclassify_test): Test subnormal input.
18175 (isfinite_test): Likewise.
18176 (isnormal_test): Likewise.
18177 (main): Call the new functions.
18179 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18182 * Makerules (%.dynsym): Force C locale when running
18183 $(OBJDUMP) --dynamic-syms.
18185 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18187 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18190 2012-10-06 David S. Miller <davem@davemloft.net>
18192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18193 upper 32-bits of the length value in %o2 since we use branch-on-register
18194 tests which consider the entire 64-bit register.
18196 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18198 * string/test-strstr.c (check2): Add a test for page boundary.
18200 2012-10-05 David S. Miller <davem@davemloft.net>
18202 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18203 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18205 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18207 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18208 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18209 and bzero when HWCAP_SPARC_CRYPTO is present.
18211 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18214 * string/test-strstr.c (check2): New function.
18215 (test_main): Call check2.
18217 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18219 * string/bug-strcasestr1.c (do_test): Moved to ...
18220 * string/test-strcasestr.c (check1): Here. New function.
18221 (do_one_test): Break out result checking code into ...
18222 (check_result): This. New function.
18223 (do_one_test): Call check_result.
18224 (test_main): Call check1.
18225 * string/bug-strchr1.c (do_test): Moved to ...
18226 * string/test-strchr.c (check1): Here. New function.
18227 (do_one_test): Break out result checking code into ...
18228 (check_result): This. New function.
18229 (do_one_test): Call check_result.
18230 (test_main): Call check1.
18231 * string/bug-strstr1.c (main): Moved to ...
18232 * string/test-strstr.c (check1): Here. New function.
18233 (do_one_test): Break out result checking code into ...
18234 (check_result): This. New function.
18235 (do_one_test): Call check_result.
18236 (test_main): Call check1.
18237 * string/bug-strcasestr1.c: Removed.
18238 * string/bug-strchr1.c: Likewise.
18239 * string/bug-strstr1.c: Likewise.
18241 * elf/Makefile (dl-routines): Add hwcaps.
18242 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18243 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18244 (_dl_important_hwcaps): Moved to ...
18245 * elf/dl-hwcaps.c: Here. New file.
18246 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18249 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18250 if IS_IN_rtld isn't defined.
18252 * elf/dl-support.c (_dl_sysinfo_map): New.
18253 Include "get-dynamic-info.h" and "setup-vdso.h".
18254 (_dl_non_dynamic_init): Call setup_vdso.
18255 * elf/dynamic-link.h: Don't include <assert.h>.
18256 (elf_get_dynamic_info): Moved to ...
18257 * elf/get-dynamic-info.h: Here. New file.
18258 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18259 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18260 * elf/setup-vdso.h: Here. New file.
18261 * elf/rtld.c: Include "setup-vdso.h".
18262 (dl_main): Call setup_vdso.
18264 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18266 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18267 creal in comment listing functions tested. List finite, isinf,
18268 isnan, isless, islessequal, isgreater, isgreaterequal,
18269 islessgreater, isunordered, lgamma_r and pow10 as functions and
18270 macros not tested. Mention which functions not tested are aliases
18271 for other functions. Fix typo. Note that signs of NaNs are not
18274 * scripts/config.guess: Update from config.git.
18275 * scripts/config.sub: Likewise.
18277 2012-10-04 Roland McGrath <roland@hack.frob.com>
18279 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18280 * misc/madvise.c (madvise): Renamed to __madvise.
18281 Make madvise a weak alias.
18282 * include/sys/mman.h: Declare __madvise.
18283 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18284 * sysdeps/unix/syscalls.list
18285 (madvise): Make __madvise the strong name, and madvise a weak alias.
18286 * sysdeps/unix/sysv/linux/syscalls.list
18287 (madvise, mmap): Remove redundant entries.
18288 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18289 * malloc/malloc.c (mtrim): Likewise.
18290 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18292 2012-10-03 Roland McGrath <roland@hack.frob.com>
18294 * sysdeps/mach/hurd/dl-cache.c: File removed.
18295 * config.h.in (USE_LDCONFIG): New #undef.
18296 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18297 * configure: Regenerated.
18298 * elf/Makefile (dl-routines): Add dl-cache only under
18299 [$(use-ldconfig) = yes].
18300 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18301 cache on [USE_LDCONFIG].
18302 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18304 * elf/rtld.c (dl_main): Likewise.
18306 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18308 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18309 _SC_LEVEL4_CACHE_LINESIZE.
18311 2012-10-03 Roland McGrath <roland@hack.frob.com>
18313 * sysdeps/unix/bsd/confstr.h: File removed.
18315 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18317 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18320 2012-10-02 Roland McGrath <roland@hack.frob.com>
18322 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18323 Make 'mapoff' field ElfW(Off) rather than off_t.
18325 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18327 * nscd/Makefile: Remove nscd-cflags and all its users.
18328 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18329 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18332 * malloc.c (malloc_printerr): Clarify error message.
18334 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18338 Set bit_FMA_Usable if FMA is supported.
18339 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18341 (bit_FMA4_Usable): Updated.
18342 (index_FMA_Usable): New macro.
18343 (CPUID_FMA): Likewise
18344 (HAS_FMA): Defined with bit_FMA_Usable.
18346 2012-10-01 Roland McGrath <roland@hack.frob.com>
18348 * bits/types.h (__swblk_t): Type removed.
18349 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18350 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18352 (__SWBLK_T_TYPE): Likewise.
18353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18354 (__SWBLK_T_TYPE): Likewise.
18355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18356 (__SWBLK_T_TYPE): Likewise.
18357 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18358 (__SWBLK_T_TYPE): Likewise.
18360 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18361 Honza Horak <hhorak@redhat.com>
18363 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18364 (xdr_mapname): Use YPMAXMAP as maxsize.
18365 (xdr_peername): Use YPMAXPEER as maxsize.
18366 (xdr_keydat): Use YPAXRECORD as maxsize.
18367 (xdr_valdat): Use YPMAXRECORD as maxsize.
18369 2012-10-01 Roland McGrath <roland@hack.frob.com>
18371 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18373 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18374 * csu/init-first.c: ... here.
18375 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18376 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18377 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18379 * sysdeps/i386/init-first.c: File removed.
18380 * sysdeps/sh/init-first.c: File removed.
18382 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18386 if x * y might underflow to zero and z is zero.
18387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18389 * math/libm-test.inc (min_subnorm_value): New variable.
18390 (fma_test): Add more tests.
18391 (fma_test_towardzero): Likewise.
18392 (fma_test_downward): Likewise
18393 (fma_test_upward): Likewise.
18394 (initialize): Set min_subnorm_value.
18396 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18402 mode for addition resulting in exact zero.
18403 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18406 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18408 * math/libm-test.inc (fma_test): Add more tests.
18409 (fma_test_towardzero): New function.
18410 (fma_test_downward): Likewise.
18411 (fma_test_upward): Likewise.
18412 (main): Call the new functions.
18414 2012-09-28 David S. Miller <davem@davemloft.net>
18416 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18418 2012-09-28 Roland McGrath <roland@hack.frob.com>
18420 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18421 instead of SIGALRM.
18423 * sysdeps/gnu/_G_config.h: Moved to ...
18424 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18425 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18426 * sysdeps/generic/_G_config.h: ... here.
18428 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18430 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18432 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18433 Conditionalize target on [libnss_test1.so-version].
18435 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18437 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18438 (elfobjdir): Move out of conditionals.
18440 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18441 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18442 (__nss_lookup_function): Conditionalize label remove_from_tree on
18443 [!DO_STATIC_NSS || SHARED], matching its only use.
18445 2012-09-28 David S. Miller <davem@davemloft.net>
18447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18448 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18450 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18452 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18454 when HWCAP_SPARC_CRYPTO is present.
18456 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18458 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18460 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18463 * stdio-common/vfprintf.c (process_string_arg): Revert
18466 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18468 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18470 * stdio-common/tst-sprintf.c: Include <locale.h>
18471 (main): Test sprintf's handling of incomplete multibyte
18474 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18476 * elf/dl-runtime.c (VERSYMIDX): Removed.
18477 * elf/dl-version.c (VERSYMIDX): Likewise.
18478 * elf/do-rel.h (VERSYMIDX): Likewise.
18479 (VALIDX): Likewise.
18480 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18481 * elf/rtld.c (VALIDX): Likewise.
18482 (ADDRIDX): Likewise.
18483 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18484 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18485 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18486 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18487 (VALIDX): Likewise.
18488 (ADDRIDX): Likewise.
18490 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18492 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18494 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18497 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18499 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18500 addresses are in the same scope as 192.0.2/24.
18501 * posix/gai.conf: Document new scope table defaults.
18503 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18506 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18507 for ftell. Compute offsets from write pointers instead.
18508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18510 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18513 * libio/Makefile (tests): New test case tst-fseek.
18514 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18515 combination works in wide mode.
18516 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18517 state when the external buffer state changes.
18519 2012-09-27 David S. Miller <davem@davemloft.net>
18522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18523 pass reloc->r_addend in as the 'high' argument to
18524 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18528 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18530 * rt/tst-aio2.c: Include <pthread.h>.
18531 * rt/tst-aio3.c: Likewise.
18533 2012-09-27 Steve Ellcey <sellcey@mips.com>
18535 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18537 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18539 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18540 contents on [SHARED].
18542 2012-09-26 Marek Polacek <polacek@redhat.com>
18546 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18547 for C++ and GCC <4.3 as well as for non GCC compilers.
18549 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18553 2012-09-25 Roland McGrath <roland@hack.frob.com>
18555 * Makefile.in (all, install): Declare with .PHONY.
18556 Reported by Michael Hope <michael.hope@linaro.org>.
18558 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18560 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18561 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18563 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18565 (sydep_routines): Add the new and the internal functions.
18566 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18567 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18569 (GLIBC_2.17): Add the new function.
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18571 (GLIBC_2.17): Likewise.
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18573 (GLIBC_2.17): Likewise.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18575 (GLIBC_2.17): Likewise.
18576 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18578 2012-09-25 Alan Modra <amodra@gmail.com>
18580 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18581 Add release barrier before setting once_control to say
18582 initialisation is done. Add hints on lwarx. Use macro in
18584 (clear_once_control): Add release barrier.
18586 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18589 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18591 * math/s_clog10.c (__clog10): Likewise.
18592 * math/s_clog10f.c (__clog10f): Likewise.
18593 * math/s_clog10l.c (__clog10l): Likewise.
18594 * math/s_clogf.c (__clogf): Likewise.
18595 * math/s_clogl.c (__clogl): Likewise.
18596 * math/Makefile (libm-calls): Add x2y2m1.
18597 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18598 (__x2y2m1): Likewise.
18599 (__x2y2m1l): Likewise.
18600 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18601 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18602 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18603 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18604 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18605 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18606 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18607 * sysdeps/i386/fpu/libm-test-ulps: Update.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18611 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18612 int as type of variable DEPTH.
18613 (glob): Use size_t instead of int as type of variables NEWCOUNT
18616 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18618 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18619 Add s_sincosf-sse2.
18620 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18621 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18622 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18623 macros for using routine as __sincosf_ia32.
18624 Use macro for function declaration and weak_alias.
18625 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18630 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18631 subnormal argument.
18632 * math/s_cexpf.c (__cexpf): Likewise.
18633 * math/s_csinf.c (__csinf): Likewise.
18634 * math/s_csinhf.c (__csinhf): Likewise.
18635 * math/s_ctanf.c (__ctanf): Likewise.
18636 * math/s_ctanhf.c (__ctanhf): Likewise.
18637 * math/s_ccosh.c (__ccoshf): Likewise.
18638 * math/s_cexp.c (__cexpl): Likewise.
18639 * math/s_csin.c (__csin): Likewise.
18640 * math/s_csinh.c (__csinh): Likewise.
18641 * math/s_ctan.c (__ctan): Likewise.
18642 * math/s_ctanh.c (ctanh): Likewise.
18643 * math/s_ccoshl.c (__ccoshl): Likewise.
18644 * math/s_cexpl.c (__cexpl): Likewise.
18645 * math/s_csinl.c (__csinl): Likewise.
18646 * math/s_csinhl.c (__csinhl): Likewise.
18647 * math/s_ctanl.c (__ctanl): Likewise.
18648 * math/s_ctanhl.c (__ctanhl): Likewise.
18650 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18652 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18653 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18654 (_IO_off_t): Define to __off_t, not _G_off_t.
18655 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18656 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18657 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18658 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18659 type of __dummy and __dummy2 fields.
18660 * sysdeps/generic/_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/gnu/_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.
18674 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18675 (_G_ssize_t): Likewise.
18676 (_G_off_t): Likewise.
18677 (_G_pid_t): Likewise.
18678 (_G_uid_t): Likewise.
18679 (_G_wchar_t): Likewise.
18680 (_G_wint_t): Likewise.
18682 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18684 * malloc/arena.c: Include malloc-sysdep.h.
18685 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18686 is sufficient to shrink the heap or an unmap is needed.
18687 * sysdeps/generic/malloc-sysdep.h: New file. Define
18688 new function check_may_shrink_heap.
18689 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18690 new function check_may_shrink_heap.
18692 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18694 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18697 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18699 * catgets/test-gencat.sh: Add "set -e".
18700 * elf/tst-pathopt.sh: Likewise.
18701 * grp/tst_fgetgrent.sh: Likewise.
18702 * iconvdata/run-iconv-test.sh: Likewise.
18703 * intl/tst-gettext.sh: Likewise.
18704 * intl/tst-gettext2.sh: Likewise.
18705 * intl/tst-gettext4.sh: Likewise.
18706 * intl/tst-gettext6.sh: Likewise.
18707 * intl/tst-translit.sh: Likewise.
18708 * io/ftwtest-sh: Likewise.
18709 * libio/test-freopen.sh: Likewise.
18710 * malloc/tst-mtrace.sh: Likewise.
18711 * posix/globtest.sh: Likewise.
18712 * posix/tst-getconf.sh: Likewise.
18713 * posix/wordexp-tst.sh: Likewise.
18714 * stdio-common/tst-printf.sh: Likewise.
18715 * stdio-common/tst-unbputc.sh: Likewise.
18716 * stdlib/tst-fmtmsg.sh: Likewise.
18717 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18718 * catgets/Makefile: Do not specify -e option when running
18719 testsuite shell scripts.
18720 * elf/Makefile: Likewise.
18721 * grp/Makefile: Likewise.
18722 * iconvdata/Makefile: Likewise.
18723 * intl/Makefile: Likewise.
18724 * io/Makefile: Likewise.
18725 * libio/Makefile: Likewise.
18726 * malloc/Makefile: Likewise.
18727 * posix/Makefile: Likewise.
18728 * stdio-common/Makefile: Likewise.
18729 * stdlib/Makefile: Likewise.
18730 * sysdeps/x86_64/Makefile: Likewise.
18732 * io/ftwtest-sh: Add copyright header.
18733 * posix/globtest.sh: Likewise.
18734 * posix/tst-getconf.sh: Likewise.
18735 * posix/wordexp-tst.sh: Likewise.
18736 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18738 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18741 * Makeconfig (+link): Defined as $(+link-static) if
18742 $(build-shared) isn't yes.
18743 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18745 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18747 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18750 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18751 new chunk size with MALLOC_ALIGN_MASK.
18753 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18756 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18758 (__printf_fphex): Determine rounding using get_rounding_mode and
18760 * stdio-common/tst-printf-round.c (struct hex_test): New
18762 (hex_tests): New variable.
18763 (test_hex_in_one_mode): New function.
18764 (do_test): Also run tests for hex float output.
18766 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18768 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18769 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18770 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18771 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18772 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18773 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18774 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18775 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18777 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18779 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18780 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18781 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18782 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18784 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18787 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18789 * elf/tst-rtld-load-self.sh: New test.
18790 * elf/Makefile: Run it.
18792 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18795 (tst-writev-ENV): Remove.
18796 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18798 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18800 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18802 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18804 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18806 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18808 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18809 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18810 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18813 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18816 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18817 * config.make.in (have-cpp-asm-debuginfo): Removed.
18818 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18819 * configure: Regenerated.
18821 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18824 * stdio-common/printf_fp.c: Include <stdbool.h> and
18826 (___printf_fp): Determine rounding using get_rounding_mode and
18828 * stdio-common/tst-printf-round.c: New file.
18829 * stdio-common/Makefile (tests): Add tst-printf-round.
18830 (link-libm): New variable.
18831 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18833 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18836 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18837 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18839 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18842 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18844 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18845 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18846 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18847 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18849 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18852 * include/rounding-mode.h: New file.
18853 * sysdeps/generic/get-rounding-mode.h: Likewise.
18854 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18855 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18856 (MAX_VALUE): New macro.
18857 (MIN_VALUE): Likewise.
18858 (overflow_value): New function.
18859 (underflow_value): Likewise.
18860 (round_and_return): Use overflow_value and underflow_value to
18861 determine return values in overflow and underflow cases. Use
18862 round_away to determine rounding depending on rounding mode.
18863 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18864 determine return values in overflow and underflow cases.
18865 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18866 (struct test_results): New structure.
18867 (struct test): Use struct test_results to store expected results
18868 for all rounding modes.
18869 (TEST): Include expected results for all rounding modes.
18870 (test_in_one_mode): New function.
18871 (do_test): Use test_in_one_mode to compute and check results.
18872 Check results for all rounding modes.
18873 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18876 2012-12-09 Allan McRae <allan@archlinux.org>
18878 * sysdeps/i386/fpu/libm-test-ulps: Update
18880 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18882 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18883 (_G_int32_t): Likewise.
18884 (_G_uint16_t): Likewise.
18885 (_G_uint32_t): Likewise.
18886 (_G_HAVE_BOOL): Likewise.
18887 (_G_HAVE_ATEXIT): Likewise.
18888 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18889 (_G_HAVE_IO_FILE_OPEN): Likewise.
18890 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18891 (_G_int32_t): Likewise.
18892 (_G_uint16_t): Likewise.
18893 (_G_uint32_t): Likewise.
18894 (_G_HAVE_BOOL): Likewise.
18895 (_G_HAVE_ATEXIT): Likewise.
18896 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18897 (_G_HAVE_IO_FILE_OPEN): Likewise.
18898 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18899 (_G_int32_t): Likewise.
18900 (_G_uint16_t): Likewise.
18901 (_G_uint32_t): Likewise.
18902 (_G_HAVE_BOOL): Likewise.
18903 (_G_HAVE_ATEXIT): Likewise.
18904 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18905 (_G_HAVE_IO_FILE_OPEN): Likewise.
18907 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18909 * csu/libc-tls.c: Update copyright years.
18911 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18913 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18914 [!_G_USING_THUNKS]: Remove conditional code.
18915 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18916 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18918 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18919 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18920 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18921 (_G_VTABLE_LABEL_PREFIX): Likewise.
18922 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18923 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18924 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18925 (_G_VTABLE_LABEL_PREFIX): Likewise.
18926 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18927 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18928 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18929 (_G_VTABLE_LABEL_PREFIX): Likewise.
18930 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18932 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18934 * libio/Makefile: Include ../Makeconfig before tests.
18935 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18936 only if $(build-shared) is yes.
18938 * iconv/gconv_db.c: Update copyright years.
18940 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18942 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18943 unwind info if defined PIC. Fix special cases description.
18944 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18946 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18948 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18950 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18952 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18954 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18957 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18958 (LDLIBS-tst-chk4): This.
18959 (LDFLAGS-tst-chk5): Renamed to ...
18960 (LDLIBS-tst-chk5): This.
18961 (LDFLAGS-tst-chk6): Renamed to ...
18962 (LDLIBS-tst-chk6): This.
18963 (LDFLAGS-tst-lfschk4): Renamed to ...
18964 (LDLIBS-tst-lfschk4): This.
18965 (LDFLAGS-tst-lfschk5): Renamed to ...
18966 (LDLIBS-tst-lfschk5): This.
18967 (LDFLAGS-tst-lfschk6): Renamed to ...
18968 (LDLIBS-tst-lfschk6): This.
18970 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18971 on $(common-objpfx)soversions.mk.
18973 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18976 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18979 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18981 * malloc/arena.c (arena_get_retry): New function that gets
18982 another arena for the caller to try its request on.
18983 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18984 current arena cannot fulfill the request.
18985 (__libc_memalign): Likewise.
18986 (__libc_memalign): Likewise.
18987 (__libc_pvalloc): Likewise.
18988 (__libc_calloc): Likewise.
18990 2012-09-05 John Tobey <john.tobey@gmail.com>
18993 * manual/arith.texi (Operations on Complex): Fix description
18994 of carg branch cut.
18996 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18999 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19003 * manual/memory.texi (Memory): Make order of menu items match
19006 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19008 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19009 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19010 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19012 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19014 * csu/libc-tls.c (static_dtv): Renamed to ...
19015 (_dl_static_dtv): This. Make it global.
19016 (_dl_initial_dtv): Removed.
19017 (__libc_setup_tls): Updated.
19018 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19019 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19022 2012-09-06 Petr Machata <pmachata@redhat.com>
19024 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19025 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19026 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19027 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19029 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19032 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19033 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19039 * Makeconfig (link-static-before-libc): Replace $(+prector)
19041 (link-static-after-libc): Replace $(+postctor) with
19043 (link-bounded): Replace $(+prector)/$(+postctor) with
19044 $(+prectorT)/$(+postctorT).
19045 (+prectorT): New macro.
19046 (+postctorT): Likewise.
19048 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19050 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19051 (round_str): Handle values above the maximum for IBM long double
19053 * stdlib/tst-strtod-round.c (tests): Regenerated.
19055 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19057 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19059 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19060 zarch_nohighgprs around the zarch optimized routines.
19061 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19062 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19066 2012-09-05 David S. Miller <davem@davemloft.net>
19068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19070 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19071 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19072 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19073 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19076 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19078 * malloc/arena.c: Fold copyright years.
19079 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19081 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19083 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19085 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19087 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19089 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19091 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19092 change internal state upon failure.
19094 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19096 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19097 * malloc/memusage.c (mmap): Likewise.
19098 (mmap64, mremap): Likewise. Adjust name in comment.
19100 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19102 * libio/fileops.c: Fix typos in comments.
19103 * libio/oldfileops.c: Likewise.
19104 * libio/wfileops.c: Likewise.
19106 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19109 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19110 (tst-malloc-usable-ENV): Set environment for test case.
19111 * malloc/hooks.c (malloc_check_get_size): New function to get
19113 * malloc/malloc.c (musable): Use malloc_check_get_size.
19114 * malloc/tst-malloc-usable.c: New test case.
19116 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19118 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19120 2012-09-05 Allan McRae <allan@archlinux.org>
19123 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19124 determine header location.
19125 * configure: Regenerated.
19127 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19129 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19131 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19132 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19134 (test): Regenerate.
19136 2012-09-04 David S. Miller <davem@davemloft.net>
19138 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19139 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19140 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19142 2012-09-04 Florian Weimer <fweimer@redhat.com>
19144 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19147 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19149 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19152 * libio/iogetdelim.c: Include <limits.h>.
19153 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19154 + len + 1 would overflow.
19156 2012-09-03 Andreas Jaeger <aj@suse.de>
19158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19159 * sysdeps/i386/fpu/libm-test-ulps: Update.
19161 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19163 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19164 Add s_sinf-sse2, s_conf-sse2.
19166 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19167 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19168 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19169 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19171 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19172 for using routine as __sinf_ia32.
19173 Use macro for function declaration and weak_alias.
19174 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19175 for using routine as __cosf_ia32.
19176 Use macro for function declaration and weak_alias.
19178 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19179 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19181 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19182 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19185 * math/libm-test.inc (cos_test): Add more test cases.
19186 (sin_test): Likewise.
19187 (sincos_test): Likewise.
19189 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19191 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19192 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19194 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19196 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19199 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19200 first element of the GOT.
19201 (elf_machine_load_address): Return the difference between
19202 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19204 2012-09-01 Allan McRae <allan@archlinux.org>
19207 * configure.in (AWK): Require gawk version 3.0 or later.
19208 * configure: Regenerated.
19210 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19212 * sysdeps/unix/sysv/linux/kernel-features.h
19213 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19214 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19215 [__NR_clock_getres]: Make code unconditional.
19216 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19217 (clock_getcpuclockid): Remove code left unreachable by removal of
19219 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19220 code unconditional.
19221 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19222 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19223 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19224 Make code unconditional.
19225 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19226 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19227 * sysdeps/unix/sysv/linux/clock_settime.c
19228 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19230 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19231 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19233 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19236 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19237 scripts/test-installation.pl.
19239 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19240 and $ld_so_version if it is set.
19242 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19245 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19246 failure if reading from procfs failed.
19247 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19249 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19251 * sysdeps/unix/sysv/linux/kernel-features.h
19252 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19253 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19254 Remove conditional code.
19255 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19256 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19257 Remove conditional code.
19258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19259 * sysdeps/unix/sysv/linux/i386/fxstat.c
19260 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19262 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19263 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19265 * sysdeps/unix/sysv/linux/i386/lxstat.c
19266 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19268 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19269 Remove conditional code.
19270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19271 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19272 Remove conditional code.
19273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19274 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19275 <kernel-features.h>.
19276 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19278 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19279 Remove conditional code.
19280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19281 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19282 Remove conditional.
19284 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19287 * NEWS: Add fixed bug number.
19289 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19292 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19293 underflowing exponent in case of negative sign.
19294 * stdlib/tst-strtod-round-data: Add more tests.
19295 * stdlib/tst-strtod-round.c (tests): Regenerated.
19298 * stdlib/strtod_l.c (NDIG): Remove.
19299 (HEXNDIG): Likewise.
19300 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19301 smallest representable value.
19302 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19303 lie within an exact representation of 1/2 ulp of the result.
19304 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19306 (TENS_P9_IDX): Define unconditionally.
19307 (TENS_P9_SIZE): Likewise.
19308 (TENS_P10_IDX): Likewise.
19309 (TENS_P10_SIZE): Likewise.
19310 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19311 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19312 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19313 entries for 10^2^13 and 10^2^14.
19314 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19315 (TENS_P13_IDX): Define.
19316 (TENS_P13_SIZE): Likewise.
19317 (TENS_P14_IDX): Likewise.
19318 (TENS_P14_SIZE): Likewise.
19319 (_fpioconst_pow10): Change array size to
19320 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19322 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19323 1024]: Add entries for 10^2^13 and 10^2^14.
19324 [LAST_POW10 > _LAST_POW10]: Remove #error.
19325 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19326 (_fpioconst_pow10): Change array size to
19327 FPIOCONST_POW10_ARRAY_SIZE.
19328 * stdlib/gen-fpioconst.c: New file.
19329 * stdlib/gen-tst-strtod-round.c: Likewise.
19330 * stdlib/tst-strtod-round-data: Likewise.
19331 * stdlib/tst-strtod-round.c: Likewise.
19332 * stdlib/Makefile (tests): Add tst-strtod-round.
19335 * stdlib/strtod_l.c: Include <stdint.h>.
19336 (NDEBUG): Do not define.
19337 (round_and_return): Change EXPONENT parameter to type intmax_t.
19338 Rearrange calculations to avoid internal overflow possibilities.
19339 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19340 Rearrange calculations to avoid internal overflow possibilities.
19341 Assert that number fits inside MPNSIZE limbs.
19342 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19343 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19344 calculations and add assertions to avoid internal overflow
19345 possibilities. Add casts to avoid signed/unsigned operations.
19346 * stdlib/tst-strtod-overflow.c: New file.
19347 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19349 2012-08-25 Marek Polacek <polacek@redhat.com>
19351 * time/time.h: Fix some typos in comments.
19353 2012-08-23 Roland McGrath <roland@hack.frob.com>
19355 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19356 * posix/tst-rfc3484-2.c: Likewise.
19357 * posix/tst-rfc3484-3.c: Likewise.
19359 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19361 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19362 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19364 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19366 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19367 #include of fxstatat64.c.
19369 2012-08-22 Roland McGrath <roland@hack.frob.com>
19371 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19372 * shadow/getspent_r.c: Likewise.
19373 * shadow/getspnam.c: Likewise.
19374 * shadow/getspnam_r.c: Likewise.
19375 * gshadow/getsgent.c: Likewise.
19376 * gshadow/getsgent_r.c: Likewise.
19377 * gshadow/getsgnam.c: Likewise.
19378 * gshadow/getsgnam_r.c: Likewise.
19379 * inet/getnetbyad.c: Likewise.
19380 * inet/getnetbyad_r.c: Likewise.
19381 * inet/getnetbynm.c: Likewise.
19382 * inet/getnetbynm_r.c: Likewise.
19383 * inet/getnetent.c: Likewise.
19384 * inet/getnetent_r.c: Likewise.
19385 * inet/getproto.c: Likewise.
19386 * inet/getproto_r.c: Likewise.
19387 * inet/getprtent.c: Likewise.
19388 * inet/getprtent_r.c: Likewise.
19389 * inet/getprtname.c: Likewise.
19390 * inet/getprtname_r.c: Likewise.
19391 * inet/getrpcbyname.c: Likewise.
19392 * inet/getrpcbyname_r.c: Likewise.
19393 * inet/getrpcbynumber.c: Likewise.
19394 * inet/getrpcbynumber_r.c: Likewise.
19395 * inet/getrpcent.c: Likewise.
19396 * inet/getrpcent_r.c: Likewise.
19397 * inet/getaliasent.c: Likewise.
19398 * inet/getaliasent_r.c: Likewise.
19399 * inet/getaliasname.c: Likewise.
19400 * inet/getaliasname_r.c: Likewise.
19401 * nscd/getgrgid_r.c: Likewise.
19402 * nscd/getgrnam_r.c: Likewise.
19403 * nscd/gethstbyad_r.c: Likewise.
19404 * nscd/gethstbynm3_r.c: Likewise.
19405 * nscd/getpwnam_r.c: Likewise.
19406 * nscd/getpwuid_r.c: Likewise.
19407 * nscd/getsrvbynm_r.c: Likewise.
19408 * nscd/getsrvbypt_r.c: Likewise.
19409 * nscd/gai.c: Likewise.
19411 * configure.in (build_nscd): New substituted variable, set
19412 by --disable-build-nscd and defaults to $use_nscd.
19413 * configure: Regenerated.
19414 * config.make.in (build-nscd): New substituted variable.
19415 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19416 Change conditional to require [$(build-nscd) = yes] as well.
19417 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19420 * configure.in (use_nscd): New substituted variable, set by
19421 --disable-nscd. If enabled, define USE_NSCD.
19422 * configure: Regenerated.
19423 * config.h.in: Add USE_NSCD.
19424 * config.make.in (use-nscd): New substituted variable.
19425 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19426 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19427 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19428 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19429 (CFLAGS-getgrnam_r.c): Likewise.
19430 (CFLAGS-initgroups.c): Likewise.
19431 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19432 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19434 * inet/getnetgrent_r.c
19435 (nscd_setnetgrent): New function, broken out of ...
19436 (setnetgrent): ... here. Call it.
19437 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19438 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19439 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19440 * nscd/Makefile (routines, aux): Move definitions after include of
19441 Makeconfig. Conditionalize on [$(use-nscd) != no].
19442 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19443 Conditionalize on [USE_NSCD].
19444 (is_nscd, nscd_init_cb): Likewise.
19445 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19446 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19447 * nss/nss_db/db-init.c: Likewise.
19448 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19450 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19451 (make_request): Use it.
19452 (cache_valid_p): New function.
19453 (__check_pf): Use it.
19454 * NEWS: Add item for --disable-nscd.
19456 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19458 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19459 to support sed >= 4.2.1-20-ga9bf076.
19460 * configure: Regenerated.
19462 2012-08-22 Roland McGrath <roland@hack.frob.com>
19464 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19465 Conditionalize whole body on [IREL].
19467 2012-08-22 Jeff Law <law@redhat.com>
19470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19471 if the family is PF_UNSPEC.
19473 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19475 * Makerules (lib-version): Rename from V.
19476 (install-lib-nosubdir): Change V to lib-version.
19478 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19481 * powerpc32/power6/wcschr.c: New file.
19482 * powerpc32/power6/wcscpy.c: New file.
19483 * powerpc32/power6/wcsrchr.c: New file.
19484 * powerpc64/power6/wcschr.c: New file.
19485 * powerpc64/power6/wcscpy.c: New file.
19486 * powerpc64/power6/wcsrchr.c: New file.
19488 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19490 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19491 (two_way_short_needle): Use it.
19492 * string/strstr.c (AVAILABLE1_USES_J): Define.
19493 * string/strcasestr.c: Likewise.
19495 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19497 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19500 * NEWS: Add an entry.
19501 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19502 define their defaults.
19503 (two_way_short_needle): Detect end-of-string on-the-fly.
19504 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19505 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19506 * string/bug-strcasestr1.c: New test.
19507 * string/Makefile: Run it.
19509 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19512 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19513 the first character.
19515 2012-08-21 Roland McGrath <roland@hack.frob.com>
19517 * csu/elf-init.c (__libc_csu_irel): Function removed.
19518 * csu/libc-start.c (apply_irel): New function.
19519 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19521 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19523 * sysdeps/unix/sysv/linux/kernel-features.h
19524 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19525 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19526 <kernel-features.h>.
19527 [__NR_fadvise64_64]: Make code unconditional.
19528 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19529 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19530 !__NR_fadvise64_64)]: Likewise.
19531 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19532 !__NR_fadvise64_64))]: Likewise.
19533 [__NR_fadvise64]: Make code unconditional.
19534 [!__NR_fadvise64]: Remove conditional code.
19535 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19536 <kernel-features.h>.
19537 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19539 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19542 not include <kernel-features.h>.
19543 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19545 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19547 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19548 include <kernel-features.h>.
19549 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19551 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19554 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19557 slight instruction rearrangements per scrollpipe analysis.
19558 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19560 2012-08-20 Roland McGrath <roland@hack.frob.com>
19562 * manual/syslog.texi (syslog; vsyslog, closelog):
19563 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19564 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19566 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19567 DSOCAPS to match condition on defining it.
19569 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19571 * sysdeps/unix/sysv/linux/kernel-features.h
19572 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19574 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19575 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19577 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19578 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19580 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19581 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19583 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19584 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19586 * sysdeps/unix/sysv/linux/kernel-features.h
19587 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19588 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19590 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19591 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19592 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19593 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19594 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19595 Make code unconditional.
19596 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19597 (__mmap64) [!__NR_mmap2]: Likewise.
19598 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19599 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19600 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19601 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19602 [__NR_mmap2]: Make code unconditional.
19603 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19604 (__mmap64) [!__NR_mmap2]: Likewise.
19606 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19608 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19610 2012-08-18 Andreas Jaeger <aj@suse.de>
19612 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19614 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19616 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19617 * include/unistd.h (__have_sock_cloexec): Likewise.
19618 (__have_pipe2): Likewise.
19619 (__have_dup3): Likewise.
19621 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19624 * include/unistd.h (__have_pipe2): Change define into an extern int.
19625 (__have_dup3): Likewise.
19626 * socket/have_sock_cloexec.c: Include fcntl.h.
19627 (__have_pipe2): New variable.
19628 (__have_dup3): Likewise.
19630 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19632 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19634 2012-08-17 Marek Polacek <polacek@redhat.com>
19636 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19637 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19639 2012-08-17 Roland McGrath <roland@hack.frob.com>
19641 * configure.in: Add AC_SUBST for sysheaders.
19642 * configure: Regenerated.
19643 * config.make.in (sysheaders): New substituted variable.
19645 * sysdeps/unix/mkfifo.c: Moved ...
19646 * sysdeps/posix/mkfifo.c: ... here.
19647 * sysdeps/unix/mkfifoat.c: Moved ...
19648 * sysdeps/posix/mkfifoat.c: ... here.
19650 * sysdeps/unix/utime.c: Moved ...
19651 * sysdeps/posix/utime.c: ... here.
19653 * sysdeps/unix/time.c: Moved ...
19654 * sysdeps/posix/time.c: ... here.
19655 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19656 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19658 * sysdeps/unix/nice.c: Moved ...
19659 * sysdeps/posix/nice.c: ... here.
19661 * sysdeps/unix/alarm.c: Moved ...
19662 * sysdeps/posix/alarm.c: ... here.
19664 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19666 2012-08-17 Jeff Law <law@redhat.com>
19668 * intl/Makefile (codeset_mo): New variable.
19669 ($(codeset_mo)): New target.
19670 (tst-codeset.out): Depend on that. Remove explicit rule.
19671 (tst-gettext3.out, tst-gettext5.out): Likewise.
19672 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19673 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19674 * intl/tst-codeset.sh: Remove.
19675 * intl/tst-gettext3.sh: Likewise.
19676 * intl/tst-gettext5.sh: Likewise.
19678 2012-08-17 Roland McGrath <roland@hack.frob.com>
19680 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19681 * sysdeps/unix/syscalls.list: ... here.
19683 * sysdeps/posix/getaddrinfo.c
19684 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19685 (gaiconf_init, gaiconf_reload): Use them.
19686 [!_STATBUF_ST_NSEC]
19687 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19688 Define using time_t rather than struct timespec.
19690 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19691 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19693 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19695 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19696 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19699 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19700 __libc_cleanup_push argument.
19702 * bits/param.h: New file.
19703 * misc/sys/param.h: New file.
19704 * include/sys/param.h: New file.
19705 * misc/Makefile (headers): Add bits/param.h.
19706 * sysdeps/generic/sys/param.h: File removed.
19707 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19708 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19709 * sysdeps/mach/hurd/bits/param.h: New file.
19710 * sysdeps/mach/hurd/sys/param.h: File removed.
19712 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19715 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19717 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19718 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19721 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19722 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19723 rather than -D_IO_MTSAFE_IO conditionally.
19724 * stdio-common/Makefile (CPPFLAGS): Likewise.
19725 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19726 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19727 Use $(libio-mtsafe).
19728 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19729 of -D_IO_MTSAFE_IO.
19730 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19731 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19732 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19733 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19734 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19735 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19736 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19737 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19738 (CFLAGS-fread_u_chk.c): Likewise.
19739 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19740 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19741 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19742 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19743 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19744 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19745 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19746 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19747 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19749 * libio/Makefile: Test [$(libc-reentrant) = yes]
19750 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19753 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19754 * sysdeps/pthread/configure: File removed.
19755 * sysdeps/pthread/Makeconfig: New file.
19756 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19757 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19759 2012-08-16 Gary Benson <gbenson@redhat.com>
19761 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19762 unmapping the first object in a namespace.
19764 2012-08-16 Roland McGrath <roland@hack.frob.com>
19766 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19767 (__internal_setnetgrent): ... this. Add internal_function to
19768 definition. Add libc_hidden_def.
19769 (setnetgrent): Update caller.
19770 (internal_endnetgrent): Renamed to ...
19771 (__internal_endnetgrent): ... this. Add internal_function to
19772 definition. Add libc_hidden_def.
19773 (endnetgrent): Update caller.
19774 (internal_getnetgrent_r): Renamed to ...
19775 (__internal_getnetgrent_r): ... this. Add internal_function to
19776 definition. Add libc_hidden_def.
19777 (__getnetgrent_r): Update caller.
19778 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19780 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19782 * stdlib/longlong.h: Update from GCC.
19784 2012-08-16 Roland McGrath <roland@hack.frob.com>
19786 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19787 on _QL, which is set by umul_ppmm but never used.
19788 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19789 variables, which are set by GMP macros but never used.
19790 * stdio-common/_itowa.c (_itowa): Likewise.
19791 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19792 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19794 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19796 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19797 struct La_sh_regs is not constant.
19798 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19799 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19800 and struct La_sparc64_regs are not constant.
19802 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19804 * sysdeps/unix/sysv/linux/kernel-features.h
19805 (__ASSUME_POSIX_TIMERS): Remove.
19806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19807 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19808 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19809 Make code unconditional.
19810 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19811 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19812 Make code unconditional.
19813 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19814 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19815 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19816 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19817 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19818 Make code unconditional.
19819 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19820 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19821 (__libc_missing_posix_timers): Remove.
19823 2012-08-15 Roland McGrath <roland@hack.frob.com>
19825 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19826 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19828 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19830 * elf/dl-sym.c: Include <stdlib.h>.
19832 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19833 constants, which avoids warnings in 32-bit builds.
19835 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19836 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19838 * misc/lseek.c: File moved to ...
19839 * io/lseek.c: ... here.
19841 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19843 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19844 shifting LEN more than 31 bits at once.
19846 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19849 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19850 segmentation fault for a case of two empty input strings.
19851 * string/test-strncasecmp.c (check1): Renamed to...
19852 (bz12205): ...this.
19853 (bz14195): Add new testcase for two empty input strings and N > 0.
19854 (test_main): Call new testcase, adapt for renamed function.
19856 2012-08-15 Andreas Jaeger <aj@suse.de>
19859 * crypt/md5test2.c: New test, based on test supplied by Serge
19860 Belyshev <belyshev@depni.sinp.msu.ru>.
19861 * crypt/Makefile (xtests): Add md5test-giant..
19862 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19864 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19867 * crypt/md5.c (md5_process_block): Don't assume the buffer
19868 length is less than 2**32.
19869 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19870 length is less than 2**64.
19872 2012-08-15 Roland McGrath <roland@hack.frob.com>
19874 * string/str-two-way.h: Include <sys/param.h>.
19875 (MAX): Macro removed.
19877 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19878 Move #define and #undef of memmove to just before and after
19879 including <string.h>.
19881 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19882 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19883 and after including <string.h>. Move declarations of
19884 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19885 to before #include "string/memmove.c".
19887 * include/dirent.h: Declare __getdirentries.
19889 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19890 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19892 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19894 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19895 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19896 * sysdeps/i386/configure: Regenerated.
19897 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19898 STABS_CURRENT_FILE, and STABS_FUN.
19899 (END): Remove call to STABS_FUN_END.
19900 (STABS_CURRENT_FILE1): Delete.
19901 (STABS_CURRENT_FILE): Likewise.
19902 (STABS_FUN): Likewise.
19903 (STABS_FUN_END): Likewise.
19904 (STABS_FUN2): Likewise.
19905 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19906 * sysdeps/x86_64/configure: Regenerated.
19908 2012-08-14 Roland McGrath <roland@hack.frob.com>
19910 * elf/dl-open.c: Include <atomic.h>.
19911 * elf/dl-lookup.c: Likewise.
19913 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19915 * sysdeps/unix/sysv/linux/kernel-features.h
19916 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19917 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19919 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19921 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19922 condition on __ASSUME_CLONE_THREAD_FLAGS.
19924 2012-08-14 Andreas Jaeger <aj@suse.de>
19926 * sysdeps/i386/fpu/libm-test-ulps: Update.
19928 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19930 * include/atomic.h (atomic_exchange_and_add): Split into ...
19931 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19934 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19938 2012-08-13 Jeff Law <law@redhat.com>
19940 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19941 null byte in the output string.
19943 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/unix/sysv/linux/kernel-features.h
19946 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19947 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19948 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19950 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19951 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19952 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19954 2012-08-09 Jeff Law <law@redhat.com>
19957 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19958 When avoid_arena is set, don't retry in the that arena. Pick the
19959 next one, whatever it might be.
19960 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19961 (arena_lock): Pass in new parameter to arena_get2.
19962 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19964 (__libc_malloc): Unify retrying after main arena failure with
19965 __libc_memalign version.
19966 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19968 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19971 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19972 to __redirect_strstr.
19973 (__strstr_sse42): Use typeof __redirect_strstr.
19974 (__strstr_ia32): Likewise.
19975 (__libc_strstr): New prototype.
19976 (strstr): Renamed to ...
19977 (__libc_strstr): This.
19978 (strstr): New strong alias of __libc_strstr.
19979 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19980 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19983 (__libc_time): New prototype.
19984 (time_ifunc): Replace time with __libc_time.
19985 (time): New strong alias and hidden definition of __libc_time.
19986 (__GI_time): Remove strong alias.
19987 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19988 Include <stddef.h>.
19989 (memmove): Redefined to __redirect_memmove.
19990 (__memmove_sse2): Use typeof __redirect_memmove.
19991 (__memmove_ssse3): Likewise.
19992 (__memmove_ssse3_back): Likewise.
19993 (__libc_memmove): New prototype.
19994 (memmove): Renamed to ...
19995 (__libc_memmove): This.
19996 (memmove): New strong alias of __libc_memmove.
19998 2012-08-08 Mark Salter <msalter@redhat.com>
20001 (R_MN10300_TLS_GD): Define.
20002 (R_MN10300_TLS_LD): Likewise.
20003 (R_MN10300_TLS_LDO): Likewise.
20004 (R_MN10300_TLS_GOTIE): Likewise.
20005 (R_MN10300_TLS_IE): Likewise.
20006 (R_MN10300_TLS_LE): Likewise.
20007 (R_MN10300_TLS_DTPMOD): Likewise.
20008 (R_MN10300_TLS_DTPOFF): Likewise.
20009 (R_MN10300_TLS_TPOFF): Likewise.
20010 (R_MN10300_SYM_DIFF): Likewise.
20011 (R_MN10300_ALIGN): Likewise.
20012 (R_MN10300_NUM): Update.
20014 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20016 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20019 2012-08-08 Roland McGrath <roland@hack.frob.com>
20021 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20023 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20024 sysdeps/unix -> sysdeps/posix move.
20025 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20027 2012-08-07 Allan McRae <allan@archlinux.org>
20030 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20031 (SUNOS_CPP): Likewise.
20032 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20034 (open_input): Call CPP using execvp.
20036 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20038 * sysdeps/unix/sysv/linux/kernel-features.h
20039 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20040 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20041 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20042 (__ASSUME_WAITID_SYSCALL): Likewise.
20043 * sysdeps/unix/sysv/linux/dl-execstack.c
20044 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20045 code unconditional.
20046 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20049 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20050 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20052 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20054 [__ASSUME_WAITID_SYSCALL]: Likewise.
20055 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20057 2012-08-07 Roland McGrath <roland@hack.frob.com>
20059 * sysdeps/unix/closedir.c: Renamed to ...
20060 * sysdeps/posix/closedir.c: ... here.
20061 * sysdeps/unix/dirfd.c: Renamed to ...
20062 * sysdeps/posix/dirfd.c: ... here.
20063 * sysdeps/unix/dirstream.h: Renamed to ...
20064 * sysdeps/posix/dirstream.h: ... here.
20065 * sysdeps/unix/fdopendir.c: Renamed to ...
20066 * sysdeps/posix/fdopendir.c: ... here.
20067 * sysdeps/unix/opendir.c: Renamed to ...
20068 * sysdeps/posix/opendir.c: ... here.
20069 * sysdeps/unix/readdir.c: Renamed to ...
20070 * sysdeps/posix/readdir.c: ... here.
20071 * sysdeps/unix/readdir_r.c: Renamed to ...
20072 * sysdeps/posix/readdir_r.c: ... here.
20073 * sysdeps/unix/rewinddir.c: Renamed to ...
20074 * sysdeps/posix/rewinddir.c: ... here.
20075 * sysdeps/unix/seekdir.c: Renamed to ...
20076 * sysdeps/posix/seekdir.c: ... here.
20077 * sysdeps/unix/telldir.c: Renamed to ...
20078 * sysdeps/posix/telldir.c: ... here.
20079 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20080 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20081 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20082 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20084 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20085 * bits/fcntl.h: ... here.
20087 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20089 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20090 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20091 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20092 (struct flock): Move l_start, l_len to the beginning.
20093 Use __pid_t for l_pid.
20094 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20095 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20096 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20097 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20098 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20099 [__USE_LARGEFILE64] (struct flock64): New type.
20100 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20102 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20103 * bits/dirent.h: ... here.
20105 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20106 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20108 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20111 Change from 2.6.0 to 2.6.16.
20112 * sysdeps/unix/sysv/linux/configure: Regenerated.
20113 * sysdeps/unix/sysv/linux/kernel-features.h
20114 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20115 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20117 (__ASSUME_UTIMES): Likewise.
20118 (__ASSUME_CLONE_STOPPED): Remove.
20119 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20120 architectures, not kernel version.
20121 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20122 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20123 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20124 (__ASSUME_WAITID_SYSCALL): Likewise.
20125 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20126 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20127 * README: State 2.6.16 as minimum Linux kernel version. Do not
20128 refer to older versions.
20130 2012-08-06 Roland McGrath <roland@hack.frob.com>
20132 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20133 Define alphasort64 as an alias.
20134 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20135 Define versionsort64 as an alias.
20136 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20137 Define scandir64 as an alias.
20138 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20139 Define scandirat64 as an alias.
20140 * dirent/alphasort64.c (alphasort64):
20141 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20142 * dirent/versionsort64.c: Likewise.
20143 * dirent/scandir64.c: Likewise.
20144 * dirent/scandirat64.c: Likewise.
20145 * sysdeps/wordsize-64/alphasort.c: File removed.
20146 * sysdeps/wordsize-64/alphasort64.c: File removed.
20147 * sysdeps/wordsize-64/scandir.c: File removed.
20148 * sysdeps/wordsize-64/scandir64.c: File removed.
20149 * sysdeps/wordsize-64/scandirat.c: File removed.
20150 * sysdeps/wordsize-64/scandirat64.c: File removed.
20151 * sysdeps/wordsize-64/versionsort.c: File removed.
20152 * sysdeps/wordsize-64/versionsort64.c: File removed.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20155 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20157 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20162 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20164 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20166 [defined __arch64__ || defined __sparcv9]
20167 (__INO_T_MATCHES_INO64_T): New macro.
20168 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20169 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20170 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20171 * sysdeps/unix/sysv/linux/bits/dirent.h
20172 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20173 (_DIRENT_MATCHES_DIRENT64): New macro.
20175 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20176 Define lockf64 as an alias.
20177 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20178 Define fseeko64 as an alias.
20179 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20180 Define ftello64 as an alias.
20181 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20182 Define _IO_fgetpos64 and fgetpos64 as aliases.
20183 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20184 Define _IO_fsetpos64 and fsetpos64 as aliases.
20185 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20186 Conditionalize body on this.
20187 * libio/fseeko64.c: Likewise.
20188 * libio/ftello64.c: Likewise.
20189 * libio/iofgetpos64.c: Likewise.
20190 * libio/iofsetpos64.c: Likewise.
20191 * sysdeps/wordsize-64/lockf.c: File removed.
20192 * sysdeps/wordsize-64/lockf64.c: File removed.
20193 * sysdeps/wordsize-64/fseeko.c: File removed.
20194 * sysdeps/wordsize-64/fseeko64.c: File removed.
20195 * sysdeps/wordsize-64/ftello.c: File removed.
20196 * sysdeps/wordsize-64/ftello64.c: File removed.
20197 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20198 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20199 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20200 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20207 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20209 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20212 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20214 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20216 [defined __arch64__ || defined __sparcv9]
20217 (__OFF_T_MATCHES_OFF64_T): New macro.
20218 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20219 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20221 (__OFF_T_MATCHES_OFF64_T): New macro.
20223 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20225 * stdlib/secure-getenv.c (__secure_getenv): Replace
20226 GLIBC_2_16 with GLIBC_2_17.
20228 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20230 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20233 2012-08-03 David S. Miller <davem@davemloft.net>
20235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20237 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20241 (__ASSUME_CORRECT_SI_PID): Likewise.
20242 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20243 (__ASSUME_TMPFS_NAME): Likewise.
20244 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20245 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20246 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20247 (HAVE_AUX_SECURE): Make definition unconditional.
20248 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20249 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20251 2012-08-03 Roland McGrath <roland@hack.frob.com>
20253 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20254 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20255 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20256 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20257 __eloop_threshold instead of SYMLOOP_MAX.
20259 * sysdeps/generic/eloop-threshold.h: New file.
20260 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20262 * elf/chroot_canon.c (chroot_canon): Likewise.
20264 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20268 Change to 2.6.0 everywhere.
20269 * sysdeps/unix/sysv/linux/configure: Regenerated.
20270 * sysdeps/unix/sysv/linux/kernel-features.h
20271 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20272 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20274 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20275 (__ASSUME_FUTEX_REQUEUE): Remove.
20276 (__ASSUME_STATFS64): Define unconditionally.
20277 (__ASSUME_AT_SECURE): Likewise.
20278 (__ASSUME_CORRECT_SI_PID): Likewise.
20279 (__ASSUME_TGKILL): Define without depending on kernel version for
20281 (__ASSUME_UTIMES): Likewise.
20282 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20284 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20285 (__ASSUME_TMPFS_NAME): Likewise.
20286 * README: Update reference to Linux kernel versions.
20288 2012-08-02 Marek Polacek <polacek@redhat.com>
20291 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20292 libc_cv_asm_type_prefix with %.
20293 * configure: Regenerated.
20294 * include/libc-symbols.h: Remove comment about
20295 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20296 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20297 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20298 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20299 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20300 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20301 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20302 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20303 * elf/tst-unique2mod1.c: Likewise.
20304 * elf/tst-unique1mod2.c: Likewise.
20305 * elf/tst-unique1mod1.c: Likewise.
20306 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20307 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20308 Replace ASM_TYPE_DIRECTIVE with .type.
20309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20310 * sysdeps/i386/sysdep.h: Likewise.
20311 * sysdeps/x86_64/sysdep.h: Likewise.
20312 * sysdeps/sh/sysdep.h: Likewise.
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20314 Do not define ASM_TYPE_DIRECTIVE.
20315 * sysdeps/powerpc/sysdep.h: Likewise.
20316 * sysdeps/powerpc/powerpc32/sysdep.h:
20317 Replace ASM_TYPE_DIRECTIVE with .type.
20318 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20320 * sysdeps/i386/fpu/e_powf.S: Likewise.
20321 * sysdeps/i386/fpu/e_expl.S: Likewise.
20322 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20323 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20324 * sysdeps/i386/fpu/e_pow.S: Likewise.
20325 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20327 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20328 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20329 * sysdeps/i386/fpu/e_log2.S: Likewise.
20330 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20332 * sysdeps/i386/fpu/e_powl.S: Likewise.
20333 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20334 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20335 * sysdeps/i386/fpu/e_logl.S: Likewise.
20336 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20337 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20338 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20339 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20340 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20341 * sysdeps/i386/fpu/e_log.S: Likewise.
20342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20343 * sysdeps/i386/fpu/e_logf.S: Likewise.
20344 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20346 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20347 * sysdeps/i386/fpu/e_log10.S: Likewise.
20348 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20349 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20350 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20351 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20352 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20353 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20354 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20355 * sysdeps/i386/i686/strtok.S: Likewise.
20356 * sysdeps/i386/i386-mcount.S: Likewise.
20357 * sysdeps/i386/strtok.S: Likewise.
20358 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20359 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20360 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20362 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20363 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20364 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20365 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20367 * sysdeps/x86_64/_mcount.S: Likewise.
20368 * sysdeps/x86_64/strtok.S: Likewise.
20369 * sysdeps/sh/_mcount.S: Likewise.
20371 2012-08-01 Roland McGrath <roland@hack.frob.com>
20373 * libio/iofopen.c: Include <fcntl.h>.
20374 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20375 (_IO_fopen64, fopen64): Define as aliases.
20376 * libio/iofopen64.c: Include <fcntl.h>.
20377 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20378 Conditionalize body on this.
20379 * sysdeps/wordsize-64/iofopen.c: File removed.
20380 * sysdeps/wordsize-64/iofopen64.c: File removed.
20382 2012-08-01 Marek Polacek <polacek@redhat.com>
20384 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20385 Use dlfcn directly instead of a variable.
20386 (binfmt-subdir): Do not define.
20389 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20392 Remove all definitions.
20393 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20394 <kernel-features.h>.
20395 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20396 (miss_F_GETOWN_EX): Remove all definitions.
20397 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20399 [!__ASSUME_FCNTL64]: Remove conditional code.
20400 [__ASSUME_FCNTL64]: Make code unconditional.
20401 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20402 <kernel-features.h>.
20403 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20404 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20405 (lockf64) [__NR_fcntl64]: Make code unconditional.
20406 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20408 * sysdeps/unix/sysv/linux/kernel-features.h
20409 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20410 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20411 Make code unconditional.
20412 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20413 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20415 [__NR_vfork]: Make code unconditional.
20416 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20417 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20419 [__NR_vfork]: Make code unconditional.
20420 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20421 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20423 2012-08-01 Roland McGrath <roland@hack.frob.com>
20425 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20426 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20428 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20429 Define mkstemp64 as an alias.
20430 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20431 Define mkstemps64 as an alias.
20432 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20433 Define mkostemp64 as an alias.
20434 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20435 Define mkostemps64 as an alias.
20436 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20437 Conditionalize body on this.
20438 * misc/mkostemp64.c: Likewise.
20439 * misc/mkostemps64.c: Likewise.
20440 * misc/mkstemps64.c: Likewise.
20441 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20442 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20443 * sysdeps/wordsize-64/mkostemp.c: File removed.
20444 * sysdeps/wordsize-64/mkstemp.c: File removed.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20451 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20452 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20453 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20454 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20456 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20457 compat_symbol macros from <shlib-compat.h> rather than the underlying
20458 default_symbol_version and symbol_version macros, so that DEFAULT
20459 lines in shlib-versions are respected.
20460 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20462 2012-08-01 Florian Weimer <fweimer@redhat.com>
20464 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20465 Declare with warn_unused_result.
20466 (setgid, setregid, setegid, setresgid): Likewise.
20467 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20469 * WUR-REPORT: Remove set*id functions.
20471 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20473 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20475 2012-07-31 Roland McGrath <roland@hack.frob.com>
20478 * include/sys/socket.h (__libc_accept, __libc_accept4):
20479 Add attribute_hidden.
20480 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20482 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20484 * inet/getnetgrent_r.c (setup): Likewise.
20486 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20488 2012-07-31 David S. Miller <davem@davemloft.net>
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20492 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20495 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20496 value between 1.0 and 2.0 and smaller part has absolute value less
20498 * math/s_clog10.c (__clog10): Likewise.
20499 * math/s_clog10f.c (__clog10f): Likewise.
20500 * math/s_clog10l.c (__clog10l): Likewise.
20501 * math/s_clogf.c (__clogf): Likewise.
20502 * math/s_clogl.c (__clogl): Likewise.
20503 * math/libm-test.inc (clog_test): Add more tests.
20504 (clog10_test): Likewise.
20505 * sysdeps/i386/fpu/libm-test-ulps: Update.
20506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20508 2012-07-31 Florian Weimer <fweimer@redhat.com>
20510 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20511 Exit with zero in case no suitable GID is found, and write a
20512 message to standard error.
20514 2012-07-30 Roland McGrath <roland@hack.frob.com>
20516 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20518 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20519 (MAXPATHLEN): Removed.
20520 (NOGROUP, NODEV): New macros.
20521 (setbit, clrbit, isset, isclr): New macros.
20522 (howmany, roundup, powerof2): New macros.
20523 (DEV_BSIZE): New macro.
20525 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20526 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20528 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20529 definition on [!__NO_LONG_DOUBLE_MATH].
20531 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20532 PTR_MANGLE and PTR_DEMANGLE.
20534 * socket/accept4.c (accept4): Rename to __libc_accept4.
20535 Define accept4 as a weak alias.
20537 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20538 on [_DIRENT_HAVE_D_TYPE].
20539 * io/ftw.c (ftw_dir): Likewise.
20541 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20543 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20545 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20546 Use the BSD numbers rather than the arbitrary ones we had.
20547 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20548 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20549 (SIGXCPU, SIGXFSZ): New macros.
20552 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20553 initializer on [_LIBC_REENTRANT].
20555 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20556 definitions inside [_POSIX_MAPPED_FILES].
20558 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20560 * dirent/opendir.c: Include <fcntl.h>.
20562 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20563 (__libc_getspecific): Likewise.
20564 (__libc_key_create): Likewise.
20566 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20567 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20568 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20569 (tmpfile64): Define as alias.
20570 * sysdeps/wordsize-64/tmpfile.c: File removed.
20571 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20572 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20575 * stdio-common/vfscanf.c: Include <stdbool.h>.
20576 * nss/makedb.c: Likewise.
20577 * stdio-common/_i18n_number.h: Likewise.
20578 * argp/argp-help.c: Likewise.
20579 * posix/wordexp.c: Likewise.
20580 * sysdeps/posix/spawni.c: Likewise.
20581 * nss/nss_files/files-initgroups.c: Likewise.
20582 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20583 * nss/nss_files/files-initgroups.c: Likewise.
20584 * nss/nss_db/db-netgrp.c: Likewise.
20585 * nss/nss_db/db-initgroups.c: Likewise.
20586 * io/fchmodat.c: Include <sys/stat.h>.
20588 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20589 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20591 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20594 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20595 Add multiple inclusion protection.
20597 2012-07-27 David S. Miller <davem@davemloft.net>
20599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20601 2012-07-27 Gary Benson <gbenson@redhat.com>
20604 * elf/rtld.c: Include <stap-probe.h>.
20605 (dl_main): Added static probes "init_start" and "init_complete".
20606 * elf/dl-load.c: Include <stap-probe.h>.
20607 (lose): Take new parameter "nsid".
20608 Added static probe "map_failed".
20609 (_dl_map_object_from_fd): Pass namespace id to lose.
20610 Added static probe "map_start".
20611 (open_verify): Pass namespace id to lose.
20612 * elf/dl-open.c: Include <stap-probe.h>.
20613 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20614 and "reloc_complete".
20615 * elf/dl-close.c: Include <stap-probe.h>.
20616 (_dl_close_worker): Added static probes "unmap_start" and
20618 * elf/rtld-debugger-interface.txt: New file documenting the above.
20620 2012-07-26 Roland McGrath <roland@hack.frob.com>
20622 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20623 rather than a string variable.
20624 * sunrpc/rpc_main.c (h_output): Likewise.
20625 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20627 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20629 * inet/check_native.c: New file.
20631 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20634 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20635 if larger part has absolute value 1.0.
20636 * math/s_clog10.c (__clog10): Likewise.
20637 * math/s_clog10f.c (__clog10f): Likewise.
20638 * math/s_clog10l.c (__clog10l): Likewise.
20639 * math/s_clogf.c (__clogf): Likewise.
20640 * math/s_clogl.c (__clogl): Likewise.
20641 * math/libm-test.inc (clog_test): Add more tests.
20642 (clog10_test): Likewise.
20643 * sysdeps/i386/fpu/libm-test-ulps: Update.
20644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20646 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20647 (pltexit): Likewise.
20648 (La_regs): Likewise.
20649 (La_retval): Likewise.
20650 (int_retval): Likewise.
20651 Update #error for removed macros to refer only to definitions in
20653 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20655 (pltexit): Likewise.
20656 (La_regs): Likewise.
20657 (La_retval): Likewise.
20658 (int_retval): Likewise.
20659 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20661 (pltexit): Likewise.
20662 (La_regs): Likewise.
20663 (La_retval): Likewise.
20664 (int_retval): Likewise.
20665 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20667 (pltexit): Likewise.
20668 (La_regs): Likewise.
20669 (La_retval): Likewise.
20670 (int_retval): Likewise.
20671 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20673 (pltexit): Likewise.
20674 (La_regs): Likewise.
20675 (La_retval): Likewise.
20676 (int_retval): Likewise.
20677 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20679 (pltexit): Likewise.
20680 (La_regs): Likewise.
20681 (La_retval): Likewise.
20682 (int_retval): Likewise.
20683 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20685 (pltexit): Likewise.
20686 (La_regs): Likewise.
20687 (La_retval): Likewise.
20688 (int_retval): Likewise.
20689 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20690 macro definitions in tst-audit.h.
20691 * sysdeps/i386/tst-audit.h: New file.
20692 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20693 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20694 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20695 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20696 * sysdeps/sh/tst-audit.h: Likewise.
20697 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20698 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20699 * sysdeps/x86_64/tst-audit.h: Likewise.
20701 2012-07-26 Andreas Jaeger <aj@suse.de>
20703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20706 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20707 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20708 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20710 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20712 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20717 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20719 (si_call_addr, si_syscall, si_arch): Define new macro.
20720 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20722 (si_call_addr, si_syscall, si_arch): Define new marcro.
20723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20725 (si_call_addr, si_syscall, si_arch): Define new macro.
20726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20728 (si_call_addr, si_syscall, si_arch): Define new macro.
20730 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20734 Change to 2.4.21 where previously 2.4.1.
20735 * sysdeps/unix/sysv/linux/configure: Regenerated.
20736 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20737 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20738 Linux kernel version.
20739 (__ASSUME_STD_AUXV): Remove.
20740 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20742 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20743 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20744 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20745 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20746 (__ASSUME_NETLINK_SUPPORT): Likewise.
20747 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20748 (__no_netlink_support): Remove conditional definition.
20749 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20751 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20752 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20753 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20754 (if_nameindex_ioctl): Remove.
20755 (if_nameindex_netlink): Do not handle __no_netlink_support.
20756 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20758 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20759 Remove conditional code.
20760 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20762 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20764 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20765 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20766 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20768 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20769 [!__ASSUME_STD_AUXV]: Remove conditional code.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20771 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20772 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20774 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20775 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20777 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20780 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20784 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20787 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20790 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20791 code unconditional.
20792 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20794 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20796 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20799 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20801 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20804 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20805 code unconditional.
20806 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20808 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20810 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20813 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20814 code unconditional.
20815 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20817 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20819 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20822 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20824 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20825 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20826 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20827 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20828 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20829 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20830 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20831 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20832 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20833 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20834 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20835 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20836 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20837 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20838 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20839 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20840 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20842 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20844 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20845 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20846 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20848 2012-07-25 Florian Weimer <fweimer@redhat.com>
20850 * Versions.def: Add GLIBC_2.17.
20851 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20852 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20853 Introduce __libc_secure_getenv.
20854 * stdlib/Versions (2.17): Add secure_getenv
20855 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20856 * stdlib/secure-getenv.c: Rename __secure_getenv to
20857 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20858 symbol __secure_getenv for GLIBC_2.0.
20859 * stdlib/tst-secure-getenv.c: New.
20860 * stdlib/Makefile (tests): Add testcase.
20861 * manual/startup.texi (Environment Access): Document
20863 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20864 __libc_secure_getenv.
20865 * inet/ruserpass.c (ruserpass): Likewise.
20866 * malloc/mtrace.c (mtrace): Likewise.
20867 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20868 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20869 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20870 * sysdeps/posix/tempname.c: Likewise. Evaluate
20871 HAVE_SECURE_GETENV.
20872 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20873 __secure_getenv to __libc_secure_getenv.
20874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20887 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20889 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20890 (struct La_i86_retval): Likewise.
20891 (struct La_x86_64_regs): Likewise.
20892 (struct La_x86_64_retval): Likewise.
20893 (struct La_x32_regs): Likewise.
20894 (struct La_x32_retval): Likewise.
20895 (struct La_ppc32_regs): Likewise.
20896 (struct La_ppc32_retval): Likewise.
20897 (struct La_ppc64_regs): Likewise.
20898 (struct La_ppc64_retval): Likewise.
20899 (struct La_sh_regs): Likewise.
20900 (struct La_sh_retval): Likewise.
20901 (struct La_s390_32_regs): Likewise.
20902 (struct La_s390_32_retval): Likewise.
20903 (struct La_s390_64_regs): Likewise.
20904 (struct La_s390_64_retval): Likewise.
20905 (struct La_sparc32_regs): Likewise.
20906 (struct La_sparc32_retval): Likewise.
20907 (struct La_sparc64_regs): Likewise.
20908 (struct La_sparc64_retval): Likewise.
20909 (struct audit_ifaces): Remove architecture-specific pltenter and
20911 * sysdeps/i386/ldsodefs.h: New file.
20912 * sysdeps/powerpc/ldsodefs.h: Likewise.
20913 * sysdeps/s390/ldsodefs.h: Likewise.
20914 * sysdeps/sh/ldsodefs.h: Likewise.
20915 * sysdeps/sparc/ldsodefs.h: Likewise.
20916 * sysdeps/x86_64/ldsodefs.h: Likewise.
20918 2012-07-25 Marek Polacek <polacek@redhat.com>
20921 * math/libm-test.inc (yn_test): Add another test.
20922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20923 to ERANGE when the result is +-Inf.
20924 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20925 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20926 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20927 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20929 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20931 * conform/data/time.h-data (NULL): Use macro-constant. Require
20933 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20935 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20937 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20939 * configure.in <sysdeps resolving>: Correct printing
20941 * configure: Regenerate.
20943 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20945 * math/w_ilogb.c: Include <limits.h>.
20946 * math/w_ilogbl.c: Likewise.
20948 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20950 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20951 va_copy. Document allowing for unavailable va_copy only as
20952 pre-C99 compatibility.
20953 * manual/string.texi (Copying and Concatenation): Use va_copy
20954 instead of __va_copy in concat example.
20956 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20958 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20959 (__sendto): Use create_address_port. Initialize APORT and deallocate
20962 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20963 with O_NOLINK passed to __file_name_lookup.
20965 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20966 with O_NOLINK passed to __file_name_lookup.
20968 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20969 negative N or less than NGIDS.
20971 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20972 type to string_t. Set ERANGE as errno and return it if NAME is not big
20973 enough. Use memcpy instead of strncpy.
20975 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20977 * elf/Makefile (check-data): Remove.
20978 (localplt.data): New vpath directive.
20979 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20980 instead of $(check-data).
20981 * scripts/data/localplt-generic.data: Move to ...
20982 * sysdeps/generic/localplt.data: ... here.
20983 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20984 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20985 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20988 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20991 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20994 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20997 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21000 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21004 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21006 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21007 PPC32 and PPC64 files.
21008 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21009 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21011 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21013 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21014 __makecontext_ret to ...
21015 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21016 ... here and call exit if uc_link is NULL. New file.
21017 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21018 __makecontext_ret.S.
21019 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21020 __makecontext_ret to ...
21021 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21022 ... here and call exit if uc_link is NULL. New file.
21023 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21024 __makecontext_ret.S.
21026 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21028 * elf/elf.h (R_390_IRELATIVE): New definition.
21029 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21030 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21031 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21033 (elf_machine_lazy_rel): Likewise.
21034 * sysdeps/s390/dl-irel.h: New file.
21035 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21036 * sysdeps/s390/s390-64/memset.S: New asm code.
21037 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21038 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21040 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21041 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21042 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21044 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21045 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21046 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21047 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21048 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21049 * sysdeps/s390/s390-32/memset.S: New asm code.
21050 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21052 2012-07-17 Marek Polacek <polacek@redhat.com>
21055 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21056 * sysdeps/s390/s390-64/configure.in: Likewise.
21057 * sysdeps/sparc/configure.in: Likewise.
21058 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21059 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21060 * sysdeps/i386/configure.in: Likewise.
21061 * sysdeps/x86_64/configure.in: Likewise.
21062 * sysdeps/sh/configure.in: Likewise.
21063 * sysdeps/s390/s390-32/configure: Regenerated.
21064 * sysdeps/s390/s390-64/configure: Likewise.
21065 * sysdeps/x86_64/configure: Likewise.
21066 * sysdeps/sh/configure: Likewise.
21067 * sysdeps/powerpc/powerpc64/configure: Likewise.
21068 * sysdeps/powerpc/powerpc32/configure: Likewise.
21069 * sysdeps/sparc/configure: Likwise.
21070 * sysdeps/i386/configure: Likewise.
21072 * elf/dl-open.c: Comment fixes.
21074 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21076 * Makefile [CXX] (check-data): Remove.
21077 [CXX] (c++-types.data): New vpath directive.
21078 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21079 vpath. Do not allow for C++ type data being missing.
21080 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21081 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21082 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21083 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21084 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21085 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21086 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21089 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21092 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21095 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21098 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21101 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21104 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21107 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21110 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21111 definitions to architecture-specific files.
21112 (TLS_IE): Likewise.
21113 (TLS_LD): Likewise.
21114 (TLS_GD): Likewise.
21115 * sysdeps/i386/tls-macros.h: New file.
21116 * sysdeps/powerpc/tls-macros.h: Likewise.
21117 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21118 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21119 * sysdeps/sh/tls-macros.h: Likewise.
21120 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21121 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21122 * sysdeps/x86_64/tls-macros.h: Likewise.
21124 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21126 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21127 zero value for regular exit case.
21129 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21130 (__start_context): Preserve zero value for regular exit case.
21132 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21133 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21135 * manual/setjmp.texi (setcontext): Clarify normal process
21136 termination when uc_link is the null pointer.
21137 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21140 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21142 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21143 preprocessor. Test for each exception mask separately.
21145 2012-07-16 Andreas Jaeger <aj@suse.de>
21147 * po/ru.po: Update from translation team.
21149 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21151 * conform/data/string.h-data (NULL): Use macro-constant. Require
21153 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21154 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21155 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21156 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21159 2012-07-13 Andreas Jaeger <aj@suse.de>
21161 * po/fr.po: Update from translation team.
21163 2012-07-12 Marek Polacek <polacek@redhat.com>
21166 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21170 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21174 Change to 2.4.1 where previously 2.4.0.
21175 * sysdeps/unix/sysv/linux/configure: Regenerated.
21176 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21177 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21179 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21180 (__ASSUME_AT_CLKTCK): Remove.
21181 (__ASSUME_AT_PAGESIZE): Likewise.
21182 (__ASSUME_AT_XID): Likewise.
21183 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21184 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21185 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21187 (HAVE_AUX_PAGESIZE): Likewise.
21188 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21189 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21190 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21192 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21196 the temporary buffer used to invoke __gethostbyname2_r,
21197 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21198 host_data / struct gaih_addrtuple.
21199 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21200 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21201 header file nss/nsswitch.h.
21202 * nss/nsswitch.h (global scope): Add definition of implementation
21203 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21204 resolv/nss_dns/dns-host.c).
21206 2012-07-11 Andreas Jaeger <aj@suse.de>
21208 * po/fr.po: Update from translation team.
21210 * po/sv.po: Update from translation team
21211 * po/fr.po: Another update from translation team.
21213 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21216 for subnormals or multiply small sinh result by itself.
21217 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21220 2012-07-11 David S. Miller <davem@davemloft.net>
21222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21224 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21227 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21228 (INTERNAL_MARK): Shift it here.
21230 2012-07-10 Marek Polacek <polacek@redhat.com>
21233 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21234 libc_cv_asm_global_directive with .globl.
21235 * configure: Regenerated.
21236 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21238 * sysdeps/i386/configure: Regenerated.
21239 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21241 * sysdeps/x86_64/configure: Regenerated.
21242 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21243 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21244 * elf/tst-unique2mod2.c: Likewise.
21245 * elf/tst-unique2mod1.c: Likewise.
21246 * elf/tst-unique1mod2.c: Likewise.
21247 * elf/tst-unique1mod1.c: Likewise.
21248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21249 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21251 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21252 * sysdeps/mach/sysdep.h: Likewise.
21253 * sysdeps/i386/sysdep.h: Likewise.
21254 * sysdeps/i386/i386-mcount.S: Likewise.
21255 * sysdeps/x86_64/_mcount.S: Likewise.
21256 * sysdeps/x86_64/sysdep.h: Likewise.
21257 * sysdeps/sh/_mcount.S: Likewise.
21258 * sysdeps/sh/sysdep.h: Likewise.
21259 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21260 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21261 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21262 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21263 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21264 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21265 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21266 * locale/localeinfo.h: Likewise.
21267 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21268 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21270 2012-07-09 Roland McGrath <roland@hack.frob.com>
21273 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21275 * manual/message.texi (The Uniforum approach): Likewise.
21276 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21277 (glibc iconv Implementation): Likewise.
21279 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21282 * math/s_clog.c (__clog): Avoid scaling a value down where that
21283 could result in underflow.
21284 * math/s_clog10.c (__clog10): Likewise.
21285 * math/s_clog10f.c (__clog10f): Likewise.
21286 * math/s_clog10l.c (__clog10l): Likewise.
21287 * math/s_clogf.c (__clogf): Likewise.
21288 * math/s_clogl.c (__clogl): Likewise.
21289 * math/libm-test.inc (clog_test): Add more tests.
21290 (clog10_test): Likewise.
21291 * sysdeps/i386/fpu/libm-test-ulps: Update.
21292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21294 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21297 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21298 by 7 not 8 to examine high bit of fractional part.
21301 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21302 for call to __mcount_internal.
21303 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21304 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21305 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21307 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21310 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21311 approximation for values within 0x1p-13f of an odd multiple of
21313 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21314 exception. Add more tests.
21315 * sysdeps/i386/fpu/libm-test-ulps: Update.
21318 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21319 inputs and return -1 for them. Do not check for +Inf in case not
21320 reachable for +Inf.
21321 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21322 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21324 and return -1 for them. Do not check for +Inf in case not
21325 reachable for +Inf.
21326 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21329 and return -1 for them. Do not check for +Inf in case not
21330 reachable for +Inf.
21331 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21332 spurious underflow.
21333 * sysdeps/i386/fpu/libm-test-ulps: Update.
21334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21336 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21338 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21340 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21344 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21345 could result in spurious underflow. Scale down values above
21346 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21347 * math/s_csqrtf.c (__csqrtf): Likewise.
21348 * math/s_csqrtl.c (__csqrtl): Likewise.
21349 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21350 spurious underflow.
21351 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21354 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21356 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21358 * catgets/xopen-msg.awk: New file.
21359 * catgets/xopen-msg.sed: Removed.
21361 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21363 * intl/po2test.awk: New file.
21364 * intl/po2test.sed: Removed.
21366 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21369 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21370 or multiply small sinh result by itself.
21371 * math/s_ctanf.c (__ctanf): Likewise.
21372 * math/s_ctanh.c (__ctanh): Likewise.
21373 * math/s_ctanhf.c (__ctanhf): Likewise.
21374 * math/s_ctanhl.c (__ctanhl): Likewise.
21375 * math/s_ctanl.c (__ctanl): Likewise.
21376 * math/libm-test.inc (ctan_test_tonearest): New function.
21377 (ctan_test_towardzero): Likewise.
21378 (ctan_test_downward): Likewise.
21379 (ctan_test_upward): Likewise.
21380 (ctanh_test_tonearest): Likewise.
21381 (ctanh_test_towardzero): Likewise.
21382 (ctanh_test_downward): Likewise.
21383 (ctanh_test_upward): Likewise.
21384 (main): Call these new functions.
21385 * sysdeps/i386/fpu/libm-test-ulps: Update.
21386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21390 * .gitignore: Delete /ports entry.
21392 2012-07-03 Andreas Jaeger <aj@suse.de>
21394 * po/bg.po: Update from translation team.
21395 * po/cs.po: Likewise.
21396 * po/de.po: Likewise.
21397 * po/hr.po: Likewise.
21398 * po/nl.pl: Likewise.
21399 * po/pl.po: Likewise.
21400 * po/vi.po: Likewise.
21402 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21404 * Makeconfig [!+link] (+link-before-libc): New variable.
21405 [!+link] (+link-after-libc): Likewise.
21406 [!+link] (+link-tests): Likewise.
21407 [!+link] (+link): Define in terms of $(+link-before-libc) and
21408 $(+link-after-libc).
21409 [!+link-static] (+link-static-before-libc): New variable.
21410 [!+link-static] (+link-static-after-libc): Likewise.
21411 [!+link-static] (+link-static-tests): Likewise.
21412 [!+link-static] (+link-static): Define in terms of
21413 $(+link-static-before-libc) and $(+link-static-after-libc).
21414 [build-shared] (link-libc-before-gnulib): New variable.
21415 [build-shared] (link-libc-tests): Likewise.
21416 [build-shared] (link-libc): Define in terms of
21417 $(link-libc-before-gnulib).
21418 [!build-shared] (link-libc-tests): New variable.
21419 (link-libc-static-tests): New variable.
21420 [!gnulib] (gnulib-arch): New variable.
21421 [!gnulib] (gnulib-tests): Likewise.
21422 [!gnulib] (static-gnulib-arch): Likewise.
21423 [!gnulib] (static-gnulib-tests): Likewise.
21424 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21425 Define with "=" instead of ":=".
21426 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21427 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21428 * Rules (binaries-all-notests): New variable.
21429 (binaries-all-tests): Likewise.
21430 (binaries-static-notests): Likewise.
21431 (binaries-static-tests): Likewise.
21432 (binaries-all): Define using $(binaries-all-notests) and
21433 $(binaries-all-tests).
21434 (binaries-static): Define using $(binaries-static-notests) and
21435 $(binaries-static-tests).
21436 (binaries-shared-tests): New variable.
21437 (binaries-shared-notests): Likewise.
21438 (binaries-shared): Remove variable.
21439 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21440 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21441 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21442 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21443 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21444 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21445 * elf/Makefile (sln-modules): New variable.
21446 (extra-objs): Add $(sln-modules:=.o).
21447 (ldconfig-modules): Add static-stubs.
21448 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21449 * elf/static-stubs.c: New file.
21452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21453 by 7 not 8 to examine high bit of fractional part. Use volatile
21454 variables when splitting into final array of floats if
21455 __FLT_EVAL_METHOD__ != 0.
21456 * math/libm-test.inc (cos_test): Add another test.
21457 (sin_test): Likewise.
21458 * sysdeps/i386/fpu/libm-test-ulps: Update.
21461 * math/libm-test.inc (cosh_test): Add more tests.
21463 * version.h (RELEASE): Set to "development".
21464 (VERSION): Set to "2.16.90".
21466 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21468 * NEWS: Update copyright. Remove last-updated date.
21469 Mention math library bug fixes and timezone data changes.
21470 * README: Mention GNU/Hurd, x32, and HPPA support status.
21472 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21474 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21476 2012-06-27 Andreas Jaeger <aj@suse.de>
21478 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21480 2012-06-25 Andreas Jaeger <aj@suse.de>
21482 * sysdeps/s390/fpu/libm-test-ulps: Update.
21484 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21485 Thomas Schwinge <thomas@codesourcery.com>
21487 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21488 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21492 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21494 * sysdeps/mach/start.c: Remove file.
21495 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21496 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21497 * sysdeps/sh/init-first.c: Likewise.
21499 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21500 registers for frame unwinding purposes, add CFI directives.
21501 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21502 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21503 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21506 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21507 __fortify_fail returning.
21508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21510 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21511 sysdeps/sh/____longjmp_chk.S.
21512 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21513 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21514 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21515 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21517 * sysdeps/sh/abort-instr.h: New file.
21518 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21519 process in case exit returns.
21521 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21522 initialize the GOT register before use.
21524 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21525 calculation of ARGC > 4.
21527 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21528 meaningful names to some local labels.
21530 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21531 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21533 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21534 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21535 (__arch_compare_and_exchange_val_16_acq): Likewise.
21536 (__arch_compare_and_exchange_val_32_acq): Likewise.
21537 (atomic_exchange_and_add): Fix gUSA sequence.
21538 (atomic_add): Likewise.
21539 (atomic_add_negative): Likewise.
21540 (atomic_add_zero): Likewise.
21541 (atomic_bit_test_set): Likewise.
21543 2012-06-22 Andreas Schwab <schwab@redhat.com>
21546 * include/link.h (struct link_map): Add l_free_initfini.
21547 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21549 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21550 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21551 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21554 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21556 * configure.in: Use AC_LANG_SOURCE.
21557 * configure: Regenerate.
21559 2012-06-22 Roland McGrath <roland@hack.frob.com>
21561 * configure.in (libc_cv_localstatedir): New substituted variable.
21562 * configure: Regenerated.
21563 * config.make.in (localstatedir): New variable, substituted from
21564 libc_cv_localstatedir.
21565 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21566 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21567 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21568 * sysdeps/gnu/configure: Regenerated.
21570 2012-06-21 Jeff Law <law@redhat.com>
21573 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21574 free. Simplify list management for _LIBC case.
21576 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21579 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21580 Clear sign bit of 64-bit integer value before comparing against
21583 * sysdeps/mach/configure: Regenerated.
21585 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21588 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21590 2012-06-21 Jeff Law <law@redhat.com>
21593 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21594 uint16_t for elements in the "seen" array to avoid char overflows.
21595 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21596 * elf/dl-open.c (dl_open_worker): Likewise.
21598 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21600 * scripts/list-sources.sh: Scan PORTS for translations.
21601 * po/libc.pot: Regenerated.
21603 2012-06-21 Andreas Jaeger <aj@suse.de>
21606 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21608 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21609 * bits/byteswap-16.h (__bswap_16): Likewise.
21610 * bits/byteswap.h (__bswap_constant_16): Likewise.
21612 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21615 * sysdeps/i386/fpu_control.h: Removed.
21616 * sysdeps/x86_64/fpu_control.h: Moved to ...
21617 * sysdeps/x86/fpu_control.h: Here.
21619 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21620 (_FPU_SETCW): Likewise.
21622 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21625 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21626 * sysdeps/x86/fpu/bits/mathinline.h: This.
21627 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21631 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21632 functions if __x86_64__ is defined.
21634 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21636 * string/endian.h: Add !__ASSEMBLER__ condition for including
21637 conversion interfaces.
21639 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21643 of ABS(x) in calculating zero to negative powers other than odd
21645 * math/libm-test.inc (pow_test): Add more tests.
21647 2012-06-15 Andreas Jaeger <aj@suse.de>
21649 * manual/contrib.texi (Contributors): Update entry of Liubov
21650 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21653 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21655 * string/string.h: Add __wur to GNU version of strerror_r.
21657 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21660 * string/Makefile (tests): Add tst-strtok_r.
21661 * string/tst-strtok_r.c: New file.
21662 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21663 RAX_LP/RDX_LP on SAVE_PTR.
21665 2012-06-14 Roland McGrath <roland@hack.frob.com>
21667 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21669 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21671 * libm_test.inc (csqrt_test): Allow more spurious underflow
21673 (j0_test): Likewise.
21674 (j1_test): Likewise.
21675 (y0_test): Likewise.
21676 (y1_test): Likewise.
21678 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21680 * po/Makefile (libc.pot): Use UTF-8 charset.
21682 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21685 Suppress sign-conversion warning from FD_SET.
21686 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21687 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21688 not unsigned long int.
21689 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21691 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21695 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21696 __extern_always_inline instead of __extern_inline.
21697 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21698 (__signbit): Likewise.
21699 (__signbitl): Support C++ namespace.
21700 (lrintf): New inline function.
21702 (llrintf): Likewise.
21703 (llrint): Likewise.
21713 (floorf): Likewise.
21714 (nearbyint): Likewise.
21715 (nearbyintf): Likewise.
21717 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21720 non-default versions.
21722 2012-06-11 Roland McGrath <roland@hack.frob.com>
21725 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21727 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21729 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21730 (FE_UPWARD, FE_DOWNWARD): Don't define.
21731 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21732 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21734 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21736 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21737 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21739 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21741 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21743 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21744 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21746 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21749 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21750 * sysdeps/i386/fpu/Implies: New file.
21751 * sysdeps/x86_64/fpu/Implies: Likewise.
21752 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21753 * sysdeps/x86/fpu/bits/fenv.h: This.
21755 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21758 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21761 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21762 character 0xffff that matches the last element of the
21765 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21770 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21773 values higher than 25.6283.
21775 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21778 subnormal exponent extraction and add some __builtin_expect.
21779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21780 Fix for subnormal mantissa calculation.
21782 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21784 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21785 cpu2 is -1 and errno is not ENOSYS.
21787 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21790 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21791 * sysdeps/x86/bits/string.h: This.
21792 * sysdeps/x86_64/bits/string.h: Removed.
21794 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21795 if not compiling for x86-64, but compiling for >= i486.
21797 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21798 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21800 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21801 New macro from Linux kernel 3.4.0.
21802 (FP_XSTATE_MAGIC2): Likewise.
21803 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21804 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21805 (struct _fpx_sw_bytes): New struct.
21806 (struct _xsave_hdr): Likewise.
21807 (struct _ymmh_state): Likewise.
21808 (struct _xstate): Likewise.
21810 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21811 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21812 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21813 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21815 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21817 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21818 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21819 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21820 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21821 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21822 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21824 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21827 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21828 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21829 (sysdep_headers): Include sys/platform/ppc.h.
21830 * sysdeps/powerpc/test-gettimebase.c: Test for
21831 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21832 * manual/Makefile (appendices): Include platform.texi.
21833 * manual/contrib.texi (Contributors): Update @node pointers.
21834 * manual/maint.texi (Maintenance): Likewise.
21835 (Platform): New node.
21836 * manual/platform.texi: New file. Document the new features.
21838 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21839 Jakub Jelinek <jakub@redhat.com>
21842 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21843 where __builtin_expect is unavailable.
21845 2012-06-03 David S. Miller <davem@davemloft.net>
21847 * stdlib/longlong.h: Updated from GCC.
21849 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21852 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21853 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21856 (GLIBC_2.16): Likewise.
21858 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21860 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21862 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21865 (default-abi): New variable.
21866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21867 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21869 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21871 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21876 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21877 definition. Document in comment.
21879 2012-06-01 David S. Miller <davem@davemloft.net>
21881 * stdlib/longlong.h: Updated from GCC.
21883 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21886 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21887 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21888 sys/debugreg.h sys/io.h here.
21889 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21890 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21892 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21893 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21894 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21896 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21897 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21899 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21900 Define only if __x86_64__ is defined.
21902 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21906 Use int64_t for variable i.
21907 * math/libm-test.inc (fmod_test): Add more tests.
21909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21910 z computation is not scheduled after fetestexcept.
21911 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21912 Use math_force_eval instead of asm to ensure calculation scheduled
21913 before exception test.
21914 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21915 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21917 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21920 computation is not scheduled after fetestexcept.
21922 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21925 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21926 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21928 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21930 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21933 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21936 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21938 (__WCHAR_MIN): Support __WORDSIZE == 64.
21939 (__WCHAR_MAX): Likewise.
21941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21942 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21945 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21946 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21949 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21953 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21955 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21956 Defined to 1 if __x86_64__ isn't defined.
21957 (_STAT_VER_LINUX_OLD): New.
21958 (st_atime): Remove duplicate.
21959 (st_mtime): Likewise.
21960 (st_ctime): Likewise.
21962 2012-05-31 David S. Miller <davem@davemloft.net>
21964 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21967 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21969 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21973 * elf/dl-reloc.c: Include <_itoa.h>.
21974 (_dl_reloc_bad_type): Remove use of INTUSE.
21975 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21976 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21977 * stdio-common/psiginfo.c (psiginfo): Likewise.
21978 * stdio-common/psignal.c (psignal): Likewise.
21979 * string/strsignal.c (strsignal): Likewise.
21980 * include/signal.h (_sys_siglist): Declare hidden proto.
21981 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21982 INTVARDEF with libc_hidden_data_def.
21983 * stdio-common/itoa-udigits.c: Likewise.
21984 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21985 (_itoa_lower_digits_internal): Remove declaration.
21986 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21987 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21988 (_sys_sigabbrev_internal): Remove aliases.
21989 (_sys_siglist): Define hidden alias.
21991 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21996 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22000 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22002 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22004 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22005 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22006 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22007 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22009 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22010 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22011 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22013 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22021 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22022 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22023 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22025 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22026 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22027 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22028 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22029 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22030 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22032 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22033 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22035 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22036 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22038 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22042 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22043 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22045 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22047 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22048 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22049 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22051 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22053 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22055 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22057 * math/math.h (M_El): Use two more decimal places.
22058 (M_LOG2El): Likewise.
22059 (M_LOG10El): Likewise.
22060 (M_LN2l): Likewise.
22061 (M_LN10l): Likewise.
22063 (M_PI_2l): Likewise.
22064 (M_PI_4l): Likewise.
22065 (M_1_PIl): Likewise.
22066 (M_2_PIl): Likewise.
22067 (M_2_SQRTPIl): Likewise.
22068 (M_SQRT2l): Likewise.
22069 (M_SQRT1_2l): Likewise.
22071 2012-05-31 David S. Miller <davem@davemloft.net>
22073 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22074 values between float registers.
22075 * sysdeps/sparc/sparc64/memset.S: Likewise.
22076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22078 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22080 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22081 -D_FORTIFY_SOURCE=1.
22082 (CPPFLAGS-tst-longjmp_chk.c): Define.
22083 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22084 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22085 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22086 CFLAGS-tst-wchar-h.c.
22088 2012-05-31 Marek Polacek <polacek@redhat.com>
22091 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22092 __endmntent_internal): Remove declaration.
22093 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22094 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22095 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22097 2012-05-30 David S. Miller <davem@davemloft.net>
22099 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22100 (___Q_simulate_exceptions): Use real FP ops rather than writing
22102 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22105 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22108 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22109 * sysdeps/x86/bits/xtitypes.h: This.
22111 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22112 * sysdeps/x86/bits/wordsize.h: This.
22114 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22115 * sysdeps/x86/bits/huge_vall.h: This.
22117 * sysdeps/i386/bits/select.h: Removed.
22118 * sysdeps/x86_64/bits/select.h: Renamed to ...
22119 * sysdeps/x86/bits/select.h: This.
22121 * sysdeps/i386/bits/setjmp.h: Removed.
22122 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22123 * sysdeps/x86/bits/setjmp.h: This.
22125 * sysdeps/i386/bits/mathdef.h: Removed.
22126 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22127 * sysdeps/x86/bits/mathdef.h: This.
22129 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22132 * include/sys/socket.h (__connect_internal)
22133 (__libc_sa_len_internal): Remove declaration.
22134 (__connect, __libc_sa_len): Declare hidden_proto.
22135 (SA_LEN): Remove use of INTUSE.
22136 * socket/connect.c: Add libc_hidden_def.
22137 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22138 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22139 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22141 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22143 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22144 of adding _internal alias.
22146 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22149 * sysdeps/i386/bits/link.h: Removed.
22150 * sysdeps/i386/bits/linkmap.h: Likewise.
22151 * sysdeps/x86_64/bits/link.h: Renamed to ...
22152 * sysdeps/x86/bits/link.h: This.
22153 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22154 * sysdeps/x86/bits/linkmap.h: This.
22156 * sysdeps/i386/bits/endian.h: Removed.
22157 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22158 * sysdeps/x86/bits/endian.h: This.
22160 * sysdeps/i386/bits/byteswap.h: Removed.
22161 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22162 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22163 * sysdeps/x86/bits/byteswap.h: This.
22164 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22165 * sysdeps/x86/bits/byteswap-16.h: This.
22166 * sysdeps/i386/Implies: Add x86.
22167 * sysdeps/x86_64/Implies: Likewise.
22169 2012-05-30 David S. Miller <davem@davemloft.net>
22171 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22172 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22174 (FP_TRAPPING_EXCEPTIONS): Define.
22175 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22176 (FP_TRAPPING_EXCEPTIONS): Define.
22177 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22178 subnormals only when inexact has been signalled or underflow
22179 exceptions are enabled.
22180 (_FP_PACK_CANONICAL): Likewise.
22182 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22186 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22188 2012-05-30 Richard Henderson <rth@twiddle.net>
22190 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22191 with #ifndef NOT_IN_libc.
22193 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22194 marked to avoid plt entry.
22196 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22199 * Makeconfig (default-abi): New macro.
22200 (abi-includes): Likewise.
22201 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22202 $(abi-$(default-abi)-lib-soname) for soname if defined.
22203 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22205 * Makefile (installed-stubs): Likewise.
22206 * include/stubs-biarch.h: Removed.
22207 * scripts/lib-names.awk: Only handle one library at a time.
22208 * scripts/soversions.awk: Remove WORDSIZE support.
22209 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22211 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22213 (syscall-list-default-condition): Likewise.
22214 (syscall-list-default-condition): Likewise.
22215 (syscall-list-includes): Likewise.
22216 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22217 syscall-list-* with abi-*. Handle undefined abi-variants.
22218 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22219 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22220 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22221 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22223 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22225 (syscall-list-32-options): Likewise.
22226 (syscall-list-32-condition): Likewise.
22227 (syscall-list-64-options): Likewise.
22228 (syscall-list-64-condition): Likewise.
22229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22231 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22234 (abi-64-ld-soname): New macro.
22235 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22236 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22239 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22240 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22242 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22244 * sysdeps/unix/sysv/linux/kernel-features.h
22245 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22246 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22247 include <kernel-features.h>.
22248 [!__NR_ftruncate64]: Remove conditional code.
22249 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22250 [__NR_ftruncate64]: Make code unconditional.
22251 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22252 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22253 include <kernel-features.h>.
22254 [!__NR_ftruncate64]: Remove conditional code.
22255 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22256 [__NR_ftruncate64]: Make code unconditional.
22257 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22259 include <kernel-features.h>.
22260 [!__NR_ftruncate64]: Remove conditional code.
22261 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22262 [__NR_ftruncate64]: Make code unconditional.
22263 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22265 include <kernel-features.h>.
22266 [!__NR_ftruncate64]: Remove conditional code.
22267 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22268 [__NR_ftruncate64]: Make code unconditional.
22269 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22271 * configure.in (libc_cv_fpie): Weaken to a compile test using
22272 LIBC_TRY_CC_OPTION.
22273 * configure: Regenerated.
22275 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22290 2012-05-27 David S. Miller <davem@davemloft.net>
22292 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22294 (__Q_simulate_exceptions): Return void. Change to simulate
22295 exceptions by writing into the %fsr.
22296 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22297 (__Qp_handle_exceptions): Likewise.
22299 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22300 __Qp_handle_exceptions.
22301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22302 __Qp_handle_exceptions.
22303 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22304 as unused and give dummy FP_RND_NEAREST initializer.
22305 (FP_INHIBIT_RESULTS): Define.
22306 (___Q_simulate_exceptions): Update declaration.
22307 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22310 as unused and give dummy FP_RND_NEAREST initializer.
22311 (__Qp_handle_exceptions): Update declaration.
22312 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22315 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22317 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22318 the temporary FPU control word.
22319 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22320 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22321 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22322 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22323 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22324 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22325 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22328 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22331 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22333 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22336 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22338 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22339 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22340 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22341 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22343 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22344 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22347 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22349 * po/h.po: Update from translation team.
22351 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22353 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22355 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22356 handling of denormals.
22357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22358 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22360 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22366 2012-05-26 Marek Polacek <polacek@redhat.com>
22369 * math/libm-test.inc (fma_test): Don't always expect underflow
22372 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22375 * elf/tst-execstack.c: Include stackinfo.h.
22376 (do_test): Adjust test case to ensure that pthread_getattr_np
22377 behaviour remains the same after marking stack executable.
22379 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22381 * sysdeps/unix/sysv/linux/kernel-features.h
22382 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22383 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22385 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22386 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22387 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22389 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22390 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22392 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22394 * configure.in: Define the default includes to being none.
22395 * configure: Regenerated.
22397 2012-05-25 Roland McGrath <roland@hack.frob.com>
22399 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22400 * sysdeps/x86_64/setjmp.S: Likewise.
22401 * sysdeps/i386/bsd-setjmp.S: Likewise.
22402 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22403 * sysdeps/i386/setjmp.S: Likewise.
22404 * sysdeps/i386/__longjmp.S: Likewise.
22405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22406 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22408 * include/stap-probe.h: New file.
22409 * configure.in: Handle --enable-systemtap.
22410 * configure: Regenerated.
22411 * config.h.in (USE_STAP_PROBE): New #undef.
22412 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22413 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22414 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22416 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22420 to 2.4.0 where earlier.
22421 * sysdeps/unix/sysv/linux/configure: Regenerated.
22422 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22423 <kernel-features.h>.
22424 [__ASSUME_32BITUIDS]: Make code unconditional.
22425 [!__ASSUME_32BITUIDS]: Remove conditional code.
22426 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
22431 [__ASSUME_32BITUIDS]: Make code unconditional.
22432 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22433 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22434 <kernel-features.h>.
22435 [__ASSUME_32BITUIDS]: Make code unconditional.
22436 [!__ASSUME_32BITUIDS]: Remove conditional code.
22437 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22438 <kernel-features.h>.
22439 [__ASSUME_32BITUIDS]: Make code unconditional.
22440 [!__ASSUME_32BITUIDS]: Remove conditional code.
22441 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22442 <kernel-features.h>.
22443 [__ASSUME_32BITUIDS]: Make code unconditional.
22444 [!__ASSUME_32BITUIDS]: Remove conditional code.
22445 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22446 <kernel-features.h>.
22447 [__ASSUME_32BITUIDS]: Make code unconditional.
22448 [!__ASSUME_32BITUIDS]: Remove conditional code.
22449 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22450 <kernel-features.h>.
22451 [__ASSUME_32BITUIDS]: Make code unconditional.
22452 [!__ASSUME_32BITUIDS]: Remove conditional code.
22453 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22454 <kernel-features.h>.
22455 [__ASSUME_32BITUIDS]: Make code unconditional.
22456 [!__ASSUME_32BITUIDS]: Remove conditional code.
22457 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22458 <kernel-features.h>.
22459 [__ASSUME_32BITUIDS]: Make code unconditional.
22460 [!__ASSUME_32BITUIDS]: Remove conditional code.
22461 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22462 <kernel-features.h>.
22463 [__ASSUME_32BITUIDS]: Make code unconditional.
22464 [!__ASSUME_32BITUIDS]: Remove conditional code.
22465 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22466 <kernel-features.h>.
22467 [__ASSUME_32BITUIDS]: Make code unconditional.
22468 [!__ASSUME_32BITUIDS]: Remove conditional code.
22469 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22470 <kernel-features.h>.
22471 [__ASSUME_32BITUIDS]: Make code unconditional.
22472 [!__ASSUME_32BITUIDS]: Remove conditional code.
22473 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22474 <kernel-features.h>.
22475 [__NR_setresgid] (__setresgid): Do not declare.
22476 [__ASSUME_32BITUIDS]: Make code unconditional.
22477 [!__ASSUME_32BITUIDS]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22479 <kernel-features.h>.
22480 [__NR_setresuid] (__setresuid): Do not declare.
22481 [__ASSUME_32BITUIDS]: Make code unconditional.
22482 [!__ASSUME_32BITUIDS]: Remove conditional code.
22483 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22484 <kernel-features.h>.
22485 [__ASSUME_32BITUIDS]: Make code unconditional.
22486 [!__ASSUME_32BITUIDS]: Remove conditional code.
22487 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22488 <kernel-features.h>.
22489 [__ASSUME_32BITUIDS]: Make code unconditional.
22490 [!__ASSUME_32BITUIDS]: Remove conditional code.
22491 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22492 <kernel-features.h>.
22493 [__ASSUME_32BITUIDS]: Make code unconditional.
22494 [!__ASSUME_32BITUIDS]: Remove conditional code.
22495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22496 <kernel-features.h>.
22497 [__ASSUME_32BITUIDS]: Make code unconditional.
22498 [!__ASSUME_32BITUIDS]: Remove conditional code.
22499 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22500 <kernel-features.h>.
22501 [__ASSUME_32BITUIDS]: Make code unconditional.
22502 [!__ASSUME_32BITUIDS]: Remove conditional code.
22503 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22504 <kernel-features.h>.
22505 [__ASSUME_32BITUIDS]: Make code unconditional.
22506 [!__ASSUME_32BITUIDS]: Remove conditional code.
22507 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22508 <kernel-features.h>.
22509 [__ASSUME_32BITUIDS]: Make code unconditional.
22510 [!__ASSUME_32BITUIDS]: Remove conditional code.
22511 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22512 <kernel-features.h>.
22513 [__ASSUME_32BITUIDS]: Make code unconditional.
22514 [!__ASSUME_32BITUIDS]: Remove conditional code.
22515 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22516 <kernel-features.h>.
22517 [__ASSUME_32BITUIDS]: Make code unconditional.
22518 [!__ASSUME_32BITUIDS]: Remove conditional code.
22519 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22520 <kernel-features.h>.
22521 [__ASSUME_32BITUIDS]: Make code unconditional.
22522 [!__ASSUME_32BITUIDS]: Remove conditional code.
22523 * sysdeps/unix/sysv/linux/kernel-features.h
22524 (__ASSUME_SETRESUID_SYSCALL): Remove.
22525 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22526 (__ASSUME_32BITUIDS): Likewise.
22527 (__ASSUME_LDT_WORKS): Likewise.
22528 (__ASSUME_O_DIRECTORY): Likewise.
22529 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22530 architecture but not kernel version.
22531 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22532 (__ASSUME_MMAP2_SYSCALL): Likewise.
22533 (__ASSUME_STAT64_SYSCALL): Likewise.
22534 (__ASSUME_IPC64): Likewise.
22535 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22536 <kernel-features.h>.
22537 [__ASSUME_32BITUIDS]: Make code unconditional.
22538 [!__ASSUME_32BITUIDS]: Remove conditional code.
22539 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22540 <kernel-features.h>.
22541 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22542 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22543 132096]: Remove conditional code.
22544 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22545 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22546 <kernel-features.h>.
22547 [__ASSUME_32BITUIDS]: Make code unconditional.
22548 [!__ASSUME_32BITUIDS]: Remove conditional code.
22549 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22550 <kernel-features.h>.
22551 [__ASSUME_32BITUIDS]: Make code unconditional.
22552 [!__ASSUME_32BITUIDS]: Remove conditional code.
22553 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22554 <kernel-features.h>.
22555 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22557 (__setresgid): Do not declare.
22558 [__ASSUME_32BITUIDS]: Make code unconditional.
22559 [!__ASSUME_32BITUIDS]: Remove conditional code.
22560 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22561 <kernel-features.h>.
22562 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22564 (__setresuid): Do not declare.
22565 [__ASSUME_32BITUIDS]: Make code unconditional.
22566 [!__ASSUME_32BITUIDS]: Remove conditional code.
22567 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22568 <kernel-features.h>.
22569 [__ASSUME_32BITUIDS]: Make code unconditional.
22570 [!__ASSUME_32BITUIDS]: Remove conditional code.
22571 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22572 <kernel-features.h>.
22573 [__ASSUME_32BITUIDS]: Make code unconditional.
22574 [!__ASSUME_32BITUIDS]: Remove conditional code.
22576 2012-05-25 Richard Henderson <rth@twiddle.net>
22578 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22579 dl_hwcap to ifunc resolver.
22580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22583 dl_hwcap to ifunc resolver.
22584 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22586 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22589 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22590 for |x| <= 2**-26, not 2**-57.
22591 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22594 2012-05-24 Jeff Law <law@redhat.com>
22596 * stdio-common/Makefile (tests): Add bug25.
22597 * stdio-common/bug25.c: New test.
22599 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22602 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22603 multiple of MALLOC_ALIGNMENT in size.
22604 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22606 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22608 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22610 (FILENAME_MAX): Use macro-int-constant.
22611 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22612 (_IOFBF): Use macro-int-constant.
22613 (_IOLBF): Likewise.
22614 (_IONBF): Likewise.
22615 (SEEK_CUR): Likewise.
22616 (SEEK_END): Likewise.
22617 (SEEK_SET): Likewise.
22618 (TMP_MAX): Likewise.
22619 (EOF): Use macro-int-constant. Require < 0.
22620 (NULL): Use macro-constant. Require == 0.
22621 (stdin): Require type to be FILE *.
22622 (stdout): Likewise.
22623 (stderr): Likewise.
22624 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22625 macro-int-constant.
22626 (EXIT_SUCCESS): Likewise.
22627 (NULL): Use macro-constant. Require == 0.
22628 (RAND_MAX): Use macro-int-constant.
22629 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22630 [C99-based standards] (strtof): Require function.
22631 [C99-based standards] (strtold): Likewise.
22632 [C99-based standards] (strtoll): Likewise.
22633 [C99-based standards] (strtoull): Likewise.
22634 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22635 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22636 [ISO || ISO99 || ISO11] (math.h): Likewise.
22637 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22638 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22641 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22644 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22645 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22646 * intl/dgettext.c (DCGETTEXT): Likewise.
22647 * intl/gettext.c (DCGETTEXT): Likewise.
22648 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22649 * posix/regex_internal.h (gettext): Likewise.
22650 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22651 Remove declaration.
22652 * include/argz.h (__argz_count_internal)
22653 (__argz_stringify_internal): Remove declaration.
22654 (__argz_count, __argz_stringify): Declare hidden proto.
22655 * intl/dcgettext.c: Remove use of INTDEF.
22656 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22657 * string/argz-stringify.c: Likewise.
22658 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22659 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22660 Declare hidden proto.
22661 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22662 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22663 Declare hidden proto.
22664 * include/stdio.h (__asprintf_internal): Don't declare.
22665 (__asprintf): Don't define as macro. Declare hidden proto.
22666 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22667 (__fsetlocking): Declare hidden proto.
22668 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22669 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22671 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22672 (_IO_setlinebuf): Remove use of INTUSE.
22673 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22674 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22675 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22676 Remove declaration.
22677 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22678 (_IO_do_flush): Remove use of INTUSE.
22679 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22680 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22681 (_IO_adjust_column, _IO_least_wmarker)
22682 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22683 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22684 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22685 (_IO_default_doallocate, _IO_wdefault_doallocate)
22686 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22687 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22688 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22689 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22690 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22691 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22692 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22693 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22694 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22695 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22696 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22697 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22698 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22700 (_IO_flush_all_internal, _IO_adjust_column_internal)
22701 (_IO_default_uflow_internal, _IO_default_finish_internal)
22702 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22703 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22704 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22705 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22706 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22707 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22708 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22709 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22710 (_IO_file_close_internal, _IO_file_close_it_internal)
22711 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22712 (_IO_file_init_internal, _IO_file_attach_internal)
22713 (_IO_file_fopen_internal, _IO_file_read_internal)
22714 (_IO_file_sync_internal, _IO_file_seek_internal)
22715 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22716 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22717 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22718 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22719 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22720 (_IO_list_all_internal, _IO_link_in_internal)
22721 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22722 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22723 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22724 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22725 (_IO_do_write_internal, _IO_padn_internal)
22726 (_IO_getline_info_internal, _IO_getline_internal)
22727 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22728 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22729 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22730 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22731 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22732 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22733 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22734 with libc_hidden_ver, remove use of INTUSE.
22735 * libio/genops.c: Likewise.
22736 * libio/freopen.c: Likewise.
22737 * libio/freopen64.c: Likewise.
22738 * libio/iofclose.c: Likewise.
22739 * libio/iofdopen.c: Likewise.
22740 * libio/iofflush.c: Likewise.
22741 * libio/iofflush_u.c: Likewise.
22742 * libio/iofgets.c: Likewise.
22743 * libio/iofgets_u.c: Likewise.
22744 * libio/iofopen.c: Likewise.
22745 * libio/iofopncook.c: Likewise.
22746 * libio/iofread.c: Likewise.
22747 * libio/iofread_u.c: Likewise.
22748 * libio/ioftell.c: Likewise.
22749 * libio/iofwrite.c: Likewise.
22750 * libio/iogetline.c: Likewise.
22751 * libio/iogets.c: Likewise.
22752 * libio/iogetwline.c: Likewise.
22753 * libio/iopadn.c: Likewise.
22754 * libio/iopopen.c: Likewise.
22755 * libio/ioseekoff.c: Likewise.
22756 * libio/ioseekpos.c: Likewise.
22757 * libio/iosetbuffer.c: Likewise.
22758 * libio/iosetvbuf.c: Likewise.
22759 * libio/ioungetc.c: Likewise.
22760 * libio/ioungetwc.c: Likewise.
22761 * libio/iovdprintf.c: Likewise.
22762 * libio/iovsprintf.c: Likewise.
22763 * libio/iovsscanf.c: Likewise.
22764 * libio/memstream.c: Likewise.
22765 * libio/obprintf.c: Likewise.
22766 * libio/oldfileops.c: Likewise.
22767 * libio/oldiofclose.c: Likewise.
22768 * libio/oldiofdopen.c: Likewise.
22769 * libio/oldiofopen.c: Likewise.
22770 * libio/oldiopopen.c: Likewise.
22771 * libio/oldstdfiles.c: Likewise.
22772 * libio/putc.c: Likewise.
22773 * libio/setbuf.c: Likewise.
22774 * libio/setlinebuf.c: Likewise.
22775 * libio/stdfiles.c: Likewise.
22776 * libio/strops.c: Likewise.
22777 * libio/vasprintf.c: Likewise.
22778 * libio/vscanf.c: Likewise.
22779 * libio/vsnprintf.c: Likewise.
22780 * libio/vswprintf.c: Likewise.
22781 * libio/wfiledoalloc.c: Likewise.
22782 * libio/wfileops.c: Likewise.
22783 * libio/wgenops.c: Likewise.
22784 * libio/wmemstream.c: Likewise.
22785 * libio/wstrops.c: Likewise.
22786 * libio/__fpurge.c: Likewise.
22787 * libio/__fsetlocking.c: Likewise.
22788 * assert/assert.c: Likewise.
22789 * debug/fgets_chk.c: Likewise.
22790 * debug/fgets_u_chk.c: Likewise.
22791 * debug/fread_chk.c: Likewise.
22792 * debug/fread_u_chk.c: Likewise.
22793 * debug/gets_chk.c: Likewise.
22794 * debug/obprintf_chk.c: Likewise.
22795 * debug/vasprintf_chk.c: Likewise.
22796 * debug/vdprintf_chk.c: Likewise.
22797 * debug/vsnprintf_chk.c: Likewise.
22798 * debug/vsprintf_chk.c: Likewise.
22799 * malloc/mtrace.c: Likewise.
22800 * misc/error.c: Likewise.
22801 * misc/syslog.c: Likewise.
22802 * stdio-common/asprintf.c: Likewise.
22803 * stdio-common/fxprintf.c: Likewise.
22804 * stdio-common/getw.c: Likewise.
22805 * stdio-common/isoc99_fscanf.c: Likewise.
22806 * stdio-common/isoc99_scanf.c: Likewise.
22807 * stdio-common/isoc99_vfscanf.c: Likewise.
22808 * stdio-common/isoc99_vscanf.c: Likewise.
22809 * stdio-common/isoc99_vsscanf.c: Likewise.
22810 * stdio-common/printf-prs.c: Likewise.
22811 * stdio-common/printf_fp.c: Likewise.
22812 * stdio-common/printf_fphex.c: Likewise.
22813 * stdio-common/printf_size.c: Likewise.
22814 * stdio-common/putw.c: Likewise.
22815 * stdio-common/scanf.c: Likewise.
22816 * stdio-common/sprintf.c: Likewise.
22817 * stdio-common/tmpfile.c: Likewise.
22818 * stdio-common/vfprintf.c: Likewise.
22819 * stdio-common/vfscanf.c: Likewise.
22820 * stdlib/strfmon_l.c: Likewise.
22821 * sunrpc/openchild.c: Likewise.
22822 * sunrpc/xdr_stdio.c: Likewise.
22823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22824 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22826 2012-05-24 Roland McGrath <roland@hack.frob.com>
22828 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22830 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22831 in the third column, to generate for the shared library an IFUNC
22832 that uses _dl_vdso_vsym.
22833 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22834 * Makeconfig (object-suffixes-noshared): New variable.
22836 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22837 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22838 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22839 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22842 * include/sys/time.h (__gettimeofday): Remove macro.
22843 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22844 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22846 (__gettimeofday): Add libc_hidden_def.
22847 (gettimeofday): Add libc_hidden_weak.
22848 * sysdeps/mach/gettimeofday.c: Likewise.
22849 * sysdeps/posix/gettimeofday.c: Likewise.
22850 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22851 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22853 (__gettimeofday_internal): Remove strong_alias.
22854 (__gettimeofday): Add libc_hidden_def.
22855 (gettimeofday): Add libc_hidden_weak.
22856 * sysdeps/unix/syscalls.list (gettimeofday):
22857 Remove __gettimeofday_internal alias.
22859 2012-05-24 Daniel Jacobowitz <drow@false.org>
22860 H.J. Lu <hongjiu.lu@intel.com>
22863 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22864 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22865 (largebin_index_32_big): New.
22866 (largebin_index): Use it for 16-byte alignment.
22867 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22868 correction with front_misalign.
22870 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22898 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22899 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22901 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22905 * math/libm-test.inc (exp_test): Add test from bug 14036.
22906 (pow_test): Add test from bug 10846.
22908 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22910 (special_function): Do not include flags in test name.
22911 (parse_args): Likewise.
22912 * sysdeps/i386/fpu/libm-test-ulps: Update.
22913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22914 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22918 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22920 * math/libm-test.inc ("Philosophy"): Update comment about
22922 (UNDERFLOW_EXCEPTION): New macro.
22923 (UNDERFLOW_EXCEPTION_OK): Likewise.
22924 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22925 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22926 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22927 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22928 (INVALID_EXCEPTION_OK): Update value.
22929 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22930 (OVERFLOW_EXCEPTION_OK): Likewise.
22931 (IGNORE_ZERO_INF_SIGN): Likewise.
22932 (test_exceptions): Handle underflow exceptions.
22933 (acos_test): Update for underflow exception expectations.
22934 (cexp_test): Likewise.
22935 (clog_test): Likewise.
22936 (clog10_test): Likewise.
22937 (csqrt_test): Likewise.
22938 (ctan_test): Likewise.
22939 (ctanh_test): Likewise.
22940 (exp_test): Likewise.
22941 (exp10_test): Likewise.
22942 (exp2_test): Likewise.
22943 (expm1_test): Likewise.
22944 (fma_test): Likewise.
22945 (j0_test): Likewise.
22946 (jn_test): Likewise.
22947 (nexttoward_test): Likewise.
22948 (pow_test): Likewise.
22949 (scalbn_test): Likewise.
22950 (scalbln_test): Likewise.
22951 (tan_test): Likewise.
22952 (y1_test): Likewise.
22953 * sysdeps/i386/fpu/libm-test-ulps: Update.
22954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22956 2012-05-23 David S. Miller <davem@davemloft.net>
22958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22959 (__libc_sigaction): Remove unused local variables.
22961 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22963 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22965 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22967 mktime: avoid signed integer overflow
22968 * time/mktime.c (__mktime_internal): Do not mishandle the case
22969 where diff == INT_MIN.
22971 mktime: simplify computation of average
22972 * time/mktime.c (ranged_convert): Use new time_t_avg function
22973 instead of rolling our own (probably-slower) code.
22975 mktime: do not assume signed right shift propagates sign bit
22976 * time/mktime.c (isdst_differ): New static function.
22977 (__mktime_internal): No need to normalize tm_isdst now.
22978 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22981 mktime: merge another wrapv change from gnulib
22982 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22983 from some compilers.
22985 mktime: remove incorrect attempt at unusual arithmetics
22986 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22987 The code didn't really work on such machines anyway.
22988 (TYPE_MINIMUM): Assume two's complement.
22989 (twos_complement_arithmetic): Verify that long_int and time_t
22990 are two's complement (or unsigned, in the latter case).
22992 mktime: check signed shifts on long_int and time_t, too
22993 * time/mktime.c (SHR): Check that shifts work as desired
22994 on the types long_int and time_t too, as SHR is used on
22997 mktime: do not assume 'long' is wide enough
22998 * time/mktime.c (verify): Move decl up.
22999 (long_int): New type.
23000 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23001 to remove assumption in the code that 'long' is wide enough to
23002 store year values. This assumption is not true on x32 and on
23003 some non-glibc platforms.
23005 mktime: merge wrapv change from gnulib
23006 * time/mktime.c (WRAPV): New macro.
23007 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23008 (guess_time_tm, __mktime_internal): Do not assume that signed
23009 integer overflow wraps around; modern compilers generate code
23010 where this assumption is no longer valid.
23012 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23014 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23015 Replace "jmp L(pseudo_end)" with "ret".
23016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23019 2012-05-23 Andreas Jaeger <aj@suse.de>
23021 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23022 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23024 2012-05-23 Andreas Jaeger <aj@suse.de>
23025 Maximilian Attems <max@stro.at>
23027 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23030 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23033 code so that pseudo_end is just ret and the stack pointer is
23034 correct also for static library in error case.
23036 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23038 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23039 move to syscalls.list.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23045 * manual/install.texi (Running make install): Do not mention Linux
23046 kernel version for which pt_chown is not needed.
23047 (Linux): Do not mention problems with nscd with 2.0 kernels.
23048 * INSTALL: Regenerated.
23050 2012-05-23 Andreas Jaeger <aj@suse.de>
23052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23053 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23055 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23057 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23059 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23061 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23064 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23065 * sysdeps/unix/sysv/linux/bits/in.h
23066 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23068 2012-05-22 Roland McGrath <roland@hack.frob.com>
23070 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23071 (PREPARE_VERSION): Just use assert instead, it will be elided
23072 under [NDEBUG] anyway.
23074 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23076 * sysdeps/unix/sysv/linux/Makefile: Include
23077 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23078 (sysdep_routines): Remove sysctl.
23079 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23080 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23081 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23082 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23083 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23085 2012-05-22 Andreas Jaeger <aj@suse.de>
23087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23088 that pseudo_end is just ret and the stack pointer is correct also
23089 for static library in error case.
23091 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23094 * nss/nsswitch.c (defconfig_entries): New variable.
23095 (__nss_database_lookup): Don't leak defconfig entries.
23096 (nss_parse_service_list): Don't leak on error paths.
23097 (free_database_entries): New function.
23098 (free_defconfig): New function.
23099 (free_mem): Move common code to free_database_entries.
23101 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23103 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23105 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23107 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23108 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23111 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23112 (INTERNAL_SYSCALL_TYPES): Likewise.
23113 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23114 (LOAD_REGS_TYPES_[1-6]): Likewise.
23115 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23116 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23118 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23120 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23121 copysignl for GLIBC_2_0.
23122 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23123 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23125 logbl for GLIBC_2_0.
23126 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23127 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23129 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23137 * time/mktime.c: Update copyright years.
23139 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23141 mktime: merge comment-quoting-style change from gnulib
23142 * time/mktime.c: Quote 'like this' in comments.
23143 The GNU coding standards suggest that we no longer quote `like this',
23144 as "`" and "'" are typically rendered asymmetrically nowadays.
23145 The typical gnulib style is to quote 'like this' when quoting
23146 code, and "like this" when quoting English.
23148 * time/mktime.c (compile-command): Add "-I.".
23150 mktime: merge mktime-internal.h change from gnulib
23151 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23153 mktime: merge time_r change from gnulib
23154 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23156 mktime: merge DEBUG change from gnulib
23157 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23158 case system <time.h> has a #define.
23160 mktime: merge <sys/types.h> change from gnulib
23161 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23162 since <time.t> is now guaranteed to define time_t.
23164 mktime: merge HAVE_CONFIG_H change from gnulib
23165 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23172 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23174 (struct rusage): Use anonymous union to pad each field to
23177 2012-05-21 David S. Miller <davem@davemloft.net>
23179 * Makefules (o-iterator): Remove .s cases.
23180 (compile-command.s): Delete.
23181 (COMPILE.s): Delete.
23182 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23184 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23186 * configure.in (libc_cv_predef_stack_protector): Only consider
23187 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23188 * configure: Regenerated.
23190 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23193 New macro. Use R*LP on int and pointer.
23194 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23195 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23196 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23197 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23199 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23200 [__WORDSIZE_TIME64_COMPAT32] instead of
23201 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23202 (struct utmp): Likewise.
23203 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23204 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23206 (__WORDSIZE_TIME64_COMPAT32): This.
23207 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23208 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23209 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23210 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23211 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23212 (__WORDSIZE_TIME64_COMPAT32): New macro.
23214 2012-05-21 Andreas Jaeger <aj@suse.de>
23216 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23217 only if [SHARED]. Add prototype for __wcschr_ia32.
23219 2012-05-21 Roland McGrath <roland@hack.frob.com>
23221 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23222 of %rbp unmolested in the jmp_buf while mangling the low bits.
23223 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23224 unmolested high bits of %rbp while demangling the low bits.
23225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23227 2012-05-21 Andreas Jaeger <aj@suse.de>
23229 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23230 * sunrpc/svc_simple.c: Use it for registerrpc.
23231 * sunrpc/xcrypt.c: Use it for passwd2des.
23233 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23235 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23237 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23238 Don't define if [__SYSCALL_WORDSIZE != 32].
23239 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23242 2012-05-21 Bruno Haible <bruno@clisp.org>
23243 Andreas Jaeger <aj@suse.de>
23245 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23246 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23247 inptr and inend for must_buffer_ch.
23248 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23249 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23250 * stdio-common/Makefile (tests): Remove bug15.
23251 (bug15-ENV): Remove macro.
23252 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23255 2012-05-19 Andreas Jaeger <aj@suse.de>
23256 Roland McGrath <roland@hack.frob.com>
23258 * manual/contrib.texi: Completely rewritten. It contains now an
23259 alphabetical list of contributors and their contributions.
23261 2012-05-21 Richard Henderson <rth@twiddle.net>
23263 * misc/getauxval.c (__getauxval): Use unsigned long int.
23264 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23265 (getauxval): Use unsigned long int.
23267 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23269 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23271 2012-05-21 Roland McGrath <roland@hack.frob.com>
23273 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23274 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23275 __alignof__ (long double).
23277 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23281 2012-05-20 Richard Henderson <rth@twiddle.net>
23283 * misc/getauxval.c: New file.
23284 * misc/sys/auxv.h: New file.
23285 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23286 (routines): Add getauxval.
23287 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23288 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23289 * elf/dl-sysdep.c (_dl_auxv): Remove.
23290 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23291 * elf/dl-support.c (_dl_auxv): New variable.
23292 (_dl_aux_init): Initialize it.
23293 * manual/startup.texi (Auxiliary Vector): New node.
23294 * sysdeps/generic/bits/hwcap.h: New file.
23295 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23296 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23297 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23298 * sysdeps/sparc/sysdep.h: ... here. Include it.
23299 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23300 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23312 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23316 2012-05-19 David S. Miller <davem@davemloft.net>
23318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23320 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23323 * math/s_ccosh.c: Include <float.h>
23324 (__ccosh): Avoid internal overflow calculating sinh and cosh
23325 values before multiplying by sin and cos values.
23326 * math/s_ccoshf.c: Likewise.
23327 * math/s_ccoshl.c: Likewise.
23328 * math/s_csin.c: Likewise.
23329 * math/s_csinf.c: Likewise.
23330 * math/s_csinl.c: Likewise.
23331 * math/s_csinh.c: Likewise.
23332 * math/s_csinhf.c: Likewise.
23333 * math/s_csinhl.c: Likewise.
23334 * math/libm-test.inc (ccos_test): Add more tests.
23335 (ccosh_test): Likewise.
23336 (csin_test): Likewise.
23337 (csinh_test): Likewise.
23338 * sysdeps/i386/fpu/libm-test-ulps: Update.
23339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23341 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23343 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23344 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23346 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23348 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23350 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23351 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23352 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23353 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23354 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23355 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23356 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23357 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23358 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23359 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23360 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23361 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23362 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23363 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23364 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23365 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23366 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23367 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23368 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23369 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23370 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23371 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23372 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23373 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23374 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23375 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23376 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23377 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23378 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23379 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23380 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23382 2012-05-18 Andreas Jaeger <aj@suse.de>
23384 * csu/.gitignore: Delete.
23386 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23388 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23389 (timex): Use __syscall_slong_t.
23391 2012-05-18 Andreas Jaeger <aj@suse.de>
23392 Carlos O'Donell <carlos_odonell@mentor.com>
23394 * manual/install.texi (Configuring and compiling): Update
23395 description about files modified in the source directory.
23396 * INSTALL: Regenerated.
23398 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23400 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23401 value. Use "or" to set return value to -1.
23402 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23403 negate return value.
23405 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23407 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23408 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23409 failure if the compiler has Graphite support disabled.
23410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23412 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23413 CFLAGS-memmove.c): Likewise.
23414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23417 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23419 * sysdeps/x86_64/x32/_itoa.h: New file.
23421 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23422 getdents system call only if kernel and user dirents have the
23423 same d_ino and d_off.
23425 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23426 LLONG_MAX != LONG_MAX.
23427 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23428 (_fitoa_word): Likewise.
23430 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23434 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23437 include <bits/wordsize.h>. Check __x86_64__ instead of
23439 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23440 if __x86_64__ is defined. Use anonymous union on fpstate.
23442 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23445 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23447 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23448 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23450 Refer to _rtld_local_ro instead of _rtld_global_ro.
23451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23453 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23455 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23457 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23458 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23459 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23461 * sysdeps/powerpc/powerpc32/dl-machine.c
23462 (__elf_machine_runtime_setup) [PROF]: Don't reference
23465 2012-05-18 Andreas Jaeger <aj@suse.de>
23467 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23468 function only available for GCCs before 3.4 since GCC 3.4
23469 introduced a builtin.
23471 (llrintf): Likewise.
23472 (llrint): Likewise.
23479 (nearbyint): Likewise.
23480 (nearbyintf): Likewise.
23484 (floorf): Likewise.
23486 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23488 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23489 on both fields and cast pointer to __syscall_ulong_t.
23491 * bits/types.h (__fsword_t): New type.
23492 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23493 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23495 (__FSWORD_T_TYPE): Likewise.
23496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23497 (__FSWORD_T_TYPE): Likewise.
23498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23499 (__FSWORD_T_TYPE): Likewise.
23500 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23501 (__FSWORD_T_TYPE): Likewise.
23502 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23503 __SWORD_TYPE with __fsword_t.
23504 (statfs64): Likewise.
23506 2012-05-17 David S. Miller <davem@davemloft.net>
23508 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23510 2012-05-17 Andreas Jaeger <aj@suse.de>
23512 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23515 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23517 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23519 2012-05-17 Andreas Jaeger <aj@suse.de>
23521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23524 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23526 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23528 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23530 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23531 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23533 2012-05-17 Andreas Jaeger <aj@suse.de>
23534 Carlos O'Donell <carlos_odonell@mentor.com>
23537 * sysdeps/x86_64/multiarch/init-arch.h
23538 (bit_YMM_Usable): Rename to...
23539 (bit_AVX_Usable): ... this.
23540 (bit_FMA4_Usable): New macro.
23541 (bit_XMM_state): New macro.
23542 (bit_YMM_state): New macro.
23543 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23544 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23545 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23546 (CPUID_OSXSAVE): New macro.
23547 (CPUID_AVX): New macro.
23548 (CPUID_FMA4): New macro.
23549 (index_YMM_Usable): Rename to...
23550 (index_AVX_Usable): ... this.
23551 (HAS_AVX): Use HAS_ARCH_FEATURE.
23552 (HAS_FMA4): Likewise.
23553 (HAS_YMM_USABLE): Remove.
23554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23555 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23557 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23558 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23559 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23560 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23561 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23563 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23565 * math/libm-test.c: Support platforms without multiple rounding modes.
23566 * math/bug-nextafter.c: Support platforms without FP exceptions.
23567 * math/bug-nexttoward.c: Likewise.
23568 * math/test-fenv.c: Likewise.
23569 * math/test-misc.c: Likewise.
23570 * stdlib/bug-getcontext.c: Likewise.
23572 2012-05-17 Andreas Jaeger <aj@suse.de>
23574 * manual/examples/search.c (critter_cmp): Change signature to
23576 * manual/string.texi (Collation Functions): Likewise.
23578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23580 * bits/types.h: Fold copyright years.
23581 * bits/typesizes.h: Likewise.
23582 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23586 * time/time.h: Likewise.
23588 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23591 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23592 in instead of returning them. Return void.
23593 (__libc_mallinfo): Accumulate over all arenas.
23594 (__malloc_stats): Adjust for change in int_mallinfo interface.
23596 2012-05-16 Roland McGrath <roland@hack.frob.com>
23599 * configure.in (NM): Add AC_CHECK_TOOL for it.
23600 (libc_extra_cflags): New substituted variable.
23601 Check for -fstack-protector being used implicitly.
23602 * configure: Regenerated.
23603 * config.make.in (config-extra-cflags): New variable,
23604 gets @libc_extra_cflags@.
23605 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23608 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23609 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23610 * configure: Regenerated.
23611 * config.make.in (CPPUNDEFS): New substituted variable.
23612 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23613 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23614 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23618 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23619 (mq_attr): Use __syscall_slong_t.
23621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23623 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23624 Check __x86_64__ instead of __WORDSIZE.
23625 (_STAT_VER_LINUX): Likewise.
23626 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23627 __syscall_ulong_t and __syscall_slong_t.
23628 (stat64): Likewise.
23630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23634 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23638 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23640 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23643 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23644 include <bits/wordsize.h>. Check __x86_64__ instead of
23646 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23648 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23650 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23651 include <bits/wordsize.h>. Check __x86_64__ instead of
23653 (user_regs_struct): Use "__extension__ unsigned long long"
23654 instead of "unsigned long" if __x86_64__ is defined.
23655 (user): Likewise. Pad after pointer field if __ILP32__ is
23658 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23660 * configure.in (makeinfo): Require version 4.5 or later. Allow
23662 * configure: Regenerated.
23663 * manual/install.texi (texinfo): Increase version requirement to
23665 * INSTALL: Regenerated.
23667 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23671 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23673 * sysdeps/x86_64/x32/ffs.c: New file.
23675 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23677 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23678 defined. Use __syscall_ulong_t.
23679 (shminfo): Use __syscall_ulong_t.
23680 (shm_info): Likewise.
23682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23685 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23687 (msgqnum_t): Use __syscall_ulong_t.
23688 (msglen_t): Likewise.
23689 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23692 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23693 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23695 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23697 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23698 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23700 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23703 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23704 include <bits/wordsize.h>. Check __x86_64__ instead of
23707 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23708 "unsigned long long int" if __x86_64__ is defined.
23709 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23711 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23712 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23713 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23715 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23717 (GET_PC): Cast to uintptr_t first.
23718 (GET_FRAME): Likewise.
23719 (GET_STACK): Likewise.
23721 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23722 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23725 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23726 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23727 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23728 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23729 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23735 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23736 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23746 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23748 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23751 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23753 * Makerules (+depfiles): Also collect depfiles from .oS in
23755 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23756 .oS, $(libnldbl-routines)).
23758 * Makerules (native-compile-mkdep-flags): Define.
23759 * sunrpc/Makefile (extra-objs): Add $(addprefix
23760 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23761 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23762 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23763 calling $(make-target-directory).
23765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23767 * bits/types.h (__snseconds_t): Removed.
23768 * time/time.h (struct timespec): Replace __snseconds_t with
23770 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23771 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23774 (__SNSECONDS_T_TYPE): Likewise.
23775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23776 (__SNSECONDS_T_TYPE): Likewise.
23777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23778 (__SNSECONDS_T_TYPE): Likewise.
23780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23782 * sysdeps/mach/hurd/bits/typesizes.h
23783 (__SYSCALL_SLONG_TYPE): New macro.
23784 (__SYSCALL_ULONG_TYPE): Likewise.
23786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23788 * bits/types.h (__syscall_slong_t): New type.
23789 (__syscall_ulong_t): Likewise.
23791 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23792 (__SYSCALL_ULONG_TYPE): Likewise.
23793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23794 (__SYSCALL_SLONG_TYPE): Likewise.
23795 (__SYSCALL_ULONG_TYPE): Likewise.
23796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23797 (__SYSCALL_SLONG_TYPE): Likewise.
23798 (__SYSCALL_ULONG_TYPE): Likewise.
23799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23800 (__SYSCALL_SLONG_TYPE): Likewise.
23801 (__SYSCALL_ULONG_TYPE): Likewise.
23803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23805 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23806 Add sigaltstack-offsets.sym.
23807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23808 <sigaltstack-offsets.h>.
23809 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23810 longjmp_msg pointer.
23811 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23812 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23814 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23816 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23818 * elf/stackguard-macros.h: Remove file.
23819 * sysdeps/generic/stackguard-macros.h: New file.
23820 * sysdeps/i386/stackguard-macros.h: Likewise.
23821 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23822 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23823 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23824 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23825 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23826 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23827 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23828 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23829 <elf/stackguard-macros.h>.
23832 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23833 __aligned__ in attribute.
23834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23835 (gregset_t): Likewise.
23837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23839 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23840 * sysdeps/x86_64/64/Implies-after: Here. New file.
23841 * sysdeps/x86_64/x32/Implies-after: New file.
23843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23845 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23846 and access return value for _dl_profile_fixup. Use R10_LP to
23849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23855 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23856 * sysdeps/x86_64/x32/sysdep.h: New file.
23858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23860 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23861 * sysdeps/x86_64/setjmp.S: Likewise.
23863 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23865 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23867 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23868 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23869 remove unused global constant.
23871 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23873 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23874 include of <not-cancel.h>.
23876 2012-05-15 Roland McGrath <roland@hack.frob.com>
23878 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23880 2012-05-15 Jeff Law <law@redhat.com>
23881 Andreas Jaeger <aj@suse.de>
23884 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23886 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23887 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23888 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23889 code changing __hst_map_handle.map.
23891 2012-05-15 Roland McGrath <roland@hack.frob.com>
23893 * configure.in (sysnames): Look for Implies-before and Implies-after
23895 * configure: Regenerated.
23897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23899 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23900 8-byte data alignment with LP_SIZE alignment.
23902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23904 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23909 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23913 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23914 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23921 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23922 (stackinfo_sub_sp): Likewise.
23924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23926 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23936 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23941 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23945 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23946 into R11_LP and load __x86_64_shared_cache_size_half into
23949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23954 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23960 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23963 powerpc32/power7/fpu/s_logb.c via #include.
23964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23965 powerpc32/power7/fpu/s_logbf.c via #include.
23966 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23967 powerpc32/power7/fpu/s_logbl.c via #include.
23969 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23971 * README.libm: Remove file.
23973 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23975 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23976 count for x32. Use R*_LP and omit operand-size suffix.
23978 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23980 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23981 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23982 * sysdeps/x86_64/x32/shlib-versions: New file.
23984 2012-05-14 Roland McGrath <roland@hack.frob.com>
23986 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23987 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23988 Use _dl_fatal_printf instead.
23990 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23992 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23993 set if not set by the user. Do not allow for being unset.
23994 * sysdeps/unix/sysv/linux/configure: Regenerated.
23996 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23998 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23999 the `q' suffix from lea and replace .quad with ASM_ADDR.
24001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24004 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24006 (PTR_DEMANGLE): Likewise.
24008 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24010 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24012 (ASM_ADDR): Likewise.
24013 (RAX_LP): Likewise.
24014 (RBP_LP): Likewise.
24015 (RBX_LP): Likewise.
24016 (RCX_LP): Likewise.
24017 (RDI_LP): Likewise.
24018 (RSI_LP): Likewise.
24019 (RSP_LP): Likewise.
24022 (R10_LP): Likewise.
24023 (R10_LP): Likewise.
24024 (R11_LP): Likewise.
24025 (R12_LP): Likewise.
24026 (R13_LP): Likewise.
24027 (R14_LP): Likewise.
24028 (R15_LP): Likewise.
24030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24032 * sysdeps/x86_64/x32/dl-machine.h: New file.
24034 2012-05-14 Andreas Jaeger <aj@suse.de>
24036 * manual/Makefile (subdir): Remove export of subdir.
24037 (all): Remove target.
24038 (.PHONY): Remove all from list.
24039 (mkinstalldirs): Remove.
24040 (.PHONY): Remove installdirs from list.
24041 ($(inst_infodir)/libc.info): Use make-target-directory.
24042 (installdirs): Remove.
24043 (subdir_%): Remove.
24044 (glibc-targets): Remove.
24047 ($(objpfx)stubs ../po/manual.pot): Remove.
24048 ($(objpfx)stamp%): Remove.
24049 (make-target-directory): Remove.
24050 (subdir_install): Remove.
24051 (routines): Remove.
24058 * manual/.gitignore: Remove, it's not needed anymore.
24059 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24061 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24063 (texis): Renamed to $(objpfx)texis.
24064 (texis-path): New, contains path to generated files.
24065 (chapters.%): Use texis-path for complete path, add extra argument
24067 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24068 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24069 (summary,texi, stamp-summary): Use complete path of
24070 files. Generate files in build dir.
24071 (dir-add.texi): Build in build dir.
24072 (libm-err.texi,stamp-libm-err): Likewise.
24073 (version.texi, stamp-version): Likewise.
24074 (.%c.texi): Likewise.
24075 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24076 (mostlyclean): Remove target.
24077 (realclean): Remove target.
24078 (generated): Add new variable with contents from mostlyclean and
24079 realclean, remove entries duplicated in common-mostlyclean, add
24080 stamp-libm-err and stamp-version.
24081 (generated-dirs): Add libc directory.
24082 ($(inst_infodir)/libc.info): Install files from build dir.
24084 * manual/install.texi (Configuring and compiling): Adjust since
24085 the info files are not part of the tar ball anymore.
24087 2012-05-14 Andreas Jaeger <aj@suse.de>
24089 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24092 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24096 to 2.2.0 where earlier.
24097 * sysdeps/unix/sysv/linux/configure: Regenerated.
24098 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24099 Remove conditional code.
24100 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24101 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24102 Remove conditional code.
24103 [!__NR_lchown]: Likewise.
24104 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24105 [__NR_lchown]: Likewise.
24106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24107 comment referencing __ASSUME_LCHOWN_SYSCALL.
24108 * sysdeps/unix/sysv/linux/i386/sigaction.c
24109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24112 Remove conditional code.
24113 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24114 (__protocol_available): Remove #if 0 code.
24115 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24117 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24118 * sysdeps/unix/sysv/linux/kernel-features.h
24119 (__ASSUME_GETCWD_SYSCALL): Don't define.
24120 (__ASSUME_REALTIME_SIGNALS): Likewise.
24121 (__ASSUME_PREAD_SYSCALL): Likewise.
24122 (__ASSUME_PWRITE_SYSCALL): Likewise.
24123 (__ASSUME_POLL_SYSCALL): Likewise.
24124 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24125 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24127 (__ASSUME_SIOCGIFNAME): Don't define.
24128 (__ASSUME_MSG_NOSIGNAL): Likewise.
24129 (__ASSUME_SENDFILE): Define unconditionally.
24130 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24131 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24133 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24134 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24135 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24136 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24137 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24138 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24139 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24153 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24164 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24165 Remove conditional code.
24166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24167 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24168 Remove conditional code.
24169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24170 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24171 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24172 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24173 Remove conditional code.
24174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24175 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24176 Remove conditional code.
24177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24178 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24179 Remove conditional code.
24180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24181 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24182 Remove conditional code.
24183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24184 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24185 Remove conditional code.
24186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24187 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24190 * sysdeps/unix/sysv/linux/sigaction.c
24191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24193 * sysdeps/unix/sysv/linux/sigpending.c
24194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24196 * sysdeps/unix/sysv/linux/sigprocmask.c
24197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24199 * sysdeps/unix/sysv/linux/sigsuspend.c
24200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24203 (__libc_missing_rt_sigs): Remove.
24204 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24205 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24206 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24207 Remove conditional code.
24208 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24209 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24214 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24216 2012-05-14 Andreas Jaeger <aj@suse.de>
24218 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24219 it's not used in glibc.
24220 (__coshm1): Likewise.
24221 (__acosh1p): Likewise.
24224 * manual/string.texi (Copying and Concatenation): Add missing
24225 variable in concat example.
24226 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24232 __builtin_clzl with __builtin_clzll.
24234 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24237 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24240 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24242 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24243 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24244 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24247 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24249 * NEWS: Update ia64 info.
24251 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24253 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24256 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24258 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24259 * sysdeps/unix/syscalls.list (dup3): Likewise.
24260 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24261 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24263 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24265 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24266 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24268 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24270 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24272 (TLS_IE): Use mov/add instead of movq/addq to load thread
24274 (TLS_GD_PREFIX): New.
24277 2012-05-11 David S. Miller <davem@davemloft.net>
24279 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24280 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24281 (_FPU_SETCW): Likewise.
24283 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24285 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24286 is 32-byte aligned.
24288 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24291 * iconvdata/gb18030.c: Update tables.
24292 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24293 characters specially.
24294 (BODY for TO_LOOP): Add encoding of missing ranges.
24296 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24299 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24300 * sysdeps/mach/hurd/dup3.c: Likewise.
24301 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24302 * sysdeps/powerpc/memmove.c:: Likewise.
24304 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24307 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24311 * elf/elf.h (R_X86_64_RELATIVE64): New.
24312 (R_X86_64_NUM): Updated.
24313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24314 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24315 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24316 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24317 tst-quad1pie tst-quad2pie
24318 (modules-names): Add tst-quadmod1 tst-quadmod2.
24319 ($(objpfx)tst-quad1): New dependency.
24320 ($(objpfx)tst-quad2): Likewise.
24321 ($(objpfx)tst-quad1pie): Likewise.
24322 ($(objpfx)tst-quad2pie): Likewise.
24323 * sysdeps/x86_64/tst-quad1.c: New file.
24324 * sysdeps/x86_64/tst-quad1pie.c: New file.
24325 * sysdeps/x86_64/tst-quad2.c: Likewise.
24326 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24327 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24328 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24329 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24330 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24334 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24335 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24336 * streams/stropts.h (t_scalar_t): Define type.
24338 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24339 (_PATH_PRESERVE): Set to "/var/lib".
24340 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24342 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24345 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24346 if __dir_mkfile succeeded.
24348 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24349 checking for _hurd_dtablesize. Unlock it right after having
24350 finished _hurd_dtable allocation.
24352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24354 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24355 * sysdeps/mach/hurd/configure: Regenerated.
24356 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24357 special-casing to...
24358 * sysdeps/gnu/configure.in: ... this new file.
24359 * sysdeps/unix/sysv/linux/configure: Regenerated.
24360 * sysdeps/gnu/configure: New generated file.
24362 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24363 for Linux: use nsec instead of usec, as well as:
24364 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24365 members of type struct timespec.
24366 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24368 (struct stat64): Likewise.
24369 (_STATBUF_ST_NSEC): New macro.
24370 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24373 __strtoul_internal rather than strtoul.
24375 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24377 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24382 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24383 which preserves existing values.
24384 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24388 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24389 TIMEOUT values. Return EINVAL for NFDS values either negative or
24390 greater than FD_SETSIZE.
24392 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24394 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24395 allocated, call __vm_protect to finish enabling the existing space, and
24396 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24397 allocate the remainder.
24399 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24401 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24402 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24404 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24406 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24407 sysdeps/mach/hurd/readlink.c.
24409 * posix/tst-sysconf.c (posix_options): Only use
24410 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24411 _POSIX_SYNCHRONIZED_IO when they are defined
24412 * sysdeps/mach/hurd/bits/posix_opt.h:
24413 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24414 (_XOPEN_REALTIME): Undefine macro.
24415 (_XOPEN_REALTIME_THREADS): Undefine macro.
24416 (_XOPEN_SHM): Undefine macro.
24417 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24419 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24421 (_POSIX_ASYNC_IO): Undefine macro.
24422 (_POSIX_PRIORITIZED_IO): Undefine macro.
24423 (_POSIX_SPIN_LOCKS): Define macro to -1.
24425 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24426 SA_NODEFER, SA_RESETHAND.
24427 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24428 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24433 * elf/Makefile (pldd-modules): Define unconditionally.
24435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24437 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24441 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24442 Return ENOENT when name is empty.
24443 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24447 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24449 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24453 Fix mlock in all cases except non-readable pages.
24454 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24455 instead of VM_PROT_ALL as parameter to __vm_wire function.
24457 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24458 (__mkdir): When path is `/', just fail with EEXIST.
24459 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24463 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24464 <sys/uio.h> (for writev).
24465 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24466 and <sys/param.h> (for MIN).
24468 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24470 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24471 REQUESTED_TIME. Properly set the remaining time and return EINTR
24474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24476 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24477 Depend on against $(link-rpcuserlibs).
24479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24481 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24482 (__libc_stack_end): Do not use attribute_relro.
24483 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24484 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24485 to libthread-provided value.
24486 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24492 * bits/libc-lock.h (__libc_once_get): New macro.
24493 * sysdeps/mach/bits/libc-lock.h: Likewise.
24494 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24496 instead of using implementation details.
24498 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24499 * libio/freopen.c: Likewise.
24500 * libio/freopen64.c: Likewise.
24501 * misc/syslog.c: Likewise.
24502 * nscd/connections.c: Likewise.
24503 * nscd/netgroupcache.c: Likewise.
24504 * sysdeps/posix/getcwd.c: Likewise.
24506 2012-05-10 Roland McGrath <roland@hack.frob.com>
24508 * math/w_ilogbf.c: Add #include <limits.h>.
24510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24512 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24513 path instead of returning without unlocking.
24515 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24516 immediate-write ioctls.
24517 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24521 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24522 __builtin_frame_address instead of making assumptions about the
24523 location of the return address relative to DATA. Force early load of
24524 the return address.
24525 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24526 __builtin_frame_address.
24529 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24530 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24531 implement dup3 and do some further code clean-ups.
24532 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24535 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24539 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24540 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24541 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24542 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24543 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24546 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24547 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24548 when handler == SIG_ERR, not when handler != SIG_ERR.
24550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24552 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24553 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24556 accept4 for GNU Hurd.
24557 * include/sys/socket.h (__libc_accept4): New prototype.
24558 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24559 to implement __libc_accept4.
24560 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24565 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24566 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24567 signal-defines.sym.
24569 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24571 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24573 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24575 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24576 assertion on O_CLOEXEC flag.
24577 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24578 * hurd/intern-fd.c: Likewise.
24579 * hurd/port2fd.c: Likewise.
24581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24584 * bits/in.h (IPV6_PKTINFO): Define new macro.
24585 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24587 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24592 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24594 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24595 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24597 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24598 * math/libm-test.inc (logb_test) : Additional logb tests.
24600 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24601 Andreas Jaeger <aj@suse.de>
24603 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24604 * configure: Regenerated.
24605 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24606 * config.make.in (link-obsolete-rpc): New substituted variable.
24607 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24608 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24609 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24610 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24611 so that libc.a contains the symbols.
24612 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24613 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24614 * sunrpc/auth_none.c: Likewise.
24615 * sunrpc/auth_unix.c: Likewise.
24616 * sunrpc/authdes_prot.c: Likewise.
24617 * sunrpc/authuxprot.c: Likewise.
24618 * sunrpc/clnt_gen.c: Likewise.
24619 * sunrpc/clnt_perr.c: Likewise.
24620 * sunrpc/clnt_raw.c: Likewise.
24621 * sunrpc/clnt_simp.c: Likewise.
24622 * sunrpc/clnt_tcp.c: Likewise.
24623 * sunrpc/clnt_udp.c: Likewise.
24624 * sunrpc/clnt_unix.c: Likewise.
24625 * sunrpc/des_crypt.c: Likewise.
24626 * sunrpc/des_soft.c: Likewise.
24627 * sunrpc/get_myaddr.c: Likewise.
24628 * sunrpc/key_call.c: Likewise.
24629 * sunrpc/key_prot.c: Likewise.
24630 * sunrpc/netname.c: Likewise.
24631 * sunrpc/pm_getmaps.c: Likewise.
24632 * sunrpc/pm_getport.c: Likewise.
24633 * sunrpc/pmap_clnt.c: Likewise.
24634 * sunrpc/pmap_prot.c: Likewise.
24635 * sunrpc/pmap_prot2.c: Likewise.
24636 * sunrpc/pmap_rmt.c: Likewise.
24637 * sunrpc/publickey.c: Likewise.
24638 * sunrpc/rpc_cmsg.c: Likewise.
24639 * sunrpc/rpc_common.c: Likewise.
24640 * sunrpc/rpc_dtable.c: Likewise.
24641 * sunrpc/rpc_prot.c: Likewise.
24642 * sunrpc/rpc_thread.c: Likewise.
24643 * sunrpc/rtime.c: Likewise.
24644 * sunrpc/svc.c: Likewise.
24645 * sunrpc/svc_auth.c: Likewise.
24646 * sunrpc/svc_raw.c: Likewise.
24647 * sunrpc/svc_run.c: Likewise.
24648 * sunrpc/svc_tcp.c: Likewise.
24649 * sunrpc/svc_udp.c: Likewise.
24650 * sunrpc/svc_unix.c: Likewise.
24651 * sunrpc/svcauth_des.c: Likewise.
24652 * sunrpc/xcrypt.c: Likewise.
24653 * sunrpc/xdr.c: Likewise.
24654 * sunrpc/xdr_array.c: Likewise.
24655 * sunrpc/xdr_float.c: Likewise.
24656 * sunrpc/xdr_intXX_t.c: Likewise.
24657 * sunrpc/xdr_mem.c: Likewise.
24658 * sunrpc/xdr_rec.c: Likewise.
24659 * sunrpc/xdr_ref.c: Likewise.
24660 * sunrpc/xdr_sizeof.c: Likewise.
24661 * sunrpc/xdr_stdio.c: Likewise.
24663 2012-05-10 Roland McGrath <roland@hack.frob.com>
24665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24666 change. Update copyright years.
24668 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24670 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24672 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24673 Joseph Myers <joseph@codesourcery.com>
24674 Paul Pluzhnikov <ppluzhnikov@google.com>
24677 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24679 [cross-compiling] (extra-libs): Likewise.
24680 [cross-compiling] (extra-libs-others): Likewise.
24681 [cross-compiling] (librpcsvc-routines): Likewise.
24682 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24683 [cross-compiling] (omit-deps): Likewise.
24684 (sunrpc-CPPFLAGS): New variable.
24685 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24686 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24687 (cross-rpcgen-objs): New variable.
24688 (extra-objs): Append $(cross-rpcgen-objs).
24689 ($(cross-rpcgen-objs)): New rule.
24690 ($(objpfx)cross-rpcgen): Likewise.
24691 (rpcgen-cmd): Define to use $(built-program-file). Expand
24693 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24694 ($(objpfx)x%.stmp): Likewise.
24695 * sunrpc/proto.h [IS_IN_build] (_): Define.
24696 [IS_IN_build] (_libc_intl_domainname): Likewise.
24698 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24701 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24702 and R_X86_64_TPOFF64.
24704 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24706 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24707 sysdeps/unix/sysv/syscalls.list.
24710 * sysdeps/unix/sysv/syscalls.list: Remove file.
24712 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24715 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24716 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24717 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24718 (__LC_IDENTIFICATION): Make these macros useful in #if
24719 expressions, as required by C99.
24721 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24723 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24724 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24727 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24729 * stdlib/longlong.h: Updated from GCC.
24731 2012-05-09 Andreas Jaeger <aj@suse.de>
24733 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24734 default is first entry.
24735 (run_mode): Set type.
24736 (main): Remove informal message about syslog.
24737 (options): Fix typo.
24740 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24743 (llrintf): Likewise.
24744 (llrint): Likewise.
24747 (nearbyint): Likewise.
24748 (nearbyintf): Likewise.
24750 2012-05-09 Andreas Jaeger <aj@suse.de>
24751 Pedro Alves <palves@redhat.com>
24753 * nscd/nscd.c (run_mode): Use enum.
24754 (main): Cleanup coding style issue.
24756 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24757 Andreas Jaeger <aj@suse.de>
24759 * nscd/nscd.c (go_background): Replaced with...
24760 (run_mode): ... this.
24761 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24762 (options): Add -F --foreground.
24763 (main): Implement it.
24764 (parse_opt): Parse it.
24766 2012-05-09 Andreas Jaeger <aj@suse.de>
24769 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24770 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24771 -Wconversion warning.
24772 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24775 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24777 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24779 (LC_ALL): Use macro-int-constant.
24780 (LC_COLLATE): Likewise.
24781 (LC_CTYPE): Likewise.
24782 (LC_MESSAGES): Likewise.
24783 (LC_MONETARY): Likewise.
24784 (LC_NUMERIC): Likewise.
24785 (LC_TIME): Likewise.
24786 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24787 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24789 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24791 [C99-based standards] (float_t): Expect type.
24792 [C99-based standards] (double_t): Expect type.
24793 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24795 [C99-based standards] (HUGE_VALL): Likewise.
24796 [C99-based standards] (INFINITY): Likewise.
24797 [C99-based standards] (NAN): Likewise.
24798 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24799 [C99-based standards] (FP_NAN): Likewise.
24800 [C99-based standards] (FP_NORMAL): Likewise.
24801 [C99-based standards] (FP_SUBNORMAL): Likewise.
24802 [C99-based standards] (FP_ZERO): Likewise.
24803 [C99-based standards] (FP_FAST_FMA): Use
24804 optional-macro-int-constant. Specify type. Require == 1.
24805 [C99-based standards] (FP_FAST_FMAF): Likewise.
24806 [C99-based standards] (FP_FAST_FMAL): Likewise.
24807 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24808 [C99-based standards] (FP_ILOGBNAN): Likewise.
24809 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24811 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24812 [C99-based standards] (math_errhandling): Specify type.
24813 [ISO99 || ISO11] (signgam): Do not allow.
24814 [non-C99-based standards] (copysignf): Do not allow.
24815 [non-C99-based standards] (exp2f): Likewise.
24816 [non-C99-based standards] (log2f): Likewise.
24817 [non-C99-based standards] (modff): Allow.
24818 [non-C99-based standards] (erff): Do not allow.
24819 [non-C99-based standards] (erfcf): Likewise.
24820 [non-C99-based standards] (gammaf): Likewise.
24821 [non-C99-based standards] (hypotf): Likewise.
24822 [non-C99-based standards] (j0f): Likewise.
24823 [non-C99-based standards] (j1f): Likewise.
24824 [non-C99-based standards] (jnf): Likewise.
24825 [non-C99-based standards] (lgammaf): Likewise.
24826 [non-C99-based standards] (tgammaf): Likewise.
24827 [non-C99-based standards] (y0f): Likewise.
24828 [non-C99-based standards] (y1f): Likewise.
24829 [non-C99-based standards] (ynf): Likewise.
24830 [non-C99-based standards] (isnanf): Likewise.
24831 [non-C99-based standards] (acoshf): Likewise.
24832 [non-C99-based standards] (asinhf): Likewise.
24833 [non-C99-based standards] (atanhf): Likewise.
24834 [non-C99-based standards] (cbrtf): Likewise.
24835 [non-C99-based standards] (expm1f): Likewise.
24836 [non-C99-based standards] (ilogbf): Likewise.
24837 [non-C99-based standards] (log1pf): Likewise.
24838 [non-C99-based standards] (logbf): Likewise.
24839 [non-C99-based standards] (nextafterf): Likewise.
24840 [non-C99-based standards] (remainderf): Likewise.
24841 [non-C99-based standards] (rintf): Likewise.
24842 [non-C99-based standards] (scalbf): Likewise.
24843 [non-C99-based standards] (copysignl): Likewise.
24844 [non-C99-based standards] (exp2l): Likewise.
24845 [non-C99-based standards] (log2l): Likewise.
24846 [non-C99-based standards] (modfl): Allow.
24847 [non-C99-based standards] (erfl): Do not allow.
24848 [non-C99-based standards] (erfcl): Likewise.
24849 [non-C99-based standards] (gammal): Likewise.
24850 [non-C99-based standards] (hypotl): Likewise.
24851 [non-C99-based standards] (j0l): Likewise.
24852 [non-C99-based standards] (j1l): Likewise.
24853 [non-C99-based standards] (jnl): Likewise.
24854 [non-C99-based standards] (lgammal): Likewise.
24855 [non-C99-based standards] (tgammal): Likewise.
24856 [non-C99-based standards] (y0l): Likewise.
24857 [non-C99-based standards] (y1l): Likewise.
24858 [non-C99-based standards] (ynl): Likewise.
24859 [non-C99-based standards] (isnanl): Likewise.
24860 [non-C99-based standards] (acoshl): Likewise.
24861 [non-C99-based standards] (asinhl): Likewise.
24862 [non-C99-based standards] (atanhl): Likewise.
24863 [non-C99-based standards] (cbrtl): Likewise.
24864 [non-C99-based standards] (expm1l): Likewise.
24865 [non-C99-based standards] (ilogbl): Likewise.
24866 [non-C99-based standards] (log1pl): Likewise.
24867 [non-C99-based standards] (logbl): Likewise.
24868 [non-C99-based standards] (nextafterl): Likewise.
24869 [non-C99-based standards] (remainderl): Likewise.
24870 [non-C99-based standards] (rintl): Likewise.
24871 [non-C99-based standards] (scalbl): Likewise.
24872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24873 [non-C99-based standards] (FP_*): Do not allow.
24874 [C99-based standards] (FP_*): Change to
24875 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24876 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24878 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24879 (SIG_ERR): Likewise.
24880 [X/Open-based standards] (SIG_HOLD): Likewise.
24881 (SIG_IGN): Likewise.
24882 (SIGABRT): Use macro-int-constant. Specify type. Require
24884 (SIGFPE): Likewise.
24885 (SIGILL): Likewise.
24886 (SIGINT): Likewise.
24887 (SIGSEGV): Likewise.
24888 (SIGTER): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24890 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24891 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24893 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24895 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24897 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24899 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24900 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24901 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24902 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24903 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24904 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24905 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24906 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24907 [X/Open-based standards] (SIGTRAP): Likewise.
24908 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24909 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24910 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24911 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24912 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24915 2012-05-08 Ian Wienand <ianw@vmware.com>
24918 * time/tzset.c (__tzset_parse_tz): Update default rules for
24919 daylight time changes in the Energy Policy Act of 2005.
24921 2012-05-09 Andreas Jaeger <aj@suse.de>
24924 * elf/ldconfig.c (parse_conf): Change string to make clear that
24925 ldconfig only issued a warning if ld.so.conf does not exist.
24927 2012-05-08 David S. Miller <davem@davemloft.net>
24929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24930 movxtod instead of popping the value on the stack.
24932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24934 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24936 * config.h.in: Add HAVE_ARM_PCS_VFP.
24938 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24941 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24942 checking but the checks are disabled for any reason.
24944 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24946 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24947 and ELF64_R_TYPE with ELFW(R_TYPE).
24949 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24951 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24952 (ulimit): Likewise.
24954 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24955 (settimeofday): Likewise.
24957 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24959 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24960 a struct th_u2 inside the union, and move tu_block/tu_code into
24961 a new th_u3 union of tu_block/tu_code inside of that. Move
24962 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24963 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24964 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24965 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24966 (th_stuff): Change to th_u1.tu_stuff.
24968 (th_msg): Change to th_u1.th_u2.tu_data.
24970 2012-05-07 David S. Miller <davem@davemloft.net>
24972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24976 (SETUP_PIC_REG): Use it.
24977 (SETUP_PIC_REG_LEAF): Use it.
24979 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24983 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24992 (EXPL_FINITE): Likewise.
24993 (FLDLOG): Likewise.
24994 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24995 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24997 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24998 test of -max_value argument for long double.
24999 * sysdeps/i386/fpu/libm-test-ulps: Update.
25000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25002 2012-05-06 David S. Miller <davem@davemloft.net>
25004 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25005 quad soft-float symbols whose references which are compiler
25007 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25009 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25015 (EXPL_FINITE): Likewise.
25016 (FLDLOG): Likewise.
25019 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25020 Adjust comments for base varying.
25021 (__expl_finite): Change alias to EXPL_FINITE.
25022 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25024 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25025 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25027 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25030 (EXPL_FINITE): Likewise.
25031 (FLDLOG): Likewise.
25034 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25035 Adjust comments for base varying.
25036 (__expl_finite): Change alias to EXPL_FINITE.
25037 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25042 * math/libm-test.inc (check_float_internal): Correct ulp
25043 calculation for subnormal expected results.
25045 2012-05-06 Andreas Jaeger <aj@suse.de>
25047 * Makeconfig (+math-flags): New, set to -frounding-math.
25048 (+cflags): Add +math-flags so that all of glibc gets compiled with
25051 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25053 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25055 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25061 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25062 (__ieee754_expl): Allow for and saturate large arguments.
25063 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25064 (u_threshold): Likewise.
25065 (__exp): Call __ieee754_exp before checking for overflow and
25067 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25068 (u_threshold): Likewise.
25069 (__expf): Call __ieee754_expf before checking for overflow and
25071 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25072 (u_threshold): Likewise.
25073 (__expl): Call __ieee754_expl before checking for overflow and
25075 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25076 (__ieee754_expl): Allow for and saturate large arguments.
25077 * math/libm-test.inc (exp_test): Add another test. Do not allow
25078 missing overflow exception on overflow.
25079 (expm1_test): Do not allow missing overflow exception on overflow.
25081 * sysdeps/i386/fpu/e_expl.c: Move to ...
25082 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25083 rather than using inline asm.
25084 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25085 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25086 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25088 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25091 (signal): Likewise.
25095 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25097 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25098 sysdeps/unix/common/syscalls.list.
25099 (fchmod): Likewise.
25100 (fchown): Likewise.
25101 (ftruncate): Likewise.
25102 (getrusage): Likewise.
25103 (gettimeofday): Likewise.
25104 (setpgid): Likewise.
25105 (setregid): Likewise.
25106 (setreuid): Likewise.
25107 (sigaction): Likewise.
25108 (truncate): Likewise.
25109 (vhangup): Likewise.
25110 * sysdeps/unix/common/syscalls.list: Remove file.
25111 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25112 * sysdeps/unix/sysv/linux/Implies: Likewise.
25114 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25116 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25118 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25122 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25125 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25128 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25131 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25134 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25137 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25140 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25144 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25148 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25151 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25155 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25159 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25161 * sysdeps/unix/common/bits/dirent.h: Remove file.
25162 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25164 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25165 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25166 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25167 * sysdeps/unix/bsd/isatty.c: Likewise.
25168 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25169 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25170 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25172 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25176 long double comparison inaccuracies.
25177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25180 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25182 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25185 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25189 nonzero digits before rounding a hex value.
25190 * stdlib/tst-strtod.c (tests): Add another test.
25192 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25194 * sysdeps/s390/fpu/libm-test-ulps: Update.
25196 2012-05-03 Andreas Jaeger <aj@suse.de>
25198 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25199 does not get optimized out.
25200 (malloc_opt_barrier): New.
25202 2012-05-03 Andreas Jaeger <aj@suse.de>
25203 Roland McGrath <roland@hack.frob.com>
25205 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25206 intermediate file deletion.
25207 (generated): Add .symlist files.
25209 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25212 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25213 Redirect under this condition.
25214 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25215 [__USE_GNU] (__dprintf_chk): Not under this condition.
25216 [__USE_GNU] (__vdprintf_chk): Likewise.
25217 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25218 under this condition.
25219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25220 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25221 [__USE_XOPEN2K8] (vdprintf): Likewise.
25222 [__USE_GNU] (__dprintf_chk): Not under this condition.
25223 [__USE_GNU] (__vdprintf_chk): Likewise.
25224 [__USE_GNU] (dprintf): Likewise.
25225 [__USE_GNU] (vdprintf): Likewise.
25227 2012-05-03 Roland McGrath <roland@hack.frob.com>
25229 * elf/Makefile (common-generated): Set this instead of generated for
25230 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25231 $(all-built-dso)-derived lists.
25233 2012-05-03 Andreas Jaeger <aj@suse.de>
25235 * sysdeps/i386/fpu/libm-test-ulps: Update.
25238 * FAQ.in: Likewise.
25239 * scripts/gen-FAQ.pl: Likewise.
25240 * manual/install.texi (Installation): Point to online location of
25242 * Makefile (files-for-dist): Remove FAQ.
25245 2012-05-02 Allan McRae <allan@archlinux.org>
25247 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25248 (LDFLAGS-reldepmod5.so): Likewise.
25249 (LDFLAGS-reldep6mod1.so): Likewise.
25250 (LDFLAGS-reldep6mod4.so): Likewise.
25251 (LDFLAGS-reldep8mod3.so): Likewise.
25252 (LDFLAGS-unload4mod1.so): Likewise.
25253 (LDFLAGS-unload4mod2.so): Likewise.
25254 (LDFLAGS-tst-initorder): Likewise.
25255 (LDFLAGS-tst-initordera2.so): Likewise.
25256 (LDFLAGS-tst-initordera3.so): Likewise.
25257 (LDFLAGS-tst-initordera4.so): Likewise.
25258 (LDFLAGS-tst-initorderb2.so): Likewise.
25259 (LDFLAGS-noload): Likewise.
25260 (LDFLAGS-next): Likewise.
25261 (LDFLAGS-order2mod1.so): Likewise.
25262 (LDFLAGS-order2mod2.so): Likewise.
25263 (LDFLAGS-tst-initorder2): Likewise.
25264 (LDFLAGS-tst-initorder2a.so): Likewise.
25265 (LDFLAGS-tst-initorder2b.so): Likewise.
25266 (LDFLAGS-tst-initorder2c.so): Likewise.
25267 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25269 2012-05-02 David S. Miller <davem@davemloft.net>
25271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25273 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25276 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25278 2012-05-02 Andreas Jaeger <aj@suse.de>
25280 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25281 since we manipulate rounding mode.
25282 (CPPFLAGS-test-idouble.c): Likewise.
25283 (CPPFLAGS-test-ifloat.c): Likewise.
25284 (CFLAGS-test-ldouble.c): Likewise.
25285 (CFLAGS-test-double.c): Likewise.
25286 (CFLAGS-test-float.c): Likewise.
25287 (CFLAGS-test-misc.c): Likewise.
25288 (CFLAGS-test-test-fenv.c): Likewise.
25290 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25294 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25295 comparisons to determine direction to adjust input.
25297 2012-05-01 Roland McGrath <roland@hack.frob.com>
25299 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25300 output to the target.
25302 * scripts/localplt.awk: New file.
25303 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25304 (check-localplt-CFLAGS): Variable removed.
25305 ($(all-built-dso:=.jmprel)): New static pattern rule.
25306 (generated): Add those targets.
25307 (localplt-built-dso): New variable.
25308 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25310 * elf/check-localplt.c: File removed.
25312 * scripts/check-execstack.awk: New file.
25313 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25314 (check-execstack-CFLAGS): Variable removed.
25315 ($(objpfx)check-execstack.h): Target removed.
25316 ($(objpfx)execstack-default): New target.
25317 (generated): Add that instead of check-execstack.h.
25318 ($(all-built-dso:=.phdr)): New static pattern rule.
25319 (generated): Add those targets.
25320 * elf/check-execstack.c: File removed.
25322 * scripts/check-textrel.awk: New file.
25323 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25324 (check-textrel-CFLAGS): Variable removed.
25325 (all-built-dso): Use := to define.o
25326 ($(all-built-dso:=.dyn)): New static pattern rule.
25327 (generated): Add those targets.
25328 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25329 * config.make.in (READELF): New substituted variable.
25330 * elf/check-textrel.c: File removed.
25332 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25334 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25336 * conform/data/ctype.h-data [C99-based standards] (isblank):
25338 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25339 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25341 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25342 Specify type. Require positive value.
25343 (EILSEQ): Likewise.
25344 (ERANGE): Likewise.
25345 [ISO || POSIX] (EILSEQ): Do not expect.
25346 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25347 Specify type. Require positive value.
25348 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25365 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25382 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25383 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25384 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25385 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25386 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25387 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25389 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25422 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25423 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25424 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25426 (FLT_ROUNDS): Expect as macro, not constant.
25427 (FLT_MANT_DIG): Use macro-int-constant.
25428 (DBL_MANT_DIG): Likewise.
25429 (LDBL_MANT_DIG): Likewise.
25430 (FLT_DIG): Likewise.
25431 (DBL_DIG): Likewise.
25432 (LDBL_DIG): Likewise.
25433 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25434 (DBL_MIN_EXP): Likewise.
25435 (LDBL_MIN_EXP): Likewise.
25436 (FLT_MAX_EXP): Use macro-int-constant.
25437 (DBL_MAX_EXP): Likewise.
25438 (LDBL_MAX_EXP): Likewise.
25439 (FLT_MAX_10_EXP): Likewise.
25440 (DBL_MAX_10_EXP): Likewise.
25441 (LDBL_MAX_10_EXP): Likewise.
25442 (FLT_MAX): Use macro-constant.
25443 (DBL_MAX): Likewise.
25444 (LDBL_MAX): Likewise.
25445 (FLT_EPSILON): Use macro-constant. Give upper bound.
25446 (DBL_EPSILON): Likewise.
25447 (LDBL_EPSILON): Likewise.
25448 (FLT_MIN): Likewise.
25449 (DBL_MIN): Likewise.
25450 (LDBL_MIN): Likewise.
25451 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25452 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25453 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25454 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25455 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25456 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25457 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25458 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25459 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25460 [ISO11] (FLT_TRUE_MIN): Likewise.
25461 [ISO11] (LDBL_TRUE_MIN): Likewise.
25462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25463 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25464 (SCHAR_MIN): Use macro-int-constant. Specify type.
25465 (SCHAR_MAX): Likewise.
25466 (UCHAR_MAX): Likewise.
25467 (CHAR_MIN): Likewise.
25468 (CHAR_MAX): Likewise.
25469 (MB_LEN_MAX): Use macro-int-constant.
25470 (SHRT_MIN): Use macro-int-constant. Specify type.
25471 (SHRT_MAX): Likewise.
25472 (USHRT_MAX): Likewise.
25473 (INT_MAX): Likewise.
25474 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25476 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25478 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25480 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25481 bound negative. Suffix upper bound with "L".
25482 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25484 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25486 [C99-based standards] (LLONG_MAX): Likewise.
25487 [C99-based standards] (ULLONG_MAX): Likewise.
25488 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25490 [ISO11] (max_align_t): Require type.
25491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25493 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25494 from $CFLAGS, without defining away __attribute__ calls.
25495 (checknamespace): Use $CFLAGS_namespace.
25497 * conform/conformtest.pl (@keywords): Only include C99 keywords
25498 for standards based on C99 or C11.
25500 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25502 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25505 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25506 usability of symbols in #if.
25508 * conform/conformtest.pl: If macro or constant types start
25509 "promoted:", expect the symbol to be of the following type
25510 promoted by the integer promotions.
25512 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25513 in one place. Also handle "macro-constant".
25515 * conform/conformtest.pl: Only accept expected macro values with
25516 "==". Parse all "macro" lines in one place.
25517 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25519 * conform/conformtest.pl: Handle braced types on "constant" lines
25520 instead of handling "typed-constant".
25521 * conform/data/signal.h-data: Use "constant" instead of
25524 * conform/conformtest.pl: Handle "optional-" at start of lines in
25525 one place rather than duplicating several cases. Handle each
25526 format of "macro" line with initial "optional-".
25528 * conform/conformtest.pl: Only accept expected constant or
25529 optional-constant values with "==". Parse all "constant" lines in
25530 one place. Parse all "optional-constant" lines in one place.
25531 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25532 * conform/data/fmtmsg.h-data: Likewise.
25533 * conform/data/netinet/in.h-data: Likewise.
25534 * conform/data/tar.h-data: Likewise.
25535 * conform/data/limits.h-data: Use "==" form on "constant" and
25536 "optional-constant" lines.
25538 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25539 Use -std=c99 for XOPEN2K.
25540 (@knownproblems): Remove.
25541 (newtoken): Don't check %isknown.
25543 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25544 Do not expect macro.
25545 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25557 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25558 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25575 [XPG3] (acosh): Likewise.
25576 [XPG3] (asinh): Likewise.
25577 [XPG3] (atanh): Likewise.
25578 [XPG3] (cbrt): Likewise.
25579 [XPG3] (expm1): Likewise.
25580 [XPG3] (ilogb): Likewise.
25581 [XPG3] (log1p): Likewise.
25582 [XPG3] (logb): Likewise.
25583 [XPG3] (nextafter): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25586 [XPG3] (remainder): Likewise.
25587 [XPG3] (rint): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25595 [UNIX98 || XOPEN2K] (scalb): Expect.
25596 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25597 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25734 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25735 _XOPEN_SOURCE_EXTENDED for XPG4.
25737 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25739 * Makeconfig (localtime): Remove variable.
25740 (inst_localtime-file): Likewise.
25742 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25763 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25767 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25768 comparisons to determine direction to adjust input.
25769 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25770 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25780 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25782 * math/libm-test.inc (nexttoward_test): Add more tests.
25784 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25788 in version GLIBC_2.1, not GLIBC_2.0.
25789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25792 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25795 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25798 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25799 * math/libm-test.inc (acos_test): Add more tests.
25800 (asin_test): Likewise.
25801 * sysdeps/i386/fpu/libm-test-ulps: Update.
25802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25807 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25808 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25809 * math/libm-test.inc (acos_test_tonearest): New function.
25810 (acos_test_towardzero): Likewise.
25811 (acos_test_downward): Likewise.
25812 (acos_test_upward): Likewise.
25813 (asin_test_tonearest): Likewise.
25814 (asin_test_towardzero): Likewise.
25815 (asin_test_downward): Likewise.
25816 (asin_test_upward): Likewise.
25817 (main): Call the new functions.
25818 * sysdeps/i386/fpu/libm-test-ulps: Update.
25819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25823 * math/e_exp10.c: Include <float.h>.
25824 (__ieee754_exp10): Handle underflow here rather than multiplying
25825 large negative argument by M_LN10.
25826 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25828 * math/e_exp10l.c: Include <float.h>.
25829 (__ieee754_exp10l): Handle underflow here rather than multiplying
25830 large negative argument by M_LN10l.
25831 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25832 spurious overflow exception on underflow.
25834 2012-04-29 Marek Polacek <polacek@redhat.com>
25836 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25837 (__fortify_function): New macro.
25838 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25839 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25840 __extern_always_inline.
25841 * libio/bits/stdio2.h: Likewise.
25842 * libio/bits/stdio.h: Likewise.
25843 * string/string.h: Likewise.
25844 * string/bits/string3.h: Likewise.
25845 * include/stdio.h: Likewise.
25846 * stdlib/bits/stdlib.h: Likewise.
25847 * stdlib/stdlib.h: Likewise.
25848 * rt/bits/mqueue2.h: Likewise.
25849 * rt/mqueue.h: Likewise.
25850 * posix/bits/unistd.h: Likewise.
25851 * posix/unistd.h: Likewise.
25852 * io/bits/poll2.h: Likewise.
25853 * io/bits/fcntl2.h: Likewise.
25854 * io/fcntl.h: Likewise.
25855 * io/sys/poll.h: Likewise.
25856 * misc/bits/syslog.h: Likewise.
25857 * misc/bits/syslog-ldbl.h: Likewise.
25858 * misc/sys/syslog.h: Likewise.
25859 * socket/bits/socket2.h: Likewise.
25860 * socket/sys/socket.h: Likewise.
25861 * debug/tst-chk1.c: Likewise.
25862 * wcsmbs/bits/wchar2.h: Likewise.
25863 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25864 * wcsmbs/wchar.h: Likewise.
25866 2012-04-29 Andreas Jaeger <aj@suse.de>
25868 * Makerules (tests): Remove enable-check-abi protection.
25869 (check-abi-warn): Remove.
25870 (check-abi-%): Remove check-abi-warn usage.
25872 * configure.in: Remove check-abi configure option.
25873 * configure: Regenerated.
25874 * config.make.in (enable-check-abi): Remove.
25876 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25879 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25880 double functions to double *_finite functions.
25883 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25884 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25886 * stdio-common/Makefile (tests): Add tst-sprintf3.
25887 * stdio-common/tst-sprintf3.c: New file.
25889 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25890 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25892 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25894 * conform/conformtest.pl: Remove duplicate typed-constant
25897 2012-04-28 David S. Miller <davem@davemloft.net>
25899 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25900 (check-abi-%): Remove AWK script prerequisite and explicit
25902 (check-abi): Rewrite to just diff the symlist with the abilist.
25903 (config-tls, config-abi-config): Delete, no longer used.
25904 (update-abi-%): Remove AWK script and explicit abilist directory.
25905 (update-abi): Rewrite to simply compare and conditionally copy the
25906 symlist and the sysdep abilist file. Remove update-abi-config
25908 * abilist/ld.abilist: Remove.
25909 * abilist/libBrokenLocale.abilist: Remove.
25910 * abilist/libanl.abilist: Remove.
25911 * abilist/libcrypt.abilist: Remove.
25912 * abilist/libdl.abilist: Remove.
25913 * abilist/librt.abilist: Remove.
25914 * abilist/libthread_db.abilist: Remove.
25915 * abilist/libutil.abilist: Remove.
25916 * scripts/extract-abilist.awk: Remove.
25917 * scripts/merge-abilist.awk: Remove.
25918 * sysdeps/generic/libcidn.abilist: New file.
25919 * sysdeps/generic/libnss_compat.abilist: New file.
25920 * sysdeps/generic/libnss_db.abilist: New file.
25921 * sysdeps/generic/libnss_dns.abilist: New file.
25922 * sysdeps/generic/libnss_files.abilist: New file.
25923 * sysdeps/generic/libnss_hesiod.abilist: New file.
25924 * sysdeps/generic/libnss_nis.abilist: New file.
25925 * sysdeps/generic/libnss_nisplus.abilist: New file.
25926 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25927 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25928 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25930 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25931 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25932 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25933 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25934 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25935 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25936 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25937 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25938 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25940 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25941 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25942 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25943 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25945 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25946 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25947 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25948 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25949 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25950 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25952 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25953 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25954 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25956 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26059 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26060 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26061 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26064 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26065 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26067 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26068 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26069 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26070 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26071 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26072 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26124 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26126 * conform/conformtest.pl: Fix typo in handling typed-constant from
26129 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26131 * README: Cut down references to pre-2.6 Linux kernels and
26132 Linuxthreads. Update lists of configurations in libc and ports
26133 and sort alphabetically. Say "or newer" with Linux kernel version
26136 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26138 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26141 * math/libm-test.inc (logb_test_downward): New test to expose
26142 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26145 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26148 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26150 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26151 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26153 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26155 * sysdeps/unix/i386/brk.S: Remove file.
26156 * sysdeps/unix/i386/dl-brk.S: Likewise.
26157 * sysdeps/unix/i386/pipe.S: Likewise.
26158 * sysdeps/unix/i386/sigreturn.S: Likewise.
26159 * sysdeps/unix/i386/syscall.S: Likewise.
26160 * sysdeps/unix/i386/vfork.S: Likewise.
26161 * sysdeps/unix/i386/wait.S: Likewise.
26163 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26164 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26166 * configure.in (arm*-none*): Do not allow without
26167 --enable-hacker-mode.
26168 (netbsd*): Remove case setting base_os.
26169 (386bsd*): Likewise.
26170 (freebsd*): Likewise.
26173 (sunos*): Likewise.
26174 (ultrix*): Likewise.
26175 (newsos*): Likewise.
26176 (dynix*): Likewise.
26182 (minix*): Likewise.
26183 (irix4*): Likewise.
26184 (irix6*): Likewise.
26185 (solaris[2-9]*): Likewise.
26187 * configure: Regenerated.
26189 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26192 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26193 overflow or cancellation in calculating denominator.
26194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26196 down expression to avoid unexpected rounding in newer GCCs.
26197 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26199 2012-04-26 David S. Miller <davem@davemloft.net>
26201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26202 long-double compat symbols.
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26217 2012-04-25 David S. Miller <davem@davemloft.net>
26219 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26220 HWCAP_* values only after the memory barriers have been defined.
26221 (atomic_full_barrier): Define.
26222 (atomic_read_barrier): Define.
26223 (atomic_write_barrier): Define.
26225 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26227 * shlib-versions: Add libgcc_s version information.
26228 * sysdeps/generic/libgcc_s.h: Remove.
26229 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26231 * sysdeps/gnu/unwind-resume.c: Likewise.
26232 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26234 2012-04-25 David S. Miller <davem@davemloft.net>
26236 * sysdeps/unix/sparc/brk.S: Delete.
26237 * sysdeps/unix/sparc/dl-brk.S: Delete.
26238 * sysdeps/unix/sparc/pipe.S: Delete.
26239 * sysdeps/unix/sparc/sysdep.S: Delete.
26240 * sysdeps/unix/sparc/sysdep.h: Delete.
26241 * sysdeps/unix/sparc/vfork.S: Delete.
26242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26243 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26245 ret_ERRVAL, r0, r1, MOVE): Define.
26246 (JUMPTARGET): Remove.
26247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26248 sysdeps/unix/sparc/sysdep.h
26249 (ENTRY, END): Remove.
26250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26252 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26254 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26255 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26258 * timezone/README: Update upstream location and email address for
26260 * timezone/zdump.c: Update from tzcode 2012b.
26261 * timezone/zic.c: Likewise.
26263 * configure.in (libc_cv_as_needed): Remove test.
26264 * configure: Regenerated.
26265 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26266 conditional definition.
26267 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26268 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26269 * config.make.in (have-as-needed): Remove variable.
26271 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26272 Paul Pluzhnikov <ppluzhnikov@google.com>
26274 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26277 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26279 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26280 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26281 * sysdeps/sh/strlen.S: Likewise.
26283 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26285 * sysdeps/unix/fork.S: Remove file.
26286 * sysdeps/unix/i386/fork.S: Likewise.
26287 * sysdeps/unix/sparc/fork.S: Likewise.
26289 * sysdeps/unix/system.c: Remove file.
26290 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26292 * sysdeps/unix/getegid.S: Remove file.
26293 * sysdeps/unix/geteuid.S: Likewise.
26295 2012-04-24 Roland McGrath <roland@hack.frob.com>
26297 * scripts/check-localplt.awk: New file.
26298 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26300 * scripts/data/localplt-generic.data: Add a comment.
26302 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26303 NODE when __dir_mkfile failed.
26304 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26305 Reported by Ludovic Courtès <ludo@gnu.org>.
26307 2012-04-24 Andreas Jaeger <aj@suse.de>
26309 * Makerules (common-clean): Also remove gen-as-const-headers
26312 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26314 * Makerules (native-compile): Do not change working directory for
26315 build. Use $(OUTPUT_OPTION) in command.
26316 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26318 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26321 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26322 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26323 * math/libm-test.inc (floor_test): Add more tests.
26324 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26326 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26328 * sysdeps/unix/getdents.c: Remove file.
26329 * sysdeps/unix/sysv/getdents.c: Likewise.
26330 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26332 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26333 sysdeps/unix/mman/syscalls.list.
26335 (mprotect): Likewise.
26337 (munmap): Likewise.
26338 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26339 * sysdeps/unix/mman/syscalls.list: Remove.
26340 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26342 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26343 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26344 * configure: Regenerated.
26345 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26346 $(libgcc_s_suffix).
26347 * config.make.in (libgcc_s_suffix): Remove variable.
26349 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26351 * sysdeps/unix/sysv/gethostname.c: Move to ...
26352 * sysdeps/posix/gethostname.c: ... here.
26354 * sysdeps/unix/execve.S: Remove file.
26356 * sysdeps/unix/_exit.S: Remove file.
26358 2012-04-23 Andreas Jaeger <aj@suse.de>
26361 * manual/Makefile: Remove make dist support, there's no
26362 need for a stand-alone documentation tar ball.
26363 (TEXI2DVI): Define always, it's not in Makeconfig.
26366 (edition): Removed.
26367 (glibc-doc-$(edition).tar): Removed
26371 (ETAGS): Remove, it's in Makeconfig.
26372 (move-if-change): Remove, it's in Makeconfig.
26374 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26377 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26378 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26379 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26380 (strtod_l, strtof_l, strtold_l): Remove __wur.
26381 It is not necessarily an error to ignore strtol's return value.
26382 One can reliably look at the stored endptr to decide whether
26383 the number had valid syntax.
26385 2012-04-21 Andreas Jaeger <aj@suse.de>
26388 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26390 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26393 * sysdeps/unix/sysv/Versions: Remove file.
26395 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26400 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26404 version from __vm86.
26406 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26408 * sysdeps/unix/common/lxstat.c: Remove file.
26409 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26411 * sysdeps/unix/sysv/Makefile: Remove file.
26413 * sysdeps/unix/sysv/direct.h: Remove file.
26415 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26416 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26417 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26418 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26419 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26420 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26421 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26423 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26425 * sysdeps/unix/xmknod.c: Remove file.
26426 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26428 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26430 * sysdeps/unix/sysv/i386/time.S: Remove file.
26432 * sysdeps/unix/fxstat.c: Remove file.
26433 * sysdeps/unix/xstat.c: Likewise.
26434 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26436 * sysdeps/unix/sysv/sigaction.c: Remove file.
26438 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26439 (sysdep_headers): Remove variable.
26440 [termio.h not in sysdep_headers] (generated): Likewise.
26441 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26442 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26443 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26444 * sysdeps/unix/sysv/tcflow.c: Likewise.
26445 * sysdeps/unix/sysv/tcflush.c: Likewise.
26446 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26447 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26448 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26449 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26450 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26452 * sysdeps/unix/siglist.c: Remove file.
26454 * sysdeps/unix/getppid.S: Remove file.
26456 * sysdeps/unix/mkdir.c: Remove file.
26457 * sysdeps/unix/rmdir.c: Likewise.
26459 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26461 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26463 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26464 errlist-compat value.
26466 2012-04-18 David S. Miller <davem@davemloft.net>
26468 * sysdeps/generic/memcopy.h (reg_char): Delete.
26469 * debug/strcat_chk.c: Use char, not reg_char.
26470 * debug/strcpy_chk.c: Likewise.
26471 * debug/strncat_chk.c: Likewise.
26472 * debug/strncpy_chk.c: Likewise.
26473 * string/memchr.c: Likewise.
26474 * string/memrchr.c: Likewise.
26475 * string/rawmemchr.c: Likewise.
26476 * string/strcat.c: Likewise.
26477 * string/strchr.c: Likewise.
26478 * string/strchrnul.c: Likewise.
26479 * string/strcmp.c: Likewise.
26480 * string/strcpy.c: Likewise.
26481 * string/strncat.c: Likewise.
26482 * string/strncmp.c: Likewise.
26483 * string/strncpy.c: Likewise.
26485 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26487 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26488 __builtin_memcopy is called when src and dest ranges are known to not
26491 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26493 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26494 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26495 fwd_align_merge macro call.
26496 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26497 bwd_align_merge macro call.
26498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26500 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26502 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26503 bwd_align_merge macros.
26504 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26505 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26506 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26508 2012-04-18 David S. Miller <davem@davemloft.net>
26510 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26512 2012-04-18 Andreas Jaeger <aj@suse.de>
26515 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26516 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26517 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26519 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26520 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26523 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26524 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26525 Adjust for changed ldbl-128 files.
26527 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26528 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26529 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26531 2012-04-17 David S. Miller <davem@davemloft.net>
26533 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26535 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26537 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26538 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26539 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26540 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26541 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26542 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26544 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26547 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26548 * math/libm-test.inc: Add ilogb errno and exception tests.
26549 * math/w_ilogb.c: New file: ilogb wrapper.
26550 * math/w_ilogbf.c: New file: ilogbf wrapper.
26551 * math/w_ilogbl.c: New file: ilogbl wrapper.
26552 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26553 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26554 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26555 exception being thrown with 0.0 as argument.
26556 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26557 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26558 exception being thrown with 0.0 as argument.
26559 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26560 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26561 exception being thrown with 0.0 as argument.
26562 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26563 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26564 exception being thrown with 0.0 as argument.
26565 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26566 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26567 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26568 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26569 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26570 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26571 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26572 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26573 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26575 2012-04-17 Petr Baudis <pasky@ucw.cz>
26577 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26580 2012-04-16 Marek Polacek <polacek@redhat.com>
26582 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26584 2012-04-16 Marek Polacek <polacek@redhat.com>
26586 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26587 operands of fdivp instruction.
26589 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26591 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26592 * elf/tst-auditmod3b.c: Likewise.
26593 * elf/tst-auditmod4b.c: Likewise.
26594 * elf/tst-auditmod5b.c: Likewise.
26595 * elf/tst-auditmod6b.c: Likewise.
26596 * elf/tst-auditmod6c.c: Likewise.
26597 * elf/tst-auditmod7b.c: Likewise.
26598 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26599 * sysdeps/x86_64/preconfigure.in: Likewise.
26600 * sysdeps/x86_64/preconfigure: Regenerated.
26602 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26604 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26607 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26610 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26612 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26615 * locale/iso-639.def: Fix gl language name. Spotted by
26618 2012-04-12 Roland McGrath <roland@hack.frob.com>
26621 * libio/libio.h (__io_write_fn): Update comment.
26623 2012-04-12 Petr Baudis <pasky@ucw.cz>
26626 * stdio.texi (Hook Functions): The user provided writer function
26627 is not allowed to return -1.
26629 2012-04-11 David S. Miller <davem@davemloft.net>
26631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26633 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26635 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26636 Add a leading slash to rtkaio.
26638 2012-04-11 Jim Meyering <meyering@redhat.com>
26641 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26642 It is not necessarily an error to ignore fwrite's return
26643 value. One can reliably use ferror to test for errors after
26646 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26648 * bits/types.h (__snseconds_t): New type.
26649 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26651 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26653 (__SNSECONDS_T_TYPE): Likewise.
26654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26655 (__SNSECONDS_T_TYPE): Likewise.
26656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26657 (__SNSECONDS_T_TYPE): Likewise.
26659 2012-04-10 Andreas Jaeger <aj@suse.de>
26662 * manual/time.texi (Processor Time): Return type of times is
26663 elapsed real time since an arbitrary point in the past.
26664 (CPU Time): Move CLK_TCK from here...
26665 (Processor Time): ...to here. Correct description.
26666 * manual/conf.texi (Constants for Sysconf): Correct description of
26669 2012-04-10 David S. Miller <davem@davemloft.net>
26672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26673 where the is a gap between DT_REL(A) and DT_JMPREL.
26675 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26677 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26678 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26679 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26681 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26683 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26684 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26685 (dl_main): Handle --inhibit-cache.
26686 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26688 * elf/dl-load.c (_dl_map_object): Use it.
26689 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26691 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26694 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26695 (__ieee754_powl): Saturate large exponents rather than testing for
26696 overflow of y*log2(x).
26697 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26698 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26702 * math/s_ctan.c: Include <float.h>.
26703 (__ctan): Avoid internal overflow or cancellation in calculating
26705 * math/s_ctanf.c: Likewise.
26706 * math/s_ctanl.c: Likewise.
26707 * math/s_ctanh.c: Likewise.
26708 * math/s_ctanhf.c: Likewise.
26709 * math/s_ctanhl.c: Likewise.
26710 * math/libm-test.inc (ctan_test): Add more tests.
26711 (ctanh_test): Likewise.
26712 * sysdeps/i386/fpu/libm-test-ulps: Update.
26713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715 2012-04-09 Andreas Jaeger <aj@suse.de>
26718 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26719 is an optional BSD extension.
26722 * manual/stdio.texi (Opening Streams): Document additional fopen
26725 2012-04-09 Roland McGrath <roland@hack.frob.com>
26727 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26728 %eax without telling the compiler.
26730 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26733 * manual/install.texi: Use sourceware.org.
26735 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26738 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26739 (__ieee754_pow): Generate overflow and underflow using huge*huge
26740 and tiny*tiny rather than just returning constant infinity or zero
26741 for large exponents.
26742 * math/libm-test.inc (pow_test): Require overflow exceptions for
26743 applicable cases of large exponents.
26746 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26747 (__ieee754_pow): Use iterative multiplication algorithm only for
26748 integer exponents with absolute value below 1024. Check for odd
26749 integer exponents when using algorithm for real exponents.
26750 * math/libm-test.inc (pow_test): Add more tests.
26751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26753 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26756 * math/libm-test.inc (exp_test): Do not allow overflow exception
26759 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26762 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26763 instead of __kernel_standard_f.
26765 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26767 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26768 * sysdeps/x86_64/memset_chk.S: Likewise.
26770 2012-04-08 Andreas Jaeger <aj@suse.de>
26773 * manual/startup.texi (Environment Access): Describe return value
26774 for putenv and setenv.
26777 * manual/filesys.texi (Directory Entries): Add description for
26781 * manual/filesys.texi (Directory Entries): Clarify that it's file
26782 system not operating system in the description of DT_UNKNOWN.
26785 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26787 2012-04-08 Stephen Compall <s11@member.fsf.org>
26790 * manual/llio.texi (Opening and Closing Files): Add cross
26791 reference to explain mode argument.
26793 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26795 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26796 * sysdeps/x86_64/memset_chk.S: Likewise.
26798 2012-04-07 David S. Miller <davem@davemloft.net>
26800 * elf/elf.h (R_SPARC_WDISP10): Define.
26801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26804 R_SPARC_SIZE64 and R_SPARC_H34.
26806 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26809 conditions and remove no longer applicable assertion.
26811 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26813 * bits/byteswap.h: Include <features.h>.
26814 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26815 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26817 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26819 * bits/byteswap.h (__bswap_16): Removed.
26820 Include <bits/byteswap-16.h> to get __bswap_16.
26821 * sysdeps/i386/bits/byteswap.h: Likewise.
26822 * sysdeps/s390/bits/byteswap.h: Likewise.
26823 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26824 * bits/byteswap-16.h: New file.
26825 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26826 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26827 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26828 * string/Makefile (headers): Add bits/byteswap-16.h.
26830 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26833 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26835 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26836 * nss/tst-nss-static.c: New.
26838 2012-04-06 Robert Millan <rmh@gnu.org>
26841 * manual/llio.texi (File Position Primitive): lseek
26842 refers to WHENCE when it really means OFFSET.
26844 2012-04-06 Andreas Jaeger <aj@suse.de>
26846 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26847 strncmp declarations.
26849 * abilist/libc.abilist: Add __poll and __ppoll.
26851 2012-04-05 David S. Miller <davem@davemloft.net>
26853 * scripts/check-local-headers.sh: Accept a host triplet in the
26854 path matched by the exclude regexp.
26856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26858 * sysdeps/powerpc/powerpc32/dl-machine.h
26859 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26860 * sysdeps/s390/s390-32/dl-machine.h
26861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26862 * sysdeps/sparc/sparc32/dl-machine.h
26863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26864 * sysdeps/sparc/sparc64/dl-machine.h
26865 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26867 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26869 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26870 undefined symbol errors.
26872 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26875 2012-04-05 Michael Matz <matz@suse.de>
26878 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26880 2012-04-05 Andreas Jaeger <aj@suse.de>
26883 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26886 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26889 which ROUND is no valid rounding mode.
26891 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26893 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26895 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26897 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26899 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26900 an exception using FPU order intentionally.
26902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26904 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26905 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26906 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26907 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26909 2012-04-05 Simon Josefsson <simon@josefsson.org>
26912 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26913 EINVAL when BUFLEN is too smal.
26915 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26918 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26919 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26921 2012-04-03 Andreas Jaeger <aj@suse.de>
26924 * manual/setjmp.texi (System V contexts): Fix sentence.
26927 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26928 New macro for this case.
26929 [!__GNUC__] (__bswap_64): New inline function for this case.
26930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26931 * bits/byteswap.h: Likewise.
26932 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26933 ull, guard with __GLIBC_HAVE_LONG_LONG.
26935 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26936 __GLIBC_HAVE_LONG_LONG.
26938 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26939 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26941 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26944 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26945 inptr and inend, rather than using last_ch.
26947 2012-04-02 David S. Miller <davem@davemloft.net>
26949 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26950 * stdio-common/printf-parse.h (read_int): Change return type to
26951 'int', return -1 on INT_MAX overflow.
26952 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26953 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26954 overflows INT_MAX. Check for overflow of in-format-string precision
26955 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26956 SIZE_MAX not INT_MAX for integer overflow test.
26957 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26958 skip the construct in the format string but do not record anything.
26959 * stdio-common/bug22.c: Adjust to test both width/prevision
26960 INT_MAX overflow as well as total length INT_MAX overflow. Check
26961 explicitly for proper errno values.
26963 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26965 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26967 * string/test-strcmp.c [! WIDE]: Likewise.
26968 * time/tst-mktime2.c: Likewise for INT_MAX.
26969 * string/test-string.h: #include <sys/param.h> for MIN.
26971 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26972 * sysdeps/i386/init-first.c (init): Likewise.
26973 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26974 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26975 * sysdeps/sh/init-first.c (init): Likewise.
26977 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26979 * po/ru.po: Update from translation team.
26980 * po/vi.po: Likewise.
26982 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26984 * resolv/nss_dns/dns-host.c: Merge copyright years.
26986 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26989 Optimize memcpy with prefetch if
26990 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26991 src, dst pointers have unequal 16 byte alignments.
26993 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26996 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26997 from a CNAME entry and return the minimum ttl for the query.
26998 (gaih_getanswer_slice): Likewise.
27000 2012-03-30 Jeff Law <law@redhat.com>
27002 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27004 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27005 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27007 * resolv/nss_dns/dns-host.c: Update copyright year.
27009 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27011 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27012 requests to save a system call. Fix check that all bytes are sent.
27014 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27015 comments for sendmmsg.
27017 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27021 with only 1 character between 0x0041 and 0x01b0.
27022 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27023 * wcsmbs/tst-mbsnrtowcs.c: New file.
27025 2012-03-29 David S. Miller <davem@davemloft.net>
27027 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27028 small copies by hand.
27030 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27033 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27034 _nss_compat_initgroups_dyn): Fall back to malloc/free
27035 for large group memberships.
27037 2012-03-28 David S. Miller <davem@davemloft.net>
27039 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27040 that branches into memcpy.
27041 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27044 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27047 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27048 implementation too.
27049 * sysdeps/sparc/mempcpy.S: New file.
27051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27052 the IFUNC routine in the libc case.
27053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27055 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27056 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27057 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27058 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27059 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27060 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27061 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27062 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27064 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27065 loop to 256 bytes instead of 64 bytes and fix test signedness.
27067 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27068 * sysdeps/sparc/sparc32/Makefile: rather than here...
27069 * sysdeps/sparc/sparc64/Makefile: and here.
27071 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27073 * malloc/mallocbug.c: Avoid warnings about unused variables.
27075 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27078 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27079 in the right place. Discard and retry query if response is
27080 larger than input buffer size.
27082 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27087 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27088 x for large integer exponent.
27089 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27090 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27091 sign of result as needed afterwards.
27092 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27093 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27094 result for underflowing pow the same as for overflow.
27095 (__kernel_standard_l): Handle powl overflow and underflow here
27096 rather than calling __kernel_standard.
27097 * math/libm-test.inc (pow_test): Add more tests.
27112 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27113 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27114 (__kernel_standard_l): New function.
27115 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27117 * math/w_acosl.c (__acosl): Likewise.
27118 * math/w_asinl.c (__asinl): Likewise.
27119 * math/w_atan2l.c (__atan2l): Likewise.
27120 * math/w_atanhl.c (__atanhl): Likewise.
27121 * math/w_coshl.c (__coshl): Likewise.
27122 * math/w_exp10l.c (__exp10l): Likewise.
27123 * math/w_exp2l.c (__exp2l): Likewise.
27124 * math/w_fmodl.c (__fmodl): Likewise.
27125 * math/w_hypotl.c (__hypotl): Likewise.
27126 * math/w_j0l.c (__j0l, __y0l): Likewise.
27127 * math/w_j1l.c (__j1l, __y1l): Likewise.
27128 * math/w_jnl.c (__jnl, __ynl): Likewise.
27129 * math/w_lgammal.c (__lgammal): Likewise.
27130 * math/w_log10l.c (__log10l): Likewise.
27131 * math/w_log2l.c (__log2l): Likewise.
27132 * math/w_logl.c (__logl): Likewise.
27133 * math/w_powl.c (__powl): Likewise.
27134 * math/w_remainderl.c (__remainderl): Likewise.
27135 * math/w_scalbl.c (sysv_scalbl): Likewise.
27136 * math/w_sinhl.c (__sinhl): Likewise.
27137 * math/w_sqrtl.c (__sqrtl): Likewise.
27138 * math/w_tgammal.c (__tgammal): Likewise.
27139 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27140 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27141 * math/libm-test.inc (acos_test): Add more tests.
27142 (acosh_test): Likewise.
27143 (asin_test): Likewise.
27144 (atanh_test): Likewise.
27145 (exp_test): Likewise.
27146 (exp10_test): Likewise.
27147 (exp2_test): Likewise.
27148 (expm1_test): Likewise.
27149 (lgamma_test): Likewise.
27150 (log_test): Likewise.
27151 (log10_test): Likewise.
27152 (log1p_test): Likewise.
27153 (log2_test): Likewise.
27154 (pow_test): Do not allow some spurious overflow exceptions.
27155 (sqrt_test): Add more tests.
27156 (tgamma_test): Likewise.
27157 (y0_test): Likewise.
27158 (y1_test): Likewise.
27159 (yn_test): Likewise.
27161 2012-03-27 Anton Blanchard <anton@samba.org>
27163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27169 2012-03-27 David S. Miller <davem@davemloft.net>
27171 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27173 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27174 have-as-vis3 check.
27176 2012-03-27 Andreas Jaeger <aj@suse.de>
27178 * sysdeps/x86_64/elf/configure.in: Moved to ...
27179 * sysdeps/x86_64/configure.in: ... here.
27180 * sysdeps/x86_64/elf/start.S: Moved to ...
27181 * sysdeps/x86_64/start.S: ... here.
27182 * sysdeps/x86_64/elf/configure: Delete.
27184 * sysdeps/x86_64/configure.in: Merge contents from
27185 sysdeps/i386/configure.in (without i686 check).
27187 * sysdeps/i386/elf/Versions: Merge into ...
27188 * sysdeps/i386/Versions: ... this.
27189 * sysdeps/i386/elf/Versions: Delete file.
27190 * sysdeps/i386/elf/start.S: Moved to ...
27191 * sysdeps/i386/start.S: ...here.
27192 * sysdeps/i386/elf/configure.in: Merge into...
27193 * sysdeps/i386/configure.in: ...here.
27194 * sysdeps/i386/elf/configure.in: Delete file.
27195 * sysdeps/i386/elf/configure: Delete file.
27197 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27198 * debug/backtracesyms.c: ... here.
27199 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27200 * debug/backtracesymsfd.c: ... here.
27201 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27202 * sysdeps/generic/ifunc-sel.h: ... here.
27204 * sysdeps/unix/i386/start.c: Delete file.
27205 * sysdeps/unix/sparc/start.c: Delete file.
27206 * sysdeps/unix/start.c: Delete file.
27208 * sysdeps/sh/elf/configure.in: Moved to ...
27209 * sysdeps/sh/configure.in: ... here.
27210 * sysdeps/sh/elf/start.S: Moved to ...
27211 * sysdeps/sh/start.S: ... here.
27212 * sysdeps/sh/elf/configure: Delete file.
27214 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27215 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27216 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27217 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27218 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27219 * sysdeps/powerpc/powerpc64/start.S: here.
27220 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27221 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27222 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27223 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27224 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27226 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27227 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27228 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27229 * sysdeps/powerpc/powerpc32/start.S: ... here.
27230 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27231 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27232 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27234 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27235 * sysdeps/powerpc/ifunc-sel.h: ... here.
27236 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27237 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27239 * sysdeps/sparc/elf/configure.in: Moved to ...
27240 * sysdeps/sparc/configure.in: ... here.
27241 * sysdeps/sparc/elf/configure: Delete file.
27242 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27243 * sysdeps/sparc/sparc32/start.S: ... here.
27244 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27245 * sysdeps/sparc/sparc64/start.S: ... here.
27246 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27247 * sysdeps/sparc/sparc32/Makefile: ... this.
27248 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27249 * sysdeps/sparc/sparc64/Makefile: ... this.
27251 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27252 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27253 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27254 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27255 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27256 * sysdeps/s390/s390-32/setjmp.S: ... here.
27257 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27258 * sysdeps/s390/s390-32/configure.in: ... here.
27259 * sysdeps/s390/s390-32/elf/configure: Delete file.
27260 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27261 * sysdeps/s390/s390-32/start.S: ... here.
27263 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27264 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27265 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27266 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27267 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27268 * sysdeps/s390/s390-64/setjmp.S: ... here.
27269 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27270 * sysdeps/s390/s390-64/configure.in: ... here
27271 * sysdeps/s390/s390-64/elf/configure: Delete file.
27272 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27273 * sysdeps/s390/s390-64/start.S: ... here.
27274 * sysdeps/s390/s390-64/elf/configure: Delete.
27276 * configure.in: Remove support for elf directories in sysdeps.
27278 * configure: Regenerated.
27279 * sysdeps/i386/configure: Regenerated.
27280 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27281 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27282 * sysdeps/s390/s390-32/configure: Regenerated.
27283 * sysdeps/s390/s390-64/configure: Regenerated.
27284 * sysdeps/sh/configure: Regenerated.
27285 * sysdeps/sparc/configure: Regenerated.
27286 * sysdeps/x86_64/configure: Regenerated.
27288 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27293 denormal result into account.
27295 2012-03-25 Roland McGrath <roland@hack.frob.com>
27297 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27298 Reported by Allan McRae <allan@archlinux.org>.
27300 2012-03-23 Jeff Law <law@redhat.com>
27302 * nss/getnssent.c (__nss_getent): Fix typo.
27304 2012-03-23 David S. Miller <davem@davemloft.net>
27306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27308 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27310 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27311 to pad to uint64_t for each field.
27312 (dl_tls_index): Replace unsigned long with uint64_t.
27314 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27315 Paul Pluzhnikov <ppluzhnikov@google.com>
27318 * grp/Makefile (otherlibs): Don't set it.
27319 * inet/Makefile (otherlibs): Likewise.
27320 * login/Makefile (otherlibs): Likewise.
27321 * nscd/Makefile (otherlibs): Likewise.
27322 * posix/Makefile (otherlibs): Likewise.
27323 * pwd/Makefile (otherlibs): Likewise.
27324 * rt/Makefile (otherlibs): Likewise.
27325 * sunrpc/Makefile (otherlibs): Likewise.
27326 * nss/Makefile (otherlibs): Likewise.
27327 Add libnss_files to routines and static-only-routines.
27328 ($(objpfx)getent): Remove rule.
27329 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27330 static-only-routines.
27332 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27335 * math/s_cexp.c: Include <float.h>.
27336 (__cexp): Handle exp result overflowing not necessarily
27337 overflowing both real and imaginary parts of result.
27338 * math/s_cexpf.c: Likewise.
27339 * math/s_cexpl.c: Likewise.
27340 * math/libm-test.inc (cexp_test): Add more tests.
27341 * sysdeps/i386/fpu/libm-test-ulps: Update.
27342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27344 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27346 * include/link.h (ELFW): New macro.
27347 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27348 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27350 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27352 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27357 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27359 (struct La_x32_retval): Likewise.
27361 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27363 * sysdeps/x86_64/preconfigure.in: New file.
27364 * sysdeps/x86_64/preconfigure: New generated file.
27366 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27369 * math/e_exp2l.c: Include <float.h>.
27370 (__ieee754_exp2l): Handle overflow and underflow cases
27371 separately. Only pass fractional part of argument to
27373 * math/libm-test.inc (exp2_test): Add more tests.
27375 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27376 negating x to take absolute value.
27377 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27382 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27383 computing low part if x was negated.
27384 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27386 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27388 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27389 la_x32_gnu_pltexit.
27390 (pltexit): Cast int_retval to ptrdiff_t.
27391 * elf/tst-auditmod3b.c: Likewise.
27392 * elf/tst-auditmod4b.c: Likewise.
27393 * elf/tst-auditmod5b.c: Likewise.
27394 * elf/tst-auditmod6b.c: Likewise.
27395 * elf/tst-auditmod6c.c: Likewise.
27396 * elf/tst-auditmod7b.c: Likewise.
27398 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27399 and x32_gnu_pltexit.
27401 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27402 __ELF_NATIVE_CLASS.
27403 (La_x32_regs): New macro.
27404 (La_x32_retval): Likewise.
27405 (la_x32_gnu_pltenter): New function prototype.
27406 (la_x32_gnu_pltexit): Likewise.
27408 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27415 * configure.in (libc_cv_cc_nofma): Check for option to disable
27416 generation of FMA instructions.
27417 * configure: Regenerate.
27418 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27419 * sysdeps/ieee754/dbl-64/Makefile: New file.
27420 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27421 Remove brandred-fma4.
27422 (CFLAGS-brandred-fma4.c): Remove.
27423 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27426 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27429 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27431 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27432 LLONG_MAX != LONG_MAX.
27433 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27434 (_fitoa_word): Likewise.
27435 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27436 LLONG_MAX != LONG_MAX.
27437 * stdio-common/_itowa.h: Include <_itoa.h>.
27438 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27439 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27440 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27441 only if not defined.
27442 (_ITOA_WORD_TYPE): Likewise.
27443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27444 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27446 2012-03-21 David S. Miller <davem@davemloft.net>
27448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27450 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27452 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27453 of x86_64 when setting libc_cv_slibdir, libdir and
27455 * sysdeps/unix/sysv/linux/configure: Regenerated.
27457 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27459 * manual/lang.texi (Old Varargs): Remove section.
27460 (How Variadic): Update menu.
27461 (va_start): Do not mention varargs.h.
27463 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27464 Joseph Myers <joseph@codesourcery.com>
27466 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27468 * configure: Regenerated.
27470 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27472 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27473 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27476 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27479 * Makefile (files-for-dist): Remove NOTES.
27480 (NOTES): Remove rule.
27481 * README: Don't refer to NOTES.
27482 * manual/creature.texi: Don't include macros.texi.
27483 * manual/intro.texi (creature.texi): Remove comment referring to
27486 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27487 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27488 * configure: Regenerated.
27489 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27490 LIBC_TRY_CC_OPTION.
27491 (libc_cv_as_i686): Likewise.
27492 (libc_cv_cc_avx): Likewise.
27493 (libc_cv_cc_sse2avx): Likewise.
27494 (libc_cv_cc_fma4): Likewise.
27495 (libc_cv_cc_novzeroupper): Likewise.
27496 * sysdeps/i386/configure: Regenerated.
27499 * sysdeps/i386/fpu/s_cexp.S: Remove.
27500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27502 * math/libm-test.inc (cexp_test): Add more tests.
27503 * sysdeps/i386/fpu/libm-test-ulps: Update.
27504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506 2012-03-21 Allan McRae <allan@archlinux.org>
27508 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27510 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27513 * math/w_exp2.c: Do not include <float.h>.
27514 (o_threshold, u_threshold): Remove.
27515 (__exp2): Calculate result before checking finiteness and calling
27517 * math/w_exp2f.c: Likewise.
27518 * math/w_exp2l.c: Likewise.
27519 * math/libm-test.inc (exp2_test): Require overflow exception for
27523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27524 range of signed 64-bit integers before using fistpll. Remove
27525 checks for whether integers fit in mantissa bits.
27526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27527 the range of signed 32-bit integers before using fistpl. Remove
27528 checks for whether integers fit in mantissa bits.
27529 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27530 (__ieee754_powl): Test for y outside the range of signed 64-bit
27531 integers before using fistpll. Reduce 64-bit values to 63-bit
27533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27534 divide-by-zero is raised for zero to large negative powers.
27535 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27536 (__ieee754_powl): Test for y outside the range of signed 64-bit
27537 integers before using fistpll. Reduce 64-bit values to 63-bit
27539 * math/libm-test.inc (pow_test): Add more tests.
27541 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27543 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27544 <stdio-common/_itoa.h>.
27545 * debug/segfault.c: Likewise.
27546 * elf/dl-cache.c: Likewise.
27547 * elf/dl-minimal.c: Likewise.
27548 * elf/dl-misc.c: Likewise.
27549 * elf/dl-sysdep.c: Likewise.
27550 * elf/dl-version.c: Likewise.
27551 * elf/rtld.c: Likewise.
27552 * hurd/hurdsock.c: Likewise.
27553 * hurd/lookup-retry.c: Likewise.
27554 * malloc/malloc.c: Likewise.
27555 * malloc/mtrace.c: Likewise.
27556 * nscd/nscd_getgr_r.c: Likewise.
27557 * nscd/nscd_getpw_r.c: Likewise.
27558 * nscd/nscd_getserv_r.c: Likewise.
27559 * posix/getopt_init.c: Likewise.
27560 * posix/wordexp.c: Likewise.
27561 * stdio-common/_itoa.c: Likewise.
27562 * stdio-common/printf_fphex.c: Likewise.
27563 * stdio-common/vfprintf.c: Likewise.
27564 * string/_strerror.c: Likewise.
27565 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27566 * sysdeps/i386/i686/hp-timing.h: Likewise.
27567 * sysdeps/mach/_strerror.c: Likewise.
27568 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27569 * sysdeps/mach/hurd/sethostid.c: Likewise.
27570 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27571 * sysdeps/mach/xpg-strerror.c: Likewise.
27572 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27573 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27574 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27575 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27576 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27577 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27579 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27580 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27581 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27582 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27583 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27584 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27585 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27586 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27587 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27588 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27589 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27590 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27591 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27592 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27594 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27596 * stdio-common/_itoa.h: Moved to ...
27597 * sysdeps/generic/_itoa.h: Here.
27599 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27601 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27602 instead of "_itoa.h" and "_itowa.h".
27603 * stdio-common/vfprintf.: Likewise.
27605 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27607 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27609 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27610 (__signbit): Likwise.
27611 (llrintf): Likwise.
27614 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27616 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27619 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27621 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27622 OVERFLOW_EXCEPTION_OK.
27623 * math/libm-test.inc ("Philosophy"): Update comment about
27625 (OVERFLOW_EXCEPTION): Define.
27626 (OVERFLOW_EXCEPTION_OK): Likewise.
27627 (INVALID_EXCEPTION_OK): Renumber.
27628 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27629 (IGNORE_ZERO_INF_SIGN): Likewise.
27630 (test_exceptions): Handle FE_OVERFLOW.
27631 (exp10_test): Expect overflow exceptions.
27632 (exp2_test): Likewise.
27633 (expm1_test): Likewise.
27634 (nextafter_test): Likewise.
27635 (pow_test): Likewise.
27636 (scalbn_test): Likewise.
27637 (scalbln_test): Likewise.
27639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27641 * sysdeps/x86_64/bits/atomic.h
27642 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27644 (atomic_exchange_acq): Likewise.
27645 (__arch_exchange_and_add_body): Likewise.
27646 (__arch_add_body): Likewise.
27647 (atomic_add_negative): Likewise.
27648 (atomic_add_zero): Likewise.
27650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27652 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27653 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27655 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27657 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27658 Check __x86_64__ instead of __WORDSIZE.
27660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27662 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27664 2012-03-19 David S. Miller <davem@davemloft.net>
27666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27668 * sysdeps/sparc/fpu/fenv_private.h: New file.
27669 * sysdeps/sparc/fpu/math_private.h: Use it.
27670 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27672 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27673 (libc_feholdexcept_setroundl): Remove.
27674 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27676 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27677 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27679 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27681 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27682 int64_t instead of long int.
27683 (INSERT_WORDS64): Likwise.
27685 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27687 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27688 _Unwind_GetCFA return to _Unwind_Ptr first.
27690 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27693 * math/s_clog.c: Include <float.h>.
27694 (__clog): Scale large or subnormal inputs.
27695 * math/s_clogf.c: Likewise.
27696 * math/s_clogl.c: Likewise.
27697 * math/s_clog10.c: Include <float.h>.
27698 (M_LOG10_2): Define.
27699 (__clog10): Scale large or subnormal inputs.
27700 * math/s_clog10f.c: Likewise.
27701 * math/s_clog10l.c: Likewise.
27702 * math/libm-test.inc (clog_test): Add more tests.
27703 (clog10_test): Likewise.
27704 * sysdeps/i386/fpu/libm-test-ulps: Update.
27705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27708 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27710 * math/libm-test.inc (atan2_test): Add another test.
27712 * Makerules (common-objdir-compile): Remove.
27713 * sysdeps/unix/Makefile (config-generated): Do not add
27714 $(unix-generated) to variable.
27715 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27716 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27718 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27720 [generic bits/local_lim.h] (before-compile): Do not append to
27722 [generic bits/local_lim.h] (common-generated): Likewise.
27723 [generic sys/param.h] (before-compile): Do not append to variable.
27724 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27725 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27726 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27727 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27729 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27730 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27731 [generic sys/param.h] ($(addprefix
27732 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27733 [generic sys/param.h] (common-generated): Do not append to
27735 [generic sys/param.h] (sysdep_headers): Likewise.
27736 [generic bits/errno.h] (before-compile): Do not append to
27738 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27740 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27741 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27742 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27743 [generic bits/errno.h] (common-generated): Do not append to
27745 [generic bits/ioctls.h] (before-compile): Do not append to
27747 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27749 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27750 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27751 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27753 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27754 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27755 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27756 [generic bits/ioctls.h] (common-generated): Do not append to
27758 [generic sys/syscall.h] (syscall.h): Remove variable.
27759 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27761 [generic sys/syscall.h] (before-compile): Do not append to
27763 [generic sys/syscall.h] (common-generated): Likewise.
27764 * sysdeps/unix/errnos-tmpl.c: Remove file.
27765 * sysdeps/unix/errnos.awk: Likewise.
27766 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27767 * sysdeps/unix/ioctls.awk: Likewise.
27768 * sysdeps/unix/mk-local_lim.c: Likewise.
27769 * sysdeps/unix/snarf-ioctls: Likewise.
27771 2012-03-19 Richard Henderson <rth@twiddle.net>
27773 * sysdeps/i386/fpu/fenv_private.h: New file.
27774 * sysdeps/i386/fpu/math_private.h: Use it.
27775 (math_opt_barrier, math_force_eval): Remove.
27776 (libc_feholdexcept_setround_53bit): Remove.
27777 (libc_feupdateenv_53bit): Remove.
27778 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27779 (math_opt_barrier, math_force_eval): Remove.
27780 (libc_feholdexcept): Remove.
27781 (libc_feholdexcept_setround): Remove.
27782 (libc_fetestexcept, libc_fesetenv): Remove.
27783 (libc_feupdateenv_test): Remove.
27784 (libc_feupdateenv, libc_feholdsetround): Remove.
27785 (libc_feresetround): Remove.
27787 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27788 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27790 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27791 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27792 (libc_feupdateenv_testl): New.
27793 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27794 (libc_feupdateenv_testf): New.
27795 (libc_feupdateenv): Use libc_feupdateenv_test.
27796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27799 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27800 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27801 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27802 (libc_feresetround_noex): New.
27803 (libc_feresetround_noexf): New.
27804 (libc_feresetround_noexl): New.
27805 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27806 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27807 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27808 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27813 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27814 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27815 SET_RESTORE_ROUND_NOEX.
27816 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27817 SET_RESTORE_ROUND_NOEXF.
27818 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27819 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27820 (libc_feholdsetroundf): New.
27821 (libc_feresetround, libc_feresetroundf): New.
27823 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27824 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27825 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27827 * sysdeps/generic/math_private.h: Include <fenv.h>.
27828 (default_libc_feholdexcept): New.
27829 (default_libc_feholdexcept_setround): New.
27830 (default_libc_fesetenv, default_libc_feupdateenv): New.
27831 (libc_feholdexcept): Only define if undefined.
27832 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27833 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27834 (libc_feholdexcept_setroundl): Likewise.
27835 (libc_feholdexcept_setround_53bit): Likewise.
27836 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27837 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27838 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27839 (libc_feupdateenv_53bit): Likewise.
27840 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27841 (libc_feholdexcept): Convert from macro to inline function.
27842 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27843 (libc_fesetenv, libc_feupdateenv): Likewise.
27845 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27846 not previously defined.
27847 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27848 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27849 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27850 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27851 * sysdeps/ieee754/flt-32/math_private.h: New file.
27852 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27853 math_private.h below SET_FLOAT_WORD.
27854 (__isnan, __isinf_ns, __finite): Remove.
27855 (__isnanf, __isinf_nsf, __finitef): Remove.
27857 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27861 2012-03-17 David S. Miller <davem@davemloft.net>
27864 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27867 2012-03-16 David S. Miller <davem@davemloft.net>
27869 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27873 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27875 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27876 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27877 sysdep_routines when subdir is sysvipc.
27878 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27879 __getshmlba helper.
27881 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27883 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27885 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27890 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27891 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27892 (__lround): Renamed to ...
27893 (__llround): This. Replace long int with long long int.
27894 Define lround functions as aliases of llround functions.
27895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27897 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27899 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27900 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27901 adresses to uintptr_t. Replace "long int" and "unsigned long
27902 int" with "greg_t" on va_arg.
27904 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27906 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27907 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27909 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27910 Move e_machine check before EI_CLASS check. Handle x32
27911 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27912 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27913 SKIP_EM_IA_64 and include
27914 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27916 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27917 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27918 (add_system_dir): New macro.
27920 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27921 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27923 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27934 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27936 * math/w_j0f.c (j0f): Likewise.
27938 * math/w_j0l.c (__j0l): Likewise.
27940 * math/w_j1.c (j1): Likewise.
27942 * math/w_j1f.c (j1f): Likewise.
27944 * math/w_j1l.c (__j1l): Likewise.
27946 * math/w_jn.c (jn): Likewise.
27948 * math/w_jnf.c (jnf): Likewise.
27950 * math/w_jnl.c (__jnl): Likewise.
27952 * math/libm-test.inc (j0_test): Add more tests.
27953 (j1_test): Likewise.
27954 (jn_test): Likewise. Add trailing semicolon to existing test.
27955 (y0_test): Likewise.
27956 (y1_test): Likewise.
27957 * sysdeps/i386/fpu/libm-test-ulps: Update.
27958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27963 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27964 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27966 (__tanl): Set errno for infinite argument.
27967 * sysdeps/i386/fpu/mptan.c: Remove.
27968 * sysdeps/i386/fpu/s_tan.S: Likewise.
27969 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27970 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27971 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27972 * math/libm-test.inc (tan_test): Add more tests and enable more
27973 tests for double and long double.
27974 * sysdeps/i386/fpu/libm-test-ulps: Update.
27975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27977 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27979 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27980 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27982 2012-03-16 Roland McGrath <roland@hack.frob.com>
27984 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27985 * configure.in: Use it for both main tree and add-ons.
27986 * configure: Regenerated.
27988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27990 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27992 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27994 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27998 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27999 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28004 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28006 != 0 for prec == 2.
28007 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28008 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28009 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28010 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28011 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28012 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28013 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28014 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28015 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28016 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28017 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28018 * math/libm-test.inc (cos_test): Add more tests and enable more
28019 tests for long double.
28020 (sin_test): Likewise.
28021 (sincos_test): Likewise.
28022 * sysdeps/i386/fpu/libm-test-ulps: Update.
28023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28025 2012-03-16 David S. Miller <davem@davemloft.net>
28027 * sysdeps/sparc/fpu/math_private.h: New file.
28029 2012-03-15 David S. Miller <davem@davemloft.net>
28031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28045 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28046 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28048 * sysdeps/sparc/sparc-ifunc.h: New file.
28049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28094 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28096 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28100 2012-03-15 Andreas Jaeger <aj@suse.de>
28103 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28104 ieee754/flt-32 implementation for sin, cos and sincos.
28105 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28106 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28107 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28108 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28109 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28110 ieee754/flt-32 implementation for tan.
28112 * math/libm-test.inc (cos_test): Enable some large input tests for
28114 (sin_test): Likewise.
28115 (sincos_test): Likewise.
28116 (tan_test): Add tests for large input.
28118 * sysdeps/i386/fpu/libm-test-ulps: Update.
28120 2012-03-15 Andreas Jaeger <aj@suse.de>
28123 * math/libm-test.inc (cos_test): Add more test cases.
28124 (sin_test): Likewise.
28125 (sincos_test): Likewise.
28127 2012-03-15 Andreas Jaeger <aj@suse.de>
28130 * math/libm-test.inc (cos_test): Add a test case for large input
28132 (sin_test): Likewise.
28133 (sincos_test): Likewise.
28135 2012-03-15 Andreas Jaeger <aj@suse.de>,
28136 Joseph Myers <joseph@codesourcery.com>
28139 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28140 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28141 * sysdeps/i386/fpu/branred.c: Likewise.
28142 * sysdeps/i386/fpu/dosincos.c: Likewise.
28143 * sysdeps/i386/fpu/mpa.c: Likewise.
28144 * sysdeps/i386/fpu/s_cos.S: Likewise.
28145 * sysdeps/i386/fpu/s_sin.S: Likewise.
28146 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28147 * sysdeps/i386/fpu/sincos32.c: Likewise.
28149 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28151 (libc_feupdateenv_53bit): Define.
28152 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28154 (libc_feupdateenv_53bit): Define.
28156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28157 53 bit (without extend i386 double precision).
28159 * math/libm-test.inc (sincos_test): Add tests for large input.
28163 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28165 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28169 2012-03-15 David S. Miller <davem@davemloft.net>
28171 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28199 fmin/fmax sysdep routines.
28200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28202 2012-03-14 David S. Miller <davem@davemloft.net>
28204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28281 * sysdeps/sparc/configure.in: New file.
28282 * sysdeps/sparc/configure: Generate.
28283 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28284 * configure: Regenerate.
28285 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28286 * config.make.in (have-as-vis3): New.
28287 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28288 available use -Av9d instead of -Av9a.
28289 * sysdeps/sparc/sparc64/Makefile: Likewise.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28306 fzeros/fnegs to load 0x80000000 into a float register instead of
28308 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28310 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28314 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28315 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28316 ($(inst_includedir)/bits/syscall.h): Remove rule.
28317 ($(objpfx)bits/syscall.d): Include instead of
28318 $(objpfx)syscall-list.d.
28319 (generated): Change syscall-list.h and syscall-list.d to
28320 bits/syscall.h and bits/syscall.d.
28322 2012-03-14 Roland McGrath <roland@hack.frob.com>
28325 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28327 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28330 * math/s_csqrt.c: Include <float.h>.
28331 (__csqrt): Scale large or subnormal inputs.
28332 * math/s_csqrtf.c: Likewise.
28333 * math/s_csqrtl.c: Likewise.
28334 * math/libm-test.inc (csqrt_test): Add more tests.
28335 * sysdeps/i386/fpu/libm-test-ulps: Update.
28336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28339 * math/libm-test.inc (hypot_test): Add more tests.
28341 2012-03-13 David S. Miller <davem@davemloft.net>
28344 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28345 double-precision for the calculation instead of scaling.
28347 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28349 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28350 manipulate bits before adding and subtracting TWO52[sx].
28351 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28352 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28354 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28356 2012-03-13 David S. Miller <davem@davemloft.net>
28358 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28359 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28361 rtld-global-offsets.h
28362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28364 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28367 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28369 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28370 'err' in the ifdef scope in which it is actually used.
28372 * nss/nss_db/db-init.c: Include string.h
28374 2012-03-12 David S. Miller <davem@davemloft.net>
28376 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28377 masking out of the most significant byte of random value used.
28378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28379 Fix coding style in previous change.
28381 * sysdeps/unix/sysv/linux/kernel-features.h
28382 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28383 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28385 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28388 2012-03-11 David S. Miller <davem@davemloft.net>
28390 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28391 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28393 for 'resultvar' otherwise things get truncated on 64-bit.
28395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28396 Fix masking out of the most significant byte of random value used.
28398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28400 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28404 2012-03-09 David S. Miller <davem@davemloft.net>
28406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28407 variables with appropriate CPP guards.
28408 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28409 frame pointer, not the stack pointer. Correct layout comments. Fix test
28410 on resulting framesize and the management of the outregs buffer for pltexit.
28411 Preserve floating point return values across _dl_call_pltexit call.
28412 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28413 framesize and the management of the outregs buffer for pltexit.
28414 Preserve floating point return values across _dl_call_pltexit
28416 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28417 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28418 (print_exit): Fix format string for return register value.
28420 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28422 * sunrpc/Makefile (others): Add rpcgen.
28423 ($(objpfx)rpcgen): Remove special build rule and dependency on
28425 * sunrpc/rpcgen.c: New file.
28427 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28430 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28431 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28432 * sysdeps/i386/crti.S: Likewise.
28433 * sysdeps/i386/crtn.S: Likewise.
28434 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28435 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28436 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28437 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28438 * sysdeps/sh/crti.S: Likewise.
28439 * sysdeps/sh/crtn.S: Likewise.
28440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28443 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28445 * locale/programs/locfile-kw.gperf: Likewise.
28446 * locale/programs/charmap-kw.h: Regenerated.
28447 * locale/programs/locfile-kw.h: Likewise.
28450 * intl/plural.y: Replace FSF snail mail address with URL.
28451 * intl/plural.c: Regenerated.
28453 2012-03-09 Richard Henderson <rth@twiddle.net>
28455 * include/math_private.h: Remove file.
28456 * math/math_private.h: Move file ...
28457 * sysdeps/generic/math_private.h: ... here.
28459 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28460 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28461 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28463 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28464 and <math_private.h>.
28465 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28466 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28560 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28562 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28566 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28567 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28568 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28578 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28588 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28589 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28591 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28592 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28594 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28595 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28597 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28598 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28599 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28600 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28603 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28604 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28606 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28607 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28608 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28609 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28613 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28614 * sysdeps/ieee754/k_standard.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28737 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28742 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28747 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28775 * sysdeps/ieee754/s_lib_version.c: Likewise.
28776 * sysdeps/ieee754/s_matherr.c: Likewise.
28777 * sysdeps/ieee754/s_signgam.c: Likewise.
28778 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28780 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28781 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28784 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28785 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28786 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28787 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28788 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28789 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28794 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28795 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28796 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28800 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28802 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28803 * sunrpc/rpc_main.c: Likewise.
28804 * sunrpc/rpc_svcout.c: Likewise.
28806 2012-03-09 David S. Miller <davem@davemloft.net>
28808 * include/math_private.h: New file.
28810 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28812 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28813 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28814 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28815 from <bits/socket_type.h>.
28816 (enum __socket_type): Don't define here.
28817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28819 bits/socket_type.h.
28822 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28823 checking __USE_GNU.
28825 * Makerules ($(inst_includedir)/%.h): New rule.
28826 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28827 (install-others): Remove variable setting.
28828 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28830 2012-03-08 Richard Henderson <rth@twiddle.net>
28832 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28833 from macro to inline function; merge with the
28834 !__LIBC_INTERNAL_MATH_INLINES version.
28835 (__ieee754_sqrtf): Likewise.
28837 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28838 to inline function.
28839 (__rintf, __floor, __floorf): Likewise.
28841 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28842 macro to inline function.
28843 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28846 not <math/math_private.h>.
28848 2012-03-08 David S. Miller <davem@davemloft.net>
28850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28852 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28854 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28856 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28858 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28859 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28861 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28863 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28864 be defined individually, they must be defined as a block. Define
28865 S for printing a string instead of hidint the different by using a
28866 macro for adding the 'l'.
28867 * stdio-common/tst-fphex-wide.c: Adjust.
28869 2012-03-07 Marek Polacek <polacek@redhat.com>
28871 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28873 2012-03-08 Marek Polacek <polacek@redhat.com>
28876 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28877 * stdio-common/tst-fphex.c: Define a few macros to make the
28878 test reusable. Use them.
28879 * stdio-common/tst-fphex-wide.c: New file.
28881 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28884 * manual/macros.texi (gnusystems): New macro.
28885 (nongnusystems): Likewise.
28886 (gnulinuxhurdsystems): Likewise.
28887 (gnuhurdsystems): Likewise..
28888 (gnulinuxsystems): Likewise.
28889 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28890 variants of the GNU system, not "GNU system".
28891 * manual/conf.texi: Likewise.
28892 * manual/errno.texi: Likewise. Update example of errno macro
28894 * manual/filesys.texi: Likewise.
28895 (getumask): Document as specific to GNU/Hurd.
28896 * manual/install.texi: Likewise. Reword some references to
28898 * manual/intro.texi: Likewise.
28899 * manual/io.texi: Likewise.
28900 (File Name Portability): Detail which constraints are inapplicable
28901 to all GNU systems and which are only inapplicable to GNU/Hurd.
28902 * manual/job.texi: Likewise.
28903 * manual/llio.texi: Likewise.
28904 (O_NOCTTY): Document as present on GNU/Linux.
28905 * manual/maint.texi: Likewise.
28906 * manual/memory.texi: Likewise.
28907 * manual/pattern.texi: Likewise.
28908 * manual/pipe.texi: Likewise.
28909 * manual/process.texi: Likewise.
28910 * manual/resource.texi: Likewise.
28911 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28913 * manual/setjmp.texi: Likewise.
28914 * manual/signal.texi: Likewise.
28915 * manual/startup.texi: Likewise.
28916 * manual/stdio.texi: Likewise.
28917 * manual/terminal.texi: Likewise.
28918 (ONLCR): Document as POSIX.
28919 (OXTABS): Document availability on GNU/Linux as XTABS.
28920 (ONOEOT): Document availability separately from other bits.
28921 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28922 * manual/time.texi: Likewise.
28923 * manual/users.texi: Likewise.
28924 * INSTALL: Regenerated.
28925 * sysdeps/gnu/errlist.c: Regenerated.
28927 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28928 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28929 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28931 * configure: Regenerated.
28933 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28935 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28936 default includes instead of AC_HEADER_CHECK.
28937 * sysdeps/i386/configure: Regenerated.
28940 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28941 * math/s_cacoshf.c (__cacoshf): Likewise.
28942 * math/s_cacoshl.c (__cacoshl): Likewise.
28943 * math/s_casinh.c (__casinh): Set signs of result from argument.
28944 * math/s_casinhf.c (__casinhf): Likewise.
28945 * math/s_casinhl.c (__casinhl): Likewise.
28946 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28947 (casinh_test): Add more tests.
28948 * sysdeps/i386/fpu/libm-test-ulps: Update.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28951 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28953 * po/zh_TW.po: Update from translation team.
28955 * login/Makefile (distribute): Remove variable.
28956 * catgets/Makefile: Likewise.
28957 * mach/Makefile: Likewise.
28958 * malloc/Makefile: Likewise.
28959 * misc/Makefile: Likewise.
28960 * iconv/Makefile: Likewise.
28961 * nscd/Makefile: Likewise.
28962 * hurd/Makefile: Likewise.
28963 * manual/Makefile: Likewise.
28964 * locale/Makefile: Likewise.
28965 * intl/Makefile: Likewise.
28966 * conform/Makefile: Likewise.
28967 * nss/Makefile: Likewise.
28968 * time/Makefile: Likewise.
28969 * soft-fp/Makefile: Likewise.
28970 * dirent/Makefile: Likewise.
28971 * gmon/Makefile: Likewise.
28972 * po/Makefile: Likewise.
28973 * rt/Makefile: Likewise.
28974 * socket/Makefile: Likewise.
28975 * math/Makefile: Likewise.
28976 * signal/Makefile: Likewise.
28977 * debug/Makefile: Likewise.
28978 * elf/Makefile: Likewise.
28979 * timezone/Makefile: Likewise.
28980 * stdlib/Makefile: Likewise.
28981 * iconvdata/Makefile: Likewise.
28982 * sunrpc/Makefile: Likewise.
28983 * io/Makefile: Likewise.
28984 * argp/Makefile: Likewise.
28985 * inet/Makefile: Likewise.
28986 * hesiod/Makefile: Likewise.
28987 * grp/Makefile: Likewise.
28988 * csu/Makefile: Likewise.
28989 * wctype/Makefile: Likewise.
28990 * crypt/Makefile: Likewise.
28991 * libio/Makefile: Likewise.
28992 * string/Makefile: Likewise.
28993 * nis/Makefile: Likewise.
28994 * resolv/Makefile: Likewise.
28995 * stdio-common/Makefile: Likewise.
28996 * wcsmbs/Makefile: Likewise.
28997 * dlfcn/Makefile: Likewise.
28998 * posix/Makefile: Likewise.
29001 * timezone/Makefile: Don't install timezone files, just the programs
29004 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29006 * nss/databases.def: Add missing gshadow entry.
29008 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29010 2012-03-06 Marek Polacek <polacek@redhat.com>
29013 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29014 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29015 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29016 * stdio-common/tst-long-dbl-fphex.c: New file.
29018 2012-03-06 David S. Miller <davem@davemloft.net>
29020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29021 (set_obp_int): New function.
29022 (get_obp_int): New function.
29023 (__get_clockfreq_via_dev_openprom): Likewise.
29024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29025 Avoid unused variable warnings on 'val' and use builtin_expect.
29026 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29028 (INLINE_CLONE_SYSCALL): Likewise.
29030 2012-03-05 David S. Miller <davem@davemloft.net>
29032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29034 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29039 only for |x| >= 40.
29040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29042 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29045 Replace gettimeofday with __vdso_gettimeofday.
29047 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29048 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29049 __vdso_clock_gettime and __vdso_getcpu.
29051 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29052 time with __vdso_time.
29054 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29056 * manual/lang.texi (size_t): Note types to which size_t may be
29057 equivalent with the GNU C Library, but do not describe when
29058 differences between them are significant.
29060 2012-03-05 Andreas Jaeger <aj@suse.de>
29062 * sysdeps/i386/fpu/libm-test-ulps: Update.
29064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29068 (__ieee754_pow): Save and restore rounding mode and use
29069 round-to-nearest for main computations.
29070 * math/libm-test.inc (pow_test_tonearest): New function.
29071 (pow_test_towardzero): Likewise.
29072 (pow_test_downward): Likewise.
29073 (pow_test_upward): Likewise.
29074 (main): Call the new functions.
29075 * sysdeps/i386/fpu/libm-test-ulps: Update.
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29079 * math/libm-test.inc (cosh_test_tonearest): New function.
29080 (cosh_test_towardzero): Likewise.
29081 (cosh_test_downward): Likewise.
29082 (cosh_test_upward): Likewise.
29083 (sinh_test_tonearest): Likewise.
29084 (sinh_test_towardzero): Likewise.
29085 (sinh_test_downward): Likewise.
29086 (sinh_test_upward): Likewise.
29087 (main): Call the new functions.
29088 * sysdeps/i386/fpu/libm-test-ulps: Update.
29089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29091 2012-03-05 Tom de Vries <tom@codesourcery.com>
29093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29094 default stack guard is set in last bytes.
29095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29097 2012-03-05 Kees Cook <keescook@chromium.org>
29099 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29102 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29103 possibly allocate from heap instead of stack.
29104 * stdio-common/bug-vfprintf-nargs.c: New file.
29105 * stdio-common/Makefile (tests): Add nargs overflow test.
29107 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29111 2012-03-03 Marek Polacek <polacek@redhat.com>
29113 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29114 * math/math_private.h: Likewise.
29115 * stdlib/tst-strtod.c: Likewise.
29116 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29117 * sysdeps/x86_64/bits/atomic.h: Likewise.
29119 2012-03-02 David S. Miller <davem@davemloft.net>
29121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29125 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29126 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29127 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29128 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29130 2012-03-02 Roland McGrath <roland@hack.frob.com>
29133 * manual/examples/README: New file, says the example source files
29134 can be used under GPL>=2.
29135 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29136 line containing just "*/".
29137 * manual/examples/add.c: Add copyright header (GPL>=2).
29138 * manual/examples/argp-ex1.c: Likewise.
29139 * manual/examples/argp-ex2.c: Likewise.
29140 * manual/examples/argp-ex3.c: Likewise.
29141 * manual/examples/argp-ex4.c: Likewise.
29142 * manual/examples/atexit.c: Likewise.
29143 * manual/examples/db.c: Likewise.
29144 * manual/examples/dir.c: Likewise.
29145 * manual/examples/dir2.c: Likewise.
29146 * manual/examples/execinfo.c: Likewise.
29147 * manual/examples/filecli.c: Likewise.
29148 * manual/examples/filesrv.c: Likewise.
29149 * manual/examples/fmtmsgexpl.c: Likewise.
29150 * manual/examples/genpass.c: Likewise.
29151 * manual/examples/inetcli.c: Likewise.
29152 * manual/examples/inetsrv.c: Likewise.
29153 * manual/examples/isockad.c: Likewise.
29154 * manual/examples/longopt.c: Likewise.
29155 * manual/examples/memopen.c: Likewise.
29156 * manual/examples/memstrm.c: Likewise.
29157 * manual/examples/mkfsock.c: Likewise.
29158 * manual/examples/mkisock.c: Likewise.
29159 * manual/examples/mygetpass.c: Likewise.
29160 * manual/examples/pipe.c: Likewise.
29161 * manual/examples/popen.c: Likewise.
29162 * manual/examples/rprintf.c: Likewise.
29163 * manual/examples/search.c: Likewise.
29164 * manual/examples/select.c: Likewise.
29165 * manual/examples/setjmp.c: Likewise.
29166 * manual/examples/sigh1.c: Likewise.
29167 * manual/examples/sigusr.c: Likewise.
29168 * manual/examples/stpcpy.c: Likewise.
29169 * manual/examples/strdupa.c: Likewise.
29170 * manual/examples/strftim.c: Likewise.
29171 * manual/examples/strncat.c: Likewise.
29172 * manual/examples/subopt.c: Likewise.
29173 * manual/examples/swapcontext.c: Likewise.
29174 * manual/examples/termios.c: Likewise.
29175 * manual/examples/testopt.c: Likewise.
29176 * manual/examples/testpass.c: Likewise.
29177 * manual/examples/timeval_subtract.c: Likewise.
29180 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29182 * manual/timeval_subtract.c.texi: ... here, new file.
29184 2012-03-02 David S. Miller <davem@davemloft.net>
29186 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29188 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29191 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29192 (__sin): Save and restore rounding mode and use round-to-nearest
29193 for all computations.
29194 (__cos): Save and restore rounding mode and use round-to-nearest
29195 for all computations.
29196 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29198 (tan): Save and restore rounding mode and use round-to-nearest for
29200 * math/libm-test.inc (cos_test_tonearest): New function.
29201 (cos_test_towardzero): Likewise.
29202 (cos_test_downward): Likewise.
29203 (cos_test_upward): Likewise.
29204 (sin_test_tonearest): Likewise.
29205 (sin_test_towardzero): Likewise.
29206 (sin_test_downward): Likewise.
29207 (sin_test_upward): Likewise.
29208 (tan_test_tonearest): Likewise.
29209 (tan_test_towardzero): Likewise.
29210 (tan_test_downward): Likewise.
29211 (tan_test_upward): Likewise.
29212 (main): Call the new functions.
29213 * sysdeps/i386/fpu/libm-test-ulps: Update.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29218 small n, then large n, before computing and testing k+n.
29219 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29224 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29225 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29232 * math/libm-test.inc (scalbn_test): Add more tests.
29233 (scalbln_test): Likewise.
29235 * manual/filesys.texi (mode_t): Describe constraints on size and
29236 signedness, not exact equivalence to a particular type.
29238 (ino64_t): Likewise.
29240 (nlink_t): Likewise.
29241 (blkcnt_t): Likewise.
29242 (blkcnt64_t): Likewise.
29243 * manual/llio.texi (off_t): Likewise.
29246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29247 (__ieee754_exp): Save and restore rounding mode and use
29248 round-to-nearest for all computations.
29249 * math/libm-test.inc (exp_test_tonearest): New function.
29250 (exp_test_towardzero): Likewise.
29251 (exp_test_downward): Likewise.
29252 (exp_test_upward): Likewise.
29253 (main): Call the new functions.
29254 * sysdeps/i386/fpu/libm-test-ulps: Update.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257 2012-03-01 Chris Demetriou <cgd@google.com>
29259 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29260 have predictable order.
29262 2012-03-01 David S. Miller <davem@davemloft.net>
29264 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29266 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29267 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29268 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29269 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29271 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29272 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29273 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29275 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29276 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29277 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29278 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29279 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29284 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29287 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29289 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29294 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29303 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29304 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29305 * sysdeps/sparc/elf/configure: Regenerated.
29307 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29309 * configure.in (AS, LD): Require binutils 2.20 or later.
29310 * configure: Regenerated.
29311 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29312 as required minimum version.
29313 * INSTALL: Regenerated.
29317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29318 before squaring exponent.
29319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29320 bottom long double and 27 bits of top long double before squaring
29322 * math/libm-test.inc (erfc_test): Add more tests.
29323 * sysdeps/i386/fpu/libm-test-ulps: Update.
29324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29327 2012-03-01 Kai Tietz <ktietz@redhat.com>
29329 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29330 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29331 containing bit-fields.
29332 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29333 * soft-fp/single.h (_FP_UNION_S): Likewise.
29334 * soft-fp/double.h (_FP_UNION_D): Likewise.
29336 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29339 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29340 not include ../strcmp.S.
29341 [USE_AS_STRNCASECMP_L]: Likewise.
29342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29343 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29344 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29345 (__strncasecmp_l_ia32): Define as alias to
29346 __strncasecmp_l_nonascii.
29349 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29350 * sysdeps/i386/fpu/libm-test-ulps: Update.
29351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29356 2012-02-29 Jeff Law <law@redhat.com>
29358 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29359 out of bounds read.
29361 2012-02-29 Marek Polacek <polacek@redhat.com>
29364 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29365 * elf/Makefile: Add rules to run tst-unused-dep.out.
29367 2012-02-28 David S. Miller <davem@davemloft.net>
29369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29376 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29378 * math/libm-test.inc (llround_test): Move one test from
29379 lround_test. Use TEST_f_L in moved test.
29380 (lround_test): Move misplaced test to llround_test. Add testcase
29383 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29385 * sysdeps/x86_64/fpu/e_expf.S: New file.
29386 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29388 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29391 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29392 of remain_len that may cause incomplete multi-byte character and
29394 * posix/bug-regex33.c: New file.
29395 * posix/Makefile (tests): Add bug-regex33.
29397 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29399 * manual/macros.texi: New file.
29400 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29401 * manual/libc.texinfo: Include macros.texi.
29402 * manual/creatute.texi: Likewise.
29403 * manual/install.texi: Likewise.
29404 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29405 @glibcadj{} in references to the GNU C Library.
29406 * manual/charset.texi: Likewise.
29407 * manual/conf.texi: Likewise.
29408 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29409 when not using those macros.
29410 * manual/creature.texi: Likewise.
29411 * manual/crypt.texi: Likewise.
29412 * manual/errno.texi: Likewise.
29413 * manual/filesys.texi: Likewise.
29414 * manual/header.texi: Likewise.
29415 * manual/install.texi: Likewise.
29416 * manual/intro.texi: Likewise.
29417 * manual/io.texi: Likewise.
29418 * manual/job.texi: Likewise.
29419 * manual/lang.texi: Likewise.
29420 * manual/libc.texiinfo: Likewise.
29421 * manual/llio.texi: Likewise.
29422 * manual/locale.texi: Likewise.
29423 * manual/maint.texi: Likewise.
29424 * manual/math.texi: Likewise.
29425 * manual/memory.texi: Likewise.
29426 * manual/message.texi: Likewise.
29427 * manual/nss.texi: Likewise.
29428 * manual/pattern.texi: Likewise.
29429 * manual/process.texi: Likewise.
29430 * manual/resource.texi: Likewise.
29431 * manual/search.texi: Likewise.
29432 * manual/setjmp.texi: Likewise.
29433 * manual/signal.texi: Likewise.
29434 * manual/socket.texi: Likewise.
29435 * manual/startup.texi: Likewise.
29436 * manual/stdio.texi: Likewise.
29437 * manual/string.texi: Likewise.
29438 * manual/sysinfo.texi: Likewise.
29439 * manual/syslog.texi: Likewise.
29440 * manual/terminal.texi: Likewise.
29441 * manual/time.texi: Likewise.
29442 * manual/users.texi: Likewise.
29443 * INSTALL: Regenerated.
29444 * NOTES: Regenerated.
29445 * sysdeps/gnu/errlist.c: Regenerated.
29447 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29449 * include/dirent.h: Include <dirstream.h> before
29452 2012-02-28 David S. Miller <davem@davemloft.net>
29454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29455 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29459 2012-02-27 David S. Miller <davem@davemloft.net>
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29463 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29464 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29467 frame pointer instead of stack pointer relative arg slot.
29468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29472 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29475 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29477 2012-02-27 David S. Miller <davem@davemloft.net>
29479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29485 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29488 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29490 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29491 later. Allow versions 5-9.
29492 * configure: Regenerated.
29493 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29494 required minimum version and 4.6 as recommended version. Do not
29495 mention bugs in GCC 2.7 and 2.8.
29496 * INSTALL: Regenerated.
29498 2012-02-27 David S. Miller <davem@davemloft.net>
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29506 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29510 manipulate bits before adding and subtracting TWO112[sx].
29511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29513 2012-02-27 Roland McGrath <roland@hack.frob.com>
29516 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29517 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29518 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29519 being in POSIX, because they are in 1003.1-2008.
29521 * rt/tst-aio.c: Include <fcntl.h>.
29522 * rt/tst-aio7.c: Likewise.
29523 * rt/tst-aio64.c: Likewise.
29525 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29529 * manual/install.texi (--with-headers): Describe headers as
29530 interface headers, not private headers.
29531 (Specific advice for GNU/Linux systems): Describe use of headers
29532 from "make headers_install", not private headers from older
29534 * INSTALL: Regenerated.
29535 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29537 * sysdeps/unix/sysv/linux/configure: Regenerated.
29539 * manual/llio.texi (fclean): Remove documentation.
29541 * manual/Makefile (libc-texi-generated): New variable. Include
29543 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29544 $(libc-texi-generated), not duplicated list of files.
29545 (version.texi, stamp-version): New rules.
29546 (realclean): Remove $(libc-texi-generated), not individual files
29547 from that list. Do not remove dir-add.texinfo.
29548 * manual/libc.texinfo: Comment out uses of edition numbers and
29549 references to printed manual. Remove last-updated dates.
29550 (EDITION): Comment out.
29552 (VERSION, UPDATED): Remove.
29553 (version.texi): Include.
29555 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29557 * sysdeps/posix/spawni.c: Include <signal.h>.
29558 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29559 * sysdeps/pthread/aio_fsync.c: Likewise.
29561 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29563 * conform/Makefile (tests): Run only when not cross-compiling and
29564 when fast-check is not defined.
29566 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29567 * conform/data/limits.h-data: Fixes for POSIX2008.
29568 * conform/run-conformtest.sh: Run all tests.
29569 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29571 * include/bits/dlfcn.h: Likewise.
29572 * include/langinfo.h: Likewise.
29573 * include/monetary.h: Likewise.
29574 * include/sys/poll.h: Likewise.
29576 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29578 * posix/spawn.h: Define __need_sigset_t.
29579 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29580 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29581 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29582 to get sigevent_t only.
29583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29584 only for __USE_GNU.
29585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29587 process_vm_writev only for __USE_GNU.
29588 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29590 * conform/Makefile: For now ignore errors from run-conformtest.
29591 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29592 POSIX to avoid namespace pollution. Don't prepend headers.
29593 * conform/data/aio.h-data: Fixes for POSIX testing.
29594 * conform/data/fcntl.h-data: Likewise.
29595 * conform/data/glob.h-data: Likewise.
29596 * conform/data/grp.h-data: Likewise.
29597 * conform/data/pthread.h-data: Likewise.
29598 * conform/data/pwd.h-data: Likewise.
29599 * conform/data/signal.h-data: Likewise.
29600 * conform/data/spawn.h-data: Likewise.
29601 * conform/data/stdio.h-data: Likewise.
29602 * conform/data/stdlib.h-data: Likewise.
29603 * conform/data/stropts.h-data: Likewise.
29604 * conform/data/sys/mman.h-data: Likewise.
29605 * conform/data/sys/stat.h-data: Likewise.
29606 * conform/data/sys/types.h-data: Likewise.
29607 * conform/data/sys/wait.h-data: Likewise.
29608 * conform/data/time.h-data: Likewise.
29609 * conform/data/unistd.h-data: Likewise.
29610 * conform/data/utime.h-data: Likewise.
29612 * io/sys/stat.h: fchmod was always in POSIX.
29613 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29614 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29615 * rt/aio.h: Define __need_timespec before including <time.h>.
29616 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29617 struct. Add forward declaration of pthread_attr_t and use it in
29619 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29621 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29622 always remove CLK_TCK definition.
29624 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29626 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29628 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29630 * conform/run-conformtest.sh: New file.
29631 * conform/Makefile: Run run-conformtest for tests.
29632 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29635 * conform/data/uchar.h-data: New file.
29636 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29637 * conform/data/arpa/inet.h-data: Likewise.
29638 * conform/data/assert.h-data: Likewise.
29639 * conform/data/complex.h-data: Likewise.
29640 * conform/data/cpio.h-data: Likewise.
29641 * conform/data/ctype.h-data: Likewise.
29642 * conform/data/dirent.h-data: Likewise.
29643 * conform/data/dlfcn.h-data: Likewise.
29644 * conform/data/errno.h-data: Likewise.
29645 * conform/data/fcntl.h-data: Likewise.
29646 * conform/data/float.h-data: Likewise.
29647 * conform/data/fmtmsg.h-data: Likewise.
29648 * conform/data/fnmatch.h-data: Likewise.
29649 * conform/data/ftw.h-data: Likewise.
29650 * conform/data/glob.h-data: Likewise.
29651 * conform/data/grp.h-data: Likewise.
29652 * conform/data/iconv.h-data: Likewise.
29653 * conform/data/inttypes.h-data: Likewise.
29654 * conform/data/langinfo.h-data: Likewise.
29655 * conform/data/libgen.h-data: Likewise.
29656 * conform/data/limits.h-data: Likewise.
29657 * conform/data/locale.h-data: Likewise.
29658 * conform/data/math.h-data: Likewise.
29659 * conform/data/monetary.h-data: Likewise.
29660 * conform/data/mqueue.h-data: Likewise.
29661 * conform/data/ndbm.h-data: Likewise.
29662 * conform/data/net/if.h-data: Likewise.
29663 * conform/data/netdb.h-data: Likewise.
29664 * conform/data/netinet/in.h-data: Likewise.
29665 * conform/data/nl_types.h-data: Likewise.
29666 * conform/data/poll.h-data: Likewise.
29667 * conform/data/pthread.h-data: Likewise.
29668 * conform/data/pwd.h-data: Likewise.
29669 * conform/data/regex.h-data: Likewise.
29670 * conform/data/sched.h-data: Likewise.
29671 * conform/data/search.h-data: Likewise.
29672 * conform/data/semaphore.h-data: Likewise.
29673 * conform/data/setjmp.h-data: Likewise.
29674 * conform/data/signal.h-data: Likewise.
29675 * conform/data/spawn.h-data: Likewise.
29676 * conform/data/stdarg.h-data: Likewise.
29677 * conform/data/stdio.h-data: Likewise.
29678 * conform/data/stdlib.h-data: Likewise.
29679 * conform/data/string.h-data: Likewise.
29680 * conform/data/strings.h-data: Likewise.
29681 * conform/data/stropts.h-data: Likewise.
29682 * conform/data/sys/ipc.h-data: Likewise.
29683 * conform/data/sys/mman.h-data: Likewise.
29684 * conform/data/sys/msg.h-data: Likewise.
29685 * conform/data/sys/resource.h-data: Likewise.
29686 * conform/data/sys/select.h-data: Likewise.
29687 * conform/data/sys/sem.h-data: Likewise.
29688 * conform/data/sys/shm.h-data: Likewise.
29689 * conform/data/sys/socket.h-data: Likewise.
29690 * conform/data/sys/stat.h-data: Likewise.
29691 * conform/data/sys/statvfs.h-data: Likewise.
29692 * conform/data/sys/time.h-data: Likewise.
29693 * conform/data/sys/timeb.h-data: Likewise.
29694 * conform/data/sys/times.h-data: Likewise.
29695 * conform/data/sys/types.h-data: Likewise.
29696 * conform/data/sys/uio.h-data: Likewise.
29697 * conform/data/sys/un.h-data: Likewise.
29698 * conform/data/sys/utsname.h-data: Likewise.
29699 * conform/data/sys/wait.h-data: Likewise.
29700 * conform/data/syslog.h-data: Likewise.
29701 * conform/data/tar.h-data: Likewise.
29702 * conform/data/termios.h-data: Likewise.
29703 * conform/data/utime.h-data: Likewise.
29704 * conform/data/utmpx.h-data: Likewise.
29705 * conform/data/varargs.h-data: Likewise.
29706 * conform/data/wchar.h-data: Likewise.
29707 * conform/data/wctype.h-data: Likewise.
29708 * conform/data/wordexp.h-data: Likewise.
29710 * include/stropts.h: New file.
29711 * include/uchar.h: New file.
29712 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29713 * include/assert.h: Likewise.
29714 * include/ctype.h: Likewise.
29715 * include/dirent.h: Likewise.
29716 * include/dlfcn.h: Likewise.
29717 * include/fcntl.h: Likewise.
29718 * include/fnmatch.h: Likewise.
29719 * include/glob.h: Likewise.
29720 * include/grp.h: Likewise.
29721 * include/libio.h: Likewise.
29722 * include/locale.h: Likewise.
29723 * include/math.h: Likewise.
29724 * include/net/if.h: Likewise.
29725 * include/netdb.h: Likewise.
29726 * include/netinet/in.h: Likewise.
29727 * include/pthread.h: Likewise.
29728 * include/pwd.h: Likewise.
29729 * include/regex.h: Likewise.
29730 * include/sched.h: Likewise.
29731 * include/search.h: Likewise.
29732 * include/setjmp.h: Likewise.
29733 * include/signal.h: Likewise.
29734 * include/stdio.h: Likewise.
29735 * include/stdlib.h: Likewise.
29736 * include/string.h: Likewise.
29737 * include/sys/cdefs.h: Likewise.
29738 * include/sys/mman.h: Likewise.
29739 * include/sys/msg.h: Likewise.
29740 * include/sys/resource.h: Likewise.
29741 * include/sys/select.h: Likewise.
29742 * include/sys/socket.h: Likewise.
29743 * include/sys/stat.h: Likewise.
29744 * include/sys/statvfs.h: Likewise.
29745 * include/sys/time.h: Likewise.
29746 * include/sys/times.h: Likewise.
29747 * include/sys/uio.h: Likewise.
29748 * include/sys/utsname.h: Likewise.
29749 * include/sys/wait.h: Likewise.
29750 * include/termios.h: Likewise.
29751 * include/time.h: Likewise.
29752 * include/ulimit.h: Likewise.
29753 * include/unistd.h: Likewise.
29754 * include/utime.h: Likewise.
29755 * include/wchar.h: Likewise.
29756 * include/wctype.h: Likewise.
29757 * include/wordexp.h: Likewise.
29759 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29761 * time/time.h: TIME_UTC must be a macro.
29762 Make timespec_get available for ISO C11 only as well.
29764 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29766 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29767 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29769 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29771 * configure.in: Use -o not -a in test for unsupported multi-arch.
29773 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29775 * manual/texinfo.tex: Update to version 2012-01-19.16.
29777 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29779 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29781 2012-02-24 Roland McGrath <roland@hack.frob.com>
29784 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29785 * manual/fdl-1.3.texi: New file.
29786 * manual/fdl-1.1.texi: File removed.
29789 * manual/libc.texinfo (FDL_VERSION): New @set.
29790 Use it for mention of FDL in cover text.
29791 (Documentation License): Use it in @include file name.
29793 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29794 Roland McGrath <roland@hack.frob.com>
29797 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29798 not LONG_LONG_MAX and LONG_LONG_MIN.
29799 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29800 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29802 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29808 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29809 manipulate bits before adding and subtracting TWO23[sx].
29810 * math/libm-test.inc (nearbyint_test): Add more tests.
29812 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29816 bits before adding and subtracting TWO23[sx].
29817 * math/libm-test.inc (rint_test): Add more tests.
29818 (rint_test_tonearest): Likewise.
29819 (rint_test_towardzero): Likewise.
29820 (rint_test_downward): Likewise.
29821 (rint_test_upward: Likewise.
29823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29826 * include/stdc-predef.h: New file. Extracted from features.h.
29827 * include/features.h: Include stdc-predef.h.
29828 * Makefile (headers): Add stdc-predef.h.
29829 * CONFORMANCE (Compiler limitations): Update.
29831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29833 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29835 2012-02-21 David S. Miller <davem@davemloft.net>
29837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29840 2012-02-20 David S. Miller <davem@davemloft.net>
29842 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29843 using a normal save/restore sequence, rather than allocating a
29844 dummy stack frame just to store a frame pointer and restore.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29849 * manual/install.texi: Fix stray word in line-wrapped comment.
29851 2012-02-20 David S. Miller <davem@davemloft.net>
29853 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29854 both binutils and gcc support GOTDATA.
29856 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29857 "rd %pc" in the PIC register setup sequences.
29859 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29860 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29868 (SYSCALL_ERROR_HANDLER): Likewise.
29869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29872 (SYSCALL_ERROR_HANDLER): Likewise.
29874 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29875 (HAVE_GCC_GOTDATA): New.
29876 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29877 relocation support in both binutils and gcc.
29878 * sysdeps/sparc/elf/configure: Regenerate.
29880 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29881 * sysdeps/sparc/sparc32/elf/configure: Delete.
29882 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29883 * sysdeps/sparc/sparc64/elf/configure: Delete.
29884 * sysdeps/sparc/elf/configure.in: New file.
29885 * sysdeps/sparc/elf/configure: Generate.
29887 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29888 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29890 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29891 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29895 * manual/install.texi: Do not mention specific glibc version
29897 * manual/libc.texinfo (VERSION, UPDATED): Update.
29898 (@copying): Use @copyright{} and range of years.
29900 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29903 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29904 [crti.S not in sysdirs] (generated): Do not append.
29905 [crti.S not in sysdirs] (omit-deps): Likewise.
29906 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29907 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29908 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29909 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29910 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29912 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29913 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29914 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29915 * csu/defs.awk: Remove file.
29916 * sysdeps/generic/initfini.c: Likewise.
29917 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29919 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29922 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29924 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29925 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29929 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29931 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29932 (__EPOLL_PACKED): Define to empty if not defined by
29934 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29938 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29940 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29941 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29945 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29958 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29963 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29965 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29966 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29968 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29970 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29973 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29975 * math/w_acos.c: Use non-signaling floating-point comparisons.
29976 * math/w_acosf.c: Likewise.
29977 * math/w_acosh.c: Likewise.
29978 * math/w_acoshf.c: Likewise.
29979 * math/w_acoshl.c: Likewise.
29980 * math/w_acosl.c: Likewise.
29981 * math/w_asin.c: Likewise.
29982 * math/w_asinf.c: Likewise.
29983 * math/w_asinl.c: Likewise.
29984 * math/w_atanh.c: Likewise.
29985 * math/w_atanhf.c: Likewise.
29986 * math/w_atanhl.c: Likewise.
29987 * math/w_exp2.c: Likewise.
29988 * math/w_exp2f.c: Likewise.
29989 * math/w_exp2l.c: Likewise.
29990 * math/w_j0.c: Likewise.
29991 * math/w_j0f.c: Likewise.
29992 * math/w_j0l.c: Likewise.
29993 * math/w_j1.c: Likewise.
29994 * math/w_j1f.c: Likewise.
29995 * math/w_j1l.c: Likewise.
29996 * math/w_jn.c: Likewise.
29997 * math/w_jnf.c: Likewise.
29998 * math/w_log.c: Likewise.
29999 * math/w_log10.c: Likewise.
30000 * math/w_log10f.c: Likewise.
30001 * math/w_log10l.c: Likewise.
30002 * math/w_log2.c: Likewise.
30003 * math/w_log2f.c: Likewise.
30004 * math/w_log2l.c: Likewise.
30005 * math/w_logf.c: Likewise.
30006 * math/w_logl.c: Likewise.
30007 * math/w_sqrt.c: Likewise.
30008 * math/w_sqrtf.c: Likewise.
30009 * math/w_sqrtl.c: Likewise.
30010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30011 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30016 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30019 * manual/string.texi (strnlen): Use correct parameter name in
30020 equivalent expression.
30022 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30025 * manual/users.texi (seteuid): Consistently use neweuid for
30028 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30031 * manual/nss.texi (Services in the NSS configuration): Correct
30032 list of services in example configuration file.
30034 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30037 * manual/arith.texi: Remove statements about negative zero
30038 behaving identically to zero.
30040 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30043 * manual/install.texi: Do not document upgrading from libc5.
30045 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30048 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30050 2012-02-18 David S. Miller <davem@davemloft.net>
30052 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30053 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30054 %o7 across the call.
30055 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30058 SETUP_PIC_REG_LEAF.
30059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30060 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30061 * sysdeps/sparc/crtn.S: Likewise.
30063 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30065 * aout/Makefile: Remove.
30067 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30070 * manual/examples/argp-ex1.c (main): Format definition in GNU
30072 * manual/examples/argp-ex2.c (main): Likewise.
30073 * manual/examples/argp-ex3.c (main): Likewise.
30074 * manual/examples/argp-ex4.c (main): Likewise.
30075 * manual/examples/longopt.c (main): Use new-style prototype
30077 * manual/examples/strncat.c (main): Specify return type and use
30078 (void) for arguments.
30079 * manual/examples/subopt.c (main): Use char **argv argument.
30081 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30084 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30087 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30090 * manual/string.texi (strchr): Change when strchrnul is
30093 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30096 * manual/locale.texi (setlocale): Document LOCPATH.
30098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30101 * manual/process.texi (execle): Move @dots{} before last argument.
30103 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30106 * manual/charset.texi (Generic Charset Conversion): Fix typo
30107 (LC_TYPE -> LC_CTYPE).
30109 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30112 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30113 (scalbnf): Likewise.
30114 (scalbnl): Likewise.
30115 (scalbln): Likewise.
30116 (scalblnf): Likewise.
30117 (scalblnl): Likewise.
30118 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30119 (vwarnx): Likewise.
30122 * manual/filesys.texi (telldir): Use braces around return type.
30123 * manual/llio.texi (mmap): Add space after comma.
30124 (mmap64): Likewise.
30125 * manual/math.texi (jn): Use @var{} on parameter names.
30131 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30133 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30135 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30136 (sched_get_priority_max): Likewise.
30137 * manual/signal.texi (sigvec): Add space after comma.
30138 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30140 (if_indextoname): Likewise.
30141 (if_freenameindex): Likewise.
30142 (sendto): Use ',' instead of '.' in prototype.
30143 * manual/startup.texi (syscall): Use @dots{} instead of literal
30145 * manual/stdio.texi (__fpending): Separate initial words of
30146 paragraph from @deftypefun line.
30147 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30149 (vsyslog): Use @var{} on parameter names.
30150 * manual/terminal.texi (stty): Use @var{} on parameter names.
30151 * manual/users.texi (getutmp): Use @var{} on parameter names.
30152 (getutmpx): Likewise.
30154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30157 * manual/stdio.texi (fopen): Fix typos in description of
30160 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30163 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30164 get clock_id definition.
30166 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30169 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30170 (madvise): Cast every argument to void on its own.
30172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30175 * manual/startup.texi (Exit Status): Fix typo.
30177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30180 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30181 * manual/examples/argp-ex2.c: Likewise.
30182 * manual/examples/argp-ex3.c: Likewise.
30184 2012-02-16 Richard Henderson <rth@redhat.com>
30186 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30187 * sysdeps/s390/s390-32/initfini.c: Remove.
30188 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30189 * sysdeps/s390/s390-64/initfini.c: Remove.
30191 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30193 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30194 compiler output for sysdeps/generic/initfini.c.
30195 * sysdeps/sh/elf/initfini.c: Remove file.
30197 2012-02-16 David S. Miller <davem@davemloft.net>
30200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30202 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30203 * sysdeps/sparc/crti.S: New file.
30204 * sysdeps/sparc/crtn.S: New file.
30205 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30206 * sysdeps/sparc/sparc64/Makefile: Likewise.
30208 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30211 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30213 2012-02-15 Roland McGrath <roland@hack.frob.com>
30216 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30218 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30219 (write, read, close): Likewise.
30220 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30222 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30224 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30225 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30226 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30227 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30229 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30233 2012-02-14 Marek Polacek <polacek@redhat.com>
30235 * sysdeps/x86_64/crti.S: New file.
30236 * sysdeps/x86_64/crtn.S: New file.
30237 * sysdeps/x86_64/elf/initfini.c: Remove file.
30239 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30241 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30242 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30243 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30244 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30246 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30250 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30252 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30254 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30255 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30257 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30261 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30264 __feraiseexcept instead of feraiseexcept.
30266 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30267 nanosleep invocations.
30268 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30269 strings, and add error checking for a nanosleep invocations.
30271 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30273 Replace FSF snail mail address with URLs, as per GNU coding standards.
30274 Most of the snail mail addresses were wrong anyway, and omitting
30275 them makes the source code easier to maintain. Almost all of the
30276 changes are to license notices and to locale LC_IDENTIFICATION
30277 addresses, except for this one:
30278 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30279 not its snail mail address.
30281 2012-02-09 Richard Henderson <rth@twiddle.net>
30283 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30284 of kernel-features.h.
30286 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30288 2012-02-08 Marek Polacek <polacek@redhat.com>
30290 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30291 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30292 * sysdeps/gnu/_G_config.h: Likewise.
30293 * sysdeps/generic/_G_config.h: Likewise.
30295 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30297 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30301 * sysdeps/powerpc/powerpc32/crti.S: New file.
30302 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30303 * sysdeps/powerpc/powerpc64/crti.S: New file.
30304 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30306 * Makeconfig (have-initfini): Don't set.
30307 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30308 * configure.in (nopic_initfini): Don't substitute.
30309 * config.h.in (HAVE_INITFINI): Don't #undef.
30310 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30311 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30313 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30315 Support crti.S and crtn.S provided directly by architectures.
30316 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30317 [crti.S in sysdirs] (omit-deps): Likewise.
30318 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30319 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30320 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30321 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30322 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30323 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30324 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30325 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30326 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30327 compiler output for sysdeps/generic/initfini.c.
30328 * sysdeps/i386/elf/Makefile: Remove file.
30329 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30331 2012-02-07 Marek Polacek <polacek@redhat.com>
30333 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30334 * sysdeps/gnu/_G_config.h: Likewise.
30335 * sysdeps/mach/hurd/_G_config.h: Likewise.
30337 2012-02-07 Marek Polacek <polacek@redhat.com>
30339 * math/Makefile (tests): Add tst-CMPLX2.
30340 * math/tst-CMPLX2.c: New file.
30342 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30346 * math/libm-test.inc (jn_test): Add missing L suffix.
30348 2012-02-06 Marek Polacek <polacek@redhat.com>
30350 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30351 * sysdeps/i386/fpu/e_powf.S: Likewise.
30352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30355 * sysdeps/i386/fpu/e_pow.S: Likewise.
30356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30360 * sysdeps/i386/fpu/e_log2.S: Likewise.
30361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30363 * sysdeps/i386/fpu/e_powl.S: Likewise.
30364 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30367 * sysdeps/i386/fpu/e_logl.S: Likewise.
30368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30369 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30374 * sysdeps/i386/fpu/e_log.S: Likewise.
30375 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30376 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30377 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30378 * sysdeps/i386/fpu/e_logf.S: Likewise.
30379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30381 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30384 * sysdeps/i386/fpu/e_log10.S: Likewise.
30385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30391 * sysdeps/i386/asm-syntax.h: Likewise.
30392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30395 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30396 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30398 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30399 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30401 * sysdeps/powerpc/sysdep.h: Likewise.
30402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30405 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30408 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30410 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30412 * sysdeps/i386/sysdep.h: Include <features.h>.
30413 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30416 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30420 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30426 (SETUP_PIC_REG): Use GET_PC_THUNK.
30427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30430 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30433 for non-PIC compilation.
30434 (SETUP_PIC_REG): Add .p2align directive.
30435 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30479 * math/tst-CMPLX.c: Include <stdio.h>.
30481 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30483 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30485 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30486 * sysdeps/sparc/bits/mathdef.h: Likewise.
30488 2012-01-31 Marek Polacek <polacek@redhat.com>
30490 * libio/libio.h: Don't define _PARAMS.
30491 * locale/programs/config.h: Don't define PARAMS.
30492 * stdlib/strtol_l.c: Likewise.
30493 (__strtol_l): Remove PARAMS from the prototype.
30495 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30497 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30498 names. Just use the correct names. Remove unnecessary wrapper
30500 * malloc/arena.c: Likewise.
30501 * malloc/hooks.c: Likewise.
30503 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30504 ARENA_TEST says not to. Simplify test for creation of a new arena.
30505 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30507 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30509 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30511 (update_get_addr): New function.
30512 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30513 GET_ADDR_MODULE parameter.
30515 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30517 * crypt/cert.c: Remove __STDC__ conditionals.
30518 * crypt/crypt-entry.c: Likewise.
30519 * crypt/crypt_util.c: Likewise.
30520 * libio/filedoalloc.c: Likewise.
30521 * libio/fileops.c: Likewise.
30522 * libio/genops.c: Likewise.
30523 * libio/iofclose.c: Likewise.
30524 * libio/iofdopen.c: Likewise.
30525 * libio/iofopen.c: Likewise.
30526 * libio/iofopen64.c: Likewise.
30527 * libio/iogetdelim.c: Likewise.
30528 * libio/iopopen.c: Likewise.
30529 * libio/obprintf.c: Likewise.
30530 * libio/oldfileops.c: Likewise.
30531 * libio/oldiofclose.c: Likewise.
30532 * libio/oldiofdopen.c: Likewise.
30533 * libio/oldiofopen.c: Likewise.
30534 * libio/oldiopopen.c: Likewise.
30535 * libio/wfiledoalloc.c: Likewise.
30536 * libio/wgenops.c: Likewise.
30537 * locale/programs/xmalloc.c: Likewise.
30538 * misc/syslog.c: Likewise.
30539 * stdio-common/xbug.c: Likewise.
30540 * string/memchr.c: Likewise.
30541 * string/memcmp.c: Likewise.
30542 * string/memrchr.c: Likewise.
30543 * string/rawmemchr.c: Likewise.
30544 * sysdeps/posix/getcwd.c: Likewise.
30545 * time/strftime_l.c: Likewise.
30547 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30549 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30550 * config.make.in (config-cflags-sse2avx): Define.
30551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30554 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30556 * scripts/config.guess: Update from upstream config git repository.
30557 * scripts/config.sub: Likewise.
30559 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30561 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30563 (R_TILEPRO_*, R_TILEGX_*): New macros.
30565 * scripts/firstversions.awk: Fix bug in version range handling.
30567 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30571 * include/sys/epoll.h: New file.
30572 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30575 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30577 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30578 Avoid unnecessary __WORDSIZE == 64 test.
30579 (fmaxf): Use VEX format if possible.
30584 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30585 * math/math_private.h: Remove libc_fegetround* and
30587 * sysdeps/i386/configure.in: Check for -msse2avx.
30588 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30589 also if SSE2AVX is defined.
30590 Remove libc_fegetround* and libc_fesetround*.
30591 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30592 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30601 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30603 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30609 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30612 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30614 * Makeconfig (libm): Define.
30615 * elf/Makefile: Add rules to build and run tst-relsort1.
30616 * elf/tst-relsort1.c: New file.
30617 * elf/tst-relsort1mod1.c: New file.
30618 * elf/tst-relsort1mod2.c: New file.
30620 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30622 * math/s_ldexp.c: Remove __STDC__ conditionals.
30623 * math/s_ldexpf.c: Likewise.
30624 * math/s_ldexpl.c: Likewise.
30625 * math/s_nextafter.c: Likewise.
30626 * math/s_nexttowardf.c: Likewise.
30627 * math/s_significand.c: Likewise.
30628 * math/s_significandf.c: Likewise.
30629 * math/s_significandl.c: Likewise.
30630 * math/w_jnl.c: Likewise.
30631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30666 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30667 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30671 * sysdeps/ieee754/k_standard.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30748 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30751 * sysdeps/ieee754/s_matherr.c: Likewise.
30752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30757 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30759 * crypt/md5.h: Remove __STDC__ conditionals.
30760 * libio/libioP.h: Likewise.
30761 * locale/programs/config.h: Likewise.
30762 * sysdeps/generic/sysdep.h: Likewise.
30763 * sysdeps/i386/asm-syntax.h: Likewise.
30764 * sysdeps/s390/asm-syntax.h: Likewise.
30765 * sysdeps/unix/sysdep.h: Likewise.
30766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30769 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30771 * libio/libio.h: Remove __STDC__ conditionals.
30772 * malloc/obstack.h: Likewise.
30773 * math/complex.h: Likewise.
30774 * math/math.h: Likewise.
30775 * sysdeps/generic/_G_config.h: Likewise.
30776 * sysdeps/gnu/_G_config.h: Likewise.
30777 * sysdeps/mach/hurd/_G_config.h: Likewise.
30778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30779 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30780 * sysdeps/sparc/bits/mathdef.h: Likewise.
30782 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30786 Clean up HAS_* macros.
30787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30788 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30798 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30800 * elf/tst-unique3.cc (gets): Remove declaration.
30801 * elf/tst-unique3lib.cc (gets): Likewise.
30802 * elf/tst-unique3lib2.cc (gets): Likewise.
30803 * elf/tst-unique4.cc (gets): Likewise.
30805 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30807 * include/stdio.h: Add C++ protection. Add gets declarations and
30809 * debug/tst-chk1.c: Don't declare gets here.
30810 * stdio-common/tst-gets.c: Likewise.
30812 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30814 * posix/glob: Remove directory.
30816 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30818 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30820 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30822 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30823 of the non-standard EPFNOSUPPORT.
30825 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30827 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30828 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30829 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30831 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30833 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30835 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30837 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30839 * nscd/grpcache.c (cache_addgr): Likewise.
30840 * nscd/hstcache.c (cache_addhst): Likewise.
30841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30842 * nscd/pwdcache.c (cache_addpw): Likewise.
30843 * nscd/servicescache.c (cache_addserv): Likewise.
30845 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30847 * malloc/malloc.c: Various cleanups.
30848 * malloc/hooks.c: Likewise.
30850 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30851 * stdlib/bug-fmtmsg1.c: New file.
30853 * stdlib/fmtmsg.c (init): Add missing unlock.
30854 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30856 2012-01-12 Marek Polacek <polacek@redhat.com>
30858 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30861 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30863 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30865 macro to ensure uniqueness of label name.
30866 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30867 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30869 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30874 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30878 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30882 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30883 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30886 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30888 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30889 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30893 * math/bits/math-finite.h: Add ldexp support.
30895 2012-01-10 Marek Polacek <polacek@redhat.com>
30897 * locale/programs/localedef.h (show_archive_content): Add noreturn
30900 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30904 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30906 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30908 * io/Makefile (headers): Add bits/poll2.h.
30910 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30913 typo #include statement.
30915 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30917 * include/sys/cdefs.h: Define __attribute_alloc_size.
30918 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30919 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30920 * elf/pldd.c: Likewise.
30921 * iconv/iconv_charmap.c: Likewise.
30922 * iconv/iconvconfig.c: Likewise.
30923 * iconv/strtab.c: Likewise.
30924 * locale/programs/locale.c: Likewise.
30925 * locale/programs/localedef.h: Likewise.
30926 * locale/programs/simple-hash.c: Likewise.
30927 * nscd/nscd.h: Likewise.
30928 * nss/makedb.c: Likewise.
30929 * sysdeps/generic/ldconfig.h: Likewise.
30930 * locale/programs/localedef.c: Remove xmalloc prototype.
30931 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30933 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30940 * math/Makefile (tests): Add tst-CMPLX.
30941 * math/tst-CMPLX.c: New file.
30943 * math/complex.h (CMPLXL): Fix typo.
30945 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30946 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30948 * debug/tst-chk1.c: Add poll and ppoll tests.
30949 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30950 * include/sys/poll.h: Add hidden proto for ppoll.
30951 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30952 * sysdeps/mach/hurd/ppoll.c: Likewise.
30953 * io/ppoll.c: Likewise.
30954 * debug/poll_chk.c: New file.
30955 * debug/ppoll_chk.c: New file.
30956 * include/bits/poll2.h: New file.
30957 * io/bits/poll2.h: New file.
30960 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30962 * configure.in: static is always set to yes. Remove.
30963 * config.make.in: Don't set build-static.
30964 * Makeconfig: Remove use of build-static.
30965 * dlfcn/Makefile: Likewise.
30966 * elf/Makefile: Likewise.
30967 * math/Makefile: Likewise.
30968 * misc/Makefile: Likewise.
30969 * nptl/Makefile: Likewise.
30970 * sysdeps/mach/hurd/Makefile: Likewise.
30972 * configure.in: PWD_P is not used anymore.
30973 * config.make.in: Remove PWD_P entry.
30975 * configure.in: Remove last remnants of RANLIB.
30976 No need to check for signed size_t anymore.
30977 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30979 Remove __builtin_expect test because we require at least gcc 3.4.
30980 * aclocal.m4: Likewise.
30982 * wcsmbs/mbrtoc16.c: Implement using towc function.
30983 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30984 * wcsmbs/wcsmbsload.c: Likewise.
30985 * iconv/gconv_simple.c: Likewise.
30986 * iconv/gconv_int.h: Likewise.
30987 * iconv/gconv_builtin.h: Likewise.
30988 * iconv/iconv_prog.c: Remove CHAR16 handling.
30990 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30992 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30994 * configure.in: Remove --with-elf and --enable-bounded options.
30995 Dont set base_machine for ia64. More non-ELF conditions removed.
30996 Remove testing and setting of leading underscore information.
30997 * config.make.in (build-bounded): Set to no.
30998 * config.h.in: Remove NO_UNDERSCORES entry.
30999 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31001 * csu/start.c: Remove !NO_UNDERSCORE code.
31002 * locale/localeinfo.h: Likewise.
31003 * sysdeps/generic/machine-gmon.h: Likewise.
31004 * sysdeps/generic/sysdep.h: Likewise.
31005 * sysdeps/i386/sysdep.h: Likewise.
31006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31007 * sysdeps/mach/sysdep.h: Likewise.
31008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31010 * sysdeps/sh/sysdep.h: Likewise.
31011 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31012 * sysdeps/unix/i386/sysdep.S: Likewise.
31013 * sysdeps/unix/sparc/start.c: Likewise.
31014 * sysdeps/unix/sparc/sysdep.S: Likewise.
31015 * sysdeps/unix/sparc/sysdep.h: Likewise.
31016 * sysdeps/unix/start.c: Likewise.
31017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31018 * sysdeps/x86_64/sysdep.h: Likewise.
31020 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31023 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31025 * argp/argp-fmtstream.h: Use const instead __const.
31026 * argp/argp.h: Likewise.
31027 * assert/assert.h: Likewise.
31028 * bits/fenv.h: Likewise.
31029 * bits/sched.h: Likewise.
31030 * bits/sigset.h: Likewise.
31031 * bits/sigthread.h: Likewise.
31032 * catgets/nl_types.h: Likewise.
31033 * conform/data/pthread.h-data: Likewise.
31034 * crypt/crypt-private.h: Likewise.
31035 * crypt/crypt.h: Likewise.
31036 * crypt/crypt_util.c: Likewise.
31037 * ctype/ctype.h: Likewise.
31038 * debug/execinfo.h: Likewise.
31039 * debug/mbsnrtowcs_chk.c: Likewise.
31040 * debug/mbsrtowcs_chk.c: Likewise.
31041 * debug/wcsnrtombs_chk.c: Likewise.
31042 * debug/wcsrtombs_chk.c: Likewise.
31043 * debug/wcstombs_chk.c: Likewise.
31044 * dirent/dirent.h: Likewise.
31045 * dlfcn/dlfcn.h: Likewise.
31046 * elf/neededtest4.c: Likewise.
31047 * grp/grp.h: Likewise.
31048 * gshadow/gshadow.h: Likewise.
31049 * iconv/gconv.h: Likewise.
31050 * iconv/gconv_int.h: Likewise.
31051 * iconv/gconv_simple.c: Likewise.
31052 * iconv/iconv.h: Likewise.
31053 * iconv/loop.c: Likewise.
31054 * iconv/skeleton.c: Likewise.
31055 * include/aio.h: Likewise.
31056 * include/aliases.h: Likewise.
31057 * include/argz.h: Likewise.
31058 * include/arpa/inet.h: Likewise.
31059 * include/assert.h: Likewise.
31060 * include/dirent.h: Likewise.
31061 * include/dlfcn.h: Likewise.
31062 * include/execinfo.h: Likewise.
31063 * include/fcntl.h: Likewise.
31064 * include/fenv.h: Likewise.
31065 * include/glob.h: Likewise.
31066 * include/grp.h: Likewise.
31067 * include/libintl.h: Likewise.
31068 * include/mntent.h: Likewise.
31069 * include/netdb.h: Likewise.
31070 * include/pwd.h: Likewise.
31071 * include/rpc/netdb.h: Likewise.
31072 * include/sched.h: Likewise.
31073 * include/search.h: Likewise.
31074 * include/shadow.h: Likewise.
31075 * include/signal.h: Likewise.
31076 * include/stdio.h: Likewise.
31077 * include/stdlib.h: Likewise.
31078 * include/string.h: Likewise.
31079 * include/sys/socket.h: Likewise.
31080 * include/sys/stat.h: Likewise.
31081 * include/sys/statfs.h: Likewise.
31082 * include/sys/statvfs.h: Likewise.
31083 * include/sys/syslog.h: Likewise.
31084 * include/sys/time.h: Likewise.
31085 * include/sys/uio.h: Likewise.
31086 * include/time.h: Likewise.
31087 * include/unistd.h: Likewise.
31088 * include/utmp.h: Likewise.
31089 * include/wchar.h: Likewise.
31090 * include/wctype.h: Likewise.
31091 * inet/aliases.h: Likewise.
31092 * inet/arpa/inet.h: Likewise.
31093 * inet/netinet/ether.h: Likewise.
31094 * inet/netinet/in.h: Likewise.
31095 * intl/libintl.h: Likewise.
31096 * io/bits/fcntl2.h: Likewise.
31097 * io/fcntl.h: Likewise.
31098 * io/ftw.h: Likewise.
31099 * io/sys/poll.h: Likewise.
31100 * io/sys/stat.h: Likewise.
31101 * io/sys/statfs.h: Likewise.
31102 * io/sys/statvfs.h: Likewise.
31103 * io/utime.h: Likewise.
31104 * libio/bits/stdio.h: Likewise.
31105 * libio/bits/stdio2.h: Likewise.
31106 * libio/libio.h: Likewise.
31107 * libio/libioP.h: Likewise.
31108 * libio/stdio.h: Likewise.
31109 * locale/lc-ctype.c: Likewise.
31110 * locale/locale.h: Likewise.
31111 * login/utmp.h: Likewise.
31112 * malloc/arena.c: Likewise.
31113 * malloc/malloc.c: Likewise.
31114 * malloc/malloc.h: Likewise.
31115 * malloc/mcheck.c: Likewise.
31116 * malloc/mtrace.c: Likewise.
31117 * math/bits/mathcalls.h: Likewise.
31118 * math/fenv.h: Likewise.
31119 * math/math_private.h: Likewise.
31120 * misc/bits/error.h: Likewise.
31121 * misc/bits/syslog.h: Likewise.
31122 * misc/err.h: Likewise.
31123 * misc/error.h: Likewise.
31124 * misc/fstab.h: Likewise.
31125 * misc/mntent.h: Likewise.
31126 * misc/regexp.h: Likewise.
31127 * misc/search.h: Likewise.
31128 * misc/sgtty.h: Likewise.
31129 * misc/sys/mman.h: Likewise.
31130 * misc/sys/syslog.h: Likewise.
31131 * misc/sys/uio.h: Likewise.
31132 * misc/sys/xattr.h: Likewise.
31133 * misc/ttyent.h: Likewise.
31134 * nis/rpcsvc/ypclnt.h: Likewise.
31135 * nss/nss.h: Likewise.
31136 * posix/bits/unistd.h: Likewise.
31137 * posix/fnmatch.h: Likewise.
31138 * posix/glob.h: Likewise.
31139 * posix/sched.h: Likewise.
31140 * posix/spawn.h: Likewise.
31141 * posix/sys/wait.h: Likewise.
31142 * posix/unistd.h: Likewise.
31143 * posix/wordexp.h: Likewise.
31144 * pwd/pwd.h: Likewise.
31145 * resolv/netdb.h: Likewise.
31146 * resource/sys/resource.h: Likewise.
31147 * rt/aio.h: Likewise.
31148 * rt/bits/mqueue2.h: Likewise.
31149 * rt/mqueue.h: Likewise.
31150 * shadow/shadow.h: Likewise.
31151 * signal/signal.h: Likewise.
31152 * socket/send.c: Likewise.
31153 * socket/sendto.c: Likewise.
31154 * socket/sys/socket.h: Likewise.
31155 * stdio-common/printf.h: Likewise.
31156 * stdlib/bits/stdlib.h: Likewise.
31157 * stdlib/fmtmsg.h: Likewise.
31158 * stdlib/monetary.h: Likewise.
31159 * stdlib/stdlib.h: Likewise.
31160 * stdlib/ucontext.h: Likewise.
31161 * streams/stropts.h: Likewise.
31162 * string/argz.h: Likewise.
31163 * string/bits/string2.h: Likewise.
31164 * string/string.h: Likewise.
31165 * string/strings.h: Likewise.
31166 * sunrpc/rpc/auth.h: Likewise.
31167 * sunrpc/rpc/auth_des.h: Likewise.
31168 * sunrpc/rpc/clnt.h: Likewise.
31169 * sunrpc/rpc/netdb.h: Likewise.
31170 * sunrpc/rpc/pmap_clnt.h: Likewise.
31171 * sunrpc/rpc/xdr.h: Likewise.
31172 * sysdeps/generic/inttypes.h: Likewise.
31173 * sysdeps/generic/net/if.h: Likewise.
31174 * sysdeps/generic/sys/swap.h: Likewise.
31175 * sysdeps/gnu/net/if.h: Likewise.
31176 * sysdeps/gnu/utmpx.h: Likewise.
31177 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31178 * sysdeps/i386/i486/bits/string.h: Likewise.
31179 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31180 * sysdeps/s390/bits/string.h: Likewise.
31181 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31182 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31183 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31184 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31185 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31186 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31187 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31189 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31190 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31191 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31193 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31195 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31203 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31204 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31205 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31206 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31209 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31210 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31211 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31212 * sysvipc/sys/ipc.h: Likewise.
31213 * sysvipc/sys/msg.h: Likewise.
31214 * sysvipc/sys/sem.h: Likewise.
31215 * sysvipc/sys/shm.h: Likewise.
31216 * termios/termios.h: Likewise.
31217 * time/sys/time.h: Likewise.
31218 * time/time.h: Likewise.
31219 * wcsmbs/bits/wchar2.h: Likewise.
31220 * wcsmbs/uchar.h: Likewise.
31221 * wcsmbs/wchar.h: Likewise.
31222 * wctype/wctype.h: Likewise.
31225 * Makeconfig: Remove all but ELF support including AIX support.
31226 * Makerules: Likewise.
31227 * config.h.in: Likewise.
31228 * config.make.in: Likewise.
31229 * configure: Likewise.
31230 * configure.in: Likewise.
31231 * csu/Makefile: Likewise.
31232 * csu/version.c: Likewise.
31233 * debug/Makefile: Likewise.
31234 * dlfcn/Makefile: Likewise.
31235 * elf/Makefile: Likewise.
31236 * extra-lib.mk: Likewise.
31237 * iconv/Makefile: Likewise.
31238 * include/libc-symbols.h: Likewise.
31239 * include/shlib-compat.h: Likewise.
31240 * resolv/Makefile: Likewise.
31241 * resolv/res_libc.c: Likewise.
31242 * rt/Makefile: Likewise.
31243 * sysdeps/i386/asm-syntax.h: Likewise.
31244 * sysdeps/i386/sysdep.h: Likewise.
31245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31246 * sysdeps/mach/sysdep.h: Likewise.
31247 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31248 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31249 * sysdeps/s390/asm-syntax.h: Likewise.
31250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31252 * sysdeps/sh/sysdep.h: Likewise.
31253 * sysdeps/unix/sparc/sysdep.h: Likewise.
31254 * sysdeps/wordsize-32/divdi3.c: Likewise.
31255 * sysdeps/x86_64/sysdep.h: Likewise.
31257 * argp/Versions: Remove _argp_unlock_xxx.
31260 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31261 * abilist/libBrokenLocale.abilist: Likewise.
31262 * abilist/libanl.abilist: Likewise.
31263 * abilist/libc.abilist: Likewise.
31264 * abilist/libcrypt.abilist: Likewise.
31265 * abilist/libdl.abilist: Likewise.
31266 * abilist/libm.abilist: Likewise.
31267 * abilist/libnsl.abilist: Likewise.
31268 * abilist/libpthread.abilist: Likewise.
31269 * abilist/libresolv.abilist: Likewise.
31270 * abilist/librt.abilist: Likewise.
31271 * abilist/libthread_db.abilist: Likewise.
31272 * abilist/libutil.abilist: Likewise.
31273 * abilist/libnss_db.abilist: New file.
31275 * scripts/abilist.awk: Add support for indirect functions.
31277 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31279 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31281 * shlib-versions: Remove entries for ports architectures.
31283 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31285 * elf/stackguard-macros.h: Remove support for IA-64.
31286 * elf/tst-auditmod1.c: Likewise.
31287 * sysdeps/generic/ldsodefs.h: Likewise.
31289 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31290 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31294 * configure.in: Remove --enable-omitfp support.
31296 * config.make.in: Likewise.
31297 * Makeconfig: Likewise.
31298 * manual/install.texi: Likewise.
31300 In case anyone cares, the IA-64 architecture could move to ports.
31301 * sysdeps/ia64/*: Removed.
31302 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31306 * configure.in: Remove entries for unsupported architectures.
31309 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31310 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31312 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31313 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31314 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31315 fall back to using wcrtomb.
31316 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31317 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31319 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31320 * wcsmbs/tst-c16c32-1.c: New file.
31322 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31325 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31327 * elf/tst-unique3.cc: Add explicit declaration of gets.
31328 * elf/tst-unique3lib.cc: Likewise.
31329 * elf/tst-unique3lib2.cc: Likewise.
31330 * elf/tst-unique4.cc: Likewise.
31332 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31334 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31337 * assert/assert.h (static_assert): Don't define for C++.
31338 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31339 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31341 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31343 * iconv/loop.c (single loop): Fix assertion in storing of
31346 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31348 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31350 * posix/getconf.c: Update copyright year.
31351 * nss/getent.c: Likewise.
31352 * nss/makedb.c: Likewise.
31353 * iconv/iconvconfig.c: Likewise.
31354 * iconv/iconv_prog.c: Likewise.
31355 * elf/ldconfig.c: Likewise.
31356 * elf/pldd.c: Likewise.
31357 * elf/sotruss.ksh: Likewise.
31358 * catgets/gencat.c: Likewise.
31359 * csu/version.c: Likewise.
31360 * elf/ldd.bash.in: Likewise.
31361 * elf/sprof.c (print_version): Likewise.
31362 * locale/programs/locale.c: Likewise.
31363 * locale/programs/localedef.c: Likewise.
31364 * login/programs/pt_chown.c: Likewise.
31365 * nscd/nscd.c (print_version): Likewise.
31366 * debug/xtrace.sh: Likewise.
31367 * malloc/memusage.sh: Likewise.
31368 * malloc/mtrace.pl: Likewise.
31369 * debug/catchsegv.sh: Likewise.
31371 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31373 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31376 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31379 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31380 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31382 * iconv/gconv_int.h: Likewise.
31383 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31384 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31385 from libc for GLIBC_2.16.
31386 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31387 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31388 * wcsmbs/uchar.h: Really define mbstate_t.
31389 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31390 * wcsmbs/c16rtomb.c: New file.
31391 * wcsmbs/mbrtoc16.c: New file.
31392 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31393 for C/POSIX locale.
31394 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31395 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31397 * wcsmbs/wchar.h: Add missing __restrict.
31399 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31402 * time/Makefile (routines): Add timespec_get.
31403 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31404 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31405 timespec for ISO C11.
31406 * time/timespec_get.c: New file.
31407 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31408 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31411 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31412 * stdlib/stdlib.h: Declare aligned_alloc.
31413 * Versions.def: Add GLIBC_2.16 for libc.
31414 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31417 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31420 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31424 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31427 * assert/assert.h (static_assert): Define.
31429 * version.h: Update for 2.16 development version.
31432 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31435 * version.h (RELEASE): Bump for 2.15 release.
31436 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31438 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31439 Patch by Marek Polacek <mpolacek@redhat.com>.
31441 * bits/byteswap.h: Protect long long constants with __extension__.
31442 * sysdeps/i386/bits/byteswap.h: Likewise.
31443 * sysdeps/ia64/bits/byteswap.h: Likewise.
31444 * sysdeps/s390/bits/byteswap.h: Likewise.
31445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31447 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31451 destination buffer.
31452 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31454 2011-12-23 Marek Polacek <polacek@redhat.com>
31456 * elf/dl-addr.c (determine_info): Add inline keyword.
31457 * elf/tst-auditmod4b.c (check_avx): Likewise.
31458 * elf/tst-auditmod6b.c (check_avx): Likewise.
31459 * elf/tst-auditmod6c.c (check_avx): Likewise.
31460 * elf/tst-auditmod7b.c (check_avx): Likewise.
31462 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31467 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31470 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31471 processing for last bytes.
31473 2011-08-06 Bruno Haible <bruno@clisp.org>
31476 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31477 U+0385, not to U+1FEE.
31480 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31481 entry for U+00A5 U+0301.
31483 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31486 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31487 buffer for the output is too small.
31489 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31493 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31494 SSE flags if possible.
31496 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31500 processing for last bytes.
31502 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31505 (syscall-list-default-options, syscall-list-default-condition)
31506 (syscall-list-includes): Define.
31507 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31508 list of ABIs and options and #if conditions for each ABI. Do not
31509 handle common syscalls between ABIs specially.
31510 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31512 (syscall-list-variants, syscall-list-32bit-options)
31513 (syscall-list-32bit-condition, syscall-list-64bit-options)
31514 (syscall-list-64bit-condition): Define.
31515 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31516 (syscall-list-variants, syscall-list-32bit-options)
31517 (syscall-list-32bit-condition, syscall-list-64bit-options)
31518 (syscall-list-64bit-condition): Define.
31519 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31521 (syscall-list-variants, syscall-list-32bit-options)
31522 (syscall-list-32bit-condition, syscall-list-64bit-options)
31523 (syscall-list-64bit-condition): Define.
31524 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31526 (syscall-list-variants, syscall-list-32bit-options)
31527 (syscall-list-32bit-condition, syscall-list-64bit-options)
31528 (syscall-list-64bit-condition): Define.
31530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31532 * locale/iso-639.def: Add brx entry.
31535 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31536 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31538 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31539 __feraiseexcept_renamed.
31541 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31544 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31545 EPOLLET with unsigned values.
31546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31549 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31550 to large cancellation.
31551 * math/s_cacoshf.c: Likewise.
31552 * math/s_cacoshl.c: Likewise.
31554 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31558 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31559 * math/s_cacoshf.c: Likewise.
31560 * math/s_cacoshl.c: Likewise.
31562 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31565 * iconv/gconv.h: Define __GCONV_SWAP.
31566 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31567 * iconvdata/utf-16.c: Likewise.
31568 * iconvdata/utf-32.c: Likewise.
31570 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31574 numerator after shifting it by one limb.
31576 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31578 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31579 under [__USE_EXTERN_INLINES].
31581 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31584 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31586 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31588 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31589 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31591 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31593 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31594 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31595 for strncasecmp/strncasecmp_l compilation.
31596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31597 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31599 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31602 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31605 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31608 * time/tzfile.c (__tzfile_read): Check values from file header.
31610 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31612 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31613 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31614 * powerpc/powerpc32/dl-start.S: Likewise.
31615 * powerpc/powerpc32/elf/start.S: Likewise.
31616 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31617 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31618 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31619 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31620 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31621 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31622 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31623 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31624 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31625 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31626 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31627 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31628 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31629 * powerpc/powerpc32/memset.S: Likewise.
31630 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31631 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31632 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31633 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31634 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31635 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31636 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31637 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31638 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31639 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31640 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31641 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31642 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31644 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31646 * math/libm-test.inc: Added more nearbyint tests.
31647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31652 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31654 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31657 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31659 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31660 Add wcscpy-ssse3 wcscpy-c.
31661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31662 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31663 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31664 * sysdeps/x86_64/wcschr.S: New file.
31665 * sysdeps/x86_64/wcsrchr.S: New file.
31666 * string/test-strcmp.c: Remove checking of wcscmp function for
31668 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31669 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31670 wcsrchr-sse2 wcsrchr-c.
31671 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31672 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31674 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31677 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31678 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31680 * wcsmbc/wcschr.c (WCSCHR): New macro.
31682 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31684 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31685 * wcsmbs/test-wcsrchr.c: New file.
31686 * string/test-strrchr.c: Add wcsrchr support.
31688 * wcsmbs/test-wcscpy.c: New file.
31689 * string/test-strcpy.c: Add wcscpy support.
31692 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31697 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31700 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31702 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31705 Minor optimizations.
31707 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31708 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31711 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31713 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31714 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31715 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31716 for gcc to avoid warnings.
31717 * inet/Makefile (tests): Add tst-checks.
31718 * inet/tst-checks.c: New file.
31720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31723 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31726 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31727 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31729 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31731 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31736 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31738 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31740 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31741 conditional on GCC version.
31742 (__arch_compare_and_exchange_val_8_acq)
31743 (__arch_compare_and_exchange_val_16_acq)
31744 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31745 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31746 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31748 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31750 * sysdeps/sh/backtrace.c: New file.
31752 2011-12-02 Andreas Schwab <schwab@redhat.com>
31754 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31757 2011-12-01 Andreas Schwab <schwab@redhat.com>
31759 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31760 falling back to utime.
31762 2011-11-30 Andreas Schwab <schwab@redhat.com>
31764 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31765 expectations for float.
31767 2011-11-29 Andreas Schwab <schwab@redhat.com>
31769 * locale/weight.h (findidx): Add parameter len.
31770 * locale/weightwc.h (findidx): Likewise.
31771 * posix/fnmatch_loop.c (FCT): Adjust caller.
31772 * posix/regcomp.c (build_equiv_class): Likewise.
31773 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31774 * posix/regexec.c (check_node_accept_bytes): Likewise.
31775 * string/strcoll_l.c (STRCOLL): Likewise.
31776 * string/strxfrm_l.c (STRXFRM): Likewise.
31778 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31780 * Makefile.in: Remove CVSOPT handling.
31781 * configure.in: Remove use of AC_REVISION.
31782 * iconvdata/Makefile (distribute): No need to filter out CVS.
31783 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31786 2011-11-16 Andreas Schwab <schwab@redhat.com>
31788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31789 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31790 [USE_AS_STRNCASECMP_L]: Likewise.
31791 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31792 NO_TLS_DIRECT_SEG_REFS.
31793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31794 Fix argument offsets for non-PIC.
31795 [USE_AS_STRNCASECMP_L]: Likewise.
31796 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31797 NO_TLS_DIRECT_SEG_REFS.
31799 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31801 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31803 * locale/loadlocale.c (_nl_load_locale): Likewise.
31805 2011-11-15 Andreas Schwab <schwab@redhat.com>
31807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31808 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31809 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31810 (SYSCALL_GETTIME): Set errno on error.
31812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31813 count references to noai6ai_cached.
31815 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31817 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31819 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31820 FD_CLOEXEC for /proc/self/maps.
31822 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31823 FD_CLOEXEC for /proc/meminfo.
31825 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31828 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31829 FD_CLOEXEC for given file.
31831 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31833 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31834 FD_CLOEXEC for /etc/hosts.
31835 (_gethtent): Likewise.
31837 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31839 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31840 cancellation and set FD_CLOEXEC for /etc/netgroup.
31842 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31843 reading /etc/publickey.
31845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31846 allow cancellation when reading /etc/group.
31848 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31850 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31852 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31853 when using data file.
31855 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31857 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31858 (write_nis_obj): Use "c" and "e" in fopen.
31860 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31862 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31864 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31866 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31868 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31871 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31873 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31875 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31877 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31878 file parsing and set FD_CLOEXEC.
31880 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31882 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31884 2011-11-14 Andreas Schwab <schwab@redhat.com>
31886 * malloc/arena.c (arena_get2): Don't call reused_arena when
31887 _int_new_arena failed.
31889 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31892 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31897 to compile strcasecmp and strncasecmp.
31898 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31899 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31903 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31906 locale-defines.sym to gen-as-const-headers.
31907 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31908 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31910 to compile strcasecmp and strncasecmp.
31911 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31912 strcasecmp_l and strncasecmp_l.
31913 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31914 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31915 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31917 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31919 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31920 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31921 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31922 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31923 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31925 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31927 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31928 result of SYSDEP_GETTIME_CPU to retval.
31929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31930 parameter list to macro. Remove trailing semicolon. Adjust users.
31932 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31940 from unused variable.
31942 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31944 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31947 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31950 * sunrpc/rpc_prot.c (rejected): Fix case value.
31952 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31953 unsigned long long int to avoid warnings in shift.
31955 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31957 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31961 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31964 * nis/nis_table.c (nis_list): Use variable of correct type for
31965 result of __follow_path call.
31967 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31969 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31970 of math functions ceil, trunc, floor, round, and sqrt, when
31971 avaliable on the platform.
31972 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31976 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31978 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31980 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31983 2011-11-11 Roland McGrath <roland@hack.frob.com>
31985 * include/unistd.h: Fix __readlink return type.
31986 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31988 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31990 * stdlib/ucontext.h: Undo last change for makecontext.
31992 2011-11-11 Andreas Schwab <schwab@redhat.com>
31994 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31996 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31997 * setjmp/setjmp.h: Mark functions as non-leaf.
31998 * setjmp/bits/setjmp2.h: Likewise.
31999 * stdlib/ucontext.h: Likewise.
32001 2011-11-10 Andreas Schwab <schwab@redhat.com>
32003 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32004 (reused_arena): Don't check arena limit.
32005 (arena_get2): Atomically check arena limit.
32007 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32009 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32010 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32015 2011-11-07 Andreas Schwab <schwab@redhat.com>
32017 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32018 handler when locking.
32020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32021 Fix size of allocated buffer.
32023 2011-11-04 Andreas Schwab <schwab@redhat.com>
32026 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32027 declarations for long double functions.
32028 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32030 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32032 2011-11-03 Andreas Schwab <schwab@redhat.com>
32034 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32037 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32040 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32042 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32044 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32046 * include/alloca.h (stackinfo_alloca_round): Define.
32047 (extend_alloca): Use it.
32048 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32049 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32052 * scripts/check-local-headers.sh: Ignore libaudit.h.
32054 * nscd/Makefile (extra-objs): Make recursively expanded.
32056 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32058 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32061 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32062 * posix/tst-rfc3484-2.c: Likewise.
32063 * posix/tst-rfc3484-3.c: Likewise.
32065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32067 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32069 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32070 process_vm_writev from libc using GLIBC_2.15 version.
32072 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32074 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32076 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32079 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32082 * nss/getent.c (initgroups_keys): Show error message in case no group
32085 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32086 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32087 __bump_nl_timestamp.
32088 * nscd/connections (nscd_init): When host database is served open
32089 netlink socket and request notification about configuration changes.
32090 (main_loop_poll): Track netlink file descriptor and bump timestamp
32091 in case data becomes available.
32092 (main_loop_epoll): Likewise.
32093 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32094 (database_pers_head): Add extra_data fileds.
32095 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32097 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32100 in6ai data, call __free_in6ai.
32101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32102 Add -DHAVE_NETLINK.
32103 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32104 interface information. Reuse previous data if netlink timestamp
32106 (__bump_nl_timestamp): New function.
32107 (__free_in6ai): New function.
32109 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32112 close_not_cancel_no_status here.
32113 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32115 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32118 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32121 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32122 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32123 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32125 2011-07-03 Andreas Jaeger <aj@suse.de>
32128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32129 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32130 * math/libm-test.inc (sin_test): Add test case.
32132 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32135 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32138 * elf/chroot_canon.c (chroot_canon): Cleanups.
32140 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32143 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32144 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32146 * string/test-strchr.c: Make usable for strchrnul testing.
32147 * string/test-strchrnul.c: New file.
32148 * string/Makefile (strop-tests): Add strchrnul.
32150 * po/it.po: Update from translation team.
32151 * po/es.po: Likewise.
32153 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32156 the three constants needed as parameters. Drop the others.
32157 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32158 __m128i_strloadu_tolower.
32159 Create and initialize variable zero and use it in all the places
32160 where _mm_setzero_si128 was used.
32162 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32163 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32164 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32170 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32172 __mpranred, __mptan.
32173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32183 2011-10-28 Andreas Schwab <schwab@redhat.com>
32185 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32186 redefine if SHARED.
32187 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32190 wide char related routines to wcsmbs subdir.
32192 2011-10-27 Andreas Schwab <schwab@redhat.com>
32195 * misc/sys/cdefs.h (__THROWNL): Define.
32196 * posix/unistd.h: Use __THREADNL instead of __THREAD
32197 for memory synchronization functions.
32199 2011-10-26 Roland McGrath <roland@hack.frob.com>
32202 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32204 * manual/stdio.texi (Obstack Streams): Node removed.
32206 2011-10-26 Andreas Schwab <schwab@redhat.com>
32208 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32212 * math/math_private.h (math_force_eval): Allow non-addressable
32214 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32216 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32219 file is not needed.
32221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32228 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32240 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32241 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32247 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32248 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32250 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32251 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32254 place. Use VEX encoding when compiling for AVX.
32256 2011-10-25 Andreas Schwab <schwab@redhat.com>
32258 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32261 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32265 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32266 useless if() expression.
32267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32287 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32289 2011-10-25 Andreas Schwab <schwab@redhat.com>
32291 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32295 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32297 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32298 .text section. Avoid duplicate constants.
32299 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32309 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32311 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32345 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32347 * sysdeps/x86_64/dla.h: Move to ...
32348 * sysdeps/x86_64/fpu/dla.h: ...here.
32349 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32350 situations. Use __builtin_fma only for gcc 4.6 and up.
32352 * config.make.in: Add have-mfma4 entry.
32353 * configure.in: Substitute libc_cv_cc_fma4.
32354 * math/Makefile (dbl-only-routines): Add sincostab.
32355 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32356 Use __sincostab not sincos.
32357 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32364 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32365 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32366 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32367 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32370 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32372 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32373 define aliases when function name is a macro.
32374 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32375 sysdeps/ieee754/dbl-64/sincos.tbl.
32376 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32377 fma4-enabled routines.
32378 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32380 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32381 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32382 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32388 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32389 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32390 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32409 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32420 2011-10-24 Andreas Schwab <schwab@redhat.com>
32422 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32424 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32432 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32433 Remove unused variable magic_bits.
32434 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32436 * string/strnlen.c: Define and use STRNLEN macro.
32437 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32438 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32440 * wcsmbs/wcslen.c: Define and use WCSLEN.
32441 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32442 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32443 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32444 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32446 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32449 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32452 strnlen-sse2-no-bsf.
32453 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32456 Add strnlen support.
32457 (USE_AS_STRNLEN): New macro.
32458 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32459 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32460 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32461 * sysdeps/x86_64/wcslen.S: New file.
32463 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32466 XMM-moves are used for copying on small sizes.
32468 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32470 * wcsmbs/Makefile (strop-tests): Add wcschr.
32471 * wcsmbs/test-wcschr.c: New file.
32472 * string/test-strchr.c: Update.
32473 Add wcschr support.
32476 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32478 * wcsmbs/Makefile (strop-tests): Add wcslen.
32479 * wcsmbs/test-wcslen.c: New file.
32480 * string/test-strlen.c: Update.
32481 Add wcslen support.
32484 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32486 * po/it.po: Update from translation team.
32488 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32490 * sysdeps/x86_64/wcscmp.S: Update.
32491 Fix wrong comparison semantics.
32492 wcscmp shall use signed comparison not unsigned.
32493 Don't use substraction to avoid overflow bug.
32494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32495 * wcsmbc/wcscmp.c: Likewise.
32496 * string/test-strcmp.c: Likewise.
32497 Add new tests to check cases with negative values.
32499 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32501 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32502 * sysdeps/x86_64/dla.h: ...here. New file.
32503 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32513 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32516 __ynl_finite aliases.
32518 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32522 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32524 [DLA_FMA] (EMULV): Use DLA_FMA.
32525 [DLA_FMA] (MUL12): Use EMULV.
32526 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32527 that are not needed.
32528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32536 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32538 * math/s_nan.c: Undef __nan.
32539 * math/s_nanf.c: Undef __nanf.
32540 * math/s_nanl.c: Undef __nanl.
32541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32544 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32546 * math/s_catan.c: Add branch predictions.
32547 * math/s_catanf.c: Likewise.
32548 * math/s_catanh.c: Likewise.
32549 * math/s_catanhf.c: Likewise.
32550 * math/s_catanhl.c: Likewise.
32551 * math/s_catanl.c: Likewise.
32552 * math/s_cexp.c: Likewise.
32553 * math/s_cexpf.c: Likewise.
32554 * math/s_cexpl.c: Likewise.
32555 * math/s_clog.c: Likewise.
32556 * math/s_clog10.c: Likewise.
32557 * math/s_clog10f.c: Likewise.
32558 * math/s_clog10l.c: Likewise.
32559 * math/s_clogf.c: Likewise.
32560 * math/s_clogl.c: Likewise.
32561 * math/s_csqrt.c: Likewise.
32562 * math/s_csqrtf.c: Likewise.
32563 * math/s_csqrtl.c: Likewise.
32564 * math/s_ctanf.c: Likewise.
32565 * math/s_ctanh.c: Likewise.
32566 * math/s_ctanhf.c: Likewise.
32567 * math/s_ctanhl.c: Likewise.
32568 * math/s_ctanl.c: Likewise.
32570 * math/math_private.h: Define __nan, __nanf, __nanl.
32571 * math/s_cacosh.c: Include <math_private.h>.
32572 * math/s_cacoshl.c: Likewise.
32573 * math/s_casinh.c: Likewise.
32574 * math/s_casinhf.c: Likewise.
32575 * math/s_casinhl.c: Likewise.
32576 * math/s_ccos.c: Rely entire on ccosh.
32577 * math/s_ccosf.c: Rely entire on ccoshf.
32578 * math/s_ccosl.c: Rely entirely on ccoshl.
32579 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32580 Remove tests for FE_INVALID.
32581 * math/s_ccoshf.c: Likewise.
32582 * math/s_ccoshl.c: Likewise.
32583 * math/s_csin.c: Likewise.
32584 * math/s_csinf.c: Likewise.
32585 * math/s_csinh.c Likewise.
32586 * math/s_csinhf.c: Likewise.
32587 * math/s_csinhl.c: Likewise.
32588 * math/s_csinl.c: Likewise.
32589 * math/s_ctan.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32591 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32594 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32597 compilation problems.
32599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32602 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32604 * sysdeps/i386/configure.in: Test for -mfma4 option.
32605 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32606 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32607 COMMON_CPUID_INDEX_80000001.
32608 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32610 use it if FMA3 is not supported.
32611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32613 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32614 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32616 2011-10-20 Andreas Schwab <schwab@redhat.com>
32619 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32620 it would create a cycle with a link time dependency.
32622 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32624 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32626 * string/Makefile (strop-tests): Add rawmemchr.
32627 * string/test-rawmemchr.c: New file.
32629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32631 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32632 when compiling str{,n}casecmp and when AVX is available. Hook up
32633 new optimized code in initializers.
32635 2011-10-19 Andreas Schwab <schwab@redhat.com>
32637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32638 __feraiseexcept instead of feraiseexcept.
32640 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32642 * math/math_private.h: Define defaults for libc_fetestexcept and
32644 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32650 libc_fetestexcept and libc_feupdateenv.
32652 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32653 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32654 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32655 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32656 libc_feholdexcept_setround.
32658 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32659 Add s_nearbyint-c and s_nearbyintf-c.
32660 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32661 nearbyintf inlines.
32662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32667 * math/math_private.h: Define defaults for libc_fegetround,
32668 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32669 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32670 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32672 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32673 standard functions.
32674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32675 Remove comments and hacks for old compiler versions.
32676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32677 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32678 libc_feholdexceptl.
32680 2011-10-18 Andreas Schwab <schwab@redhat.com>
32682 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32683 (__feraiseexcept_renamed): Add __NTH.
32684 (feraiseexcept): Add __NTH. Rename local variables to fix
32685 namespace violations.
32687 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32693 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32694 recently added interfaces.
32695 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32697 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32698 about macro parameter expansion.
32700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32701 __NO_MATH_INLINES is defined. Cleanups.
32703 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32704 and __floorf is target has SSE4.1.
32705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32710 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32712 (floorf): Likewise.
32714 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32716 2011-10-17 Andreas Schwab <schwab@redhat.com>
32718 * misc/sys/cdefs.h: Fix last change.
32720 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32723 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32725 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32727 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32734 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32736 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32737 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32738 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32739 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32742 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32751 ceil, ceilf, floor, floorf.
32753 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32754 Perform IRELATIVE relocations last.
32756 * elf/do-rel.h: Add another parameter nrelative, replacing the
32757 local variable with the same name. Change name of the function
32758 to end in Rel or Rela (uppercase).
32759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32760 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32761 elf_dynamic_do_##reloc function.
32763 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32765 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32766 is sufficient, at least on modern CPUs.
32768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32770 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32773 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32775 * math/bits/math-finite.h: Add entries for exp.
32776 * math/e_expl.c: Add __*_finite alias.
32777 * sysdeps/i386/fpu/e_exp.S: Likewise.
32778 * sysdeps/i386/fpu/e_expf.S: Likewise.
32779 * sysdeps/i386/fpu/e_expl.c: Likewise.
32780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32788 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32789 is sufficient, at least on modern CPUs.
32791 * ctype/ctype-info.c (__ctype_init): Define.
32792 * include/ctype.h (__ctype_init): Declare.
32793 (__ctype_b_loc): The variable is always initialized.
32794 (__ctype_toupper_loc): Likewise.
32795 (__ctype_tolower_loc): Likewise.
32796 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32797 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32799 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32801 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32803 * configure.in: Also look in $cxxmachine/include for C++ system
32806 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32808 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32809 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32810 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32811 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32813 (USE_AS_WMEMCMP): New macro.
32815 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32816 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32817 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32818 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32820 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32821 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32823 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32824 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32826 (USE_AS_WMEMCMP): New macro.
32827 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32828 * sysdeps/string/test-memcmp.c: Update.
32829 Fix simple_wmemcmp.
32831 * wcsmbs/wmemcmp.c: Update.
32832 (WMEMCMP): New macro.
32835 2011-10-12 Andreas Jaeger <aj@suse.de>
32838 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32840 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32842 * libio/iofwide.c (do_length): Avoid warning.
32844 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32846 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32848 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32850 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32851 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32852 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32853 * sysdeps/i386/i686/fpu/e_log.S: New file.
32854 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32855 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32857 * ctype/ctype.h: Add support for inlined isXXX functions when
32858 compiling C++ code.
32860 2011-10-14 Andreas Schwab <schwab@redhat.com>
32862 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32866 2011-10-13 Roland McGrath <roland@hack.frob.com>
32869 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32871 2011-10-13 Andreas Schwab <schwab@redhat.com>
32873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32874 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32877 * sysdeps/x86_64/memrchr.S: Check for zero size.
32879 * string/stratcliff.c: Add memrchr tests.
32881 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32884 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32885 rawmemchr-sse2 rawmemchr-sse2-bsf.
32886 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32887 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32888 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32889 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32890 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32891 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32892 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32893 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32896 * string/memrchr.c (MEMRCHR): New macro.
32898 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32900 Add integration with gcc's -ffinite-math-only and optimize wrapper
32902 * Versions.def: Define GLIBC_2.15 version for libm.
32903 * math/Makefile (headers): Add bits/math-finite.h.
32904 * math/bits/math-finite.h: New file.
32905 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32906 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32907 * math/e_acoshl.c: Add __*_finite alias.
32908 * math/e_acosl.c: Likewise.
32909 * math/e_asinl.c: Likewise.
32910 * math/e_atan2l.c: Likewise.
32911 * math/e_atanhl.c: Likewise.
32912 * math/e_coshl.c: Likewise.
32913 * math/e_exp10.c: Likewise.
32914 * math/e_exp10f.c: Likewise.
32915 * math/e_exp10l.c: Likewise.
32916 * math/e_exp2l.c: Likewise.
32917 * math/e_fmodl.c: Likewise.
32918 * math/e_gammal_r.c: Likewise.
32919 * math/e_hypotl.c: Likewise.
32920 * math/e_j0l.c: Likewise.
32921 * math/e_j1l.c: Likewise.
32922 * math/e_jnl.c: Likewise.
32923 * math/e_lgammal_r.c: Likewise.
32924 * math/e_log10l.c: Likewise.
32925 * math/e_log2l.c: Likewise.
32926 * math/e_logl.c: Likewise.
32927 * math/e_powl.c: Likewise.
32928 * math/e_sinhl.c: Likewise.
32929 * math/e_sqrtl.c: Likewise.
32930 * math/e_scalb.c: Completely rewritten and optimized.
32931 * math/e_scalbf.c: Likewise.
32932 * math/e_scalbl.c: Likewise.
32933 * math/w_acos.c: Likewise.
32934 * math/w_acosf.c: Likewise.
32935 * math/w_acosl.c: Likewise.
32936 * math/w_acosh.c: Likewise.
32937 * math/w_acoshf.c: Likewise.
32938 * math/w_acoshl.c: Likewise.
32939 * math/w_asin.c: Likewise.
32940 * math/w_asinf.c: Likewise.
32941 * math/w_asinl.c: Likewise.
32942 * math/w_atan2.c: Likewise.
32943 * math/w_atan2f.c: Likewise.
32944 * math/w_atan2l.c: Likewise.
32945 * math/w_atanh.c: Likewise.
32946 * math/w_atanhf.c: Likewise.
32947 * math/w_atanhl.c: Likewise.
32948 * math/w_exp10.c: Likewise.
32949 * math/w_exp10f.c: Likewise.
32950 * math/w_exp10l.c: Likewise.
32951 * math/w_fmod.c: Likewise.
32952 * math/w_fmodf.c: Likewise.
32953 * math/w_fmodl.c: Likewise.
32954 * math/w_j0.c: Likewise.
32955 * math/w_j0f.c: Likewise.
32956 * math/w_j0l.c: Likewise.
32957 * math/w_j1.c: Likewise.
32958 * math/w_j1f.c: Likewise.
32959 * math/w_j1l.c: Likewise.
32960 * math/w_jn.c: Likewise.
32961 * math/w_jnf.c: Likewise.
32962 * math/w_log.c: Likewise.
32963 * math/w_logf.c: Likewise.
32964 * math/w_logl.c: Likewise.
32965 * math/w_log10.c: Likewise.
32966 * math/w_log10f.c: Likewise.
32967 * math/w_log10l.c: Likewise.
32968 * math/w_log2.c: Likewise.
32969 * math/w_log2f.c: Likewise.
32970 * math/w_log2l.c: Likewise.
32971 * math/w_pow.c: Likewise.
32972 * math/w_powf.c: Likewise.
32973 * math/w_powl.c: Likewise.
32974 * math/w_remainder.c: Likewise.
32975 * math/w_remainderf.c: Likewise.
32976 * math/w_remainderl.c: Likewise.
32977 * math/w_scalb.c: Likewise.
32978 * math/w_scalbf.c: Likewise.
32979 * math/w_scalbl.c: Likewise.
32980 * math/w_sqrt.c: Likewise.
32981 * math/w_sqrtf.c: Likewise.
32982 * math/w_sqrtl.c: Likewise.
32983 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32984 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32986 * math/math_private.h: Declare __kernel_standard_f.
32987 * math/w_cosh.c: Remove cruft and optimize a bit.
32988 * math/w_coshf.c: Likewise.
32989 * math/w_coshl.c: Likewise.
32990 * math/w_exp2.c: Likewise.
32991 * math/w_exp2f.c: Likewise.
32992 * math/w_exp2l.c: Likewise.
32993 * math/w_hypot.c: Likewise.
32994 * math/w_hypotf.c: Likewise.
32995 * math/w_hypotl.c: Likewise.
32996 * math/w_lgamma.c: Likewise.
32997 * math/w_lgamma_r.c: Likewise.
32998 * math/w_lgammaf.c: Likewise.
32999 * math/w_lgammaf_r.c: Likewise.
33000 * math/w_lgammal.c: Likewise.
33001 * math/w_lgammal_r.c: Likewise.
33002 * math/w_sinh.c: Likewise.
33003 * math/w_sinhf.c: Likewise.
33004 * math/w_sinhl.c: Likewise.
33005 * math/w_tgamma.c: Likewise.
33006 * math/w_tgammaf.c: Likewise.
33007 * math/w_tgammal.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33010 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33011 Minor optimizations. Pretty printing. Remove cruft.
33012 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33016 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33017 * sysdeps/i386/fpu/e_asin.S: Likewise.
33018 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33019 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33020 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33021 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33025 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33026 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33027 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33028 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33029 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33030 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33031 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33032 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33033 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33034 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33035 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33036 * sysdeps/i386/fpu/e_log.S: Likewise.
33037 * sysdeps/i386/fpu/e_log10.S: Likewise.
33038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33040 * sysdeps/i386/fpu/e_log2.S: Likewise.
33041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33042 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33043 * sysdeps/i386/fpu/e_logf.S: Likewise.
33044 * sysdeps/i386/fpu/e_logl.S: Likewise.
33045 * sysdeps/i386/fpu/e_pow.S: Likewise.
33046 * sysdeps/i386/fpu/e_powf.S: Likewise.
33047 * sysdeps/i386/fpu/e_powl.S: Likewise.
33048 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33049 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33050 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33054 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33055 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33056 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33082 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33154 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33155 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33156 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33157 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33158 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33159 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33160 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33162 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33163 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33165 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33167 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33168 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33169 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33170 (__isnanf): Likewise.
33171 (__isinf_ns): Likewise.
33172 (__isinf_nsf): Likewise.
33173 (__finite): Likewise.
33174 (__finitef): Likewise.
33175 (__ieee754_sqrt): Define as macro.
33176 (__ieee754_sqrtf): Define as macro.
33177 (__ieee754_sqrtl): Define as macro.
33178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33180 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33181 __FINITE_MATH_ONLY__ consistent.
33182 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33184 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33186 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33191 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33193 * po/ja.po: Update from translation team.
33195 2011-10-08 Roland McGrath <roland@hack.frob.com>
33197 * locale/programs/locarchive.c (prepare_address_space): New function.
33198 (create_archive, enlarge_archive, open_archive): Use it.
33200 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33201 inside [SHARED], where it is used.
33203 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33205 * nss/getent.c (netgroup_keys): Remove unused variable.
33206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33208 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33210 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33215 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33216 * math/Makefile (libm-calls): Add s_isinf_ns.
33217 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33218 * math/multc3.c: Likewise.
33219 * math/s_casin.c: Likewise.
33220 * math/s_casinf.c: Likewise.
33221 * math/s_casinl.c: Likewise.
33222 * math/s_ccos.c: Likewise.
33223 * math/s_ccosf.c: Likewise.
33224 * math/s_ccosl.c: Likewise.
33225 * math/s_ctan.c: Likewise.
33226 * math/s_ctanf.c: Likewise.
33227 * math/s_ctanh.c: Likewise.
33228 * math/s_ctanhf.c: Likewise.
33229 * math/s_ctanhl.c: Likewise.
33230 * math/s_ctanl.c: Likewise.
33231 * math/w_fmod.c: Likewise.
33232 * math/w_fmodf.c: Likewise.
33233 * math/w_fmodl.c: Likewise.
33234 * math/w_remainder.c: Likewise.
33235 * math/w_remainderf.c: Likewise.
33236 * math/w_remainderl.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33238 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33241 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33242 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33243 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33244 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33246 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33248 * stdio-common/printf_fphex.c: Likewise.
33249 * stdio-common/printf_size.c: Likewise.
33251 * math/e_exp10.c: Include math_private.h using <...> not "...".
33252 * math/e_exp10f.c: Likewise.
33253 * math/e_exp10l.c: Likewise.
33254 * math/e_exp2l.c: Likewise.
33255 * math/e_j0l.c: Likewise.
33256 * math/e_j1l.c: Likewise.
33257 * math/e_jnl.c: Likewise.
33258 * math/e_lgammal_r.c: Likewise.
33259 * math/e_rem_pio2l.c: Likewise.
33260 * math/e_scalb.c: Likewise.
33261 * math/e_scalbf.c: Likewise.
33262 * math/e_scalbl.c: Likewise.
33263 * math/k_cosl.c: Likewise.
33264 * math/k_sinl.c: Likewise.
33265 * math/k_tanl.c: Likewise.
33266 * math/s_cacoshf.c: Likewise.
33267 * math/s_catan.c: Likewise.
33268 * math/s_catanf.c: Likewise.
33269 * math/s_catanh.c: Likewise.
33270 * math/s_catanhf.c: Likewise.
33271 * math/s_catanhl.c: Likewise.
33272 * math/s_catanl.c: Likewise.
33273 * math/s_ccosh.c: Likewise.
33274 * math/s_ccoshf.c: Likewise.
33275 * math/s_ccoshl.c: Likewise.
33276 * math/s_cexp.c: Likewise.
33277 * math/s_cexpf.c: Likewise.
33278 * math/s_cexpl.c: Likewise.
33279 * math/s_clog.c: Likewise.
33280 * math/s_clog10.c: Likewise.
33281 * math/s_clog10f.c: Likewise.
33282 * math/s_clog10l.c: Likewise.
33283 * math/s_clogf.c: Likewise.
33284 * math/s_clogl.c: Likewise.
33285 * math/s_csin.c: Likewise.
33286 * math/s_csinf.c: Likewise.
33287 * math/s_csinh.c: Likewise.
33288 * math/s_csinhf.c: Likewise.
33289 * math/s_csinhl.c: Likewise.
33290 * math/s_csinl.c: Likewise.
33291 * math/s_csqrt.c: Likewise.
33292 * math/s_csqrtf.c: Likewise.
33293 * math/s_csqrtl.c: Likewise.
33294 * math/s_ctan.c: Likewise.
33295 * math/s_ctanf.c: Likewise.
33296 * math/s_ctanh.c: Likewise.
33297 * math/s_ctanhf.c: Likewise.
33298 * math/s_ctanhl.c: Likewise.
33299 * math/s_ctanl.c: Likewise.
33300 * math/s_ldexp.c: Likewise.
33301 * math/s_ldexpf.c: Likewise.
33302 * math/s_ldexpl.c: Likewise.
33303 * math/s_significand.c: Likewise.
33304 * math/s_significandf.c: Likewise.
33305 * math/s_significandl.c: Likewise.
33306 * math/w_acos.c: Likewise.
33307 * math/w_acosf.c: Likewise.
33308 * math/w_acosh.c: Likewise.
33309 * math/w_acoshf.c: Likewise.
33310 * math/w_acoshl.c: Likewise.
33311 * math/w_acosl.c: Likewise.
33312 * math/w_asin.c: Likewise.
33313 * math/w_asinf.c: Likewise.
33314 * math/w_asinl.c: Likewise.
33315 * math/w_atan2.c: Likewise.
33316 * math/w_atan2f.c: Likewise.
33317 * math/w_atan2l.c: Likewise.
33318 * math/w_atanh.c: Likewise.
33319 * math/w_atanhf.c: Likewise.
33320 * math/w_atanhl.c: Likewise.
33321 * math/w_cosh.c: Likewise.
33322 * math/w_coshf.c: Likewise.
33323 * math/w_coshl.c: Likewise.
33324 * math/w_dremf.c: Likewise.
33325 * math/w_exp10.c: Likewise.
33326 * math/w_exp10f.c: Likewise.
33327 * math/w_exp10l.c: Likewise.
33328 * math/w_exp2.c: Likewise.
33329 * math/w_exp2f.c: Likewise.
33330 * math/w_fmod.c: Likewise.
33331 * math/w_fmodf.c: Likewise.
33332 * math/w_fmodl.c: Likewise.
33333 * math/w_hypot.c: Likewise.
33334 * math/w_hypotf.c: Likewise.
33335 * math/w_hypotl.c: Likewise.
33336 * math/w_j0.c: Likewise.
33337 * math/w_j0f.c: Likewise.
33338 * math/w_j0l.c: Likewise.
33339 * math/w_j1.c: Likewise.
33340 * math/w_j1f.c: Likewise.
33341 * math/w_j1l.c: Likewise.
33342 * math/w_jn.c: Likewise.
33343 * math/w_jnf.c: Likewise.
33344 * math/w_jnl.c: Likewise.
33345 * math/w_lgamma.c: Likewise.
33346 * math/w_lgamma_r.c: Likewise.
33347 * math/w_lgammaf.c: Likewise.
33348 * math/w_lgammaf_r.c: Likewise.
33349 * math/w_lgammal.c: Likewise.
33350 * math/w_lgammal_r.c: Likewise.
33351 * math/w_log.c: Likewise.
33352 * math/w_log10.c: Likewise.
33353 * math/w_log10f.c: Likewise.
33354 * math/w_log10l.c: Likewise.
33355 * math/w_log2.c: Likewise.
33356 * math/w_log2f.c: Likewise.
33357 * math/w_log2l.c: Likewise.
33358 * math/w_logf.c: Likewise.
33359 * math/w_logl.c: Likewise.
33360 * math/w_pow.c: Likewise.
33361 * math/w_powf.c: Likewise.
33362 * math/w_powl.c: Likewise.
33363 * math/w_remainder.c: Likewise.
33364 * math/w_remainderf.c: Likewise.
33365 * math/w_remainderl.c: Likewise.
33366 * math/w_scalb.c: Likewise.
33367 * math/w_scalbf.c: Likewise.
33368 * math/w_scalbl.c: Likewise.
33369 * math/w_sinh.c: Likewise.
33370 * math/w_sinhf.c: Likewise.
33371 * math/w_sinhl.c: Likewise.
33372 * math/w_sqrt.c: Likewise.
33373 * math/w_sqrtf.c: Likewise.
33374 * math/w_sqrtl.c: Likewise.
33375 * math/w_tgamma.c: Likewise.
33376 * math/w_tgammaf.c: Likewise.
33377 * math/w_tgammal.c: Likewise.
33379 * po/ja.po: Update from translation team.
33381 2011-09-29 Andreas Jaeger <aj@suse.de>
33384 * sunrpc/netname.c (netname2host): Fix logic.
33388 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33390 * math/w_remainder.c (__remainder): Likewise.
33391 * math/w_remainderf.c (__remainderf): Likewise.
33392 * math/libm-test.inc (remainder_test): Add test cases.
33394 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33396 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33399 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33401 * string/test-memcmp.c: Avoid unncessary #defines.
33402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33404 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33406 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33407 Use new sse2 version for core i3 - i7 as it's faster
33408 than sse42 version.
33409 (bit_Prefer_PMINUB_for_stringop): New.
33410 * sysdeps/x86_64/rawmemchr.S: Update.
33411 Replace with faster SSE2 version.
33412 * sysdeps/x86_64/memrchr.S: New file.
33413 * sysdeps/x86_64/memchr.S: Update.
33414 Replace with faster SSE2 version.
33416 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33418 * elf/dl-load.c (lose): Add cast to avoid warning.
33420 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33422 * po/ca.po: Update from translation team.
33424 * inet/getnetgrent_r.c: Hook up nscd.
33425 * nscd/Makefile (routines): Add nscd_netgroup.
33426 (nscd-modules): Add netgroupcache.
33427 (CFLAGS-netgroupcache.c): Define.
33428 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33429 (cache_search): Add const to second parameter.
33430 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33432 (dbs): Add netgrdb entry.
33433 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33434 (verify_persistent_db): Handle netgrdb.
33435 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33436 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33438 (netgroup_response_header): Define.
33439 (innetgroup_response_header): Define.
33440 (datahead): Add netgroup_response_header and innetgroup_response_header
33442 * nscd/nscd.conf: Add entries for netgroup cache.
33443 * nscd/nscd.h (dbtype): Add netgrdb.
33444 (_PATH_NSCD_NETGROUP_DB): Define.
33445 (netgroup_iov_disabled): Declare.
33446 (xmalloc, xcalloc, xrealloc): Move declarations here.
33447 (cache_search): Adjust prototype.
33448 Add netgroup-related prototypes.
33449 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33450 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33451 (__nscd_innetgr): Declare.
33452 * nscd/selinux.c (perms): Use access_vector_t as element type and
33453 add netgroup-related initializers.
33454 * nscd/netgroupcache.c: New file.
33455 * nscd/nscd_netgroup.c: New file.
33456 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33457 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33458 For four parameters use innetgr.
33459 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33460 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33461 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33462 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33464 * nscd/connections.c (register_traced_file): Don't register file
33465 for disabled databases.
33467 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33469 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33471 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33472 from tree and freeing node.
33474 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33476 * nss/nsswitch.c (__nss_database_lookup): Handle
33477 nss_parse_service_list out of memory case.
33479 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33481 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33482 out of memory case.
33484 2011-10-04 Andreas Schwab <schwab@redhat.com>
33486 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33487 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33489 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33490 elf_machine_rela, elf_machine_lazy_rel.
33491 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33492 (ELF_DYNAMIC_DO_REL): Likewise.
33493 (ELF_DYNAMIC_DO_RELA): Likewise.
33494 (ELF_DYNAMIC_RELOCATE): Likewise.
33495 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33496 to ELF_DYNAMIC_DO_REL.
33497 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33498 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33499 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33502 skip_ifunc, don't call ifunc function if non-zero.
33503 (elf_machine_rela): Likewise.
33504 (elf_machine_lazy_rel): Likewise.
33505 (elf_machine_lazy_rela): Likewise.
33506 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33507 (elf_machine_lazy_rel): Likewise.
33508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33510 (elf_machine_lazy_rel): Likewise.
33511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33513 (elf_machine_lazy_rel): Likewise.
33514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33515 (elf_machine_lazy_rel): Likewise.
33516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33517 (elf_machine_lazy_rel): Likewise.
33518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33519 (elf_machine_lazy_rel): Likewise.
33520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33521 (elf_machine_lazy_rel): Likewise.
33522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33523 (elf_machine_lazy_rel): Likewise.
33524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33525 (elf_machine_lazy_rel): Likewise.
33527 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33529 * nss/nss_files/files-init.c (_nss_files_init): Use static
33530 initialization for all the *_traced_file variables.
33532 2011-09-28 Andreas Schwab <schwab@redhat.com>
33534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33536 2011-09-27 Roland McGrath <roland@hack.frob.com>
33539 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33541 2011-09-27 Andreas Schwab <schwab@redhat.com>
33543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33544 Reread the line before reparsing it.
33546 2011-09-26 Andreas Schwab <schwab@redhat.com>
33548 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33550 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33551 Maxim Kuvyrkov <maxim@codesourcery.com>
33552 Joseph Myers <joseph@codesourcery.com>
33554 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33555 if needed for __stack_chk_guard.
33557 2011-09-19 Roland McGrath <roland@hack.frob.com>
33559 * sysdeps/posix/spawni.c (script_execute): Always define it.
33560 It will be optimized away if unused.
33561 (maybe_script_execute): New function.
33562 (__spawni): Call it.
33564 * Makerules: Don't include tls.make.
33565 (config-tls): Always set to thread.
33566 * tls.make.c: File removed.
33568 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33570 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33571 * config.make.in (CPPFLAGS-config): New substituted variable.
33573 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33578 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33579 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33581 2011-09-15 Roland McGrath <roland@hack.frob.com>
33583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33584 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33586 (CALL_FAIL): Likewise.
33587 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33588 (CALL_FAIL): Macro removed.
33589 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33591 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33594 for __FINITE_MATH_ONLY__ == 1.
33596 2011-09-15 Andreas Schwab <schwab@redhat.com>
33598 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33599 __ieee754_sqrt instead of sqrt.
33600 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33601 __ieee754_sqrtf instead of sqrtf.
33602 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33603 __floorf instead of floorf.
33604 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33605 __floorf, __truncf instead of floorf, truncf.
33607 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33609 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33611 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33612 __extern_always_inline.
33613 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33616 2011-09-14 Andreas Schwab <schwab@redhat.com>
33618 * elf/rtld.c (dl_main): Also relocate in dependency order when
33619 doing symbol dependency testing.
33621 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33624 Always define `refsym'.
33626 2011-09-13 Andreas Schwab <schwab@redhat.com>
33628 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33629 (__FD_ELT): Renamed from __FDELT.
33630 * misc/bits/select2.h (__FD_ELT): Likewise.
33631 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33632 __FD_MASK instead of __FDELT, __FDMASK.
33633 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33635 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33638 * elf/Makefile (gen-ldd): Fix pattern.
33640 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33641 (init_tls): Likewise.
33643 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33647 2011-09-12 Andreas Schwab <schwab@redhat.com>
33649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33650 `struct cmsghdr *' instead of `void *'.
33651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33654 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33656 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33658 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33659 ldd_rewrite_script.
33661 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33663 * configure.in: Remove --with-tls option.
33664 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33665 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33666 out in case it is missing.
33667 * sysdeps/ia64/elf/configure.in: Likewise.
33668 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33669 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33670 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33671 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33672 * sysdeps/sh/elf/configure.in: Likewise.
33673 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33674 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33675 * sysdeps/x86_64/elf/configure.in: Likewise.
33676 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33677 * sysdeps/mach/hurd/tls.h: Likewise.
33680 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33683 * configure.in: Fix use of AC_INIT.
33685 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33687 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33689 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33691 * malloc/hooks.c: Likewise.
33694 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33695 variables statically.
33696 (narenas): Initialize.
33697 (list_lock): Initialize.
33698 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33699 initializtion of main_arena and list_lock. Small cleanups.
33700 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33701 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33702 Add initializers to main_arena and mp_.
33703 (malloc_state): Remove pagesize member. Change all users to use
33706 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33707 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33708 is always initialized.
33710 * malloc/malloc.c: Removed unused configurations and dead code.
33711 * malloc/arena.c: Likewise.
33712 * malloc/hooks.c: Likewise.
33713 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33715 * include/tls.h: Removed. USE___THREAD must always be defined.
33716 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33717 * elf/dl-libc.c: Likewise.
33718 * elf/dl-tsd.c: Likewise.
33719 * include/errno.h: Likewise.
33720 * include/netdb.h: Likewise.
33721 * include/resolv.h: Likewise.
33722 * inet/herrno-loc.c: Likewise.
33723 * inet/herrno.c: Likewise.
33724 * malloc/arena.c: Likewise.
33725 * malloc/hooks.c: Likewise.
33726 * malloc/malloc.c: Likewise.
33727 * resolv/res-state.c: Likewise.
33728 * resolv/res_libc.c: Likewise.
33729 * sysdeps/i386/dl-machine.h: Likewise.
33730 * sysdeps/ia64/dl-machine.h: Likewise.
33731 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33733 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33734 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33735 * sysdeps/sh/dl-machine.h: Likewise.
33736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33738 * sysdeps/unix/i386/sysdep.S: Likewise.
33739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33740 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33745 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33750 * sysdeps/x86_64/dl-machine.h: Likewise.
33751 * tls.make.c: Likewise.
33753 * configure.in: Remove --with-__thread option. Make tests for
33754 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33755 tls_model attribute fail if no support is available. Remove
33757 * Makeconfig: Adjust for dropped configure option. All features are
33759 * Makerules: Likewise.
33760 * Versions.def: Likewise.
33761 * argp/argp-fmtstream.c: Likewise.
33762 * argp/argp-fmtstream.h: Likewise.
33763 * argp/argp-help.c: Likewise.
33764 * assert/assert.c: Likewise.
33765 * config.h.in: Likewise.
33766 * config.make.in: Likewise.
33767 * configure: Likewise.
33768 * configure.in: Likewise.
33769 * csu/Versions: Likewise.
33770 * csu/init.c: Likewise.
33771 * elf/tst-audit2.c: Likewise.
33772 * elf/tst-tls10.c: Likewise.
33773 * elf/tst-tls10.h: Likewise.
33774 * elf/tst-tls11.c: Likewise.
33775 * elf/tst-tls12.c: Likewise.
33776 * elf/tst-tls14.c: Likewise.
33777 * elf/tst-tlsmod11.c: Likewise.
33778 * elf/tst-tlsmod12.c: Likewise.
33779 * elf/tst-tlsmod13.c: Likewise.
33780 * elf/tst-tlsmod13a.c: Likewise.
33781 * elf/tst-tlsmod14a.c: Likewise.
33782 * elf/tst-tlsmod15b.c: Likewise.
33783 * elf/tst-tlsmod16a.c: Likewise.
33784 * elf/tst-tlsmod16b.c: Likewise.
33785 * elf/tst-tlsmod7.c: Likewise.
33786 * elf/tst-tlsmod8.c: Likewise.
33787 * elf/tst-tlsmod9.c: Likewise.
33788 * gmon/gmon.c: Likewise.
33789 * grp/fgetgrent_r.c: Likewise.
33790 * grp/putgrent.c: Likewise.
33791 * hurd/fopenport.c: Likewise.
33792 * include/libc-symbols.h: Likewise.
33793 * include/tls.h: Likewise.
33794 * intl/gettextP.h: Likewise.
33795 * intl/loadinfo.h: Likewise.
33796 * locale/global-locale.c: Likewise.
33797 * locale/localeinfo.h: Likewise.
33798 * mach/devstream.c: Likewise.
33799 * malloc/arena.c: Likewise.
33800 * malloc/set-freeres.c: Likewise.
33801 * misc/err.c: Likewise.
33802 * misc/getttyent.c: Likewise.
33803 * misc/mntent_r.c: Likewise.
33804 * posix/getopt.c: Likewise.
33805 * posix/wordexp.c: Likewise.
33806 * pwd/fgetpwent_r.c: Likewise.
33807 * resolv/Versions: Likewise.
33808 * resolv/res_hconf.c: Likewise.
33809 * shadow/fgetspent_r.c: Likewise.
33810 * shadow/putspent.c: Likewise.
33811 * stdio-common/printf_fphex.c: Likewise.
33812 * stdio-common/tmpfile.c: Likewise.
33813 * stdlib/abort.c: Likewise.
33814 * stdlib/fmtmsg.c: Likewise.
33815 * sunrpc/auth_unix.c: Likewise.
33816 * sunrpc/clnt_perr.c: Likewise.
33817 * sunrpc/clnt_tcp.c: Likewise.
33818 * sunrpc/clnt_udp.c: Likewise.
33819 * sunrpc/clnt_unix.c: Likewise.
33820 * sunrpc/openchild.c: Likewise.
33821 * sunrpc/svc_simple.c: Likewise.
33822 * sunrpc/svc_tcp.c: Likewise.
33823 * sunrpc/svc_udp.c: Likewise.
33824 * sunrpc/svc_unix.c: Likewise.
33825 * sunrpc/xdr.c: Likewise.
33826 * sunrpc/xdr_array.c: Likewise.
33827 * sunrpc/xdr_rec.c: Likewise.
33828 * sunrpc/xdr_ref.c: Likewise.
33829 * sunrpc/xdr_stdio.c: Likewise.
33831 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33833 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33835 2011-07-03 Andreas Jaeger <aj@suse.de>
33837 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33838 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33839 regenerate with gen-libm-tests.pl.
33841 2010-05-12 Petr Baudis <pasky@suse.cz>
33844 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33845 around j0() zero points by switching to j1().
33846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33858 Patch in part by Pavel Roskin <proski@gnu.org>.
33861 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33863 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33864 Free memory block if necessary.
33867 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33868 be NULL. Don't lock in this case.
33870 2011-09-09 Roland McGrath <roland@hack.frob.com>
33872 * elf/elf.h (ELFOSABI_GNU): New macro.
33873 (ELFOSABI_LINUX): Define to that.
33875 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33877 * string/strncat.c (strncat): Undef the symbol in case it has been
33878 defined in bits/string.h.
33880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33882 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33884 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33887 2011-08-17 Andreas Jaeger <aj@suse.de>
33889 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33891 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33892 Ian Lance Taylor <iant@google.com>
33894 * math/libm-test.inc (lround_test): New testcase.
33895 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33897 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33899 * Makefile: Remove support for automatic cvs check-ins.
33900 * Makerules: Likewise.
33901 * config.make.in: Likewise.
33902 * configure.in: Likewise.
33903 * intl/Makefile: Likewise.
33904 * locale/Makefile: Likewise.
33905 * po/Makefile: Likewise.
33906 * posix/Makefile: Likewise.
33907 * sysdeps/gnu/Makefile: Likewise.
33908 * sysdeps/mach/hurd/Makefile: Likewise.
33909 * sysdeps/sparc/sparc32/Makefile: Likewise.
33912 * posix/Makefile (bug-regex32-ENV): Define.
33913 Patch by John Stanley <jpsinthemix@verizon.net>.
33915 * misc/Makefile (headers): Add bits/select2.h.
33916 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33917 * misc/bits/select2.h: New file.
33918 * include/bits/select2.h: New file.
33919 * debug/Makefile (routines): Add fdelt_chk.
33920 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33921 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33923 * debug/fdelt_chk.c: New file.
33925 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33926 * wcsmbs/test-wmemcmp.c: Likewise.
33927 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33928 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33930 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33932 * string/Makefile (strop-tests): Add memcmp.
33933 * string/test-wmemcmp.c: New file.
33934 * string/test-memcmp.c: Add wmemcmp support.
33936 2011-09-08 Roland McGrath <roland@hack.frob.com>
33939 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33942 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33943 garbage value in a __mach_port_mod_refs call in the cases of the
33944 task-self and thread-self ports.
33946 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33948 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33950 2011-09-08 Andreas Schwab <schwab@redhat.com>
33952 * elf/dl-load.c (lose): Check for non-null L.
33954 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33956 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33958 * elf/dl-libc.c (dlerror_run): Pass back error code from
33962 * elf/dl-load.c (lose): Free l_origin if it is valid.
33964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33966 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33971 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33973 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33975 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33976 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33978 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33979 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33980 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33981 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33982 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33983 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33984 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33986 2011-08-15 Alan Modra <amodra@gmail.com>
33989 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33990 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33991 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33992 ppc_mcount to static-only-routines.
33993 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33995 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33996 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33998 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34000 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34001 for finite and infinity parameters.
34003 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34006 and add nop instructions for throughput optimization.
34007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34009 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34012 aligned copy for power7 with vector-scalar instructions.
34013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34015 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34020 2011-09-07 Andreas Schwab <schwab@redhat.com>
34023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34026 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34029 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34030 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34034 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34037 Forgot to demangle the pointer.
34039 * sysdeps/i386/sysdep.h: Define atom_text_section.
34040 * sysdeps/x86_64/sysdep.h: Likewise.
34041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34042 section with atom_text_section.
34043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34051 already be defined. Change to take two parameters and don't assign
34052 result to variable. Adjust all users.
34053 Define INTERNAL_GETTIME if not already defined.
34054 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34057 HAVE_CLOCK_GETTIME_VSYSCALL.
34058 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34061 gettimeofday vsyscall, just use time.
34063 2011-09-06 Andreas Schwab <schwab@redhat.com>
34065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34068 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34070 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34074 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34076 syscall if possible.
34078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34080 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34081 e_ident. Don't pass to find_mapsXX.
34082 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34084 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34087 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34088 * sysdeps/x86_64/multiarch/strchr.S: Update.
34089 Check bit_slow_BSF bit.
34090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34094 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34097 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34099 (tryshell): Define.
34100 (__spawni): Change last parameter to be flag. Test
34101 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34102 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34103 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34104 * posix/spawni.c: Likewise.
34105 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34106 * posix/spawnp.c: Likewise. Change normal version to use
34107 SPAWN_XFLAGS_USE_PATH.
34108 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34109 SPAWN_XFLAGS_TRY_SHELL.
34112 * posix/glob.h: Remove gcc 1.x support.
34115 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34117 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34120 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34122 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34123 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34129 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34131 * sysdeps/x86_64/wcscmp.S: New file.
34133 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34134 wcscmp-c wcscmp-sse2
34135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34136 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34137 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34138 * wcsmbs/wcscmp.c: Allow renaming.
34140 2011-09-05 David S. Miller <davem@davemloft.net>
34142 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34143 stack slot, rather than the struct return pointer slot.
34144 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34145 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34147 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34149 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34151 * po/ja.po: Update from translation team.
34154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34155 kernel in 64-bit binaries.
34157 2011-09-01 David S. Miller <davem@davemloft.net>
34159 * elf/elf.h (HWCAP_SPARC_*): Move to..
34160 * sysdeps/sparc/sysdep.h: this new file and add new values.
34161 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34162 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34163 _DL_HWCAP_COUNT to 24.
34164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34166 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34167 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34168 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34170 instead of magic constants.
34171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34173 2011-08-31 David S. Miller <davem@davemloft.net>
34175 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34177 Reimplement to do errno handling inline.
34178 (SYSCALL_ERROR_HANDLER): New macro.
34179 (__SYSCALL_STRING): Do not do errno handling in asm.
34180 (__CLONE_SYSCALL_STRING): Delete.
34181 (__INTERNAL_SYSCALL_STRING): Delete.
34182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34183 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34184 (PSEUDO): Reimplement to do errno handling inline.
34185 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34186 (SYSCALL_ERROR_HANDLER): New macro.
34187 (__SYSCALL_STRING): Do not do errno handling in asm.
34188 (__CLONE_SYSCALL_STRING): Delete.
34189 (__INTERNAL_SYSCALL_STRING): Delete.
34190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34191 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34193 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34194 (inline_syscall*): Add 'err' argument.
34195 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34196 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34197 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34198 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34200 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34203 2011-08-30 Andreas Schwab <schwab@redhat.com>
34205 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34207 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34212 2011-08-24 David S. Miller <davem@davemloft.net>
34214 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34216 2011-08-24 Andreas Schwab <schwab@redhat.com>
34218 * elf/Makefile: Add rules to build and run unload8 test.
34219 * elf/unload8.c: New file.
34220 * elf/unload8mod1.c: New file.
34221 * elf/unload8mod1x.c: New file.
34222 * elf/unload8mod2.c: New file.
34223 * elf/unload8mod3.c: New file.
34225 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34228 2011-08-23 David S. Miller <davem@davemloft.net>
34230 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34231 subtract stack bias.
34232 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34233 %sp not %fp in calculations.
34234 (_JMPBUF_UNWINDS_ADJ): Likewise.
34236 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34237 (aio_suspend): Call it to force an exception region around the
34238 AIO_MISC_WAIT() invocation.
34240 2011-08-23 Andreas Schwab <schwab@redhat.com>
34242 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34245 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34247 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34249 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34250 and <dl-machine.h>.
34251 (Elf64_FuncDesc): Remove.
34253 2011-08-22 David S. Miller <davem@davemloft.net>
34255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34256 sigaltstack check, add missing cfi directives.
34257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34258 missing cfi directives, and sigaltstack handling.
34260 2011-08-16 Andreas Schwab <schwab@redhat.com>
34263 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34264 object is seen twice.
34265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34267 * elf/Makefile (distribute): Add tst-initorder2.c.
34268 (tests): Add tst-initorder2.
34269 (modules-names): Add tst-initorder2a tst-initorder2b
34270 tst-initorder2c tst-initorder2d. Add rules to build them.
34271 ($(objpfx)tst-initorder2.out): New rule.
34272 * elf/tst-initorder2.c: New file.
34273 * elf/tst-initorder2.exp: New file.
34275 2011-08-22 Andreas Schwab <schwab@redhat.com>
34277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34279 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34280 dependencies back to end of function.
34282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34283 $(elfobjdir)/ld.so.
34285 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34288 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34290 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34291 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34292 of __vdso_gettimeofday.
34293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34294 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34296 (_libc_vdso_platform_setup): Remove initialization of
34297 __vdso_gettimeofday and __vdso_time.
34299 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34301 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34302 and fgetc_unlocked.
34303 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34306 * elf/dl-open.c (add_to_global): Report additions to the global scope
34307 for LD_DEBUG=scopes.
34308 (dl_open_worker): Also print scope of newly loaded dependencies.
34309 (_dl_show_scope): Indicate if there is no scope.
34312 * stdio-common/Makefile (tests): Add bug24.
34313 * stdio-common/bug24.c: New file.
34315 2011-08-19 Andreas Jaeger <aj@suse.de>
34318 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34319 non-existant file when using close-on-exec mode.
34321 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34324 the very first instruction.
34326 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34327 the CFI state in the end.
34328 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34329 inclusion of dl-trampoline.h.
34330 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34332 2011-08-19 Andreas Schwab <schwab@redhat.com>
34334 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34335 expectations for long double.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34338 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34340 2011-08-14 David S. Miller <davem@davemloft.net>
34342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34343 artificual limit depends upon the system page size.
34345 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34347 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34348 * resolv/Makefile: Define CFLAGS-libresolv.
34350 2011-08-17 Andreas Schwab <schwab@redhat.com>
34352 * nss/makedb.c (compute_tables): Make variables used in nested
34355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34357 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34358 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34359 if buffer was too small.
34361 * elf/pldd.c (main): Attach to all threads in the process.
34362 Rewrite /proc handling to use *at functions.
34364 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34366 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34367 specifies first scope to show.
34368 (dl_open_worker): Update callers. Move printing scope of new
34369 object to before the relocation.
34370 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34371 * sysdeps/generic/ldsodefs.h: Update declaration.
34373 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34374 string for the scope number.
34376 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34378 * nscd/servicescache.c (cache_addserv): Make sure written is always
34381 2011-08-14 Roland McGrath <roland@hack.frob.com>
34383 * sysdeps/i386/i486/bits/atomic.h
34384 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34385 statement expression, so as to suppress "set but not used" warning.
34386 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34388 * string/strncat.c (STRNCAT): Use prototype definition.
34390 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34391 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34393 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34394 (localedef-modules): Add localedef.
34395 (locale-modules): Add locale.
34397 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34398 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34399 to avoid a warning.
34401 2011-08-14 David S. Miller <davem@davemloft.net>
34403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34404 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34406 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34408 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34409 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34410 * elf/rtld.c (dl_main): Set l_name of vDSO.
34411 Call _dl_show_scope when DL_DEBUG_SCOPES.
34412 (process_dl_debug): Recognize scopes flag and also set it for all.
34413 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34414 Declare _dl_show_scope.
34416 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34417 (do_dlopen): Pass caller_dlopen to dl_open.
34418 (__libc_dlopen_mode): Initialize caller_dlopen.
34420 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34421 of libc. Make tolower call locale-independent. Optimize a bit by
34422 using isdigit instead of isalnum.
34423 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34425 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34427 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34428 was a dependency or dynamically loaded.
34430 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34432 * intl/l10nflist.c: Allow architecture-specific pop function.
34433 * sysdeps/x86_64/l10nflist.c: New file.
34435 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34438 2011-08-10 Andreas Schwab <schwab@redhat.com>
34440 * include/dirent.h: Add libc_hidden_proto for scandirat and
34441 scandirat64. Don't declare __scandirat64.
34442 * dirent/scandirat.c: Add libc_hidden_def.
34443 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34444 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34446 2011-08-10 David S. Miller <davem@davemloft.net>
34448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34454 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34456 * Versions.def [libc]: Add GLIBC_2.15.
34457 * dirent/Makefile (routines): Add scandirat and scandirat64.
34458 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34460 * dirent/dirent.h: Declare scandirat and scandirat64.
34461 * dirent/scandirat.c: New file.
34462 * dirent/scandirat64.c: New file.
34463 * sysdeps/wordsize-64/scandirat.c: New file.
34464 * sysdeps/wordsize-64/scandirat64.c: New file.
34465 * dirent/opendir.c: Define opendirat.
34466 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34468 * dirent/scandir64.c: Adjust for scandir.c change.
34469 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34470 __scandirat64, and __scandir_cancel_handler.
34471 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34472 additional parameter and use openat instead of open (outside of ld.so).
34473 Add new __opendir as wrapper around __opendirat.
34474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34475 here without requiring old scandirat implementation.
34477 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34479 * dirent/scandir.c (cancel_handler): Renamed to
34480 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34481 defined. Adjust users.
34482 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34485 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34487 * string/test-string.h (IMPL): Use __STRING to expand name and then
34490 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34493 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34495 * string/Makefile: Update.
34496 (strop-tests): Append strncat.
34497 * string/test-wcscmp.c: New file.
34498 New comprehensive test for wcscmp.
34499 * string/test-strcmp.c: Update.
34500 (WIDE): New define.
34502 2011-07-22 Andreas Schwab <schwab@redhat.com>
34504 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34507 2011-07-26 Andreas Schwab <schwab@redhat.com>
34509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34510 encoding to ACE if AI_IDN.
34512 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34515 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34517 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34520 Fix overflow bug in strncat.
34521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34523 * string/test-strncat.c: Update.
34524 Add new tests for checking overflow bugs.
34526 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34529 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34530 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34531 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34534 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34535 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34536 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34539 (USE_AS_STRCAT): Define.
34540 Add strcat and strncat support.
34541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34543 2011-07-25 Andreas Schwab <schwab@redhat.com>
34545 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34546 __n bigger than INT_MAX+1.
34547 (__strncmp_g): Likewise.
34549 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34551 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34552 * libio/stido.h: Likewise.
34554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34559 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34566 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34571 (_dl_x86_64_save_sse): Likewise.
34573 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34577 (_dl_x86_64_save_sse): Likewise.
34579 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34581 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34583 2011-07-21 Andreas Schwab <schwab@redhat.com>
34585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34587 (_dl_x86_64_save_sse): Use correct AVX check.
34589 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34592 bug in strncpy/strncat.
34593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34595 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34597 * string/tester.c (test_strcat): Add tests for different alignments
34598 of source and destination.
34599 (test_strncat): Likewise.
34601 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34604 * posix/glob.c (glob): Check passed in values before using them in
34605 expressions to avoid some overflows.
34606 (glob_in_dir): Likewise.
34609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34610 check for AVX enablement so that we don't crash with old kernels and
34612 * elf/tst-audit4.c: Add same checks here.
34613 * elf/tst-audit6.c: Likewise.
34615 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34617 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34619 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34621 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34623 * po/cs.po: Update from translation team.
34624 * po/bg.po: Likewise.
34626 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34628 * misc/sys/cdefs.h: Add support for const attribute.
34629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34630 to gnu_dev_{major,minor,makedev} functions.
34632 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34634 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34636 2011-07-20 Andreas Schwab <schwab@redhat.com>
34638 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34641 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34644 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34645 register in order to avoid conflicts with the soft frame pointer
34646 being held in r11 when necessary.
34647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34648 (INTERNAL_VSYSCALL_NCS): Likewise.
34650 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34652 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34653 * elf/dl-fini.c (_dl_fini): Adjust caller.
34654 * elf/dl-close.c (_dl_close_worker): Likewise.
34655 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34657 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34659 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34660 "aux_cache->nlibs < 0".
34662 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34663 in the reload-count case.
34665 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34668 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34669 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34671 * sysdeps/x86_64/multiarch/strcat.S: New file.
34672 * sysdeps/x86_64/multiarch/strncat.S: New file.
34673 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34675 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34676 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34678 (USE_AS_STRCAT): Define.
34679 Add strcat and strncat support.
34680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34682 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34683 * string/strncat.c: Update.
34684 (USE_AS_STRNCAT): Define.
34685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34686 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34688 * sysdeps/x86_64/multiarch/init-arch.h
34689 (bit_Prefer_PMINUB_for_stringop): New.
34690 (index_Prefer_PMINUB_for_stringop): Likewise.
34691 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34692 bit_Prefer_PMINUB_for_stringop.
34694 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34696 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34698 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34699 of casting of buffer.
34700 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34701 buffer32 and buffer64.
34702 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34703 writes instead of casting of buffer.
34704 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34706 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34709 2011-07-19 Andreas Schwab <schwab@redhat.com>
34711 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34713 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34715 * nscd/nscd.c (termination_handler): Don't do anything for a database
34716 if it has not yet been initialized.
34718 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34720 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34722 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34724 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34726 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34728 * po/nl.po: Update from translation team.
34729 * po/sv.po: Likewise.
34731 2011-07-16 Roland McGrath <roland@hack.frob.com>
34733 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34734 now disallowed by GCC.
34736 * configure.in (use-default-link): Default to yes if a test -shared
34737 link meets our qualifications.
34738 * configure: Regenerated.
34740 * config.make.in (output-format): New variable.
34741 * configure.in: Check for ld --print-output-format support.
34742 * configure: Regenerated.
34743 * Makerules ($(common-objpfx)format.lds)
34744 [$(output-format) != unknown]: Just use $(output-format),
34745 instead of the linker-script munging.
34747 2011-07-14 Roland McGrath <roland@hack.frob.com>
34749 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34750 of $(common-objpfx)shlib.lds.
34751 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34753 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34754 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34756 * configure.in (-z relro check): Adjust test code to add a large
34757 writable data section after it.
34758 * configure: Regenerated.
34760 2011-07-11 Roland McGrath <roland@hack.frob.com>
34762 * configure.in (-z relro check): Fix test code to make the variable
34764 * configure: Regenerated.
34766 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34768 * nscd/nscd.h (struct traced_file): Define.
34769 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34770 elements. Add traced_files.
34771 (inotify_fd): Declare.
34772 (register_traced_file): Declare.
34773 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34774 (inotify_fd): Export.
34775 (resolv_conf_descr): Remove.
34776 (nscd_init): Move inotify descriptor creation to main.
34777 Don't register files for notification here.
34778 (register_traced_file): New function.
34779 (invalidate_cache): Don't use reset_res to determine whether to call
34780 res_init, go through the list of registered files.
34781 (main_loop_poll): The inotify descriptors are now stored in the
34782 structures for the traced files.
34783 (main_loop_epoll): Likewise
34784 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34785 to __nss_disable_nscd.
34786 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34787 for a database anymore. Check the records for all the registered
34789 * nss/Makefile (libnss_files-routines): Add files-init.
34790 (libnss_db-routines): Add db-init.
34791 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34792 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34793 * nss/nss_db/db-init.c: New file.
34794 * nss/nss_files/files-init.c: New file.
34795 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34796 __nss_lookup_function.
34797 (__nss_lookup_function): Call nss_load_library.
34798 (nss_load_all_libraries): New function.
34799 (__nss_disable_nscd): Take parameter with callback function for files
34800 to register. Set is_nscd. Load all the DSOs for the NSS modules
34801 used for the cached services.
34802 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34803 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34804 options for features to all the files in nscd.
34806 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34808 2011-07-10 Roland McGrath <roland@hack.frob.com>
34810 * csu/elf-init.c (__libc_csu_init): Comment typo.
34812 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34814 * po/pl.po: Update from translation team.
34815 * po/ja.po: Likewise.
34816 * po/ru.po: Likewise.
34817 * po/ko.po: Likewise.
34818 * po/fr.po: Likewise.
34820 2011-07-09 Roland McGrath <roland@hack.frob.com>
34822 * configure.in (.ctors/.dtors header and trailer check):
34823 Use an empirical test on a built program.
34824 * configure: Regenerated.
34826 * configure.in (-z relro check): Use an empirical test on a built DSO.
34827 Detect, but do not require, on ia64.
34828 * configure: Regenerated.
34830 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34831 Update tests that use readelf to use $READELF instead.
34832 * configure: Regenerated.
34834 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34836 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34837 if the result is not used.
34839 2011-07-05 Andreas Jaeger <aj@suse.de>
34842 * stdlib/tst-strtod.c: Add testcase.
34844 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34846 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34847 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34848 The latter has a higher limit. Take additional parameter to pass to
34850 (__pathconf): Pass file to __statfs_link_max.
34851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34853 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34857 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34861 (__statfs_filesize_max): Likewise.
34862 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34864 2011-07-05 Andreas Jaeger <aj@suse.de>
34866 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34868 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34870 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34875 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34877 * Makefile (strop-tests): Add strncat.
34878 * string/test-strncat.c: New file.
34880 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34882 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34884 2011-06-21 Andreas Jaeger <aj@suse.de>
34886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34887 Copy rule from iconvdata/Makefile.
34889 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34892 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34893 but no long options are defined, just return 'W'.
34895 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34898 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34900 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34902 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34904 (innetgr): Likewise.
34906 2011-07-05 Roland McGrath <roland@hack.frob.com>
34908 * config.make.in (install_root): Default to $(DESTDIR).
34910 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34914 2011-07-02 Roland McGrath <roland@hack.frob.com>
34916 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34918 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34919 containing directory rather than embedding absolute directory names.
34921 * scripts/check-local-headers.sh: Rewritten using awk.
34922 Match by word, not by line. Print error messages for matches.
34923 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34925 * Makerules [shlib-lds-flags empty]:
34926 ($(common-objpfx)libc_pic.opts): New target.
34927 ($(common-objpfx)libc_pic.os.clean): New target.
34928 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34930 * config.make.in (OBJCOPY): New variable.
34931 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34932 * configure: Regenerated.
34934 * config.make.in (use-default-link): New variable.
34935 * configure.in (use_default_link): Grok --with-default-link to set it.
34936 * configure: Regenerated.
34937 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34938 (shlib-lds, shlib-lds-flags): Define to empty.
34940 * Makerules (shlib-lds): New variable.
34941 (shlib-lds-flags): New variable.
34942 (build-shlib, build-moduile, build-module-asneeded): Use it.
34943 ($(common-objpfx)libc.so): Use $(shlib-lds).
34944 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34947 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34948 DT_FLAGS/DT_FLAGS_1 with zero flags.
34950 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34951 linker script munging.
34953 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34955 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34957 * crypt/sha512.c (sha512_process_block): Perform total addition using
34958 128-bit if possible.
34959 (__sha512_finish_ctx): Likewise.
34960 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34962 * crypt/sha256.c (SWAP64): Define.
34963 (sha256_process_block): Perform total addition using 64-bit if
34965 (__sha256_finish_ctx): Likewise.
34967 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34969 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34971 * nscd/hstcache.c (cache_addhst): Likewise.
34972 * nscd/grpcache.c (cache_addgr): Likewise.
34973 * nscd/aicache.c (addhstaiX): Likewise
34974 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34976 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34978 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34980 * nscd/hstcache.c (cache_addhst): Likewise.
34981 * nscd/grpcache.c (cache_addgr): Likewise.
34982 * nscd/aicache.c (addhstaiX): Likewise
34984 2011-07-01 Andreas Schwab <schwab@redhat.com>
34986 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34987 domain only when needed.
34989 2011-06-30 Andreas Schwab <schwab@redhat.com>
34991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34992 is always restored.
34994 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34996 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34997 are re-adding the entry.
34998 * nscd/servicescache.c (cache_addserv): Likewise.
35000 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35002 * sysdeps/generic/dl-irel.h: fix protection against multiple
35004 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35006 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35009 * malloc/memusage.sh: Fix quoting in message.
35010 * debug/xtrace.sh: Likewise.
35012 * configure.in: Remove support for --experimental-malloc option, make
35014 * config.make.in: Likewise.
35015 * malloc/Makefile: Likewise.
35017 2011-06-27 Andreas Schwab <schwab@redhat.com>
35019 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35020 two-byte characters.
35022 2011-06-27 Roland McGrath <roland@hack.frob.com>
35024 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35025 AC_CACHE_CHECK invocation.
35026 * configure: Regenerated.
35028 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35030 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35033 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35034 bit from old_res_options.
35036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35038 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35039 value type for setfct.
35041 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35044 __gettimeofday instead of gettimeofday.
35046 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35048 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35050 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35057 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35060 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35061 strcpy-sse2-unaligned strncpy-sse2-unaligned
35062 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35063 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35064 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35065 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35066 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35069 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35070 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35071 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35072 (STRCPY): Support SSE2 and SSSE3 versions.
35074 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35078 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35079 kernels which artificially limit size of requests.
35081 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35084 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35085 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35086 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35087 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35088 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35089 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35090 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35093 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35094 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35095 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35096 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35097 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35099 Enable unaligned load optimization for Intel Core i3, i5 and i7
35101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35103 (index_Fast_Unaligned_Load): Define.
35104 (HAS_FAST_UNALIGNED_LOAD): Define.
35106 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35108 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35110 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35114 until it is clear that the information is realy needed.
35115 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35117 2011-06-22 Andreas Schwab <schwab@redhat.com>
35119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35121 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35124 /sys/devices/system/cpu/online if it is usable.
35126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35127 reading the information from the /proc filesystem to once a second.
35129 2011-06-21 Andreas Jaeger <aj@suse.de>
35131 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35132 NULL after inclusion of kernel headers.
35134 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35136 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35137 calls to internal_setent.
35140 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35141 addresses using gethostbyname4_r ignore IPv4 addresses.
35143 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35144 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35146 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35148 2011-06-20 David S. Miller <davem@davemloft.net>
35150 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35152 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35154 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35155 (elf_irel): Use it.
35156 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35157 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35158 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35159 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35160 * sysdeps/x86_64/dl-irel.h: Likewise.
35162 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35163 * elf/dl-sym.c: Likewise.
35165 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35167 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35168 need to dereference resplen2.
35170 2011-06-14 Andreas Schwab <schwab@redhat.com>
35172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35174 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35176 * Makeconfig: Define vardbdir and inst_vardbdir.
35177 * nss/Makefile: Add rules to install db-Makefile.
35179 * nss/nss_db/db-XXX.c: Cleanup.
35181 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35182 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35184 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35185 * nss/makedb.c: Implement -g option to specify that value strings
35186 are generated and should not be added to table iterated over for
35188 * nss/nss_db/db-initgroups.c: New file.
35190 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35193 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35194 (internal_getgrouplist): Adjust to name change.
35195 Update use_initgroups_entry if this is not the first call.
35196 * nss/databases.def: Add initgroups entry.
35198 * nss/makedb.c (compute_tables): Check result of multiple hash table
35199 sizes to minimize maximum chain length.
35201 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35203 * Versions.def: Add entry for libnss_db.
35204 * shlib-versions: Likewise.
35205 * nss/Makefile: Add rules to build libnss_db.
35206 * nss/Versions: Add libnss_db information. Organize libnss_files
35208 * nss/db-Makefile: Add gshadow support. Change rules for the new
35209 makedb progra. Some minor improvements to generate smaller files.
35210 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35212 * nss/makedb.c: ...here.
35213 Improve database format to be smaller and require less memory at
35215 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35217 * nss/nss_db/db-netgrp.c: Likewise.
35218 * nss/nss_db/db-open.c: Likewise.
35219 * nss/nss_files/flies-XXX.x: Adjust comments.
35220 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35221 * nss/nss_files/files-grp.c: Likewise.
35222 * nss/nss_files/files-hosts.c: Likewise.
35223 * nss/nss_files/files-network.c: Likewise.
35224 * nss/nss_files/files-proto.c: Likewise.
35225 * nss/nss_files/files-pwd.c: Likewise.
35226 * nss/nss_files/files-rpc.c: Likewise.
35227 * nss/nss_files/files-service.c: Likewise.
35228 * nss/nss_files/files-sgrp.c: Likewise.
35229 * nss/nss_files/files-spwd.c: Likewise.
35230 * nss/nss_db/db-alias.c: Removed.
35231 * nss/nss_db/dummy-db.h: Removed.
35233 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35235 * nss/makedb.c: Rewritten to not use database library.
35236 * nss/Makefile: Update to build new makedb program.
35238 2011-06-14 Andreas Jaeger <aj@suse.de>
35240 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35241 memset declaration.
35243 2011-06-10 Andreas Schwab <schwab@redhat.com>
35245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35248 2011-06-10 Roland McGrath <roland@hack.frob.com>
35250 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35251 * elf/Makefile ($(objpfx)ld.so): Likewise.
35253 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35254 Don't list ld.so twice in dependencies.
35256 * posix/bug-regex31.c: Include <stdlib.h>.
35258 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35260 * nis/nss_compat/compat-spwd.c
35261 (getspent_next_nss_netgr): Remove unused variable.
35262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35264 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35265 nonmembers" output to use the right array.
35267 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35269 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35271 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35272 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35273 * catgets/gencat.c (read_input_file): Likewise.
35274 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35276 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35277 variable definition inside #if's controlling its use.
35279 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35281 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35283 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35285 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35288 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35290 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35291 * configure: Regenerated.
35293 * Makerules: Revert last change.
35294 * elf/Makefile: Likewise.
35296 2011-06-09 Roland McGrath <roland@hack.frob.com>
35298 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35299 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35300 (reloc-link): Likewise.
35302 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35304 * elf/Makefile: Add rules to build pldd.
35305 * elf/pldd.c: New file.
35306 * elf/pldd-xx.c: New file.
35308 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35310 * version.h: Update for 2.15 development version.
35312 2011-06-07 David S. Miller <davem@davemloft.net>
35314 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35317 elf_machine_lazy_rel): Likewise.
35318 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35320 elf_machine_lazy_rel): Likewise.
35321 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35322 dl_hwcap via passed in argument.
35323 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35326 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35328 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35330 2011-06-06 Roland McGrath <roland@hack.frob.com>
35333 * manual/fdl-1.1.texi: New file, verbatim from:
35334 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35335 * manual/lgpl-2.1.texi: New file, verbatim from:
35336 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35337 * manual/Makefile (licenses): New variable, list those new file names.
35339 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35341 * manual/fdl.texi: File removed.
35342 * manual/lesser.texi: File removed.
35343 * manual/libc.texinfo (Copying, Documentation License):
35344 Use new @include file names, put @appendix directive before @include.
35346 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35349 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35350 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35351 (mq_open): Add __NTH.
35353 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35356 Assume Intel Core i3/i5/i7 processor if AVX is available.
35358 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35363 2011-05-31 Andreas Schwab <schwab@redhat.com>
35365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35366 memory. Use alloca_account. Fix memory leak when retrying.
35368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35370 * version.h (RELEASE): Bump for 2.14 release.
35371 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35373 * config.make.in (RANLIB): Remove entry.
35375 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35377 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35378 (libc.pot): Work around missing support for .ksh extension in xgettext.
35381 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35382 if both request failed.
35383 (send_dg): In case of server errors clear resplen or *resplen2.
35386 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35387 when there are multiple maps.
35388 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35389 (_dl_fini): Remove test here.
35391 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35393 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35396 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35397 bit from old_res_options.
35398 (gaih_inet): Likewise.
35401 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35404 * resolv/res_init.c (res_setoptions): Make the code more compact.
35407 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35411 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35413 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35416 * malloc/malloc.h: Declare malloc hook variables as volatile.
35418 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35422 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35423 raise in the comment.
35424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35428 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35431 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35432 grow the buffers more if it already has to be sufficient.
35433 (build_wcs_upper_buffer): Likewise.
35434 * posix/regexec.c (check_matching): Likewise.
35435 (clean_state_log_if_needed): Likewise.
35436 (extend_buffers): Don't enlarge buffers beyond size of the input
35438 Patches mostly by Emil Wojak <emil@wojak.eu>.
35439 * posix/bug-regex32.c: New file.
35440 * posix/Makefile (tests): Add bug-regex32.
35442 * locale/findlocale.c (_nl_find_locale): Return right away if
35443 _nl_explode_name failed.
35444 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35448 * debug/xtrace.sh: Unify messages.
35449 * malloc/memusage.sh: Likewise.
35452 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35453 time symbol from vDSO. Substitute with vsyscall if not available.
35454 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35458 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35459 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35460 Add sendmmsg and internal_sendmmsg.
35461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35465 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35466 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35469 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35473 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35479 * iconvdata/Makefile (tests): Add bug-iconv9.
35480 * iconvdata/bug-iconv9.c: New file.
35482 2011-05-27 Andreas Schwab <schwab@redhat.com>
35485 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35487 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35490 (struct user_regs_struct): Change intcs field back to cs.
35492 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35494 * po/ja.po: Update from translation team.
35496 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35499 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35502 2011-05-20 Andreas Schwab <schwab@redhat.com>
35504 * stdlib/longlong.h: Update from GCC.
35506 2011-05-23 Andreas Schwab <schwab@redhat.com>
35508 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35510 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35511 Add parameter name.
35512 (__sysconf): Pass it down.
35514 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35517 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35520 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35521 add in in __libc_use_alloca calls. Adjust callers.
35522 (glob): Use malloc in some situations.
35524 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35525 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35528 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35530 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35531 and CLOCK_BOOTTIME_ALARM.
35534 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35537 * string/_strerror.c (__strerror_r): Print negative errors as signed
35541 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35542 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35543 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35545 * configure.in: Fix typo in redirection and correct removal of test
35546 files in two cases.
35549 * locale/setlocale.c (new_composite_name): Fix test to check for
35550 identical name of all categories.
35553 * libio/filedoalloc.c (local_isatty): New function.
35554 (_IO_file_doallocate): Use local_isatty.
35555 * stdio-common/perror.c (perror): In case a new stream is used
35556 forward the stream error.
35557 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35560 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35565 * include/alloca.h (extend_alloca_account): Define.
35568 * posix/regex.h: Fix comments with documentation of user-accessible
35569 fields after compilation and describe correct free'ing of pattern
35570 after re_compile_pattern.
35571 Patch by Reuben Thomas <rrt@sc3d.org>.
35573 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35575 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35576 and -mno-altivec to prevent the compiler from using Altivec and/or
35577 VSX instructions when the corresponding registers are not available.
35579 2011-05-19 Andreas Schwab <schwab@redhat.com>
35581 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35583 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35585 * libio/freopen.c (freopen): Use __dup2, not dup2.
35586 * libio/freopen64.c (freopen64): Likewise.
35588 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35591 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35592 * math/Makefile (tests): Add test-powl.
35593 (CFLAGS-test-powl.c): Define.
35594 * math/test-powl.c: New file.
35596 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35598 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35600 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35603 * iconvdata/gb18030.c: Update to GB18020-2005.
35605 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35607 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35608 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35609 Patch by Aharon Robbins <arnold@skeeve.com>.
35612 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35616 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35617 through underflows.
35620 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35621 point to strings before performing equality test for error_one_per_line
35625 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35629 (struct user_fpregs_struct): Avoid __uint*_t types.
35632 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35633 symbol info. Use it instead of calling _dl_addr locally.
35634 (lock_and_info): New function.
35635 (tr_freehook): Call lock_and_info and pass symbol info as additional
35636 parameter to tr_where.
35637 (tr_mallochook): Likewise.
35638 (tr_reallochook): Likewise.
35639 (tr_memalignhook): Likewise.
35641 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35642 used and couldn't be at all thread-safe.
35644 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35646 * libio/freopen.c (freopen): Don't close old file descriptor
35647 before the new one is opened. Instead dup the new file descriptor
35648 to the old one after the new stream is created.
35649 * libio/freopen64.c (freopen64): Likewise.
35650 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35651 * libio/fileops.c (_IO_new_file_close_it): Handle new
35652 _IO_FLAGS2_NOCLOSE flag.
35653 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35654 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35655 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35656 _IO_FLAGS2_NOCLOSE flag.
35657 * include/unistd.h: Add hidden_proto for dup3.
35658 Define __have_dup3.
35659 * io/dup3.c: Define hidden symbol.
35660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35663 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35664 when an incomplete long option is used.
35665 * posix/tst-getopt_long1.c: New file.
35666 * posix/Makefile (tests): Add tst-getopt_long1.
35669 * scripts/config.guess: Update from autoconf-2.68.
35670 * scripts/config.sub: Likewise.
35673 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35675 (has_cpuclock): ...this. New function.
35676 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35677 macro here based on has_cpuclock code.
35680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35681 First byte (not low byte) is now always NUL.
35682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35685 Use non-cancelable interfaces.
35688 * locale/iso-639.def: Add entry for Sorani.
35691 * include/stdlib.h: Move include protection to the right place.
35692 Define abort_msg_s. Declare __abort_msg with it.
35693 * stdlib/abort.c (__abort_msg): Adjust type.
35694 * assert/assert.c (__assert_fail_base): New function. Majority
35695 of code from __assert_fail. Allocate memory for __abort_msg with
35697 (__assert_fail): Now call __assert_fail_base.
35698 * assert/assert-perr.c: Remove bulk of implementation. Use
35699 __assert_fail_base.
35700 * include/assert.hL Declare __assert_fail_base.
35701 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35703 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35705 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35709 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35710 until all modules are registered in the DTV.
35711 * elf/Makefile: Add rules to build and run tst-tls19.
35712 * elf/tst-tls19.c: New file.
35713 * elf/tst-tls19mod1.c: New file.
35714 * elf/tst-tls19mod2.c: New file.
35715 * elf/tst-tls19mod3.c: New file.
35716 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35719 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35723 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35724 two-byte sequence errors.
35725 * iconvdata/Makefile (tests): Add bug-iconv8.
35726 * iconvdata/bug-iconv8.c: New file.
35729 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35732 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35735 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35736 (dummy_getcfa): New function.
35737 (init): Get _Unwind_GetCFA address, use dummy if not found.
35738 (backtrace_helper): In recursion check, also check whether CFA changes.
35739 (__backtrace): Completely initialize arg.
35741 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35742 storing incomplete byte sequence in state object. Avoid testing for
35743 guaranteed too small input if we know there is enough data available.
35745 2011-05-11 Andreas Schwab <schwab@redhat.com>
35747 * Makeconfig (+link-pie): Indent.
35748 * Rules (binaries-pie): Define if $(have-fpie) and
35750 (binaries-shared): Also filter out $(binaries-pie).
35751 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35752 * nscd/Makefile (others-pie): Add nscd.
35753 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35754 ($(objpfx)nscd): Remove command override.
35755 * login/Makefile (others-pie): Add pt_chown.
35756 ($(objpfx)pt_chown): Remove command override.
35757 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35758 remove command overrides.
35760 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35762 * libio/tst_putwc.c: Fix error messages.
35765 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35766 currently writing and seek to current position when not.
35767 * libio/Makefile (tests): Add bug-fclose1.
35768 * libio/bug-fclose1.c: New file.
35770 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35773 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35774 don't set DF_1_NODELETE here.
35775 (do_lookup_x): When entering new entry test for copy relocation
35776 and if necessary set DF_1_NODELETE flag.
35777 * elf/tst-unique4.cc: New file.
35778 * elf/tst-unique4.h: New file.
35779 * elf/tst-unique4lib.cc: New file.
35780 * elf/Makefile: Add rules to build and run tst-unique4.
35781 Patch by Piotr Bury <pbury@goahead.com>.
35783 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35786 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35789 * misc/mntent_r.c (addmntent): Flush the stream after the output
35792 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35793 (is_trusted_path_normalize): Skip initial colon. Append slash
35794 to empty buffer. Duplicate is_trusted_path code but allow
35795 constructed patch to be prefix.
35796 (is_dst): Allow $ORIGIN followed by /.
35797 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35798 Correct testing of result of is_trusted_path_normalize
35799 (decompose_rpath): Fix warning.
35801 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35804 * grp/initgroups.c (internal_getgrouplist): When we found the service
35805 list through the initgroups entry in nsswitch.conf do not always
35806 continue on a successful lookup. Don't always use the
35807 __nss_group_database value if it is set.
35808 * nss/nsswitch.conf (initgroups): Change action for successful db
35809 lookup to continue for compatibility.
35811 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35814 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35816 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35818 * iconvdata/tst-tables.sh: Likewise.
35819 * iconvdata/cp770.c: New file.
35820 * iconvdata/cp771.c: New file.
35821 * iconvdata/cp772.c: New file.
35822 * iconvdata/cp773.c: New file.
35823 * iconvdata/cp774.c: New file.
35824 * iconvdata/testdata/CP770: New file.
35825 * iconvdata/testdata/CP770..UTF8: New file.
35826 * iconvdata/testdata/CP771: New file.
35827 * iconvdata/testdata/CP771..UTF8: New file.
35828 * iconvdata/testdata/CP772: New file.
35829 * iconvdata/testdata/CP772..UTF8: New file.
35830 * iconvdata/testdata/CP773: New file.
35831 * iconvdata/testdata/CP773..UTF8: New file.
35832 * iconvdata/testdata/CP774: New file.
35833 * iconvdata/testdata/CP774..UTF8: New file.
35835 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35837 * iconvdata/gen-8bit-gap.sh: Likewise.
35838 * iconvdata/gen-8bit.sh: Likewise.
35840 * locale/iso-639.def: Add ary entry.
35843 * locale/C-translit.h.in: Add U20A1 transliteration.
35846 * locale/iso-639.def: Add wae entry.
35847 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35850 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35854 * locale/C-translit.h.in: Add entry for U20B9.
35855 Patch by pravin.d.s@gmail.com.
35857 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35860 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35861 ENAMETOOLONG use generic getcwd.
35862 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35863 in rtld. Use *stat64.
35864 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35865 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35866 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35867 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35868 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35869 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35870 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35871 __fstatat64 macros.
35872 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35873 * dirent/rewinddir.c: Add libc_hidden_def.
35874 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35875 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35877 * include/dirent.h (__alloc_dir): Add flags parameter.
35878 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35879 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35881 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35882 from fdopendir if O_CLOEXEC is already set.
35884 2011-03-15 Alan Modra <amodra@gmail.com>
35886 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35887 l_tls_firstbyte_offset non-zero. Save padding offset in
35888 l_tls_firstbyte_offset for later use.
35889 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35890 freeing static tls block.
35892 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35894 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35895 where #ifdef was intended. The intent is to prevent ARG_MAX from
35896 being defined by the kernel headers.
35898 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35901 * resolv/resolv.h: Define RES_NOTLDQUERY.
35902 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35903 no-tld-query and set RES_NOTLDQUERY.
35904 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35905 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35906 modern BIND to search name as TLD unless forbidden.
35908 2011-05-07 Petr Baudis <pasky@suse.cz>
35909 Ulrich Drepper <drepper@gmail.com>
35912 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35913 (is_trusted_path): ...to here.
35914 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35915 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35916 using is_trusted_path_normalize() in setuid scripts.
35918 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35921 __BEGIN/__END_DECLS.
35923 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35926 NSS_STATUS_NOTFOUND if no record was found.
35928 2011-05-05 Andreas Schwab <schwab@redhat.com>
35930 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35931 (headers-not-in-tirpc): Remove rpc/netdb.h
35932 * resolv/netdb.h: Revert last change.
35934 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35936 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35937 circular dependency between libgcc.a and libc.a.
35939 2011-05-05 Andreas Schwab <schwab@redhat.com>
35941 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35942 * nis/Makefile: Don't install rpcsvc/*.
35943 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35944 instead of <rpc/types.h>.
35945 (MAXHOSTNAMELEN): Define.
35947 2011-05-03 Andreas Schwab <schwab@redhat.com>
35949 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35951 2011-04-28 Maciej Babinski <mbabinski@google.com>
35954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35955 gethostbyname4_r when IPv6 results are possible.
35957 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35961 _PC_PIPE_BUF handling.
35963 2011-04-30 Bruno Haible <bruno@clisp.org>
35966 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35967 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35969 * inet/getnameinfo.c (getnameinfo): Likewise.
35971 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35973 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35974 to groups setting in database lookup.
35975 * nss/nsswitch.conf: Add initgroups entry.
35977 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35980 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35982 Patch by Eric Blake <eblake@redhat.com>.
35984 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35986 * sunrpc/Makefile (need-export-routines): Add svc_run.
35987 (routines): Remove svc_run.
35988 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35989 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35990 * sunrpc/svc_run.c (svc_run): Likewise.
35991 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35993 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35996 problem in reallocation in last patch.
35998 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36000 * sunrpc/Makefile: Move inclusion of Rules.
36002 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36004 * nss/nss_files/files-initgroups.c: New file.
36005 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36006 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36007 _nss_files_initgroups_dyn.
36009 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36011 * elf/elf.h (R_ARM_IRELATIVE): Define.
36013 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36015 * po/ru.po: Update from translation team.
36017 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36019 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36022 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36026 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36031 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36039 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36042 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36044 * stdlib/bug-getcontext.c: New file.
36045 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36047 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36049 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36050 instructions into .machine "z9-109".
36051 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36052 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36054 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36056 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36057 between environment variables and auxiliary vector.
36059 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36061 * Makefile: Add rules to build linkobj/libc.so.
36062 * include/libc-symbols.h: Define libc_hidden_nolink.
36063 * include/rpc/auth.h: Mark functions which are to be hidden.
36064 * include/rpc/auth_des.h: Likewise.
36065 * include/rpc/auth_unix.h: Likewise.
36066 * include/rpc/clnt.h: Likewise.
36067 * include/rpc/des_crypt.h: Likewise.
36068 * include/rpc/key_prot.h: Likewise.
36069 * include/rpc/pmap_clnt.h: Likewise.
36070 * include/rpc/pmap_prot.h: Likewise.
36071 * include/rpc/pmap_rmt.h: Likewise.
36072 * include/rpc/rpc_msg.h: Likewise.
36073 * include/rpc/svc.h: Likewise.
36074 * include/rpc/svc_auth.h: Likewise.
36075 * include/rpc/xdr.h: Likewise.
36076 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36077 * nss/Makefile: Likewise.
36078 * sunrpc/Makefile: Don't install headers. Build library with normal
36079 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36080 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36081 for the compat linking library. Remove use of INTDEF/INTUSE.
36082 * sunrpc/auth_none.c: Likewise.
36083 * sunrpc/auth_unix.c: Likewise.
36084 * sunrpc/authdes_prot.c: Likewise.
36085 * sunrpc/authuxprot.c: Likewise.
36086 * sunrpc/clnt_gen.c: Likewise.
36087 * sunrpc/clnt_perr.c: Likewise.
36088 * sunrpc/clnt_raw.c: Likewise.
36089 * sunrpc/clnt_simp.c: Likewise.
36090 * sunrpc/clnt_tcp.c: Likewise.
36091 * sunrpc/clnt_udp.c: Likewise.
36092 * sunrpc/clnt_unix.c: Likewise.
36093 * sunrpc/des_crypt.c: Likewise.
36094 * sunrpc/des_soft.c: Likewise.
36095 * sunrpc/get_myaddr.c: Likewise.
36096 * sunrpc/key_call.c: Likewise.
36097 * sunrpc/key_prot.c: Likewise.
36098 * sunrpc/netname.c: Likewise.
36099 * sunrpc/pm_getmaps.c: Likewise.
36100 * sunrpc/pm_getport.c: Likewise.
36101 * sunrpc/pmap_clnt.c: Likewise.
36102 * sunrpc/pmap_prot.c: Likewise.
36103 * sunrpc/pmap_prot2.c: Likewise.
36104 * sunrpc/pmap_rmt.c: Likewise.
36105 * sunrpc/publickey.c: Likewise.
36106 * sunrpc/rpc_cmsg.c: Likewise.
36107 * sunrpc/rpc_common.c: Likewise.
36108 * sunrpc/rpc_dtable.c: Likewise.
36109 * sunrpc/rpc_prot.c: Likewise.
36110 * sunrpc/rpc_thread.c: Likewise.
36111 * sunrpc/rtime.c: Likewise.
36112 * sunrpc/svc.c: Likewise.
36113 * sunrpc/svc_auth.c: Likewise.
36114 * sunrpc/svc_authux.c: Likewise.
36115 * sunrpc/svc_raw.c: Likewise.
36116 * sunrpc/svc_run.c: Likewise.
36117 * sunrpc/svc_simple.c: Likewise.
36118 * sunrpc/svc_tcp.c: Likewise.
36119 * sunrpc/svc_udp.c: Likewise.
36120 * sunrpc/svc_unix.c: Likewise.
36121 * sunrpc/svcauth_des.c: Likewise.
36122 * sunrpc/xcrypt.c: Likewise.
36123 * sunrpc/xdr.c: Likewise.
36124 * sunrpc/xdr_array.c: Likewise.
36125 * sunrpc/xdr_float.c: Likewise.
36126 * sunrpc/xdr_intXX_t.c: Likewise.
36127 * sunrpc/xdr_mem.c: Likewise.
36128 * sunrpc/xdr_rec.c: Likewise.
36129 * sunrpc/xdr_ref.c: Likewise.
36130 * sunrpc/xdr_sizeof.c: Likewise.
36131 * sunrpc/xdr_stdio.c: Likewise.
36133 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36136 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36137 * sysdeps/ia64/dl-tls.h: Likewise.
36138 * sysdeps/powerpc/dl-tls.h: Likewise.
36139 * sysdeps/s390/dl-tls.h: Likewise.
36140 * sysdeps/sh/dl-tls.h: Likewise.
36141 * sysdeps/sparc/dl-tls.h: Likewise.
36142 * sysdeps/x86_64/dl-tls.h: Likewise.
36143 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36145 2011-03-14 Andreas Schwab <schwab@redhat.com>
36147 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36148 rpath element also skip the following colon.
36149 (expand_dynamic_string_token): Add is_path parameter and pass
36150 down to DL_DST_REQUIRED and _dl_dst_substitute.
36151 (decompose_rpath): Call expand_dynamic_string_token with
36152 non-zero is_path. Ignore empty rpaths.
36153 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36156 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36161 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36164 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36165 Patch by Filipe David Manana <fdmanana@apache.org>.
36167 2011-04-07 Andreas Schwab <schwab@redhat.com>
36169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36170 Maintain aligned stack.
36171 (CHECK_RSP): Remove unused macro.
36173 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36175 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36178 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36180 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36182 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36184 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36187 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36188 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36189 * sysdeps/x86_64/memmove.c: New file.
36190 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36191 (memcpy): Renamed to ...
36192 (__new_memcpy): This.
36193 (memcpy): Provide GLIBC_2_14 memcpy.
36194 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36195 (memcpy): Provide GLIBC_2_2_5 memcpy.
36197 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36200 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36202 2011-03-30 Andreas Schwab <schwab@redhat.com>
36204 * misc/syncfs.c: New file.
36205 * misc/Makefile (routines): Add syncfs.
36206 * posix/unistd.h: Declare syncfs.
36207 * sysdeps/unix/syscalls.list: Add syncfs.
36209 2011-04-01 Andreas Schwab <schwab@redhat.com>
36211 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36221 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36231 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36232 sync_file_range.c with -fexceptions.
36233 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36234 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36240 sync_file_range as cancellation point
36241 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36242 now a wrapper around __call_sync_file_range with cancellation handling.
36243 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36245 function name to __call_sync_file_range.
36246 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36247 Add call_sync_file_range.
36249 2011-04-01 Andreas Schwab <schwab@redhat.com>
36251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36256 * iconv/iconv.h: Fix typo in comment.
36257 * io/fcntl.h: Likewise.
36258 * libio/stdio.h: Likewise.
36259 * posix/spawn.h: Likewise.
36260 * posix/unistd.h: Likewise.
36261 * stdlib/stdlib.h: Likewise.
36262 * time/time.h: Likewise.
36263 * wcsmbs/wchar.h: Likewise.
36265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36266 open_by_handle): Add.
36267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36268 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36269 Augment a few comments.
36270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36275 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36278 * io/fcntl.h (AT_EMPTY_PATH): Define.
36280 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36282 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36283 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36284 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36286 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36287 * Versions.def: Add GLIBC_2.14.
36288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36291 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36297 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36300 * string/test-strncmp.c (do_page_test): New function.
36301 (check2): Likewise.
36302 (test_main): Call check2.
36303 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36305 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36308 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36309 Handle cache information in CPU leaf 4.
36310 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36312 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36315 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36316 character representation.
36317 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36319 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36322 END(__isnan) to END(__isnanf) to match function entry point/label
36323 EALIGN(__isnanf,...).
36325 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36327 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36329 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36332 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36333 copy from the symbol referenced in the relocation to initialize the
36335 Patch by Piotr Bury <pbury@goahead.com>.
36336 * elf/Makefile: Add rules to build and tst-unique3.
36337 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36338 * elf/tst-unique3.cc: New file.
36339 * elf/tst-unique3.h: New file.
36340 * elf/tst-unique3lib.cc: New file.
36341 * elf/tst-unique3lib2.cc: New file.
36343 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36345 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36347 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36348 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36351 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36353 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36354 to-be-loaded object along a path to loader is ld.so.
36356 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36357 Ulrich Drepper <drepper@gmail.com>
36359 * sysdeps/x86_64/memset.S: After aligning destination, code
36360 branches to different locations depending on the value of
36361 misalignment, when multiarch is enabled. Fix this.
36363 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36365 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36366 Set _x86_64_preferred_memory_instruction for AMD processsors.
36367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36368 Set bit_Prefer_SSE_for_memop for AMD processors.
36370 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36372 * libio/fmemopen.c (fmemopen): Optimize a bit.
36374 2011-03-03 Andreas Schwab <schwab@redhat.com>
36376 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36378 2011-03-03 Roland McGrath <roland@redhat.com>
36380 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36382 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36384 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36385 __bzero_ultra1 instead of __memset_ultra1.
36387 2011-02-23 Andreas Schwab <schwab@redhat.com>
36388 Ulrich Drepper <drepper@gmail.com>
36391 * include/link.h (struct link_map): Add l_orig_initfini.
36392 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36393 returning unsuccessfully.
36394 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36395 close of a file loaded at startup, restore the original l_initfini
36397 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36398 list, store the pointer.
36399 * elf/Makefile ($(objpfx)noload-mem): New rule.
36400 (noload-ENV): Define.
36401 (tests): Add $(objpfx)noload-mem.
36402 * elf/noload.c: Include <memcheck.h>.
36403 (main): Call mtrace. Close all opened handles.
36405 2011-02-17 Andreas Schwab <schwab@redhat.com>
36408 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36409 dependencies are missing.
36411 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36413 Fix __if_freereq crash: Unlike the generic version which uses free,
36415 * sysdeps/mach/hurd/ifreq.h: New file.
36417 2011-01-27 Petr Baudis <pasky@suse.cz>
36418 Ulrich Drepper <drepper@gmail.com>
36421 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36422 to extend_alloca().
36423 * stdio-common/bug23.c: New file.
36424 * stdio-common/Makefile (tests): Add bug23.
36426 2010-09-28 Andreas Schwab <schwab@redhat.com>
36427 Ulrich Drepper <drepper@gmail.com>
36430 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36431 before performing relro protection. At old place add assertion
36432 to make sure nothing changed.
36434 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36435 Glauber de Oliveira Costa <glommer@gmail.com>
36437 * elf/elf.h: Add new ARM TLS relocs.
36439 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36442 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36444 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36446 * sysdeps/wordsize-64/tst-writev.c: New file.
36448 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36450 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36451 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36452 insns in _dl_start to prevent a TOC reference before relocs are
36455 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36458 * Makeconfig: Remove RANLIB definition.
36459 * Makerules: Don't use RANLIB.
36460 * aclocal.m4: Remove ranlib test.
36461 * configure.in: No need to check for ranlib.
36462 * elf/rtld-Rules: Don't use RANLIB.
36464 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36466 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36468 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36469 inclusion protection macro.
36471 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36472 SIGRTMIN and SIGRTMAX and print information in that case only when
36473 SIGRTMIN is defined.
36475 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36477 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36478 arginfo fn returning -1.
36480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36481 and thousands string is zero terminated.
36483 2011-02-03 Andreas Schwab <schwab@redhat.com>
36485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36486 sysdeps/unix/sysv/linux/bits/socket.h.
36488 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36490 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36491 (__CPU_COUNT): Remove old macros.
36492 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36493 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36494 (__CPU_ALLOC, __CPU_FREE): Add macros.
36495 (__sched_cpualloc, __sched_cpufree): Add declarations.
36497 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36499 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36500 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36501 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36502 (readdhstai): Return value of addhstaiX call.
36503 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36504 (addgrbyX): Return value returned by cache_addgr.
36505 (readdgrbyname): Return value returned by addgrbyX.
36506 (readdgrbygid): Likewise.
36507 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36508 (addpwbyX): Return value returned by cache_addpw.
36509 (readdpwbyname): Return value returned by addhstbyX.
36510 (readdpwbyuid): Likewise.
36511 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36512 (addservbyX): Return value returned by cache_addserv.
36513 (readdservbyname): Return value returned by addservbyX:
36514 (readdservbyport): Likewise.
36515 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36516 (addhstbyX): Return value returned by cache_addhst.
36517 (readdhstbyname): Return value returned by addhstbyX.
36518 (readdhstbyaddr): Likewise.
36519 (readdhstbynamev6): Likewise.
36520 (readdhstbyaddrv6): Likewise.
36521 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36522 (readdinitgroups): Return value returned by addinitgroupsX.
36523 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36524 (prune_cache): Keep track of timeout value of re-added entries.
36525 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36526 * nscd/nscd.h: Adjust prototypes of readd* functions.
36528 2011-02-04 Roland McGrath <roland@redhat.com>
36530 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36531 (nis_stats): Likewise.
36532 * nis/nis_modify.c (nis_modify): Likewise.
36533 * nis/nis_remove.c (nis_remove): Likewise.
36534 * nis/nis_add.c (nis_add): Likewise.
36536 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36538 * posix/fnmatch_loop.c: Add some consts.
36540 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36542 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36545 * config.make.in (config-cflags-novzeroupper): Define.
36546 * configure.in: Substitute libc_cv_cc_novzeroupper.
36547 * elf/Makefile (AVX-CFLAGS): Define.
36548 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36549 (CFLAGS-tst-auditmod4a.c): Likewise.
36550 (CFLAGS-tst-auditmod4b.c): Likewise.
36551 (CFLAGS-tst-auditmod6b.c): Likewise.
36552 (CFLAGS-tst-auditmod6c.c): Likewise.
36553 (CFLAGS-tst-auditmod7b.c): Likewise.
36554 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36556 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36558 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36559 function to the callback.
36560 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36562 2011-02-02 Andreas Schwab <schwab@redhat.com>
36564 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36567 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36570 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36572 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36574 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36577 * elf/Makefile: Add rules to build and run new test.
36578 * elf/tst-initorder.c: New file.
36579 * elf/tst-initorder.exp: New file.
36580 * elf/tst-initordera1.c: New file.
36581 * elf/tst-initordera2.c: New file.
36582 * elf/tst-initordera3.c: New file.
36583 * elf/tst-initordera4.c: New file.
36584 * elf/tst-initorderb1.c: New file.
36585 * elf/tst-initorderb2.c: New file.
36586 * elf/tst-order-a1.c: New file.
36587 * elf/tst-order-a2.c: New file.
36588 * elf/tst-order-a3.c: New file.
36589 * elf/tst-order-a4.c: New file.
36590 * elf/tst-order-b1.c: New file.
36591 * elf/tst-order-b2.c: New file.
36592 * elf/tst-order-main.c: New file.
36593 New test case by George Gensure <werkt0@gmail.com>.
36595 2010-10-01 Andreas Schwab <schwab@redhat.com>
36597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36598 decoding ACE if AI_CANONIDN.
36600 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36602 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36604 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36606 * version.h (RELEASE): Bump for 2.13 release.
36607 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36609 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36611 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36620 * posix/getconf.c: Update copyright year.
36621 * catgets/gencat.c: Likewise.
36622 * csu/version.c: Likewise.
36623 * debug/catchsegv.sh: Likewise.
36624 * debug/xtrace.sh: Likewise.
36625 * elf/ldconfig.c: Likewise.
36626 * elf/ldd.bash.in: Likewise.
36627 * elf/sprof.c (print_version): Likewise.
36628 * iconv/iconv_prog.c: Likewise.
36629 * iconv/iconvconfig.c: Likewise.
36630 * locale/programs/locale.c: Likewise.
36631 * locale/programs/localedef.c: Likewise.
36632 * malloc/memusage.sh: Likewise.
36633 * malloc/mtrace.pl: Likewise.
36634 * nscd/nscd.c (print_version): Likewise.
36635 * nss/getent.c: Likewise.
36637 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36638 PF_CAIF, and PF_ALG.
36639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36641 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36643 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36644 (modules-names): Use them.
36645 (ifunc-test-modules, ifunc-pie-tests): Define.
36646 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36647 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36648 (test-extras): Likewise.
36649 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36650 $(compile-command.c).
36651 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36652 (all-built-dso): Define.
36653 (check-textrel.out, check-execstack.out): Depend on it.
36655 * configure.in: Don't override --enable-multi-arch.
36657 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36660 * nscd/hstcache.c (tryagain): Define.
36661 (cache_addhst): Return tryagain not notfound for temporary errors.
36662 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36665 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36669 to make the syscall.
36670 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36673 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36674 and fall back to matching as normal character if the string ends before
36675 the matching ']' is found. This is what POSIX requires.
36676 * posix/testfnm.c: Adjust test result.
36677 * posix/globtest.sh: Adjust test result. Add new test.
36678 * posix/tst-fnmatch.input: Likewise.
36679 * posix/tst-fnmatch2.c: Add new test.
36681 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36683 * elf/Makefile (check-execstack): Revert last change. Depend on
36685 (check-execstack.h): New target.
36686 (generated): Add check-execstack.h.
36687 * elf/check-execstack.c: Include "check-execstack.h".
36688 (main): Revert last change.
36689 (handle_file): Return zero if GNU_STACK is absent and
36690 DEFAULT_STACK_PERMS doesn't include PF_X.
36692 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36694 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36695 in child fails because the descriptor is already closed.
36696 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36697 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36701 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36705 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36706 temporary buffer used to handle multi lookups locally.
36707 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36709 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36711 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36714 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36716 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36717 alignment for SSE2.
36719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36722 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36723 characters. When rounding increased number of integer digits recompute
36725 * stdio-common/tst-grouping.c: New file.
36726 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36728 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36730 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36731 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36733 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36735 * bits/select.h: Likewise.
36737 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36739 * po/ja.po: Update from translation team.
36741 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36744 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36745 implementation just like for lxstat, fxstatat, et al.
36747 2010-12-27 Jim Meyering <meyering@redhat.com>
36750 * posix/regexec.c (build_trtable): Return failure indication upon
36751 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36753 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36756 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36757 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36758 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36762 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36765 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36766 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36768 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36770 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36771 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36772 script has SORT_BY_INIT_PRIORITY.
36773 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36774 NO_CTORS_DTORS_SECTIONS is defined.
36775 * elf/soinit.c: Likewise.
36776 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36777 NO_CTORS_DTORS_SECTIONS is defined.
36778 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36779 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36780 * sysdeps/sh/init-first.c: Likewise.
36781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36783 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36785 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36786 always use the slow path.
36788 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36790 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36791 similar rule which adds the sysdep directories to the header search in
36792 order to pick up the correct platform stackinfo.h.
36793 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36794 perform test if it is, otherwise return successfully without testing.
36795 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36796 DEFAULT_STACK_PERMS define in stackinfo.h.
36797 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36798 defined in stackinfo.h.
36799 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36800 DEFAULT_STACK_PERMS defined in stackinfo.h.
36801 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36802 * sysdeps/ia64/stackinfo.h: Likewise.
36803 * sysdeps/s390/stackinfo.h: Likewise.
36804 * sysdeps/sh/stackinfo.h: Likewise.
36805 * sysdeps/sparc/stackinfo.h: Likewise.
36806 * sysdeps/x86_64/stackinfo.h: Likewise.
36807 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36808 PF_X for powerpc64. Retain PF_X for powerpc32.
36810 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36812 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36814 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36815 GETDENTS_64BIT_ALIGNED.
36817 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36819 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36821 2010-12-10 Andreas Schwab <schwab@redhat.com>
36823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36827 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36829 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36830 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36832 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36835 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36838 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36840 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36842 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36844 * po/it.po: Update from translation team.
36846 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36851 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36853 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36855 2010-11-24 Andreas Schwab <schwab@redhat.com>
36857 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36859 (gaih_getanswer_slice): Likewise.
36861 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36865 2010-05-31 Petr Baudis <pasky@suse.cz>
36868 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36869 silently even in the chroot mode.
36871 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36874 last patch a bit. Pretty printing
36876 2010-05-31 Petr Baudis <pasky@suse.cz>
36879 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36880 initialization of skip_initgroups_dyn.
36882 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36884 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36887 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36889 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36891 2010-11-11 Andreas Schwab <schwab@redhat.com>
36893 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36894 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36895 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36896 ($(objpfx)tst-fnmatch-mem): New rule.
36897 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36898 * posix/tst-fnmatch.c (main): Call mtrace.
36900 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36903 Support Intel processor model 6 and model 0x2c.
36905 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36910 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36913 * string/test-strncasecmp.c (check_result): New function.
36914 (do_one_test): Use it.
36915 (check1): New function.
36916 (test_main): Use it.
36917 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36918 Support strcasecmp and strncasecmp.
36920 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36923 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36926 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36928 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36932 * sysdeps/x86_64/multiarch/bzero.S: New file.
36933 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36934 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36935 * sysdeps/x86_64/multiarch/memset.S: New file.
36936 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36938 Set bit_Prefer_SSE_for_memop for Intel processors.
36939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36941 (index_Prefer_SSE_for_memop): Define.
36942 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36944 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36949 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36953 (__x86_64_raw_data_cache_size_half): Likewise.
36954 (__x86_64_raw_shared_cache_size): Likewise.
36955 (__x86_64_raw_shared_cache_size_half): Likewise.
36957 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36958 (__x86_64_raw_data_cache_size_half): Likewise.
36959 (__x86_64_raw_shared_cache_size): Likewise.
36960 (__x86_64_raw_shared_cache_size_half): Likewise.
36961 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36962 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36963 and __x86_64_raw_shared_cache_size_half. Round
36964 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36965 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36966 to multiple of 256 bytes.
36968 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36972 of inacessible symlinks. Verify result of symlink before returning it.
36973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36974 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36976 2010-10-28 Erich Ritz <erichritz@gmail.com>
36978 * math/math.h (isinf): Fix typo in comment.
36980 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36982 * po/da.po: Update from translation team.
36984 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36986 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36987 is added to the list.
36989 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36990 Ulrich Drepper <drepper@gmail.com>
36992 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36993 the global list here. Move code to...
36994 (_dl_add_to_namespace_list): ...here. New function.
36995 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36996 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36997 * elf/dl-load.c (lose): Don't remove the element from the list.
36998 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36999 (_dl_map_object): Likewise.
37001 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37004 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37005 into all bytes of SSE register.
37006 Patch by Richard Li <richardpku@gmail.com>.
37008 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37011 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37014 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37016 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37017 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37024 2010-10-22 Andreas Schwab <schwab@redhat.com>
37026 * include/dlfcn.h (__RTLD_SECURE): Define.
37027 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37028 mode & __RTLD_SECURE instead.
37029 (open_path): Rename preloaded parameter to secure.
37030 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37031 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37032 * elf/dl-deps.c (openaux): Likewise.
37033 * elf/rtld.c (struct map_args): Remove is_preloaded.
37034 (map_doit): Don't use it.
37035 (dl_main): Likewise.
37036 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37037 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37039 2010-09-09 Andreas Schwab <schwab@redhat.com>
37041 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37042 (sysd-rules-targets): Remove duplicates.
37043 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37044 rtld-%.$o dependency.
37046 2010-10-18 Andreas Schwab <schwab@redhat.com>
37048 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37049 _dl_map_object do it.
37051 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37053 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37054 fast fma builtins, define the macros in the C99 standard.
37055 (FP_FAST_FMAF): Likewise.
37056 (FP_FAST_FMAL): Likewise.
37057 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37059 * bits/mathdef.h: Update copyright year.
37060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37062 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37064 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37065 builtins, define the macros in the C99 standard.
37066 (FP_FAST_FMAF): Likewise.
37067 (FP_FAST_FMAL): Likewise.
37068 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37070 (FP_FAST_FMAF): Likewise.
37072 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37075 * math/libm-test.inc (fma_test): Some new testcases.
37076 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37078 y and infinite z. Do multiplication by C already in long double.
37079 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37081 y and infinite z. Do bitwise or of inexact bit into u.d.
37082 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37083 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37084 * sysdeps/i386/fpu/s_fma.S: Removed.
37085 * sysdeps/i386/fpu/s_fmal.S: Removed.
37087 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37090 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37092 computation is not scheduled after fetestexcept. Fix value
37093 of minimum denormal long double.
37095 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37098 * math/libm-test.inc (fma_test): Add some more tests.
37099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37102 2010-10-15 Andreas Schwab <schwab@redhat.com>
37104 * scripts/data/localplt-s390-linux-gnu.data: New file.
37105 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37107 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37110 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37111 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37113 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37115 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37117 if one of x and y is very large and the other is subnormal.
37118 * sysdeps/s390/fpu/s_fmaf.c: New file.
37119 * sysdeps/s390/fpu/s_fma.c: New file.
37120 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37121 * sysdeps/powerpc/fpu/s_fma.S: New file.
37122 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37123 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37124 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37126 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37129 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37132 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37133 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37134 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37135 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37136 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37139 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37142 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37143 * posix/bug-regex31.input: Add test case.
37145 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37147 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37148 * posix/bug-regex31.input: New file.
37151 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37152 (parse_sub_exp): Fix last change, use postorder.
37154 * posix/bug-regex31.c: New file.
37155 * posix/Makefile: Add rules to build and run bug-regex31.
37157 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37160 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37163 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37164 to have entries in sys_siglist.
37167 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37170 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37173 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37174 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37175 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37176 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37178 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37179 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37180 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37181 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37182 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37183 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37184 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37186 * math/ftestexcept.c (fetestexcept): Likewise.
37187 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37188 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37189 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37190 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37191 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37192 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37195 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37198 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37201 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37203 * string/bug-strstr1.c: New file.
37204 * string/Makefile: Add rules to build and run bug-strstr1.
37206 2010-10-05 Eric Blake <eblake@redhat.com>
37209 * string/str-two-way.h (two_way_long_needle): Always clear memory
37210 when skipping input due to the shift table.
37212 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37215 * malloc/mcheck.c: Handle large requests.
37218 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37219 for strncmp and strncasecmp.
37220 * string/stratcliff.c: Add tests for strcmp and strncmp.
37221 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37223 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37225 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37228 2010-09-30 Andreas Jaeger <aj@suse.de>
37230 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37231 (CGROUP_SUPER_MAGIC): Define.
37232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37233 Handle btrfs and cgroup file systems.
37234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37237 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37239 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37240 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37242 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37245 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37246 trying to locate the ELF header.
37248 2010-09-27 Andreas Schwab <schwab@redhat.com>
37251 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37252 Mask out sign-bit copies when constructing f_fsid.
37254 2010-09-24 Petr Baudis <pasky@suse.cz>
37256 * debug/stack_chk_fail_local.c: Add missing licence exception.
37257 * debug/warning-nop.c: Likewise.
37259 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37262 implementing getdents64 using getdents syscall, set d_type if
37263 __ASSUME_GETDENTS32_D_TYPE.
37265 2010-09-16 Andreas Schwab <schwab@redhat.com>
37267 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37268 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37270 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37273 * posix/unistd.h: Undo change of feature selection for ftruncate from
37276 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37278 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37281 2010-09-20 Andreas Schwab <schwab@redhat.com>
37283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37287 2010-09-14 Andreas Schwab <schwab@redhat.com>
37289 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37290 variables after CHECK_SP call.
37291 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37293 2010-09-13 Andreas Schwab <schwab@redhat.com>
37294 Ulrich Drepper <drepper@redhat.com>
37296 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37297 re-relocationg ld.so.
37298 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37299 _dl_init_paths call.
37300 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37303 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37305 * resolv/res_init.c (__res_vinit): Count the default server we added.
37307 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37308 Ulrich Drepper <drepper@redhat.com>
37311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37312 (____longjmp_chk): Use %ebx for saving value across system call.
37315 2010-09-06 Andreas Schwab <schwab@redhat.com>
37317 * manual/Makefile: Don't mix pattern rules with normal rules.
37319 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37321 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37323 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37324 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37325 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37326 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37330 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37333 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37334 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37336 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37338 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37339 * sysdeps/x86_64/addmul_1.S: Likewise.
37340 * sysdeps/x86_64/lshift.S: Likewise.
37341 * sysdeps/x86_64/mul_1.S: Likewise.
37342 * sysdeps/x86_64/rshift.S: Likewise.
37343 * sysdeps/x86_64/sub_n.S: Likewise.
37344 * sysdeps/x86_64/submul_1.S: Likewise.
37346 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37348 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37349 Define __sched_param instead of SCHED_* and sched_param when
37350 <bits/sched.h> is included with __need_schedparam defined.
37351 * bits/sched.h [__need_schedparam]
37352 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37353 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37354 (__defined_schedparam): Define to 1.
37355 (__sched_param): New structure, identical to sched_param.
37356 (__need_schedparam): Undefine.
37358 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37361 (epoll_create1): Declare.
37363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37365 2010-08-31 Andreas Schwab <schwab@redhat.com>
37368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37369 shifting retval into place.
37371 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37373 * nis/rpcsvc/nis.h: Update copyright notice.
37374 * nis/rpcsvc/nis.x: Likewise.
37375 * nis/rpcsvc/nis_callback.h: Likewise.
37376 * nis/rpcsvc/nis_callback.x: Likewise.
37377 * nis/rpcsvc/nis_object.x: Likewise.
37378 * nis/rpcsvc/nis_tags.h: Likewise.
37379 * nis/rpcsvc/yp.h: Likewise.
37380 * nis/rpcsvc/yp.x: Likewise.
37381 * nis/rpcsvc/ypupd.h: Likewise.
37382 * nis/yp_xdr.c: Likewise.
37383 * nis/ypupdate_xdr.c: Likewise.
37385 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37386 mainly the body of pmap_getport. Add parameters to specify timeouts.
37387 (pmap_getport): Use __libc_rpc_getport.
37388 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37389 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37390 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37392 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37397 2010-08-27 Roland McGrath <roland@redhat.com>
37399 * sysdeps/i386/i686/multiarch/Makefile
37400 (CFLAGS-varshift.c): New variable.
37402 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37404 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37405 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37409 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37411 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37413 * sysdeps/x86_64/strlen.S: Unroll the loop.
37414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37415 strlen-sse2 strlen-sse2-bsf.
37416 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37417 __strlen_no_bsf if bit_Slow_BSF is set.
37418 (__strlen_sse42): Removed.
37419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37420 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37422 2010-08-25 Roland McGrath <roland@redhat.com>
37424 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37425 * sysdeps/x86_64/multiarch/varshift.c: New file.
37426 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37427 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37428 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37431 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37434 strlen-sse2 strlen-sse2-bsf.
37435 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37436 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37437 (__strlen_sse2): Removed.
37438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37441 bit_Slow_BSF for Atom.
37442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37443 (index_Slow_BSF): Define.
37444 (HAS_SLOW_BSF): Define.
37446 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37449 * resolv/res_init.c (__res_vinit): When no server address at all
37450 is given default to loopback.
37452 2010-08-24 Roland McGrath <roland@redhat.com>
37454 * configure.in: Remove config-name.h generation.
37455 * configure: Regenerated.
37456 * config-name.in: File removed.
37457 * scripts/config-uname.sh: New file.
37458 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37459 ($(objdir)config-name.h): New target.
37461 * sunrpc/rpc_parse.h: Avoid nested comment.
37463 2010-08-24 Richard Henderson <rth@redhat.com>
37464 Ulrich Drepper <drepper@redhat.com>
37465 H.J. Lu <hongjiu.lu@intel.com>
37467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37469 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37470 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37471 _mm_alignr_epi8 with _mm_loadu_si128.
37472 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37473 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37474 (__m128i_shift_right): Removed.
37475 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37476 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37477 * sysdeps/x86_64/multiarch/varshift.h: New file.
37478 * sysdeps/x86_64/multiarch/varshift.S: New file.
37480 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37482 * configure.in: Move assembler checks to before sysdep dir checking.
37484 2010-08-20 Petr Baudis <pasky@suse.cz>
37486 * LICENSES: Sync the sunrpc license.
37488 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37490 * sunrpc/auth_des.c: Update copyright notice once again.
37491 * sunrpc/auth_none.c: Likewise.
37492 * sunrpc/auth_unix.c: Likewise.
37493 * sunrpc/authdes_prot.c: Likewise.
37494 * sunrpc/authuxprot.c: Likewise.
37495 * sunrpc/bindrsvprt.c: Likewise.
37496 * sunrpc/clnt_gen.c: Likewise.
37497 * sunrpc/clnt_perr.c: Likewise.
37498 * sunrpc/clnt_raw.c: Likewise.
37499 * sunrpc/clnt_simp.c: Likewise.
37500 * sunrpc/clnt_tcp.c: Likewise.
37501 * sunrpc/clnt_udp.c: Likewise.
37502 * sunrpc/clnt_unix.c: Likewise.
37503 * sunrpc/des_crypt.c: Likewise.
37504 * sunrpc/des_soft.c: Likewise.
37505 * sunrpc/get_myaddr.c: Likewise.
37506 * sunrpc/getrpcport.c: Likewise.
37507 * sunrpc/key_call.c: Likewise.
37508 * sunrpc/key_prot.c: Likewise.
37509 * sunrpc/openchild.c: Likewise.
37510 * sunrpc/pm_getmaps.c: Likewise.
37511 * sunrpc/pm_getport.c: Likewise.
37512 * sunrpc/pmap_clnt.c: Likewise.
37513 * sunrpc/pmap_prot.c: Likewise.
37514 * sunrpc/pmap_prot2.c: Likewise.
37515 * sunrpc/pmap_rmt.c: Likewise.
37516 * sunrpc/rpc/auth.h: Likewise.
37517 * sunrpc/rpc/auth_unix.h: Likewise.
37518 * sunrpc/rpc/clnt.h: Likewise.
37519 * sunrpc/rpc/des_crypt.h: Likewise.
37520 * sunrpc/rpc/key_prot.h: Likewise.
37521 * sunrpc/rpc/netdb.h: Likewise.
37522 * sunrpc/rpc/pmap_clnt.h: Likewise.
37523 * sunrpc/rpc/pmap_prot.h: Likewise.
37524 * sunrpc/rpc/pmap_rmt.h: Likewise.
37525 * sunrpc/rpc/rpc.h: Likewise.
37526 * sunrpc/rpc/rpc_des.h: Likewise.
37527 * sunrpc/rpc/rpc_msg.h: Likewise.
37528 * sunrpc/rpc/svc.h: Likewise.
37529 * sunrpc/rpc/svc_auth.h: Likewise.
37530 * sunrpc/rpc/types.h: Likewise.
37531 * sunrpc/rpc/xdr.h: Likewise.
37532 * sunrpc/rpc_clntout.c: Likewise.
37533 * sunrpc/rpc_cmsg.c: Likewise.
37534 * sunrpc/rpc_common.c: Likewise.
37535 * sunrpc/rpc_cout.c: Likewise.
37536 * sunrpc/rpc_dtable.c: Likewise.
37537 * sunrpc/rpc_hout.c: Likewise.
37538 * sunrpc/rpc_main.c: Likewise.
37539 * sunrpc/rpc_parse.c: Likewise.
37540 * sunrpc/rpc_parse.h: Likewise.
37541 * sunrpc/rpc_prot.c: Likewise.
37542 * sunrpc/rpc_sample.c: Likewise.
37543 * sunrpc/rpc_scan.c: Likewise.
37544 * sunrpc/rpc_scan.h: Likewise.
37545 * sunrpc/rpc_svcout.c: Likewise.
37546 * sunrpc/rpc_tblout.c: Likewise.
37547 * sunrpc/rpc_util.c: Likewise.
37548 * sunrpc/rpc_util.h: Likewise.
37549 * sunrpc/rpcinfo.c: Likewise.
37550 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37551 * sunrpc/rpcsvc/key_prot.x: Likewise.
37552 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37553 * sunrpc/rpcsvc/mount.x: Likewise.
37554 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37555 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37556 * sunrpc/rpcsvc/rex.x: Likewise.
37557 * sunrpc/rpcsvc/rstat.x: Likewise.
37558 * sunrpc/rpcsvc/rusers.x: Likewise.
37559 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37560 * sunrpc/rpcsvc/spray.x: Likewise.
37561 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37562 * sunrpc/rtime.c: Likewise.
37563 * sunrpc/svc.c: Likewise.
37564 * sunrpc/svc_auth.c: Likewise.
37565 * sunrpc/svc_authux.c: Likewise.
37566 * sunrpc/svc_raw.c: Likewise.
37567 * sunrpc/svc_run.c: Likewise.
37568 * sunrpc/svc_simple.c: Likewise.
37569 * sunrpc/svc_tcp.c: Likewise.
37570 * sunrpc/svc_udp.c: Likewise.
37571 * sunrpc/svc_unix.c: Likewise.
37572 * sunrpc/svcauth_des.c: Likewise.
37573 * sunrpc/xcrypt.c: Likewise.
37574 * sunrpc/xdr.c: Likewise.
37575 * sunrpc/xdr_array.c: Likewise.
37576 * sunrpc/xdr_float.c: Likewise.
37577 * sunrpc/xdr_mem.c: Likewise.
37578 * sunrpc/xdr_rec.c: Likewise.
37579 * sunrpc/xdr_ref.c: Likewise.
37580 * sunrpc/xdr_sizeof.c: Likewise.
37581 * sunrpc/xdr_stdio.c: Likewise.
37583 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37586 2010-08-19 Andreas Schwab <schwab@redhat.com>
37588 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37590 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37592 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37593 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37595 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37597 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37599 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37602 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37604 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37607 2010-07-26 Anton Blanchard <anton@samba.org>
37609 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37610 * malloc/arena.c (heap_trim): Likewise.
37612 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37614 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37617 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37619 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37621 * sysdeps/i386/elf/Makefile: New file.
37623 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37625 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37626 from fanotify_init.
37627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37630 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37632 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37634 * sysdeps/multiarch/strcmp.S: Likewise.
37636 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37639 strncase_l-nonascii.
37640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37641 Add strncase_l-ssse3.
37642 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37643 * sysdeps/x86_64/strcmp.S: Likewise.
37644 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37645 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37646 * sysdeps/x86_64/strncase.S: New file.
37647 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37648 * sysdeps/x86_64/strncase_l.S: New file.
37649 * string/Makefile (strop-tests): Add strncasecmp.
37650 * string/test-strncasecmp.c: New file.
37652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37655 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37658 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37660 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37662 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37664 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37665 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37668 2010-05-01 Alan Modra <amodra@gmail.com>
37670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37671 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37672 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37673 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37674 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37675 tidying. Don't tail-call __sigjmp_save for static lib.
37676 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37678 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37679 (CALL_MCOUNT): Add eh info, and nop after bl.
37680 (TAIL_CALL_SYSCALL_ERROR): New macro.
37681 (PSEUDO_RET): Use it.
37682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37683 Correct save location of integer regs and cr.
37684 (_dl_profile_resolve): Correct cr save location. Delete nops
37685 after bl when SHARED. Reduce cfi size a little by better
37686 placement of cfi directives.
37687 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37688 make a stack frame. Instead use parm save area as a temp.
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37690 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37692 Don't make a stack frame for parent, use parm save area.
37693 Increase child stack frame to 112 bytes. Don't save unused reg,
37694 and adjust reg usage. Set up cfi on error recovery and
37695 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37697 (__makecontext): Add dummy nop after jump to exit.
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37699 Use correct parm save area and cr save, reduce stack frame.
37700 Correct cfi for possible PSEUDO_RET frame setup.
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37702 Branch to local label emitted by PSEUDO_RET rather than
37705 2010-08-12 Andreas Schwab <schwab@redhat.com>
37708 * locale/programs/locale.c (print_assignment): New function.
37709 (show_locale_vars): Use it.
37711 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37713 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37715 (struct statfs64): Likewise.
37716 (_STATFS_F_FLAGS): Define.
37717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37719 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37720 (ST_VALID): Define locally.
37721 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37722 __statvfs_getflags, use the provided value.
37723 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37724 __ASSUME_STATFS_F_FLAGS.
37726 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37729 Add sys/fanotify.h.
37730 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37731 fanotify_mask for GLIBC_2.13.
37732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37733 fanotify_init and fanotify_mark.
37734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37735 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37737 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37739 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37740 prlimit64 for GLIBC_2.13.
37741 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37751 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37754 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37755 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37757 * nss/Makefile: Add rules to build and run tst-nss-test1.
37758 * shlib-versions: Add entry for libnss_test1.
37759 * nss/nss_test1.c: New file.
37760 * nss/tst-nss-test1.c: New file.
37762 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37763 (__nss_configure_lookup): Set appropriate entry in
37764 __nss_configure_lookup to true.
37765 * nss/nsswitch.h: Define enum with indeces of databases in
37766 databases and __nss_database_custom arrays. Declare
37767 __nss_database_custom.
37768 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37769 to avoid using nscd when custom rules are installed.
37770 * nss/getXXbyYY_r.c: Likewise.
37771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37773 * nss/nss_files/files-parse.c: Whitespace fixes.
37775 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37778 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37779 * posix/fnmatch_loop.c: Likewise.
37781 2010-07-17 Andi Kleen <ak@linux.intel.com>
37783 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37784 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37785 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37786 * Versions.def [GLIBC_2.13]: Add.
37788 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37791 Also fail if tpwd after pwuid call is NULL.
37793 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37795 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37796 when converting to ms.
37798 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37800 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37801 EOPNOTSUPP errors with ENOTTY.
37802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37803 EOPNOTSUPP errors with ENOTTY.
37805 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37808 Add strcasecmp_l-ssse3.
37809 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37811 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37815 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37817 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37819 * string/Makefile (strop-tests): Add strcasecmp.
37820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37821 strcasecmp_l-nonascii.
37822 (gen-as-const-headers): Add locale-defines.sym.
37823 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37824 * sysdeps/x86_64/strcasecmp.S: New file.
37825 * sysdeps/x86_64/strcasecmp_l.S: New file.
37826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37827 * sysdeps/x86_64/locale-defines.sym: New file.
37828 * string/test-strcasecmp.c: New file.
37830 * string/test-strcasestr.c: Test both ends of the range of characters.
37831 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37833 2010-07-29 Roland McGrath <roland@redhat.com>
37836 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37838 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37840 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37843 2010-07-27 Andreas Schwab <schwab@redhat.com>
37845 * manual/memory.texi (Malloc Tunable Parameters): Document
37848 2010-07-26 Roland McGrath <roland@redhat.com>
37851 * configure.in (-fgnu89-inline check): Set and substitute
37852 gnu89_inline, not libc_cv_gnu89_inline.
37853 * configure: Regenerated.
37854 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37856 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37858 * string/test-strnlen.c: New file.
37859 * string/Makefile (strop-tests): Add strnlen.
37860 * string/tester.c (test_strnlen): Add a few more test cases.
37861 * string/tst-strlen.c: Better error reporting.
37863 * sysdeps/x86_64/strnlen.S: New file.
37865 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37868 lower-latency instructions.
37870 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37872 * string/test-strcasestr.c: New file.
37873 * string/test-strstr.c: New file.
37874 * string/Makefile (strop-tests): Add strstr and strcasestr.
37875 * string/str-two-way.h: Don't undefine MAX.
37876 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37878 2010-07-21 Andreas Schwab <schwab@redhat.com>
37880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37881 strcasestr-nonascii.
37882 (CFLAGS-strcasestr-nonascii.c): Define.
37883 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37885 Remove unused attribute.
37887 2010-07-20 Roland McGrath <roland@redhat.com>
37889 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37890 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37891 ld.so.cache was broken. With it, there is no way to disable dsocaps
37892 like LD_HWCAP_MASK can disable hwcaps.
37894 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37896 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37898 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37900 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37901 call in strcasestr.
37902 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37903 __strcasestr_sse42_nonascii.
37904 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37905 strcasestr-nonascii.c.
37906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37908 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37915 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37920 2010-07-06 Andreas Schwab <schwab@redhat.com>
37923 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37926 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37929 _PC_PIPE_BUF using F_GETPIPE_SZ.
37931 2010-07-05 Roland McGrath <roland@redhat.com>
37933 * manual/arith.texi (Rounding Functions): Fix rint description
37934 implicit in round description.
37936 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37938 * elf/Makefile: Fix linking for a few tests to make recent linker
37941 2010-06-30 Andreas Schwab <schwab@redhat.com>
37943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37944 $(common-objpfx)libc_nonshared.a.
37946 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37948 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37949 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37950 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37952 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37955 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37970 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37971 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37972 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37973 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37974 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37975 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37976 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37977 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37978 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37979 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37980 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37981 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37997 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37999 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38000 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38001 * string/memmove.c (memmove): Renamed to ...
38002 (MEMMOVE): ...this. Default to memmove.
38003 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38004 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38007 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38008 mempcpy-ssse3-back memmove-ssse3-back.
38009 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38012 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38013 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38014 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38015 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38016 * sysdeps/x86_64/multiarch/memmove.c: New file.
38017 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38020 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38024 (index_Fast_Copy_Backward): Define.
38025 (HAS_ARCH_FEATURE): Define.
38026 (HAS_FAST_REP_STRING): Define.
38027 (HAS_FAST_COPY_BACKWARD): Define.
38029 2010-06-21 Andreas Schwab <schwab@redhat.com>
38031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38032 Restore proper fallback handling.
38034 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38037 * posix/group_member.c (__group_member): Correct checking loop.
38039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38040 OOM in getpwuid_r correctly. Return error number when the caller
38041 should return, otherwise -1.
38042 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38043 call returning > 0 value.
38044 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38046 2010-06-07 Andreas Schwab <schwab@redhat.com>
38048 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38049 libc_nonshared.a from targets in modules-names.
38051 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38053 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38056 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38063 2010-06-02 Andreas Schwab <schwab@redhat.com>
38065 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38067 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38078 2010-06-14 Roland McGrath <roland@redhat.com>
38080 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38082 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38084 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38085 __REDIRECT followed by __THROW.
38086 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38087 * posix/getopt.h (getopt): Likewise.
38089 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38091 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38092 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38093 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38095 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38096 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38098 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38102 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38106 Properly check family and model.
38108 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38112 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38114 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38116 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38118 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38121 2010-05-19 Andreas Schwab <schwab@redhat.com>
38123 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38126 2010-05-21 Andreas Schwab <schwab@redhat.com>
38128 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38129 and internal_recvmmsg.
38130 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38131 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38133 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38135 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38136 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38137 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38139 2010-05-20 Andreas Schwab <schwab@redhat.com>
38141 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38143 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38145 POWER7 optimizations.
38146 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38147 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38149 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38151 * version.h: Update for 2.13 development version.
38153 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38156 exceptions. Return 0.
38158 2010-05-07 Roland McGrath <roland@redhat.com>
38160 * elf/ldconfig.c (main): Add a const.
38162 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38164 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38165 (args_options): Add no-idn option.
38166 (ahosts_keys_int): Add idn_flags to ai_flags.
38167 (parse_option): Handle 'i' option to clear idn_flags.
38169 * malloc/malloc.c (_int_free): Possible race in the most recently
38170 added check. Only act on the data if no current modification
38173 See ChangeLog.17 for earlier changes.