1 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/acosh-inputs: New inputs.
4 * benchtests/asinh-inputs: Likewise.
6 * benchtests/cosh-inputs: New inputs.
7 * benchtests/sinh-inputs: Likewise.
9 * benchtests/acos-inputs: Add more inputs.
10 * benchtests/asin-inputs: Likewise.
12 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15 * manual/arith.texi: Fix spelling.
16 * manual/charset.texi: Likewise.
17 * manual/errno.texi: Likewise.
18 * manual/filesys.texi: Likewise.
19 * manual/lang.texi: Likewise.
20 * manual/llio.texi: Likewise.
21 * manual/locale.texi: Likewise.
22 * manual/message.texi: Likewise.
23 * manual/resource.texi: Likewise.
24 * manual/search.texi: Likewise.
25 * manual/setjmp.texi: Likewise.
26 * manual/stdio.texi: Likewise.
27 * manual/string.texi: Likewise.
28 * manual/sysinfo.texi: Likewise.
29 * manual/time.texi: Likewise.
31 2013-12-27 Carlos O'Donell <carlos@redhat.com>
35 2013-12-27 Mike Frysinger <vapier@gentoo.org>
37 * .gitignore: Add core/.gdbinit/.gdb_history.
39 2013-12-27 Allan McRae <allan@archlinux.org>
42 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45 2013-12-24 Brooks Moses <bmoses@google.com>
47 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48 all compilers that claim C++98 compliance, not just GCC.
49 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
54 * NEWS: Restore accidentally deleted bug-fix entries.
56 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
57 Ondřej Bílka <neleai@seznam.cz>
60 * malloc/malloc.c (_int_free): Perform sanity check only if we
63 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
66 * manual/stdio.texi (String Input Conversions): Clarify that character
67 classes are not supported.
69 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73 2013-12-22 Joseph Myers <joseph@codesourcery.com>
76 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
77 Calculate results for small negative arguments directly rather
78 than using reflection formula with special underflow handling.
80 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
81 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
82 sysdeps/unix/bsd/bsd4.4/syscalls.list.
86 (sigaltstack): Likewise.
89 (sigsetmask): Likewise.
92 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
93 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
95 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
96 * sysdeps/unix/bsd/Makefile: ... here.
97 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
98 * sysdeps/unix/bsd/Versions: ... here.
99 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
100 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
101 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
102 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
103 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
104 * sysdeps/unix/bsd/sigblock.c: ... here.
105 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
106 * sysdeps/unix/bsd/sigsetmask.c: ... here.
107 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
108 * sysdeps/unix/bsd/sigvec.c: ... here.
109 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
110 * sysdeps/unix/bsd/tcdrain.c: ... here.
111 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
112 * sysdeps/unix/bsd/tcgetattr.c: ... here.
113 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
114 * sysdeps/unix/bsd/tcsetattr.c: ... here.
115 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
116 * sysdeps/unix/bsd/wait.c: ... here.
117 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
118 * sysdeps/unix/bsd/wait3.c: ... here.
119 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
120 * sysdeps/unix/bsd/waitpid.c: ... here.
122 2013-12-21 Joseph Myers <joseph@codesourcery.com>
125 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
126 round-to-nearest for [!USE_AS_EXPM1L].
127 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
128 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
129 more tests of exp and exp10. Expect some exp10 tests to miss
130 exceptions or fail in directed rounding modes.
131 * math/auto-libm-test-out: Regenerated.
132 * math/libm-test.inc (exp10_tonearest_test_data): New array.
133 (exp10_test_tonearest): New function.
134 (exp10_towardzero_test_data): New array.
135 (exp10_test_towardzero): New function.
136 (exp10_downward_test_data): New array.
137 (exp10_test_downward): New function.
138 (exp10_upward_test_data): New array.
139 (exp10_test_upward): New function.
140 (main): Call the new functions.
141 * sysdeps/i386/fpu/libm-test-ulps: Update.
142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144 2013-12-20 Joseph Myers <joseph@codesourcery.com>
146 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
147 asinh, atan, atan2, atanh, cbrt, cos and cosh.
148 * math/auto-libm-test-out: Regenerated.
149 * math/libm-test.inc (acosh_test_data): Add more tests.
150 (atanh_test_data): Likewise.
151 (ceil_test_data): Likewise.
152 (copysign_test_data): Likewise.
153 * sysdeps/i386/fpu/libm-test-ulps: Update.
154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
156 * timezone/checktab.awk: Update from tzcode 2013i.
157 * timezone/private.h: Likewise.
158 * timezone/scheck.c: Likewise.
159 * timezone/tzfile.h: Likewise.
160 * timezone/tzselect.ksh: Likewise.
161 * timezone/zdump.c: Likewise.
162 * timezone/zic.c: Likewise.
164 * math/auto-libm-test-in: Add tests of cpow.
165 * math/auto-libm-test-out: Regenerated.
166 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
167 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
169 (func_calc_desc): Add mpc_cc_c union field.
170 (test_functions): Add cpow.
171 (special_fill_2pi): New function.
172 (special_real_inputs): Add 2pi.
173 (calc_generic_results): Handle mpc_cc_c.
174 * sysdeps/i386/fpu/libm-test-ulps: Update.
175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
178 csqrt, ctan and ctanh.
179 * math/auto-libm-test-out: Regenerated.
180 * math/libm-test.inc (TEST_COND_x86_64): New macro.
181 (TEST_COND_x86): Likewise.
182 (ccos_test_data): Use AUTO_TESTS_c_c.
183 (ccosh_test_data): Likewise.
184 (cexp_test_data): Likewise.
185 (clog_test_data): Likewise.
186 (csqrt_test_data): Likewise.
187 (ctan_test_data): Likewise.
188 (ctan_tonearest_test_data): Likewise.
189 (ctan_towardzero_test_data): Likewise.
190 (ctan_downward_test_data): Likewise.
191 (ctan_upward_test_data): Likewise.
192 (ctanh_test_data): Likewise.
193 (ctanh_tonearest_test_data): Likewise.
194 (ctanh_towardzero_test_data): Likewise.
195 (ctanh_downward_test_data): Likewise.
196 (ctanh_upward_test_data): Likewise.
197 * math/gen-auto-libm-tests.c (func_calc_method): Add value
199 (func_calc_desc): Add mpc_c_c union field.
200 (FUNC_mpc_c_c): New macro.
201 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
202 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
204 (special_fill_min_subnorm_p120): New function.
205 (special_real_inputs): Add min_subnorm_p120.
206 (calc_generic_results): Handle mpc_c_c.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
210 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
212 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
213 do_sin_slow): New functions.
214 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
215 cslow2, csloww1, csloww2): Use the new functions.
217 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
218 Use M to change sign of result instead of X. Assume X is
224 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
229 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
231 (sloww1): Don't adjust sign of DX.
233 (sloww2): Use X directly and don't adjust sign of DX.
236 2013-12-19 Joseph Myers <joseph@codesourcery.com>
238 * math/auto-libm-test-in: Add tests of cabs and carg.
239 * math/auto-libm-test-out: Regenerated.
240 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
241 (carg_test_data): Likewise.
242 * math/gen-auto-libm-tests.c (func_calc_method): Add value
244 (func_calc_desc): Add mpc_c_f union field.
245 (test_functions): Add cabs and carg.
246 (calc_generic_results): Handle mpc_c_f.
248 * sysdeps/powerpc/powerpc32/libgcc-compat.S
249 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
250 as a macro and a compat symbol.
251 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
252 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
253 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
254 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
255 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
256 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
258 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
260 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
262 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
264 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
266 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
268 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
269 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
272 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
276 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
278 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
279 (__signal_safe_memalign, __signal_safe_free): Use it.
280 (__signal_safe_realloc): Likewise.
282 2013-12-19 Joseph Myers <joseph@codesourcery.com>
284 * manual/texinfo.tex: Update to version 2013-11-26.10 with
285 trailing whitespace removed.
286 * scripts/config.guess: Update to version 2013-11-29.
287 * scripts/config.sub: Update to version 2013-10-01.
289 * math/auto-libm-test-in: Add tests of sincos.
290 * math/auto-libm-test-out: Regenerated.
291 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
294 (func_calc_desc): Add mpfr_f_11 union field.
295 (test_functions): Add sincos.
296 (calc_generic_results): Handle mpfr_f_11.
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
300 2013-12-19 Andreas Schwab <schwab@suse.de>
302 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
304 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
305 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
306 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
308 2013-12-19 Joseph Myers <joseph@codesourcery.com>
310 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
311 * sysdeps/i386/fpu/libm-test-ulps: Update.
312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
316 round-to-nearest mode when using frndint.
317 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
318 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
321 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
323 * math/auto-libm-test-out: Regenerated.
324 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
325 (TEST_COND_x86): Likewise.
326 (expm1_tonearest_test_data): New array.
327 (expm1_test_tonearest): New function.
328 (expm1_towardzero_test_data): New array.
329 (expm1_test_towardzero): New function.
330 (expm1_downward_test_data): New array.
331 (expm1_test_downward): New function.
332 (expm1_upward_test_data): New array.
333 (expm1_test_upward): New function.
334 (main): Run the new test functions.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338 * include/features.h: Update comment documenting feature test
339 macros. Mention _DEFAULT_SOURCE in comment.
340 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
341 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
342 _BSD_SOURCE and _SVID_SOURCE.
343 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
344 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
345 !_SVID_SOURCE]: Likewise.
346 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
347 (__USE_POSIX_IMPLICITLY): Define.
348 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
349 (_POSIX_SOURCE): Undefine and redefine.
350 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
351 (_POSIX_C_SOURCE): Likewise.
352 * manual/creature.texi (_DEFAULT_SOURCE): Document.
353 (Feature Test Macros): Update documentation of default features.
355 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
357 * benchtests/Makefile: Add bench-strtok.
358 * benchtests/bench-strtok.c: New file: strtok benchtest.
360 2013-12-19 Allan McRae <allan@archlinux.org>
362 * manual/install.texi: Suppress menu for plain text output.
363 * INSTALL: Regenerated.
365 2013-12-18 Andrew Hunter <ahh@google.com>
367 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
368 (__signal_safe_malloc, __signal_safe_free): Likewise.
369 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
370 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
371 (__signal_safe_memalign, __signal_safe_malloc): New function.
372 (__signal_safe_free, __signal_safe_realloc): Likewise.
373 (__signal_safe_calloc): Likewise.
374 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
376 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
378 2013-12-18 Andrew Hunter <ahh@google.com>
380 * elf/Versions (ld): Add _dl_clear_dtv.
381 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
382 * elf/dl-tls.c (_dl_clear_dtv): New function.
383 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
385 2013-12-18 Andrew Hunter <ahh@google.com>
387 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
388 (_dl_unmask_signals): Likewise.
389 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
390 (_dl_unmask_all_signals): Likewise.
391 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
392 (_dl_unmask_all_signals): Likewise.
393 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
394 (_dl_unmask_signals): Likewise.
396 2013-12-18 Brooks Moses <bmoses@google.com>
399 * misc/getauxval.c: Include errno.h.
400 (__getauxval): Set errno to ENOENT if the requested type is not
402 * misc/sys/auxv.h (getauxval): Document that it may set errno;
403 don't declare with __attribute_const__.
404 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
405 * manual/startup.texi: Document that getauxval sets errno.
407 2013-12-18 Joseph Myers <joseph@codesourcery.com>
409 * math/auto-libm-test-in: Add tests of jn and yn.
410 * math/auto-libm-test-out: Regenerated.
411 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
412 (yn_test_data): Likewise.
413 * math/gen-auto-libm-tests.c (func_calc_method): Add value
415 (func_calc_desc): Add mpfr_if_f union field.
416 (FUNC_mpfr_if_f): New macro.
417 (test_functions): Add jn and yn.
418 (calc_generic_results): Assert type of second input for
419 mpfr_ff_f. Handle mpfr_if_f.
420 (output_for_one_input_case): Disable all checking for arguments
421 fitting floating-point types in case of an integer argument.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
426 Don't expect fegetround reference in libm.so.
428 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
430 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
431 $(config-cflags-nofma).
433 2013-12-18 Joseph Myers <joseph@codesourcery.com>
435 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
436 * math/auto-libm-test-out: Regenerated.
439 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
440 to determine exponent and adjust argument to have exponent of -1.
441 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
443 * math/auto-libm-test-out: Regenerated.
444 * sysdeps/i386/fpu/libm-test-ulps: Update.
445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
447 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
449 * manual/probes.texi: Remove cases when per-thread arenas are
452 2013-12-18 Andreas Schwab <schwab@suse.de>
454 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
455 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
456 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
457 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
458 * sysdeps/i386/i686/multiarch/Makefile: Update.
459 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
461 2013-12-17 Joseph Myers <joseph@codesourcery.com>
463 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
464 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
466 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
468 Support TZ transition times < 00:00:00.
469 This is needed for version-3 tz-format files; it supports time
470 stamps past 2037 for America/Godthab (the only entry in the tz
471 database for which this change is relevant).
472 * manual/time.texi (TZ Variable): Document transition times
473 from -167:59:59 through -00:00:01.
474 * time/tzset.c (tz_rule): Time of day is now signed.
475 (__tzset_parse_tz): Parse negative time of day.
477 Document TZ transition times >= 25:00:00.
478 * manual/time.texi (TZ Variable): Document transition times from
479 25:00:00 through 167:59:59. These are already supported, and this
480 support will help with version-3 tz-format files.
482 * manual/time.texi (TZ Variable): Modernize North America example
483 to reflect current (i.e., 2007-and-later) daylight saving rules.
485 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
487 2013-12-17 Joseph Myers <joseph@codesourcery.com>
489 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
490 * sysdeps/unix/bsd/bits/stat.h: Likewise.
491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
493 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
494 * sysdeps/unix/bsd/bsdstat.h: Likewise.
495 * sysdeps/unix/bsd/clock.c: Likewise.
496 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
497 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
498 * sysdeps/unix/bsd/init-posix.c: Likewise.
499 * sysdeps/unix/bsd/poll.c: Likewise.
500 * sysdeps/unix/bsd/ptsname.c: Likewise.
501 * sysdeps/unix/bsd/seekdir.c: Likewise.
502 * sysdeps/unix/bsd/setegid.c: Likewise.
503 * sysdeps/unix/bsd/seteuid.c: Likewise.
504 * sysdeps/unix/bsd/setgid.c: Likewise.
505 * sysdeps/unix/bsd/setrgid.c: Likewise.
506 * sysdeps/unix/bsd/setruid.c: Likewise.
507 * sysdeps/unix/bsd/setsid.c: Likewise.
508 * sysdeps/unix/bsd/setuid.c: Likewise.
509 * sysdeps/unix/bsd/sigaction.c: Likewise.
510 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
511 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
512 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
513 * sysdeps/unix/bsd/telldir.c: Likewise.
514 * sysdeps/unix/bsd/times.c: Likewise.
515 * sysdeps/unix/bsd/usleep.c: Likewise.
517 * misc/Makefile (install-lib): Remove libbsd-compat.a.
518 ($(objpfx)libbsd-compat.a): Remove rule.
520 * include/features.h (__FAVOR_BSD): Do not define.
521 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
522 features conflicting with POSIX.
523 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
524 (_BSD_SOURCE): Remove description of not being a subset of other
526 * manual/job.texi (getpgrp): Do not document BSD version.
527 (getpgid): Do not document by reference to BSD getpgrp.
528 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
529 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
530 * signal/signal.h [__FAVOR_BSD]: Likewise.
531 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
532 instead of making contents conditional on [__FAVOR_BSD].
533 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
535 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
539 2013-12-17 Joseph Myers <joseph@codesourcery.com>
542 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
543 values below 2**-450, not 2**-500.
544 * math/auto-libm-test-in: Don't allow spurious underflow from
546 * math/auto-libm-test-out: Regenerated.
550 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
551 values of ha and hb and sort them after adjusting subnormal
553 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
555 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
556 values of ea and eb and sort them after adjusting subnormal
558 * math/auto-libm-test-in: Do not expect some hypot tests of
559 subnormals to fail. Add more hypot tests.
560 * math/auto-libm-test-out: Regenerated.
562 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
565 * sysdeps/sh/s_fma.c: New file.
566 * sysdeps/sh/s_fmaf.c: New file.
567 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
569 * sysdeps/sh/Implies: Add sh/soft-fp.
571 2013-12-16 Roland McGrath <roland@hack.frob.com>
573 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
574 level of indirection to members `objname', `errstring', `malloced'.
575 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
576 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
577 it as the __longjmp argument (just pass 1 instead).
578 (_dl_catch_error): Initialize C with argument pointers and address of
579 volatile local ERRCODE rather than copying values out of C at return.
581 2013-12-16 Joseph Myers <joseph@codesourcery.com>
583 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
584 * math/auto-libm-test-out: Regenerated.
585 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
586 (hypot_test_data): Likewise.
587 (pow_test_data): Likewise.
588 (pow_tonearest_test_data): Likewise.
589 * math/gen-auto-libm-tests.c (func_calc_method): Add value
591 (func_calc_desc): Add mpfr_ff_f union field.
592 (FUNC_mpfr_ff_f): New macro.
593 (test_functions): Add atan2, hypot and pow.
594 (special_fill_min): New function.
595 (special_fill_minus_min): Likewise.
596 (special_fill_min_subnorm): Likewise.
597 (special_fill_minus_min_subnorm): Likewise.
598 (special_real_inputs): Add min, -min, min_subnorm and
600 (calc_generic_results): Handle mpfr_ff_f.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 2013-12-16 Will Newton <will.newton@linaro.org>
606 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
607 (Aligned Memory Blocks): Add documentation for aligned_alloc
608 and suggest it as an alternative to posix_memalign.
609 (Hooks for Malloc): Document __memalign_hook is also called
610 for aligned_alloc. (Summary of Malloc): Add summary for
611 aligned alloc. Document __memalign_hook is also called
614 2013-12-16 Will Newton <will.newton@linaro.org>
616 * manual/memory.texi (Malloc Examples): Clarify default
617 alignment documentation. Suggest posix_memalign rather
618 than memalign or valloc.
619 (Aligned Memory Blocks): Remove suggestion to use memalign
620 or valloc. Remove obsolete comment about BSD.
621 Document memalign errno values and mark the function obsolete.
622 Document posix_memalign returned error codes. Mark valloc
623 as obsolete. (Hooks for Malloc): __memalign_hook is also
624 called for posix_memalign and valloc.
625 (Summary of Malloc): Add posix_memalign to function summary.
626 __memalign_hook is also called for posix_memalign and valloc.
628 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
630 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
634 (sloww): Use mynumber union. Expand ternary operator into
636 (cslow): use mynumber union.
638 2013-12-16 Allan McRae <allan@archlinux.org>
640 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
641 * configure: Regenerated.
643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
646 * configure.ac: Added --enable-maintainer-mode. Check for
647 autoconf when enabled.
648 * configure: Regenerated.
650 * nscd/nscd.service: New file.
651 * nscd/nscd.tmpfiles: New file.
653 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
656 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
657 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
658 * sysdeps/x86_64/multiarch/strstr.c: ... here.
659 (strstr): Add __strstr_sse2_unaligned ifunc.
660 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
661 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
662 (strcasestr): Remove __strcasestr_sse42 ifunc.
663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
667 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
669 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
670 * sysdeps/sh/bits/fenv.h: ... here.
671 * sysdeps/sh/sh4/fpu/bits: Remove directory.
673 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
677 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
680 hypotf multiarch implementations.
681 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
684 multiarch hypot for PPC64.
685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
688 multiarch hypotf for PPC64.
690 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
693 modff multiarch implementations.
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
697 multiarch modf for PPC64.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
701 multiarch modff for PPC64.
703 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
706 and logl multiarch implementations.
707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
710 multiarch logb for PPC64.
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
714 multiarch logb for PPC64.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
718 multiarch logb for PPC64.
720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
723 isinff multiarch implementation.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
728 multiarch isinf for PPC64.
729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
732 multiarch isinff for PPC64.
734 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
737 finitef multiarch implementation.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
742 multiarch finite for PPC64.
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
746 multiarch finitef for PPC64.
748 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
751 lrint multiarch implementation.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
756 multiarch llrint for PPC64.
757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
758 multiarch lrint for PPC64.
760 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
763 copysignf multiarch implementation.
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
769 multiarch copysign for PPC64.
770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
771 multiarch copysignf for PPC64.
773 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
776 multiarch implementation.
777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
785 multiarch llround for PPC64.
786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
787 multiarch trunc for PPC64.
788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
789 multiarch truncf for PPC64.
791 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
794 multiarch implementation.
795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
803 multiarch llround for PPC64.
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
805 multiarch round for PPC64.
806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
807 multiarch roundf for PPC64.
809 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
812 multiarch implementation.
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
821 multiarch llround for PPC64.
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
823 multiarch floor for PPC64.
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
825 multiarch floorf for PPC64.
827 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
830 multiarch implementation.
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
839 multiarch llround for PPC64.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
841 multiarch ceil for PPC64.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
843 multiarch ceilf for PPC64.
845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
848 multiarch implementation.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
856 multiarch llround for PPC64.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
858 multiarch lround for PPC64.
860 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
863 multiarch implementation.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
871 multiarch isnan for PPC64.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
873 multiarch isnanf for PPC64.
875 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
878 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
879 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
880 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
881 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
884 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
891 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
894 multiarch implementations.
895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
896 (__libc_ifunc_impl_list): Likewise.
897 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
898 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
899 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
900 multiarch stpcpy for PPC64.
902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
905 multiarch implementations.
906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
907 (__libc_ifunc_impl_list): Likewise.
908 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
909 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
910 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
911 multiarch strcpy for PPC64.
913 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
916 redefine function name.
917 (_wordcopy_fwd_dest_aligned): Likewise.
918 (_wordcopy_bwd_aligned): Likewise.
919 (_wordcopy_bwd_dest_aligned): Likewise.
920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
921 multiarch implementations.
922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
923 (__libc_ifunc_impl_list): Likewise.
924 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
925 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
926 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
927 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
928 multiarch wcscpy for PPC64.
930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
933 multiarch implementations.
934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
935 (__libc_ifunc_impl_list): Likewise.
936 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
937 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
938 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
939 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
940 multiarch wcscpy for PPC64.
942 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
945 multiarch implementations.
946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
947 (__libc_ifunc_impl_list): Likewise.
948 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
949 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
950 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
951 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
952 multiarch wcsrchr for PPC64.
954 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
957 multiarch implementations.
958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
959 (__libc_ifunc_impl_list): Likewise.
960 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
961 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
962 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
963 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
964 multiarch wcschr for PPC64.
966 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
969 multiarch implementations.
970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
971 (__libc_ifunc_impl_list): Likewise.
972 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
973 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
974 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
975 multiarch strchrnul for PPC64.
977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
982 (__libc_ifunc_impl_list): Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
984 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
985 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
986 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
989 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Likewise.
995 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
996 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
997 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
998 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1001 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1004 multiarch implementations.
1005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1006 (__libc_ifunc_impl_list): Likewise.
1007 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1008 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1009 strncasecmp for PPC64.
1010 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1011 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1012 multiarch strncasecmp_l for PPC64.
1014 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1017 multiarch implementations.
1018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1019 (__libc_ifunc_impl_list): Likewise.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1021 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1022 multiarch strcasecmp for PPC64.
1023 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1025 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1026 multiarch strcasecmp_l for PPC64.
1028 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1033 (__libc_ifunc_impl_list): Likewise.
1034 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1036 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1039 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1044 (__libc_ifunc_impl_list): Likewise.
1045 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1046 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1047 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1050 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Likewise.
1056 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1057 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1058 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1059 rawmemrchr for PPC64.
1061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1066 (__libc_ifunc_impl_list): Likewise.
1067 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1068 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1069 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1077 (__libc_ifunc_impl_list): Likewise.
1078 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1083 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1088 (__libc_ifunc_impl_list): Likewise.
1089 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1090 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1091 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1094 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1096 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1097 avoid cretion of __bzero symbol.
1098 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1100 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1102 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1105 multiarch implementations.
1106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1107 (__libc_ifunc_impl_list): Likewise.
1108 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1110 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1113 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1114 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1115 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1117 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1119 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1121 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1127 (__libc_ifunc_impl_list): Likewise.
1128 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1129 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1137 multiarch for POWER/PPC64.
1138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1139 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1141 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1144 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1145 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1146 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1149 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1152 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1153 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1155 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1156 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1157 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1158 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1159 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1160 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1161 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1162 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1163 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1164 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1165 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1174 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1178 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1180 * benchtests/Makefile (bench): Add exp2 and log2.
1181 (LDLIBS-bench-exp2): Add -lm.
1182 (LDLIBS-bench-log2): Likewise.
1183 * benchtests/exp2-inputs: New inputs file.
1184 * benchtests/log2-inputs: New inputs file.
1185 * benchtests/log-inputs: Add new inputs.
1186 * benchtests/tan-inputs: Likewise.
1188 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1190 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1192 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1193 csloww1, csloww2): ... from here.
1195 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1196 instead of structures.
1197 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1198 (POLYNOMIAL): Likewise.
1199 (TAYLOR_SLOW): Likewise.
1207 (bsloww1): Likewise.
1208 (bsloww2): Likewise.
1211 (csloww1): Likewise.
1212 (csloww2): Likewise.
1214 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1216 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1217 (__malloc_assert, __libc_realloc, __libc_calloc,
1218 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1220 * malloc/hooks.c (realloc_check): Likewise.
1222 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1224 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1225 * malloc/arena.c: Remove PER_THREAD conditional.
1226 [!PER_THREAD]: Remove code.
1227 (ptmalloc_unlock_all2): Likewise.
1228 (ptmalloc_init): Likewise.
1229 (_int_new_arena): Likewise.
1230 (arena_get2): Likewise.
1231 * malloc/hooks.c (__malloc_get_state): Likewise.
1232 (__malloc_set_state): Likewise.
1233 * malloc/malloc.c: Likewise.
1234 (struct malloc_state): Likewise.
1235 (struct malloc_par): Likewise.
1236 (__libc_realloc): Likewise.
1237 (__libc_mallopt): Likewise.
1239 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1243 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1245 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1246 macro to a function. Check for zero perturb_byte.
1247 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1249 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1251 * malloc/malloc.c: (force_reg): Remove.
1252 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1253 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1254 force_reg by atomic_forced_read.
1255 * malloc/arena.c (ptmalloc_init): Likewise.
1256 * malloc/hooks.c (top_check): Likewise.
1258 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1262 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1266 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1268 * math/auto-libm-test-in: Add tests of lgamma.
1269 * math/auto-libm-test-out: Regenerated.
1270 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1271 (M_LOG_2_SQRT_PIl): Likewise.
1272 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1273 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1275 (func_calc_desc): Add mpfr_f_f1 union field.
1284 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1285 (test_functions): Add lgamma.
1286 (calc_generic_results): Handle mpfr_f_f1.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1290 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1293 __mpn_add_n for PowerPC64/POWER7.
1294 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1295 __mpn_sub_n for PowerPC64/POWER7.
1297 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1299 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1300 __mpn_addmul_1 for PowerPC64.
1301 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1302 __mpn_submul_1 for PowerPC64.
1303 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1305 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1308 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1311 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1313 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1317 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1320 add multiarch folders.
1321 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1322 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1323 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1324 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1325 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1326 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1327 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1328 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1329 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1330 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1331 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1342 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1348 multiarch __ieee754_hypot for PowerPC32.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1354 multiarch __ieee754_hypotf for PowerPC32.
1356 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1359 long_double_symbol only if __logbl is defined.
1360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1361 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1363 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1365 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1367 path for implementation.
1368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1371 logb, and logbl multiarch implementations for PowerPC32.
1372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1377 multiarch logb for PowerPC32.
1378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1383 multiarch logbf for PowerPC32.
1384 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1388 multiarch logbl implementation for PowerPC32.
1390 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1393 and modff multiarch implementations.
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1399 multiarch modf for PowerPC32.
1400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1405 multiarch modff for PowerPC32.
1407 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1410 and lrintf multiarch implementations.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1416 multiarch lrint for PowerPC32.
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1418 file: multiarch lrintf for PowerPC32.
1420 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1423 and lroundf multiarch implementations.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1431 multiarch lround for PowerPC32.
1432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1433 file: multiarch lroundf for PowerPC32.
1435 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1438 copysign and copysignf multiarch implementations.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1444 file: multiarch copysign for PowerPC32.
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1446 file: multiarch copysignf for PowerPC32.
1448 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1451 and truncf multiarch implementations.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1457 multiarch trunc for PowerPC32.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1463 multiarch truncf for PowerPC32.
1465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1468 and roundf multiarch implementations.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1474 multiarch round for PowerPC32.
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1480 multiarch roundf for PowerPC32.
1482 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1485 and floorf multiarch implementations.
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1491 multiarch floor for PowerPC32.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1497 multiarch floorf for PowerPC32.
1499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1502 and ceilf multiarch implementations.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1508 multiarch ceil for PowerPC32.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1514 multiarch ceilf for PowerPC32.
1516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1518 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1520 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1523 and finitef multiarch implementations.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1529 multiarch finite for PowerPC32.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1533 file: multiarch finitef for PowerPC32.
1535 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1538 and isinff multiarch implementations.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1544 multiarch isinf for PowerPC32.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1548 multiarch isinff for PowerPC32.
1550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1553 alias when __isnan is defined.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1555 and isnanf multiarch implementations.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1565 multiarch isnan for PowerPC32.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1571 multiarch isnanf for PowerPC32.
1573 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1576 and sqrtf multiarch implementations.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1582 multiarch sqrt for PowerPC32.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1588 multiarch sqrtf for PowerPC32.
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1593 and llroundf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1601 file: multiarch llround for PowerPC32.
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1603 file: multiarch llroundf for PowerPC32.
1605 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1608 multiarch PowerPC32 fpu implementations.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1614 multiarch llrint for PowerPC32.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1622 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1626 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1628 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1635 multiarch wordcopy for PPC32.
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1639 (__libc_ifunc_impl_list): Likewise.
1640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1641 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1643 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1644 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1645 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1647 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1649 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1657 multiarch wcscpy for PPC32.
1658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1661 (__libc_ifunc_impl_list): Likewise.
1662 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1663 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1664 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1665 sysdeps/powerpc/power6/wcscpy.c.
1667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1677 multiarch wcsrchr for PPC32.
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1681 (__libc_ifunc_impl_list): Likewise.
1682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1684 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1685 sysdeps/powerpc/power6/wcsrchr.c.
1687 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1695 multiarch wcschr for PPc32.
1696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1699 (__libc_ifunc_impl_list): Likewise.
1700 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1701 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1702 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1703 sysdeps/powerpc/power6/wcschr.c.
1705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1708 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1711 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1712 file: multiarch strchr for PPC32.
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1716 (__libc_ifunc_impl_list): Likewise.
1718 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1722 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1726 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1727 multiarch strchrnul for PPC32.
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1731 (__libc_ifunc_impl_list): Likewise.
1733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1738 multiarch strncasecmp for PPC32.
1739 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1741 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1742 multiarch strncasecmp_l for PPC32.
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1744 strncasecmp multiarch objects.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1746 (__libc_ifunc_impl_list): Likewise.
1748 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1750 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1753 multiarch strncasecmp for PPC32.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1756 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1757 multiarch strcasecmp_l for PPC32.
1758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1761 (__libc_ifunc_impl_list): Likewise.
1763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1770 multiarch strncmp for PPC32.
1771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1779 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1781 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1786 (__libc_ifunc_impl_list): Likewise.
1788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1798 (__libc_ifunc_impl_list): Likewise.
1800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1807 multiarch rawmemchr for PPC32.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1811 (__libc_ifunc_impl_list): Likewise.
1813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1820 file: memrchr multiarch for PPC32.
1821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1824 (__libc_ifunc_impl_list): Likewise.
1826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1833 multiarch memchr for PPC32.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1837 (__libc_ifunc_impl_list): Likewise.
1839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1847 file: multiarch mempcpy for PPC32.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1851 (__libc_ifunc_impl_list): Likewise.
1853 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1859 multiarch bzero for PPC32.
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1865 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1866 file: multiarch memset for PPC32.
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1869 memset multiarch objects.
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1871 (__libc_ifunc_impl_list): Likewise.
1873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1884 (__libc_ifunc_impl_list): Likewise.
1886 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1897 multiarch memcpy for PPC32.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1901 (__libc_ifunc_impl_list): Likewise.
1903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1906 support multiarch for POWER/PPC32.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1911 Implies file to make multiarch folder appers before the fpu and
1912 default folder for power4 configuration.
1914 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1916 * scripts/bench.pl: Append volatile keyword to type.
1918 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1920 * sysdeps/sh/sotruss-lib.c: New file.
1921 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1923 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1927 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1930 * math/w_tgamma.c: Include <errno.h>.
1931 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1932 * math/w_tgammaf.c: Include <errno.h>.
1933 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1934 * math/w_tgammal.c: Include <errno.h>.
1935 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1936 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1937 underflow. Add more tgamma tests.
1938 * math/auto-libm-test-out: Regenerated.
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1942 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1943 sin, sinh, tan, tanh, tgamma, y0 and y1.
1944 * math/auto-libm-test-out: Regenerated.
1945 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1946 (TEST_COND_x86): Likewise.
1947 (M_E2l): Remove macro.
1949 (M_2_SQRT_PIl): Likewise.
1950 (M_SQRT_PIl): Likewise.
1951 (M_1_DIV_El): Likewise.
1952 (log_test_data): Use AUTO_TESTS_f_f.
1953 (log10_test_data): Likewise.
1954 (log1p_test_data): Likewise.
1955 (log2_test_data): Likewise.
1956 (sin_test_data): Likewise.
1957 (sin_tonearest_test_data): Likewise.
1958 (sin_towardzero_test_data): Likewise.
1959 (sin_downward_test_data): Likewise.
1960 (sin_upward_test_data): Likewise.
1961 (sinh_test_data): Likewise.
1962 (sinh_tonearest_test_data): Likewise.
1963 (sinh_towardzero_test_data): Likewise.
1964 (sinh_downward_test_data): Likewise.
1965 (sinh_upward_test_data): Likewise.
1966 (tan_test_data): Likewise.
1967 (tan_tonearest_test_data): Likewise.
1968 (tan_towardzero_test_data): Likewise.
1969 (tan_downward_test_data): Likewise.
1970 (tan_upward_test_data): Likewise.
1971 (tanh_test_data): Likewise.
1972 (tgamma_test_data): Likewise.
1973 (y0_test_data): Likewise.
1974 (y1_test_data): Likewise.
1975 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1976 (special_real_inputs): Add pi/4.
1977 * sysdeps/i386/fpu/libm-test-ulps: Update.
1978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1983 "longjmp_target" static probes.
1984 (__longjmp): Rename to __longjmp_symbol.
1985 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1987 on which longjmp to generate.
1988 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1991 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1992 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1993 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1995 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1998 __longjmp_symbol based on which __longjmp to generate.
1999 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2001 (setjmp): Rename to setjmp_symbol.
2002 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2003 (_setjmp): Rename to _setjmp_symbol.
2004 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2005 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2006 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2007 which setjmp to generate.
2008 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2009 "longjmp_target" static probes.
2011 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2013 * benchtests/README: Add note about output arguments.
2014 * benchtests/bench-sincos.c: Remove file.
2015 * benchtests/sincos-inputs: New file.
2016 * scripts/bench.pl: Identify output arguments and define
2017 static variables for them.
2019 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2022 * Makefile (INSTALL): Add install-plain.texi as the primary
2024 * manual/install-plain.texi: New file.
2025 * manual/install.texi: Include node directive only for
2026 non-plaintext output.
2028 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2030 * stdlib/longlong.h: Update from GCC.
2034 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2035 * math/w_j0f.c (y0f): Likewise.
2036 * math/w_j0l.c (__y0l): Likewise.
2037 * math/w_j1.c (y1): Likewise.
2038 * math/w_j1f.c (y1f): Likewise.
2039 * math/w_j1l.c (__y1l): Likewise
2040 * math/w_jn.c (yn): Likewise.
2041 * math/w_jnf.c (ynf): Likewise.
2042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2043 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2044 value for Bessel function domain errors outside _SVID_ mode.
2045 Adjust sign of return value for yn (negative integer, 0).
2046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2047 by zero in return for negative x and set sign appropriately for
2049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2051 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2052 expectations in error cases.
2053 (y1_test_data): Likewise.
2054 (yn_test_data): Likewise.
2055 * sysdeps/i386/fpu/libm-test-ulps: Update.
2056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2058 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2060 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2061 "64" to "64-v1". Add "64-v2".
2062 (abi-64-options): Rename to ...
2063 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2064 (abi-64-condition): Rename to ...
2065 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2066 (abi-64-ld-soname): Rename to ...
2067 (abi-64-v1-ld-soname): ... this.
2068 (abi-64-v2-options): Define.
2069 (abi-64-v2-condition): Likewise.
2070 (abi-64-v2-ld-soname): Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2072 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2077 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2078 Alan Modra <amodra@gmail.com>
2080 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2081 New versions for use with the ELFv2 ABI.
2082 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2083 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2085 (struct La_ppc64v2_retval): Likewise.
2086 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2087 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2088 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2089 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2090 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2092 Do not save or restore CR.
2093 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2094 (_dl_profile_resolve): Do no save or restore CR. Support extended
2095 return values for ELFv2 ABI. Fix location of FPR return registers.
2096 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2097 updated values for _CALL_ELF == 2.
2098 (La_regs, La_retval, int_retval): Likewise.
2100 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2102 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2103 (FRAME_MIN_SIZE_PARM): Likewise.
2104 (FRAME_BACKCHAIN): Likewise.
2105 (FRAME_CR_SAVE): Likewise.
2106 (FRAME_LR_SAVE): Likewise.
2107 (FRAME_TOC_SAVE): Likewise.
2108 (FRAME_PARM_SAVE): Likewise.
2109 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2110 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2111 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2112 (call_mcount_parm_offset): New macro.
2113 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2114 (PROF): Use symbolic stack frame offsets.
2115 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2116 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2117 Redefine in terms of FRAME_MIN_SIZE.
2118 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2119 (_dl_profile_resolve): Likewise. Update comment.
2120 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2121 symbols stack frame offsets.
2122 (__sigsetjmp): Likewise.
2123 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2124 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2125 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2126 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2129 (FRAME_BACKCHAIN): Remove.
2130 (FRAME_CR_SAVE): Likewise.
2131 (FRAME_LR_SAVE): Likewise.
2132 (FRAME_COMPILER_DW): Likewise.
2133 (FRAME_LINKER_DW): Likewise.
2134 (FRAME_TOC_SAVE): Likewise.
2135 (FRAME_PARM_SAVE): Likewise.
2136 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2137 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2138 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2140 (CHECK_SP): Use symbolic stack frame offsets.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2142 zone" instead of caller's parameter save area for temp storage.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2144 Likewise. Also, use symbolic stack frame offsets.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2146 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2147 our own stack frame instead of the caller's.
2148 (__socket): Use symbolic stack frame offsets.
2150 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2151 Alan Modra <amodra@gmail.com>
2153 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2155 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2156 PPC64_LOCAL_ENTRY_OFFSET): Define.
2157 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2159 (elf_machine_fixup_plt): Call it.
2160 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2162 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2163 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2164 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2165 r2 before calling target.
2167 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2168 Alan Modra <amodra@gmail.com>
2170 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2171 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2172 versions of macros to support ELFv2 ABI.
2173 (LOCALENTRY): New macro.
2174 (ENTRY, EALIGN): Use it.
2175 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2176 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2177 fall through into ENTRY entry point.
2178 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2179 Only define if _CALL_ELF != 2.
2181 (elf_machine_matches_host): Verify ABI version matches.
2182 (RTLD_START): Use LOCALENTRY.
2183 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2184 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2185 (PLT_ENTRY_WORDS): New macro.
2186 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2187 (elf_machine_runtime_setup): Support ELFv2 ABI.
2188 (elf_machine_fixup_plt): Likewise.
2189 (elf_machine_plt_conflict): Likewise.
2190 (resolve_ifunc): Likewise.
2191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2195 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2197 (makecontext): Support ELFv2 ABI.
2198 * elf/elf.h (EF_PPC64_ABI): Define.
2200 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2202 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2203 New assembler macro.
2204 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2205 [ASSEMBLER] (ENTRY): ... but instead here ...
2206 [ASSEMBLER] (EALIGN): ... and here.
2207 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2208 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2209 [!ASSEMBLER] (ENTRY_2): Use it.
2210 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2211 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2212 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2213 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2214 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2216 Use PPC64_LOAD_FUNCPTR.
2218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2220 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2222 2013-12-04 Alan Modra <amodra@gmail.com>
2224 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2225 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2226 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2227 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2230 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2231 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2232 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2233 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2234 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2239 (__makecontext): Fix incorrect CFI when backtracing out of
2240 context created via makecontext.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2242 (__setcontext): Fix incorrect CFI during switch to new context.
2243 (__novec_setcontext): Likewise.
2245 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2248 * time/strptime_l.c (__strptime_internal): Allow modifiers
2250 * time/tst-strptime.c (day_tests): Add testcase.
2253 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 * scripts/bench.pl: Skip over blank lines.
2257 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2260 * manual/time.texi (Calendar Time): Clarify what timezone functions
2263 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2267 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2269 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2271 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2272 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2273 * debug/memset_chk.c (__memset_chk): Likewise.
2274 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2275 * debug/strncpy_chk.c: Likewise.
2277 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2281 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2282 (__ieee754_exp): For possibly underflowing results, check size of
2283 result and force underflow exception if required.
2284 * math/auto-libm-test-in: Add more tests of exp.
2285 * math/auto-libm-test-out: Regenerated.
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2290 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2291 * math/w_exp2f.c (__exp2f): Likewise.
2292 * math/w_exp2l.c (__exp2l): Likewise.
2293 * math/auto-libm-test-in: Do not allow missing errno on exp2
2295 * math/auto-libm-test-out: Regenerated.
2297 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2300 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2301 handle filename validation.
2302 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2305 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2308 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2309 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2310 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2312 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2314 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2316 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2318 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2319 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2320 Add more erfc tests.
2321 * math/auto-libm-test-out: Regenerated.
2322 * sysdeps/i386/fpu/libm-test-ulps: Update.
2323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2325 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2326 exp2, expm1, j0 and j1.
2327 * math/auto-libm-test-out: Regenerated.
2328 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2329 (erfc_test_data): Likewise.
2330 (exp_test_data): Likewise.
2331 (exp_tonearest_test_data): Likewise.
2332 (exp_towardzero_test_data): Likewise.
2333 (exp_downward_test_data): Likewise.
2334 (exp_upward_test_data): Likewise.
2335 (exp10_test_data): Likewise.
2336 (exp2_test_data): Likewise.
2337 (expm1_test_data): Likewise.
2338 (j0_test_data): Likewise.
2339 (j1_test_data): Likewise.
2340 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2341 (input_flag_type): Add flag_xfail_rounding.
2342 (input_flags): Add xfail-rounding.
2343 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2344 (output_for_one_input_case): Handle flag_xfail_rounding.
2345 * sysdeps/i386/fpu/libm-test-ulps: Update.
2346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2348 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2351 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2354 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2357 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2358 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2359 (STAP_PROBE0): New macro.
2360 (STAP_PROBE1): Likewise.
2361 (STAP_PROBE2): Likewise.
2362 (STAP_PROBE3): Likewise.
2363 (STAP_PROBE4): Likewise.
2365 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2367 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2369 2013-12-02 Steve Ellcey <sellcey@mips.com>
2371 * benchtests/Makefile (bench): Add sqrt.
2372 (LDLIBS-bench-sqrt): New.
2373 * benchtests/sqrt-input: New.
2375 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2377 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2378 (GAIH_EAI): Likewise.
2379 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2380 (gaih_inet): Likewise.
2381 (getaddrinfo): Don't use GAIH_EAI.
2383 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2384 (struct gaih): Remove definition.
2386 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2388 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2389 Use HERRNOP directly.
2391 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2395 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2397 * math/gen-auto-libm-tests.c (test_functions): Add more
2398 single-argument functions.
2399 (special_fill_pi_2): New function.
2400 (special_fill_minus_pi_2): Likewise.
2401 (special_fill_pi_6): Likewise.
2402 (special_fill_minus_pi_6): Likewise.
2403 (special_fill_pi_3): Likewise.
2404 (special_fill_2pi_3): Likewise.
2405 (special_fill_e): Likewise.
2406 (special_fill_1_e): Likewise.
2407 (special_fill_e_minus_1): Likewise.
2408 (special_real_inputs): Add more special inputs.
2409 (output_for_one_input_case): Do not require ERANGE on underflow to
2410 zero if round-to-nearest result does not underflow to zero, unless
2411 exact results required.
2412 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2413 atan, atanh, cbrt, cos and cosh.
2414 * math/auto-libm-test-out: Regenerated.
2415 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2416 (acos_tonearest_test_data): Likewise.
2417 (acos_towardzero_test_data): Likewise.
2418 (acos_downward_test_data): Likewise.
2419 (acos_upward_test_data): Likewise.
2420 (acosh_test_data): Likewise.
2421 (asin_test_data): Likewise.
2422 (asin_tonearest_test_data): Likewise.
2423 (asin_towardzero_test_data): Likewise.
2424 (asin_upward_test_data): Likewise.
2425 (asinh_test_data): Likewise.
2426 (atan_test_data): Likewise.
2427 (atanh_test_data): Likewise.
2428 (cbrt_test_data): Likewise.
2429 (cos_test_data): Likewise.
2430 (cos_tonearest_test_data): Likewise.
2431 (cos_towardzero_test_data): Likewise.
2432 (cos_downward_test_data): Likewise.
2433 (cos_upward_test_data): Likewise.
2434 (cosh_test_data): Likewise.
2435 (cosh_tonearest_test_data): Likewise.
2436 (cosh_towardzero_test_data): Likewise.
2437 (cosh_downward_test_data): Likewise.
2438 (cosh_upward_test_data): Likewise.
2439 * sysdeps/i386/fpu/libm-test-ulps: Update.
2440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2442 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2445 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2446 * math/w_exp10f.c (__exp10f): Likewise.
2447 * math/w_exp10l.c (__exp10l): Likewise.
2448 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2449 errno settings in existing tests.
2452 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2453 precision control set to double precision.
2454 * sysdeps/i386/fpu/w_sqrt.c: New file.
2455 * math/auto-libm-test-in: Add more tests.
2456 * math/auto-libm-test-out: Update.
2458 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2459 (sqrt_test_tonearest): New function.
2460 (sqrt_towardzero_test_data): New variable.
2461 (sqrt_test_towardzero): New function.
2462 (sqrt_downward_test_data): New variable.
2463 (sqrt_test_downward): New function.
2464 (sqrt_upward_test_data): New variable.
2465 (sqrt_test_upward): New function.
2466 (main): Call the new functions.
2468 * math/gen-auto-libm-tests.c: New file.
2469 * math/auto-libm-test-in: Likewise.
2470 * math/auto-libm-test-out: New generated file.
2471 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2473 (%beautify): Add generated representations of zero.
2474 (top level): Set $auto_input and call parse_auto_input.
2475 (beautify): Remove trailing "f" from hex float constants.
2476 (parse_args): Handle XFAIL_TEST.
2477 (convert_condition): New function.
2478 (or_value): Likewise.
2479 (or_cond_value): Likewise.
2480 (generate_testfile): Handle AUTO_TESTS_* lines.
2481 (parse_auto_input): New function.
2482 * math/libm-test.inc (XFAIL_TEST): New macro.
2483 (ERRNO_UNCHANGED): Update value.
2484 (ERRNO_EDOM): Likewise.
2485 (ERRNO_ERANGE): Likewise.
2486 (IGNORE_RESULT): Likewise.
2487 (TEST_COND_flt_32): New macro.
2488 (TEST_COND_dbl_64): Likewise.
2489 (TEST_COND_ldbl_96_intel): Likewise.
2490 (TEST_COND_ldbl_96_m68k): Likewise.
2491 (TEST_COND_ldbl_128): Likewise.
2492 (TEST_COND_ldbl_128ibm): Likewise.
2493 (TEST_COND_long32): Likewise.
2494 (TEST_COND_long64): Likewise.
2495 (TEST_COND_before_rounding): Likewise.
2496 (TEST_COND_after_rounding): Likewise.
2497 (enable_test): Handle XFAIL_TEST flag.
2498 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2499 with finite results.
2500 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2503 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2504 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2507 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2508 __tls_get_addr_internal instead of __tls_get_offset in order to
2509 avoid GOT pointer dependency. Make rtld export
2510 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2511 __tls_get_addr since we are a __tls_get_offset platform.
2512 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2513 GOT pointer being set up before.
2514 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2516 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2518 * manual/math.texi (Errors in Math Functions): Document accuracy
2522 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2523 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2528 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2539 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2540 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2541 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2542 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2543 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2545 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2547 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2549 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2550 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2551 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2552 atomic-feupdateenv and flt-rounds.
2553 * sysdeps/powerpc/nofpu/Versions (libc): Add
2554 __atomic_feholdexcept, __atomic_feclearexcept,
2555 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2556 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2557 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2558 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2559 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2564 * manual/arith.texi (FP Exceptions): Document that exceptions may
2565 not be raised when matherr is used.
2566 (Math Error Reporting): Document overflow in directed rounding
2567 modes. Document that errno may not be set when finite values are
2568 returned on overflow. Document intent to set errno on underflow
2569 only for underflow to zero.
2572 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2573 round-to-nearest then adjust result for other rounding modes.
2574 * include/fenv.h (fegetround): Use libm_hidden_proto.
2575 * math/fegetround.c (fegetround): Use libm_hidden_def.
2576 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2577 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2578 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2579 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2581 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2583 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2584 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2586 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2589 * nss/Versions (libnss_files): Add
2590 _nss_files_gethostbyname3_r.
2591 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2593 (HOST_DB_LOOKUP): Remove macro.
2594 (_nss_files_gethostbyname_r): Implement function without the
2595 HOST_DB_LOOKUP macro.
2596 (_nss_files_gethostbyname2_r): Likewise.
2598 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2600 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2602 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2604 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2605 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2608 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2611 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2612 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2613 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2614 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2615 __fe_nomask_env_priv and attribute_hidden.
2616 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2617 (libc_feupdateenv_test_ppc): Likewise.
2618 (libc_feresetround_ppc): Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2620 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2621 compat_symbol macro.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2623 (__fe_nomask_env): Likewise.
2624 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2626 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2628 * string/Makefile: Remove ifunc tests.
2629 * string/test-string.h: Define TEST_IFUNC.
2630 * string/test-bcopy-ifunc.c: Remove.
2631 * string/test-bzero-ifunc.c: Likewise.
2632 * string/test-memccpy-ifunc.c: Likewise.
2633 * string/test-memchr-ifunc.c: Likewise.
2634 * string/test-memcmp-ifunc.c: Likewise.
2635 * string/test-memcpy-ifunc.c: Likewise.
2636 * string/test-memmem-ifunc.c: Likewise.
2637 * string/test-memmove-ifunc.c: Likewise.
2638 * string/test-mempcpy-ifunc.c: Likewise.
2639 * string/test-memrchr-ifunc.c: Likewise.
2640 * string/test-memset-ifunc.c: Likewise.
2641 * string/test-rawmemchr-ifunc.c: Likewise.
2642 * string/test-stpcpy-ifunc.c: Likewise.
2643 * string/test-stpncpy-ifunc.c: Likewise.
2644 * string/test-strcasecmp-ifunc.c: Likewise.
2645 * string/test-strcasestr-ifunc.c: Likewise.
2646 * string/test-strcat-ifunc.c: Likewise.
2647 * string/test-strchr-ifunc.c: Likewise.
2648 * string/test-strchrnul-ifunc.c: Likewise.
2649 * string/test-strcmp-ifunc.c: Likewise.
2650 * string/test-strcpy-ifunc.c: Likewise.
2651 * string/test-strcspn-ifunc.c: Likewise.
2652 * string/test-strlen-ifunc.c: Likewise.
2653 * string/test-strncasecmp-ifunc.c: Likewise.
2654 * string/test-strncat-ifunc.c: Likewise.
2655 * string/test-strncmp-ifunc.c: Likewise.
2656 * string/test-strncpy-ifunc.c: Likewise.
2657 * string/test-strnlen-ifunc.c: Likewise.
2658 * string/test-strpbrk-ifunc.c: Likewise.
2659 * string/test-strrchr-ifunc.c: Likewise.
2660 * string/test-strspn-ifunc.c: Likewise.
2661 * string/test-strstr-ifunc.c: Likewise.
2663 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2665 * benchtests/Makefile: Remove ifunc tests.
2666 * benchtests/bench-string.h: Define TEST_IFUNC.
2667 * benchtests/bench-bcopy-ifunc.c: Remove.
2668 * benchtests/bench-bzero-ifunc.c: Likewise.
2669 * benchtests/bench-memccpy-ifunc.c: Likewise.
2670 * benchtests/bench-memchr-ifunc.c: Likewise.
2671 * benchtests/bench-memcmp-ifunc.c: Likewise.
2672 * benchtests/bench-memcpy-ifunc.c: Likewise.
2673 * benchtests/bench-memmem-ifunc.c: Likewise.
2674 * benchtests/bench-memmove-ifunc.c: Likewise.
2675 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2676 * benchtests/bench-memrchr-ifunc.c: Likewise.
2677 * benchtests/bench-memset-ifunc.c: Likewise.
2678 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2679 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2680 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2681 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2682 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2683 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2684 * benchtests/bench-strcat-ifunc.c: Likewise.
2685 * benchtests/bench-strchr-ifunc.c: Likewise.
2686 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2687 * benchtests/bench-strcmp-ifunc.c: Likewise.
2688 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2689 * benchtests/bench-strcpy-ifunc.c: Likewise.
2690 * benchtests/bench-strcspn-ifunc.c: Likewise.
2691 * benchtests/bench-strlen-ifunc.c: Likewise.
2692 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2693 * benchtests/bench-strncat-ifunc.c: Likewise.
2694 * benchtests/bench-strncmp-ifunc.c: Likewise.
2695 * benchtests/bench-strncpy-ifunc.c: Likewise.
2696 * benchtests/bench-strnlen-ifunc.c: Likewise.
2697 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2698 * benchtests/bench-strrchr-ifunc.c: Likewise.
2699 * benchtests/bench-strsep-ifunc.c: Likewise.
2700 * benchtests/bench-strspn-ifunc.c: Likewise.
2701 * benchtests/bench-strstr-ifunc.c: Likewise.
2703 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2705 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2707 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2709 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2710 * rt/aio.h: Likewise.
2711 * sysdeps/gnu/bits/utmp.h: Likewise.
2712 * sysdeps/gnu/bits/utmpx.h: Likewise.
2713 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2714 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2715 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2716 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2717 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2718 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2719 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2720 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2722 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2728 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2729 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2730 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2732 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2735 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2736 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2737 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2741 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2742 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2744 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2745 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2747 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2748 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2749 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2750 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2751 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2752 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2753 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2754 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2756 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2759 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2760 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2762 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2764 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2765 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2768 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2771 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2772 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2773 (__fesetround): Remove define.
2774 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2775 rounding and exceptions handling.
2776 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2777 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2778 (__fe_nomask_env): Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2780 __fegetround instead of fegetround.
2781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2782 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2784 2013-11-21 Roland McGrath <roland@hack.frob.com>
2786 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2789 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2791 2013-11-21 Meador Inge <meadori@codesourcery.com>
2794 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2795 (encrypt_r): Likewise.
2796 * malloc/obstack.h (obstack_free): Likewise.
2797 * posix/unistd.h (encrypt): Likewise.
2799 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2801 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2802 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2803 DL_CALL_DT_FINI() that call the functions directly.
2804 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2805 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2806 * elf/dl-fini.c: Likewise.
2808 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2810 * malloc/hooks.c (memalign_check): Add alignment rounding.
2811 * malloc/malloc.c (_mid_memalign): New function.
2812 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2813 Implement by calling _mid_memalign.
2814 * manual/probes.texi (Memory Allocation Probes): Remove
2815 memory_valloc_retry and memory_pvalloc_retry.
2817 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 * locale/programs/locarchive.c (open_archive): Add const
2820 qualifier to ARCHIVEFNAME and copy default fname to
2824 * libio/tst-widetext.input: Rename Oriya to Odia.
2825 * locale/iso-639.def: Likewise.
2827 * manual/probes.texi (Mathematical Function Probes): Add
2828 documentation for sin, cos, asin and acos probes.
2829 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2830 (__sin32): Add slowasin probe.
2831 (__cos32): Add slowacos probe.
2832 (__mpsin): Add slowsin probe.
2833 (__mpcos): Add slowcos probe.
2835 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2838 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2839 thread-local __sim_exceptions_thread and global
2840 __sim_exceptions_global.
2841 (__sim_disabled_exceptions): Change to thread-local
2842 __sim_disabled_exceptions_thread and global
2843 __sim_disabled_exceptions_global.
2844 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2845 and global __sim_round_mode_global.
2846 (__simulate_exceptions): Use thread-local floating-point state and
2847 set global state from it as needed.
2848 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2849 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2850 __sim_round_mode_thread.
2851 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2852 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2853 and global __sim_exceptions_global.
2854 (__sim_disabled_exceptions): Change to thread-local
2855 __sim_disabled_exceptions_thread and global
2856 __sim_disabled_exceptions_global.
2857 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2858 and global __sim_round_mode_global.
2859 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2860 (SIM_SET_GLOBAL): Likewise.
2861 * sysdeps/powerpc/soft-fp/sfp-machine.h
2862 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2863 __sim_round_mode_thread.
2864 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2865 __sim_disabled_exceptions_thread.
2866 (__sim_exceptions): Change to __sim_exceptions_thread.
2867 (__sim_disabled_exceptions): Change to
2868 __sim_disabled_exceptions_thread.
2869 (__sim_round_mode): Change to __sim_round_mode_thread.
2870 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2871 thread-local floating-point state and set global state from it as
2873 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2874 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2875 (__sim_disabled_exceptions): Remove extern declaration.
2876 (feenableexcept): Use thread-local floating-point state and set
2877 global state from it as needed.
2878 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2880 (__sim_disabled_exceptions): Likewise.
2881 (__sim_round_mode): Likewise.
2882 (__fegetenv): Use thread-local floating-point state.
2883 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2884 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2885 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2886 floating-point state and set global state from it as needed.
2887 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2888 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2889 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2891 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2892 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2894 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2895 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2896 Use __sim_round_mode_thread.
2897 * math/test-fenv-tls.c: New file.
2898 * math/Makefile (tests): Add test-fenv-tls.
2899 ($(objpfx)test-fenv-tls): Depend on
2900 $(common-objpfx)nptl/libpthread.so.
2902 2013-11-19 Andreas Schwab <schwab@suse.de>
2904 * locale/programs/locale.c (show_info): Decode wordarray elements.
2905 * locale/categories.def (LC_MONETARY): Add element for
2906 _NL_MONETARY_CRNCYSTR.
2907 * locale/C-monetary.c (conversion_rate): New variable.
2908 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2911 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2913 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2914 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2916 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2918 * elf/Makefile (tst-auxv): New test.
2919 * elf/tst-auxv.c: New
2920 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2922 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2924 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2925 (hidden_proto): Caller changed.
2926 (hidden_tls_proto): New macro.
2927 (libc_hidden_tls_proto): Likewise.
2928 (rtld_hidden_tls_proto): Likewise.
2929 (libm_hidden_tls_proto): Likewise.
2930 (libresolv_hidden_tls_proto): Likewise.
2931 (librt_hidden_tls_proto): Likewise.
2932 (libdl_hidden_tls_proto): Likewise.
2933 (libnss_files_hidden_tls_proto): Likewise.
2934 (libnsl_hidden_tls_proto): Likewise.
2935 (libnss_nisplus_hidden_tls_proto): Likewise.
2936 (libutil_hidden_tls_proto): Likewise.
2938 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2941 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2942 (decompose_rpath): Defer expansion to fillin_rpath.
2943 (_dl_init_paths): Pass linkmap to fillin_rpath.
2945 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2947 * benchtests/Makefile: Add strsep.
2948 * benchtests/bench-strsep.c: New file: strsep benchtest.
2949 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2951 2013-11-18 Andreas Schwab <schwab@suse.de>
2953 * locale/programs/locale.c (show_info) [case byte]: Check for
2954 '\377' instead of '\177'.
2955 * locale/C-monetary.c (not_available): Always use "\377".
2956 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2957 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2958 detect unavailable sign_posn locale elements.
2959 * locale/localeconv.c (__localeconv): For grouping and
2960 mon_grouping handle "\177" and "\377" like no grouping.
2961 (INT_ELEM): New macro. Use it to set all numeric members.
2962 * locale/programs/ld-monetary.c (monetary_read)
2963 <tok_mon_grouping>: Normalize single -1 to the empty string.
2964 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2967 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2971 when we match (nil).
2972 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2974 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2976 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2977 (NO_TEST_INLINE): Update value.
2978 (ERRNO_UNCHANGED): Likewise.
2979 (ERRNO_EDOM): Likewise.
2980 (ERRNO_ERANGE): Likewise.
2981 (IGNORE_RESULT): Likewise.
2982 (check_float_internal): Check signs of NaN results if
2984 (check_complex): Pass TEST_NAN_SIGN flag through to second
2985 check_float_internal call.
2986 (copysign_test_data): Add tests with quiet NaNs as second
2987 argument. Use TEST_NAN_SIGN.
2988 (fabs_test_data): Add test of negative quiet NaN argument. Use
2990 (signbit_test_data): Add tests of quiet NaN argument.
2991 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2993 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2995 (parse_args): Handle function results specified as IGNORE.
2996 * math/libm-test.inc (IGNORE_RESULT): New macro.
2997 (check_float_internal): Do not check numerical result if flag
2999 (check_complex): Pass through IGNORE_RESULT to second
3000 check_float_internal call.
3001 (check_int): Do not check numerical result if flag IGNORE_RESULT
3003 (check_long): Likewise.
3004 (check_bool): Likewise.
3005 (check_longlong): Likewise.
3006 (lrint_test_data): Add tests of infinite and NaN arguments.
3007 (lrint_tonearest_test_data): Likewise.
3008 (lrint_towardzero_test_data): Likewise.
3009 (lrint_downward_test_data): Likewise.
3010 (lrint_upward_test_data): Likewise.
3011 (llrint_test_data): Likewise.
3012 (llrint_tonearest_test_data): Likewise.
3013 (llrint_towardzero_test_data): Likewise.
3014 (llrint_downward_test_data): Likewise.
3015 (llrint_upward_test_data): Likewise.
3016 (lround_test_data): Likewise.
3017 (llround_test_data): Likewise.
3019 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3020 (ERRNO_UNCHANGED): Update value.
3021 (ERRNO_EDOM): Likewise.
3022 (ERRNO_ERANGE): Likewise.
3023 (NO_TEST_INLINE_FLOAT): New macro.
3024 (NO_TEST_INLINE_DOUBLE): Likewise.
3025 (enable_test): New function.
3026 (RUN_TEST_f_f): Check enable_test before running test.
3027 (RUN_TEST_2_f): Likewise.
3028 (RUN_TEST_fff_f): Likewise.
3029 (RUN_TEST_c_f): Likewise.
3030 (RUN_TEST_f_f1): Likewise.
3031 (RUN_TEST_fF_f1): Likewise.
3032 (RUN_TEST_fI_f1): Likewise.
3033 (RUN_TEST_ffI_f1): Likewise.
3034 (RUN_TEST_c_c): Likewise.
3035 (RUN_TEST_cc_c): Likewise.
3036 (RUN_TEST_f_i): Likewise.
3037 (RUN_TEST_f_i_tg): Likewise.
3038 (RUN_TEST_ff_i_tg): Likewise.
3039 (RUN_TEST_f_b): Likewise.
3040 (RUN_TEST_f_b_tg): Likewise.
3041 (RUN_TEST_f_l): Likewise.
3042 (RUN_TEST_f_L): Likewise.
3043 (RUN_TEST_fFF_11): Likewise.
3044 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3046 (cosh_test_data): Likewise.
3047 (exp_test_data): Likewise.
3048 (expm1_test_data): Likewise.
3049 (hypot_test_data): Likewise.
3050 (pow_test_data): Likewise.
3051 (sinh_test_data): Likewise.
3052 (tanh_test_data): Likewise.
3053 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3056 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3057 tests with quiet NaN input and output.
3058 (acosh_test_data): Likewise.
3059 (asin_test_data): Likewise.
3060 (asinh_test_data): Likewise.
3061 (atan_test_data): Likewise.
3062 (atanh_test_data): Likewise.
3063 (atan2_test_data): Likewise.
3064 (cbrt_test_data): Likewise.
3065 (cos_test_data): Likewise.
3066 (cosh_test_data): Likewise.
3067 (erf_test_data): Likewise.
3068 (erfc_test_data): Likewise.
3069 (exp_test_data): Likewise.
3070 (exp10_test_data): Likewise.
3071 (exp2_test_data): Likewise.
3072 (expm1_test_data): Likewise.
3073 (hypot_test_data): Likewise.
3074 (j0_test_data): Likewise.
3075 (j1_test_data): Likewise.
3076 (jn_test_data): Likewise.
3077 (lgamma_test_data): Likewise.
3078 (log_test_data): Likewise.
3079 (log10_test_data): Likewise.
3080 (log1p_test_data): Likewise.
3081 (log2_test_data): Likewise.
3082 (pow_test_data): Likewise.
3083 (scalb_test_data): Likewise.
3084 (sin_test_data): Likewise.
3085 (sincos_test_data): Likewise.
3086 (sinh_test_data): Likewise.
3087 (tan_test_data): Likewise.
3088 (tanh_test_data): Likewise.
3089 (tgamma_test_data): Likewise.
3090 (y0_test_data): Likewise.
3091 (y1_test_data): Likewise.
3092 (yn_test_data): Likewise.
3095 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3096 argument being NaN and avoid computations with second argument in
3098 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3099 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3100 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3102 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3104 * locale/iso-639.def: Add Chitwani Tharu (the).
3106 2013-11-14 Andreas Schwab <schwab@suse.de>
3108 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3109 word instead of empty string.
3111 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3114 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3116 (__fe_nomask_env): Likewise.
3118 2013-11-13 Steve Ellcey <sellcey@mips.com>
3120 * benchtests/bench-timing.h: Include time.h.
3122 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3125 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3127 * sysdeps/unix/sysv/linux/configure: Regenerated.
3129 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3132 * stdlib/strtod_l.c (round_and_return): Do not consider
3133 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3134 exponent one less than half the least subnormal exponent.
3135 * stdlib/test-strtod-round-data: Add more tests.
3136 * stdlib/tst-strtod-round.c (tests): Regenerated.
3138 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3142 (__fe_mask_env): Likewise.
3143 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3144 libm_hidden_proto and add function prototype.
3145 (__fe_mask_env): Add function prototype.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3147 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3149 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3151 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3153 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3155 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3156 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3158 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3160 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3161 of htab_find_slot().
3163 2013-11-11 David S. Miller <davem@davemloft.net>
3166 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3167 symbol in the non-vis3 case in static builds.
3168 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3169 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3170 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3171 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3173 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3176 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3179 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181 * benchtests/Makefile: Add bench-strtod.
3182 * benchtests/bench-strtod.c: New file: strtod benchtest
3184 2013-11-11 Andreas Schwab <schwab@suse.de>
3187 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3188 terminating NUL in key length.
3190 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3193 Add artificial ODP entry for vDSO symbol for PPC64.
3194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3195 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3197 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3200 * nss/getent.c (services_keys): Recognize services starting with digit.
3202 2013-11-06 David S. Miller <davem@davemloft.net>
3205 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3206 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3208 2013-11-06 Will Newton <will.newton@linaro.org>
3210 * manual/memory.texi (Malloc Examples): Remove register
3211 keyword from examples.
3213 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3215 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3217 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3219 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3220 depending on [__GCC_IEC_559 > 0].
3221 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3222 depending on [__GCC_IEC_559_COMPLEX > 0].
3224 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3226 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3229 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3231 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3233 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3236 * malloc/malloc (malloc_info): Do not handle first bin as
3239 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3241 * locale/iso-639.def: Add Central Nahuatl (nhn).
3243 2013-11-01 Bruno Haible <bruno@clisp.org>
3246 * manual/math.texi (BSD Random): Specify range upper bound as
3249 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3251 * locale/iso-639.def: Add Meadow Mari (mhr).
3253 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3255 [BZ #14752], [BZ #15763]
3256 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3258 * rt/tst_shm.c: Add test for escaping directory.
3260 2013-10-31 Andreas Schwab <schwab@suse.de>
3263 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3264 followed by 'x' as part of digit sequence.
3265 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3267 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3270 * configure.ac: allow GNU Make 4.0 and greater.
3271 * configure: Regenerated.
3273 2013-10-30 Will Newton <will.newton@linaro.org>
3276 * malloc/hooks.c (memalign_check): Limit alignment to the
3277 maximum representable power of two.
3278 * malloc/malloc.c (__libc_memalign): Likewise.
3279 * malloc/tst-memalign.c (do_test): Add test for very
3280 large alignment values.
3281 * malloc/tst-posix_memalign.c (do_test): Likewise.
3283 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3286 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3287 (munmap_chunk): Likewise.
3288 (mremap_chunk): Likewise.
3290 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3293 * stdlib/div.c (div): Remove obsolete code.
3294 * stdlib/ldiv.c (ldiv): Likewise.
3295 * stdlib/lldiv.c (lldiv): Likewise.
3297 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3300 * nss/nss_files/files-XXX.c (get_contents_ret): New
3302 (get_contents): New function.
3303 (internal_getent): Use it. Expand size of LINEBUFLEN.
3305 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3307 * configure.in: Moved to ...
3308 * configure.ac: ... here. Change reference to configure.in
3310 * sysdeps/arm/preconfigure.ac: ... here.
3311 configure.in to configure.ac.
3312 * sysdeps/gnu/configure.in: Moved to ...
3313 * sysdeps/gnu/configure.ac: ... here.
3314 * sysdeps/i386/configure.in: Moved to ...
3315 * sysdeps/i386/configure.ac: ... here.
3316 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3317 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3318 * sysdeps/mach/configure.in: Moved to ...
3319 * sysdeps/mach/configure.ac: ... here.
3320 * sysdeps/mach/hurd/configure.in: Moved to ...
3321 * sysdeps/mach/hurd/configure.ac: ... here.
3322 * sysdeps/powerpc/configure.in: Moved to ...
3323 * sysdeps/powerpc/configure.ac: ... here.
3324 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3325 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3326 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3327 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3328 * sysdeps/s390/s390-32/configure.in: Moved to ...
3329 * sysdeps/s390/s390-32/configure.ac: ... here.
3330 * sysdeps/s390/s390-64/configure.in: Moved to ...
3331 * sysdeps/s390/s390-64/configure.ac: ... here.
3332 * sysdeps/sh/configure.in: Moved to ...
3333 * sysdeps/sh/configure.ac: ... here.
3334 * sysdeps/sparc/configure.in: Moved to ...
3335 * sysdeps/sparc/configure.ac: ... here.
3336 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3337 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3338 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3339 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3340 * sysdeps/x86_64/configure.in: Moved to ...
3341 * sysdeps/x86_64/configure.ac: ... here.
3342 * sysdeps/x86_64/preconfigure.in: Moved to ...
3343 * sysdeps/x86_64/preconfigure.ac: ... here.
3344 * aclocal.m4: Change reference to configure.in to configure.ac.
3345 * config.h.in: Likewise.
3346 * manual/install.texi: Likewise.
3347 * manual/maint.texi: Likewise.
3348 * Makefile: Likewise.
3349 * malloc/Makefile: Likewise.
3350 * nscd/Makefile: Likewise.
3351 * Makeconfig: Change reference to configure.in and
3352 preconfigure.in to configure.ac and preconfigure.ac
3354 * INSTALL: Regenerated.
3355 * configure: Likewise.
3356 * sysdeps/gnu/configure: Likewise.
3357 * sysdeps/i386/configure: Likewise.
3358 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3359 * sysdeps/mach/configure: Likewise.
3360 * sysdeps/mach/hurd/configure: Likewise.
3361 * sysdeps/powerpc/configure: Likewise.
3362 * sysdeps/powerpc/powerpc32/configure: Likewise.
3363 * sysdeps/powerpc/powerpc64/configure: Likewise.
3364 * sysdeps/s390/s390-32/configure: Likewise.
3365 * sysdeps/s390/s390-64/configure: Likewise.
3366 * sysdeps/sh/configure: Likewise.
3367 * sysdeps/sparc/configure: Likewise.
3368 * sysdeps/unix/sysv/linux/configure: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3370 * sysdeps/x86_64/configure: Likewise.
3371 * sysdeps/x86_64/preconfigure: Likewise.
3373 2013-10-29 Andreas Schwab <schwab@suse.de>
3375 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3377 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * benchtests/pow-inputs: Add new inputs.
3381 * benchtests/exp-inputs: Add new inputs.
3383 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3384 conditional check for return value.
3385 (__cos32): Likewise.
3387 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3389 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3390 to provide a boost for large inputs with word alignment.
3391 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3392 implementation based on optimized PPC64 strcpy.
3393 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3394 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3395 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3396 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3398 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3401 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3403 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3406 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3407 * time/tst-strptime.c (day_tests): Add testcase.
3409 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3412 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3414 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3417 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3418 MAP_FAILED on error.
3420 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3423 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3424 heap for large requests.
3426 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3429 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3430 result if the result has no associated interface.
3431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3432 interface for all 127.X.Y.Z addresses.
3434 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3436 * locale/iso-639.def: Add Ligurian (lij)
3438 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3441 * sunrpc/rpc_main.c: Document rpcgen -5.
3443 2013-10-19 Michael Stahl <mstahl@redhat.com>
3445 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3447 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3450 * posix/glob.c: Match only directories when trailing slash is present.
3451 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3452 (main): Add testcase.
3454 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3457 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3459 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3461 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3462 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3463 AUTH_DES and cindex for FIPS 140-2.
3464 (DES Encryption): Add cindex FIPS 46-3.
3466 * locale/locarchive.h (struct locarhandle): Add fname.
3467 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3468 if an optional argument was specified to --list-archive,
3470 * locale/programs/locarchive.c (show_archive_content): Take new
3471 argument fname and pass it via ah.fname to open_archive.
3472 * locale/programs/localedef.h: Update decl.
3473 (open_archive): If AH->fname is non-null, open that file
3474 rather than the default file name, and don't ignore ENOENT.
3475 (create_archive): Set AH.fname to NULL.
3476 (delete_locales_from_archive): Likewise.
3477 (add_locales_to_archive): Likewise.
3478 * locale/programs/locfile.c (write_all_categories): Likewise.
3480 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3481 Aldy Hernandez <aldyh@redhat.com>
3483 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3484 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3486 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3487 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3490 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3491 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3492 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3493 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3494 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3495 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3496 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3499 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3501 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3505 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3508 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3509 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3510 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3511 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3513 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3515 * sysdeps/powerpc/preconfigure: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3518 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3519 Replace contents of file by #include of <fenv_libc.h>.
3520 * sysdeps/powerpc/soft-fp/sfp-machine.h
3521 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3523 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3536 Allow copysignl PLT reference to be missing.
3538 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3539 Joseph Myers <joseph@codesourcery.com
3542 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3544 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3546 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3549 * elf/tst-tls1.c: Likewise.
3550 * elf/tst-tls10.h: Likewise.
3551 * elf/tst-tls14.c: Likewise.
3552 * elf/tst-tls2.c: Likewise.
3553 * elf/tst-tls3.c: Likewise.
3554 * elf/tst-tls4.c: Likewise.
3555 * elf/tst-tls5.c: Likewise.
3556 * elf/tst-tls6.c: Likewise.
3557 * elf/tst-tls7.c: Likewise.
3558 * elf/tst-tls8.c: Likewise.
3559 * elf/tst-tls9.c: Likewise.
3560 * elf/tst-tlsmod1.c: Likewise.
3561 * elf/tst-tlsmod13.c: Likewise.
3562 * elf/tst-tlsmod13a.c: Likewise.
3563 * elf/tst-tlsmod14a.c: Likewise.
3564 * elf/tst-tlsmod16a.c: Likewise.
3565 * elf/tst-tlsmod16b.c: Likewise.
3566 * elf/tst-tlsmod2.c: Likewise.
3567 * elf/tst-tlsmod3.c: Likewise.
3568 * elf/tst-tlsmod4.c: Likewise.
3569 * elf/tst-tlsmod5.c: Likewise.
3570 * elf/tst-tlsmod6.c: Likewise.
3572 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3575 * malloc/malloc.c: remove checks for statistics.
3577 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3580 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3581 * inet/tst-network.c: Add testcase.
3583 2013-10-17 Andreas Schwab <schwab@suse.de>
3586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3587 to determine canonical name.
3589 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3591 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3592 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3615 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3650 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3653 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3654 make result into a quiet NaN.
3656 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3658 * soft-fp/adddf3.c: Fix horizontal whitespace.
3659 * soft-fp/addsf3.c: Likewise.
3660 * soft-fp/addtf3.c: Likewise.
3661 * soft-fp/divdf3.c: Likewise.
3662 * soft-fp/divsf3.c: Likewise.
3663 * soft-fp/divtf3.c: Likewise.
3664 * soft-fp/double.h: Likewise.
3665 * soft-fp/eqdf2.c: Likewise.
3666 * soft-fp/eqsf2.c: Likewise.
3667 * soft-fp/eqtf2.c: Likewise.
3668 * soft-fp/extenddftf2.c: Likewise.
3669 * soft-fp/extended.h: Likewise.
3670 * soft-fp/extendsfdf2.c: Likewise.
3671 * soft-fp/extendsftf2.c: Likewise.
3672 * soft-fp/extendxftf2.c: Likewise.
3673 * soft-fp/fixdfdi.c: Likewise.
3674 * soft-fp/fixdfsi.c: Likewise.
3675 * soft-fp/fixdfti.c: Likewise.
3676 * soft-fp/fixsfdi.c: Likewise.
3677 * soft-fp/fixsfsi.c: Likewise.
3678 * soft-fp/fixsfti.c: Likewise.
3679 * soft-fp/fixtfdi.c: Likewise.
3680 * soft-fp/fixtfsi.c: Likewise.
3681 * soft-fp/fixtfti.c: Likewise.
3682 * soft-fp/fixunsdfdi.c: Likewise.
3683 * soft-fp/fixunsdfsi.c: Likewise.
3684 * soft-fp/fixunsdfti.c: Likewise.
3685 * soft-fp/fixunssfdi.c: Likewise.
3686 * soft-fp/fixunssfsi.c: Likewise.
3687 * soft-fp/fixunssfti.c: Likewise.
3688 * soft-fp/fixunstfdi.c: Likewise.
3689 * soft-fp/fixunstfsi.c: Likewise.
3690 * soft-fp/fixunstfti.c: Likewise.
3691 * soft-fp/floatdidf.c: Likewise.
3692 * soft-fp/floatdisf.c: Likewise.
3693 * soft-fp/floatditf.c: Likewise.
3694 * soft-fp/floatsidf.c: Likewise.
3695 * soft-fp/floatsisf.c: Likewise.
3696 * soft-fp/floatsitf.c: Likewise.
3697 * soft-fp/floattidf.c: Likewise.
3698 * soft-fp/floattisf.c: Likewise.
3699 * soft-fp/floattitf.c: Likewise.
3700 * soft-fp/floatundidf.c: Likewise.
3701 * soft-fp/floatundisf.c: Likewise.
3702 * soft-fp/floatunditf.c: Likewise.
3703 * soft-fp/floatunsidf.c: Likewise.
3704 * soft-fp/floatunsisf.c: Likewise.
3705 * soft-fp/floatunsitf.c: Likewise.
3706 * soft-fp/floatuntidf.c: Likewise.
3707 * soft-fp/floatuntisf.c: Likewise.
3708 * soft-fp/floatuntitf.c: Likewise.
3709 * soft-fp/fmadf4.c: Likewise.
3710 * soft-fp/fmasf4.c: Likewise.
3711 * soft-fp/fmatf4.c: Likewise.
3712 * soft-fp/gedf2.c: Likewise.
3713 * soft-fp/gesf2.c: Likewise.
3714 * soft-fp/getf2.c: Likewise.
3715 * soft-fp/ledf2.c: Likewise.
3716 * soft-fp/lesf2.c: Likewise.
3717 * soft-fp/letf2.c: Likewise.
3718 * soft-fp/muldf3.c: Likewise.
3719 * soft-fp/mulsf3.c: Likewise.
3720 * soft-fp/multf3.c: Likewise.
3721 * soft-fp/negdf2.c: Likewise.
3722 * soft-fp/negsf2.c: Likewise.
3723 * soft-fp/negtf2.c: Likewise.
3724 * soft-fp/op-1.h: Likewise.
3725 * soft-fp/op-2.h: Likewise.
3726 * soft-fp/op-4.h: Likewise.
3727 * soft-fp/op-8.h: Likewise.
3728 * soft-fp/op-common.h: Likewise.
3729 * soft-fp/quad.h: Likewise.
3730 * soft-fp/single.h: Likewise.
3731 * soft-fp/soft-fp.h: Likewise.
3732 * soft-fp/sqrtdf2.c: Likewise.
3733 * soft-fp/sqrtsf2.c: Likewise.
3734 * soft-fp/sqrttf2.c: Likewise.
3735 * soft-fp/subdf3.c: Likewise.
3736 * soft-fp/subsf3.c: Likewise.
3737 * soft-fp/subtf3.c: Likewise.
3738 * soft-fp/truncdfsf2.c: Likewise.
3739 * soft-fp/trunctfdf2.c: Likewise.
3740 * soft-fp/trunctfsf2.c: Likewise.
3741 * soft-fp/trunctfxf2.c: Likewise.
3742 * soft-fp/unorddf2.c: Likewise.
3743 * soft-fp/unordsf2.c: Likewise.
3744 * soft-fp/unordtf2.c: Likewise.
3746 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3749 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3751 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3753 * elf/dl-libc.c: Clear initfini list after freeing.
3755 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3757 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3758 * soft-fp/addsf3.c: Likewise.
3759 * soft-fp/addtf3.c: Likewise.
3760 * soft-fp/divdf3.c: Likewise.
3761 * soft-fp/divsf3.c: Likewise.
3762 * soft-fp/divtf3.c: Likewise.
3763 * soft-fp/double.h: Likewise.
3764 * soft-fp/eqdf2.c: Likewise.
3765 * soft-fp/eqsf2.c: Likewise.
3766 * soft-fp/eqtf2.c: Likewise.
3767 * soft-fp/extenddftf2.c: Likewise.
3768 * soft-fp/extended.h: Likewise.
3769 * soft-fp/extendsfdf2.c: Likewise.
3770 * soft-fp/extendsftf2.c: Likewise.
3771 * soft-fp/extendxftf2.c: Likewise.
3772 * soft-fp/fixdfdi.c: Likewise.
3773 * soft-fp/fixdfsi.c: Likewise.
3774 * soft-fp/fixdfti.c: Likewise.
3775 * soft-fp/fixsfdi.c: Likewise.
3776 * soft-fp/fixsfsi.c: Likewise.
3777 * soft-fp/fixsfti.c: Likewise.
3778 * soft-fp/fixtfdi.c: Likewise.
3779 * soft-fp/fixtfsi.c: Likewise.
3780 * soft-fp/fixtfti.c: Likewise.
3781 * soft-fp/fixunsdfdi.c: Likewise.
3782 * soft-fp/fixunsdfsi.c: Likewise.
3783 * soft-fp/fixunsdfti.c: Likewise.
3784 * soft-fp/fixunssfdi.c: Likewise.
3785 * soft-fp/fixunssfsi.c: Likewise.
3786 * soft-fp/fixunssfti.c: Likewise.
3787 * soft-fp/fixunstfdi.c: Likewise.
3788 * soft-fp/fixunstfsi.c: Likewise.
3789 * soft-fp/fixunstfti.c: Likewise.
3790 * soft-fp/floatdidf.c: Likewise.
3791 * soft-fp/floatdisf.c: Likewise.
3792 * soft-fp/floatditf.c: Likewise.
3793 * soft-fp/floatsidf.c: Likewise.
3794 * soft-fp/floatsisf.c: Likewise.
3795 * soft-fp/floatsitf.c: Likewise.
3796 * soft-fp/floattidf.c: Likewise.
3797 * soft-fp/floattisf.c: Likewise.
3798 * soft-fp/floattitf.c: Likewise.
3799 * soft-fp/floatundidf.c: Likewise.
3800 * soft-fp/floatundisf.c: Likewise.
3801 * soft-fp/floatunsidf.c: Likewise.
3802 * soft-fp/floatunsisf.c: Likewise.
3803 * soft-fp/floatuntidf.c: Likewise.
3804 * soft-fp/floatuntisf.c: Likewise.
3805 * soft-fp/floatuntitf.c: Likewise.
3806 * soft-fp/fmadf4.c: Likewise.
3807 * soft-fp/fmasf4.c: Likewise.
3808 * soft-fp/fmatf4.c: Likewise.
3809 * soft-fp/gedf2.c: Likewise.
3810 * soft-fp/gesf2.c: Likewise.
3811 * soft-fp/getf2.c: Likewise.
3812 * soft-fp/ledf2.c: Likewise.
3813 * soft-fp/lesf2.c: Likewise.
3814 * soft-fp/letf2.c: Likewise.
3815 * soft-fp/muldf3.c: Likewise.
3816 * soft-fp/mulsf3.c: Likewise.
3817 * soft-fp/multf3.c: Likewise.
3818 * soft-fp/negdf2.c: Likewise.
3819 * soft-fp/negsf2.c: Likewise.
3820 * soft-fp/negtf2.c: Likewise.
3821 * soft-fp/op-1.h: Likewise.
3822 * soft-fp/op-2.h: Likewise.
3823 * soft-fp/op-4.h: Likewise.
3824 * soft-fp/op-8.h: Likewise.
3825 * soft-fp/op-common.h: Likewise.
3826 * soft-fp/quad.h: Likewise.
3827 * soft-fp/single.h: Likewise.
3828 * soft-fp/soft-fp.h: Likewise.
3829 * soft-fp/sqrtdf2.c: Likewise.
3830 * soft-fp/sqrtsf2.c: Likewise.
3831 * soft-fp/sqrttf2.c: Likewise.
3832 * soft-fp/subdf3.c: Likewise.
3833 * soft-fp/subsf3.c: Likewise.
3834 * soft-fp/subtf3.c: Likewise.
3835 * soft-fp/truncdfsf2.c: Likewise.
3836 * soft-fp/trunctfdf2.c: Likewise.
3837 * soft-fp/trunctfsf2.c: Likewise.
3838 * soft-fp/trunctfxf2.c: Likewise.
3839 * soft-fp/unorddf2.c: Likewise.
3840 * soft-fp/unordsf2.c: Likewise.
3841 * soft-fp/unordtf2.c: Likewise.
3843 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3846 * misc/error.c (error_tail): Fix possible buffer overflow.
3848 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3851 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3854 2013-10-14 P. J. McDermott <pj@pehjota.net>
3857 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3858 testing pipefail option.
3860 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3862 * soft-fp/double.h: Indent preprocessor directives inside #if.
3863 * soft-fp/extended.h: Likewise.
3864 * soft-fp/op-2.h: Likewise.
3865 * soft-fp/op-4.h: Likewise.
3866 * soft-fp/op-common.h: Likewise.
3867 * soft-fp/quad.h: Likewise.
3868 * soft-fp/single.h: Likewise.
3869 * soft-fp/soft-fp.h: Likewise.
3871 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3873 * iconv/iconv_prog.c: Fix typos.
3874 * stdio-common/psiginfo-data.h: Likewise.
3876 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3879 * locale/setlocale.c: Fix typo.
3881 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3884 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3885 signaling NaN arguments.
3886 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3887 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3890 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3892 * soft-fp/gesf2.c (__gesf2): Likewise.
3893 * soft-fp/getf2.c (__getf2): Likewise.
3894 * soft-fp/ledf2.c (__ledf2): Likewise.
3895 * soft-fp/lesf2.c (__lesf2): Likewise.
3896 * soft-fp/letf2.c (__letf2): Likewise.
3898 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3899 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3900 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3901 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3902 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3903 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3904 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3905 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3906 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3907 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3908 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3909 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3910 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3911 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3912 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3913 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3914 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3915 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3916 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3917 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3918 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3919 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3920 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3921 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3922 * soft-fp/floattidf.c (__floattidf): Likewise.
3923 * soft-fp/floattisf.c (__floattisf): Likewise.
3924 * soft-fp/floattitf.c (__floattitf): Likewise.
3925 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3926 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3927 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3928 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3929 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3930 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3931 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3932 * soft-fp/gesf2.c (__gesf2): Likewise.
3933 * soft-fp/getf2.c (__getf2): Likewise.
3934 * soft-fp/ledf2.c (__ledf2): Likewise.
3935 * soft-fp/lesf2.c (__lesf2): Likewise.
3936 * soft-fp/letf2.c (__letf2): Likewise.
3938 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3939 Undefine and redefine.
3940 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3941 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3942 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3943 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3944 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3945 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3946 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3947 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3948 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3949 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3950 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3951 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3952 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3953 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3954 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3957 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3958 without decrementing exponent if mantissa >= that for the
3960 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3961 denominator, not >. Decrement exponent in < case instead of
3962 incrementing in >= case.
3963 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3964 without decrementing exponent if mantissa >= that for the
3967 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3968 computing saturated result for unsigned overflow.
3970 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3971 Jeff Law <law@redhat.com>
3973 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3974 (atan2Mp): Add systemtap probe marker.
3975 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3976 (__ieee754_log): Add systemtap probe marker.
3977 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3978 (atanMp): Add systemtap probe marker.
3979 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3980 (tanMp): Add systemtap probe marker.
3981 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3982 (__slowexp): Add systemtap probe marker.
3983 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3984 (__slowpow): Add systemtap probe marker.
3985 * manual/probes.texi: Document probes.
3987 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3990 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3992 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3994 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3995 written to buffer but not flushed.
3996 * libio/iofwrite_u.c: Likewise.
3997 * libio/iopadn.c: Return bytes returned even if EOF was
3999 * libio/iowpadn.c: Likewise.
4000 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4001 if _IO_padn does not write the whole buffer.
4002 [!COMPILE_WPRINTF] (PAD): Likewise.
4004 2013-10-10 David S. Miller <davem@davemloft.net>
4006 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4009 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4011 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4012 instead of FSF address.
4013 * soft-fp/fixdfti.c: Likewise.
4014 * soft-fp/fixsfti.c: Likewise.
4015 * soft-fp/fixtfti.c: Likewise.
4016 * soft-fp/fixunsdfti.c: Likewise.
4017 * soft-fp/fixunssfti.c: Likewise.
4018 * soft-fp/fixunstfti.c: Likewise.
4019 * soft-fp/floattidf.c: Likewise.
4020 * soft-fp/floattisf.c: Likewise.
4021 * soft-fp/floattitf.c: Likewise.
4022 * soft-fp/floatuntidf.c: Likewise.
4023 * soft-fp/floatuntisf.c: Likewise.
4024 * soft-fp/floatuntitf.c: Likewise.
4025 * soft-fp/trunctfxf2.c: Likewise.
4027 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4028 * soft-fp/fixdfti.c: Likewise.
4029 * soft-fp/fixsfti.c: Likewise.
4030 * soft-fp/fixtfti.c: Likewise.
4031 * soft-fp/fixunsdfti.c: Likewise.
4032 * soft-fp/fixunssfti.c: Likewise.
4033 * soft-fp/fixunstfti.c: Likewise.
4034 * soft-fp/floattidf.c: Likewise.
4035 * soft-fp/floattisf.c: Likewise.
4036 * soft-fp/floattitf.c: Likewise.
4037 * soft-fp/floatuntidf.c: Likewise.
4038 * soft-fp/floatuntisf.c: Likewise.
4039 * soft-fp/floatuntitf.c: Likewise.
4040 * soft-fp/trunctfxf2.c: Likewise.
4042 2013-10-10 David S. Miller <davem@davemloft.net>
4044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4046 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4049 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4050 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4051 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4052 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4053 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4054 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4057 for NaNs before doing comparisons on argument.
4058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4061 2013-10-10 Will Newton <will.newton@linaro.org>
4063 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4064 passed to _int_memalign does not overflow.
4066 2013-10-10 Torvald Riegel <triegel@redhat.com>
4068 * scripts/bench.pl: Add include-sources directive.
4069 * benchtests/README: Update documentation.
4071 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4073 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4074 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4075 instead of FP_INIT_ROUNDMODE.
4076 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4077 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4080 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4081 copy class of input value.
4082 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4083 not handle exceptions.
4084 * soft-fp/negsf2.c (__negsf2): Likewise.
4085 * soft-fp/negtf2.c (__negtf2): Likewise.
4086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4088 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4090 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4091 semicolon. From Linux kernel.
4093 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4095 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4097 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4100 * manual/socket.texi: Added statement about buffer
4101 for gethostbyname2_r.
4103 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4105 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4106 Use .p2align directive instead, throughout.
4107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4108 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4112 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4113 * sysdeps/x86_64/strchr.S: Likewise.
4114 * sysdeps/x86_64/strrchr.S: Likewise.
4116 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4118 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4120 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4122 * sysdeps/generic/math_private.h (__mpsin1): Remove
4124 (__mpcos1): Likewise.
4125 (__mpsin): New argument __range_reduce.
4126 (__mpcos): Likewise.
4127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4128 (slow): Use __mpsin and __mpcos.
4135 (bsloww1): Likewise.
4136 (bsloww2): Likewise.
4139 (csloww1): Likewise.
4140 (csloww2): Likewise.
4141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4142 range_reduce. Merge in __mpsin1.
4143 (__mpcos): Likewise.
4145 (__mpcos1): Likewise.
4147 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4149 * locale/loadlocale.c (_nl_intern_locale_data): Use
4151 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4152 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4153 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4154 obstack data is appropriately aligned.
4155 (obstack_int32_grow_fast): Likewise.
4156 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4157 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4158 (add_locale_uint32_array): Likewise.
4160 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * benchtests/Makefile: Remove ARGLIST and RET variables.
4163 ($(objpfx)bench-%.c): Pass only function name to the script.
4164 * benchtests/README: Update documentation.
4165 * benchtests/acos-inputs: Add new directives.
4166 * benchtests/acosh-inputs: Likewise.
4167 * benchtests/asin-inputs: Likewise.
4168 * benchtests/asinh-inputs: Likewise.
4169 * benchtests/atan-inputs: Likewise.
4170 * benchtests/atanh-inputs: Likewise.
4171 * benchtests/cos-inputs: Likewise.
4172 * benchtests/cosh-inputs: Likewise.
4173 * benchtests/exp-inputs: Likewise.
4174 * benchtests/log-inputs: Likewise.
4175 * benchtests/pow-inputs: Likewise.
4176 * benchtests/rint-inputs: Likewise.
4177 * benchtests/sin-inputs: Likewise.
4178 * benchtests/sinh-inputs: Likewise.
4179 * benchtests/tan-inputs: Likewise.
4180 * benchtests/tanh-inputs: Likewise.
4181 * scripts/bench.pl: Add support for new directives.
4183 2013-10-07 Alan Modra <amodra@gmail.com>
4185 * README: Fix careless merge.
4187 2013-10-05 Alan Modra <amodra@gmail.com>
4189 * NEWS: Mention powerpc64le support and bugs fixed.
4190 * README: Both big-endian and little-endian powerpc64 supported.
4192 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4194 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4195 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4196 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4197 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4199 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4201 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4204 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4206 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4207 Move -mhard-float appending from
4208 ports/sysdeps/powerpc/powerpc32/Makefile.
4209 [$(with-fp) = yes] (ASFLAGS): Likewise.
4210 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4211 * sysdeps/powerpc/nofpu: Move directory from
4212 ports/sysdeps/powerpc/nofpu.
4213 * sysdeps/powerpc/soft-fp: Move directory from
4214 ports/sysdeps/powerpc/soft-fp.
4215 * sysdeps/powerpc/powerpc32/405: Move directory from
4216 ports/sysdeps/powerpc/powerpc32/405.
4217 * sysdeps/powerpc/powerpc32/440: Move directory from
4218 ports/sysdeps/powerpc/powerpc32/440.
4219 * sysdeps/powerpc/powerpc32/464: Move directory from
4220 ports/sysdeps/powerpc/powerpc32/464.
4221 * sysdeps/powerpc/powerpc32/476: Move directory from
4222 ports/sysdeps/powerpc/powerpc32/476.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4226 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4228 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4233 * README: Update for powerpc-*-linux-gnu software floating point
4236 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4237 case to powerpc/powerpc32*.
4238 * sysdeps/unix/sysv/linux/configure: Regenerated.
4240 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4241 (_FPU_MASK_OM): Define as 0x04.
4242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4257 and setcontext_e500.
4259 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4261 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4263 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4265 * manual/threads.texi (Default Thread Attributes): Fix typo.
4267 2013-10-04 Will Newton <will.newton@linaro.org>
4269 * malloc/Makefile: Add tst-memalign.
4270 * malloc/tst-memalign.c: New file.
4272 * malloc/tst-posix_memalign.c: Add comments.
4273 (do_test): Add comments and call free on all potentially
4274 allocated pointers. Add space after cast.
4276 * malloc/tst-pvalloc.c: Add comments.
4277 (do_test): Add comments and call free on all potentially
4278 allocated pointers. Remove duplicate check for NULL pointer.
4279 Add space after cast.
4281 * malloc/tst-valloc.c: Add comments.
4282 (do_test): Add comments and call free on all potentially
4283 allocated pointers. Remove duplicate check for NULL pointer.
4284 Add space after cast.
4286 2013-10-04 Alan Modra <amodra@gmail.com>
4288 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4289 Use stdint types in rather than __attribute__((mode())).
4290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4292 2013-10-04 Alan Modra <amodra@gmail.com>
4294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4295 Correct handling of unaligned relocs for little-endian.
4296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4298 2013-10-04 Alan Modra <amodra@gmail.com>
4300 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4301 * configure: Regenerate.
4302 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4303 * shlib-versions: Likewise.
4305 2013-10-04 Alan Modra <amodra@gmail.com>
4307 * string/tester.c (test_memrchr): Increment reported test cycle.
4309 2013-10-04 Alan Modra <amodra@gmail.com>
4311 * string/test-memcpy.c (do_one_test): When reporting errors, print
4312 string address and don't overrun end of string.
4314 2013-10-04 Alan Modra <amodra@gmail.com>
4316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4317 insrdi. Make better use of reg selection to speed exit slightly.
4318 Schedule entry path a little better. Remove useless "are we done"
4319 checks on entry to main loop. Handle wrapping around zero address.
4320 Correct main loop count. Handle single left-over word from main
4321 loop inline rather than by using loop_small. Remove extra word
4322 case in loop_small caused by wrong loop count. Add little-endian
4324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4328 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4329 support. Avoid rlwimi.
4330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4332 2013-10-04 Alan Modra <amodra@gmail.com>
4334 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4336 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4339 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4340 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4341 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4343 2013-10-04 Alan Modra <amodra@gmail.com>
4345 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4352 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4354 use of regs. Use power7 mtocrf. Tidy function tails.
4356 2013-10-04 Alan Modra <amodra@gmail.com>
4358 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4359 Formatting. Consistently use rXXX register defines or rN defines.
4360 Use early exit labels that avoid restoring unused non-volatile regs.
4361 Make cr field use more consistent with rWORDn compares. Rename
4362 regs used as shift registers for unaligned loop, using rN defines
4363 for short lifetime/multiple use regs.
4364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4366 addi 1,1,64 to pop stack frame. Simplify return value code.
4367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4369 2013-10-04 Alan Modra <amodra@gmail.com>
4371 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4372 support. Correct typos, formatting. Optimize tail. Use insrdi
4374 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4376 little-endian support. Correct typos.
4377 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4379 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4380 in loop and entry code to keep "and." results.
4381 (strchr): Add little-endian support. Comment. Move cntlzd
4383 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4385 2013-10-04 Alan Modra <amodra@gmail.com>
4387 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4388 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4390 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4392 2013-10-04 Alan Modra <amodra@gmail.com>
4394 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4395 (rTMP): Define as r11.
4396 (strcmp): Add little-endian support. Optimise tail.
4397 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4405 2013-10-04 Alan Modra <amodra@gmail.com>
4407 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4408 little-endian support. Remove unnecessary "are we done" tests.
4409 Handle "s" wrapping around zero and extremely large "size".
4410 Correct main loop count. Handle single left-over word from main
4411 loop inline rather than by using small_loop. Correct comments.
4412 Delete "zero" tail, use "end_max" instead.
4413 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4415 2013-10-04 Alan Modra <amodra@gmail.com>
4417 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4418 support. Don't branch over align.
4419 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4420 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4421 support. Rearrange tmp reg use to suit. Comment.
4422 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4424 2013-10-04 Alan Modra <amodra@gmail.com>
4426 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4428 2013-10-04 Alan Modra <amodra@gmail.com>
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4431 conditional form of branch and link when obtaining pc.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4434 2013-10-04 Alan Modra <amodra@gmail.com>
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4441 2013-10-04 Alan Modra <amodra@gmail.com>
4443 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4444 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4445 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4446 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4452 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4454 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4455 Alistair Popple <alistair@ozlabs.au.ibm.com>
4456 Alan Modra <amodra@gmail.com>
4459 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4461 _dl_hwcap access for little-endian.
4462 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4463 destroy vmx regs when saving unaligned.
4464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4466 destroy vmx regs when saving unaligned.
4468 2013-10-04 Alan Modra <amodra@gmail.com>
4470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4471 Don't use a union to pack hi/low value.
4473 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4475 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4479 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4483 2013-10-04 Alan Modra <amodra@gmail.com>
4485 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4486 constants to usual value for .cst8 section, and remove redundant
4488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4489 constant for 0x1p52. Load little-endian words of double from
4490 correct stack offsets.
4492 2013-10-04 Alan Modra <amodra@gmail.com>
4494 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4496 words of double from correct stack offsets.
4497 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4504 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4505 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4510 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4511 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4513 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4515 2013-10-04 Alan Modra <amodra@gmail.com>
4517 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4518 64-bit int/double union.
4519 (_FPU_SETCW): Likewise.
4520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4521 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4523 2013-10-04 Alan Modra <amodra@gmail.com>
4525 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4526 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4528 2013-10-04 Alan Modra <amodra@gmail.com>
4530 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4531 use vector int constants.
4532 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4534 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4537 array with long long.
4538 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4540 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4541 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4542 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4543 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4544 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4547 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4548 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4549 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4552 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4554 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4555 (__signbit): Likewise. Correct for little-endian.
4556 (__signbitl): Call __signbit.
4557 (lrint): Correct for little-endian.
4558 (lrintf): Call lrint.
4560 2013-10-04 Alan Modra <amodra@gmail.com>
4562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4563 union 32-bit int array member with 64-bit int array.
4564 (t515, tm256): Double rather than long double.
4565 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4567 2013-10-04 Alan Modra <amodra@gmail.com>
4569 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4571 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4573 version of math_ldbl.h.
4575 2013-10-04 Alan Modra <amodra@gmail.com>
4577 [BZ #15734], [BZ #15735]
4578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4579 all uses of ieee875 long double macros and unions. Simplify test
4580 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4581 ldbl_extract_mantissa value for ix,iy exponents. Properly
4582 normalize after ldbl_extract_mantissa, and don't add hidden bit
4583 already handled. Don't treat low word of ieee854 mantissa like
4584 low word of IBM long double and mask off bit when testing for
4586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4587 all uses of ieee875 long double macros and unions. Simplify tests
4588 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4589 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4590 two1022, instead use their values. Recognise that tests for large
4591 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4593 Rewrite all uses of ieee875 long double macros and unions. Simplify
4594 test for 0.0L and nan. Correct negation.
4595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4596 ieee875 long double macros and unions. Correct output for large
4597 magnitude x. Correct absolute value calculation.
4598 (__erfcl): Likewise.
4599 * math/libm-test.inc: Add tests for errors discovered in IBM long
4600 double versions of fmodl, remainderl, erfl and erfcl.
4602 2013-10-04 Alan Modra <amodra@gmail.com>
4604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4605 all uses of ieee854 long double macros and unions. Simplify tests
4606 for long doubles that are fully specified by the high double.
4607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4610 Remove dead code too.
4611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4612 (__ieee754_ynl): Likewise.
4613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4616 Remove dead code too.
4617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4627 Comment on variable precision.
4628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4631 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4637 2013-10-04 Alan Modra <amodra@gmail.com>
4639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4641 all uses of ieee854 long double macros and unions.
4642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4655 Simplify sign and nan test too.
4656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4671 2013-10-04 Alan Modra <amodra@gmail.com>
4673 * stdio-common/printf_size.c (__printf_size): Don't use
4674 union ieee854_long_double in fpnum union.
4675 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4676 signbit macro to retrieve sign from long double.
4677 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4678 retrieve sign from long double.
4679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4680 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4681 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4682 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4683 * math/test-misc.c (main): Don't use union ieee854_long_double.
4685 2013-10-04 Alan Modra <amodra@gmail.com>
4688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4690 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4691 calculation. Remove unnecessary test for denormal exponent.
4692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4693 Correct handling of denormals. Avoid undefined shift behaviour.
4694 Correct normalisation of low mantissa when low double is denormal.
4695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4696 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4697 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4698 Correct normalisation of low mantissa. Test for overflow of high
4699 mantissa and normalise.
4700 (ldbl_nearbyint): Use more readable constant for two52.
4701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4702 (__mpn_construct_long_double): Fix test for overflow of high
4703 mantissa and correct normalisation. Avoid undefined shift.
4705 2013-10-04 Alan Modra <amodra@gmail.com>
4707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4708 (union ibm_extended_long_double): Define as an array of ieee754_double.
4709 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4711 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4721 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4723 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4724 page size instead of calling getpagesize.
4726 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4727 (LOCFILE_ALIGN_MASK): Likewise.
4728 (LOCFILE_ALIGN_UP): Likewise.
4729 (LOCFILE_ALIGNED_P): Likewise.
4730 * locale/programs/ld-collate.c (collate_output): Use the new
4731 macros instead of __alignof__ (int32_t).
4732 * locale/weight.h (findidx): Likewise.
4734 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4737 * manual/string.texi: Fix strncat and wcsncat.
4739 2013-10-03 Brooks Moses <bmoses@google.com>
4742 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4743 * Makerules: ...here, and adjust associated comments.
4745 2013-10-02 Will Newton <will.newton@linaro.org>
4747 * malloc/Makefile: Add tst-pvalloc.
4748 * malloc/tst-pvalloc.c: New file.
4750 2013-10-02 Will Newton <will.newton@linaro.org>
4752 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4753 improve test coverage.
4755 2013-10-02 Will Newton <will.newton@linaro.org>
4757 * malloc/Makefile: Add tst-posix_memalign.
4758 * malloc/tst-posix_memalign.c: New file.
4760 2013-10-01 Eric Blake <eblake@redhat.com>
4762 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4763 Use __THROWNL rather than __THROW on static functions.
4765 2013-09-30 Petr Machata <pmachata@redhat.com>
4767 * elf/elf.h (R_AARCH64_ABS16): New macro.
4768 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4769 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4770 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4771 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4772 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4773 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4774 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4775 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4776 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4777 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4778 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4779 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4780 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4781 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4782 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4783 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4784 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4785 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4786 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4787 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4788 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4789 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4790 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4791 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4792 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4793 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4794 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4795 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4796 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4797 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4798 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4799 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4800 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4801 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4802 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4803 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4804 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4805 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4806 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4807 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4808 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4809 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4810 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4811 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4812 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4813 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4814 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4815 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4816 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4817 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4818 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4819 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4820 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4821 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4822 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4823 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4824 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4825 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4826 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4827 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4828 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4829 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4830 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4831 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4832 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4833 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4834 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4835 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4836 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4837 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4838 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4839 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4840 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4841 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4842 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4843 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4844 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4845 (R_AARCH64_TLSDESC_LDR): Likewise.
4846 (R_AARCH64_TLSDESC_ADD): Likewise.
4847 (R_AARCH64_TLSDESC_CALL): Likewise.
4849 2013-09-30 Andreas Schwab <schwab@suse.de>
4852 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4853 the nss database lookup.
4854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4857 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4859 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4861 2013-09-28 P. J. McDermott <pj@pehjota.net>
4863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4864 ${Bash-specific parameter/pattern/string} parameter expansion.
4865 * sysdeps/unix/make-syscalls.sh: Likewise.
4867 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4869 * sysdeps/sh/stackguard-macros.h: New file.
4871 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4875 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4878 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4880 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4882 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4883 Fix thread ID register.
4885 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4887 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4888 [POSIX || UNIX98]: Require rather than permitting all symbols from
4890 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4891 element of struct sched_param.
4892 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4893 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4894 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4895 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4898 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4900 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4901 argument calculation.
4903 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4905 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4907 [POSIX] (pthread_attr_t): Do not require type.
4908 [POSIX] (pthread_cond_t): Likewise.
4909 [POSIX] (pthread_condattr_t): Likewise.
4910 [POSIX] (pthread_key_t): Likewise.
4911 [POSIX] (pthread_mutex_t): Likewise.
4912 [POSIX] (pthread_mutexattr_t): Likewise.
4913 [POSIX] (pthread_once_t): Likewise.
4914 [POSIX] (pthread_t): Likewise.
4915 [POSIX-based standards] (pthread_atfork): Expect function.
4917 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4918 Richard Sandiford <richard@codesourcery.com>
4920 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4921 (swap_endianness_p): New extern variable.
4922 (set_big_endian): New inline function.
4923 (maybe_swap_uint32): Likewise.
4924 (maybe_swap_uint32_array): Likewise.
4925 (maybe_swap_uint32_obstack): Likewise.
4926 * locale/programs/locfile.c: Include <stdbool.h>.
4927 (swap_endianness_p): New variable.
4928 (add_locale_uint32): Call maybe_swap_uint32.
4929 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4930 (write_locale_data): Call maybe_swap_uint32_array.
4931 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4933 (obstack_int32_grow_fast): Likewise.
4934 (output_weightwc): Call maybe_swap_uint32_obstack.
4935 (collate_output): Likewise.
4936 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4937 (OPT_LITTLE_ENDIAN): Likewise.
4938 (options): Add --little-endian and --big-endian options.
4939 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4940 * locale/programs/locarchive.c: Include "locfile.h".
4944 (create_archive): Use the new macros to access fields of
4945 structures directly mapped from or written to locale archives.
4946 (oldlocrecentcmp): Likewise.
4947 (enlarge_archive): Likewise.
4948 (insert_name): Likewise.
4949 (add_alias): Likewise.
4950 (add_locale): Likewise.
4951 (delete_locales_from_archive): Likewise.
4952 (show_archive_content): Likewise.
4953 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4956 2013-09-24 Roland McGrath <roland@hack.frob.com>
4958 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4959 http://www.gnu.org/doc/freemanuals.texi.
4960 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4962 2013-09-24 Will Newton <will.newton@linaro.org>
4964 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4967 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4969 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4972 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4974 * manual/threads.texi (POSIX Threads): Fix a typo.
4976 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4979 * string/tst-strcoll-overflow.c: New test case.
4980 * string/Makefile (xtests): Add tst-strcoll-overflow.
4981 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4982 cache if string sizes may cause integer overflow.
4985 * string/strcoll_l.c (coll_seq): New members rule, idx,
4986 save_idx and back_us.
4987 (get_next_seq_nocache): New function.
4988 (do_compare_nocache): New function.
4989 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4992 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4995 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4996 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4997 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5000 * elf/Makefile (tests): Add tst-ptrguard1.
5001 (tests-static): Add tst-ptrguard1-static.
5002 (tst-ptrguard1-ARGS): Define.
5003 (tst-ptrguard1-static-ARGS): Define.
5004 * elf/tst-ptrguard1.c: New file.
5005 * elf/tst-ptrguard1-static.c: New file.
5006 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5007 * sysdeps/i386/stackguard-macros.h: Likewise.
5008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5015 2013-09-23 Hector Marco <hecmargi@upv.es>
5016 Ismael Ripoll <iripoll@disca.upv.es>
5017 Carlos O'Donell <carlos@redhat.com>
5020 * sysdeps/generic/stackguard-macros.h: Define
5021 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5022 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5023 Define __pointer_chk_guard_local.
5024 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5025 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5027 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5030 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5032 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5034 * include/string.h (__ffs): Declare as hidden.
5035 * string/ffs.c (__ffs): Define as hidden.
5036 * sysdeps/i386/ffs.c (__ffs): Likewise.
5037 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5038 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5039 * sysdeps/s390/ffs.c (__ffs): Likewise.
5040 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5042 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5044 * NEWS: Mention malloc probes.
5046 * malloc/arena.c (new_heap): New memory_heap_new probe.
5047 (grow_heap): New memory_heap_more probe.
5048 (shrink_heap): New memory_heap_less probe.
5049 (heap_trim): New memory_heap_free probe.
5050 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5051 (systrim): New memory_sbrk_less probe.
5052 * manual/probes.texi: Document them.
5054 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5055 * manual/probes.texi: Document it.
5057 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5058 (__libc_realloc): Add memory_realloc_retry probe.
5059 (__libc_memalign): Add memory_memalign_retry probe.
5060 (__libc_valloc): Add memory_valloc_retry probe.
5061 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5062 (__libc_calloc): Add memory_calloc_retry probe.
5063 * manual/probes.texi: Document them.
5065 * malloc/arena.c (get_free_list): Add probe
5066 memory_arena_reuse_free_list.
5067 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5068 and memory_arena_reuse.
5069 (arena_get2) [!PER_THREAD]: Likewise.
5070 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5071 memory_arena_reuse_realloc.
5072 * manual/probes.texi: Document them.
5074 * malloc/malloc.c (__libc_free): Add
5075 memory_mallopt_free_dyn_thresholds probe.
5076 (__libc_mallopt): Add multiple memory_mallopt probes.
5077 * manual/probes.texi: Document them.
5079 * malloc/malloc.c: Include stap-probe.h.
5080 (__libc_mallopt): Add memory_mallopt probe.
5081 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5082 * manual/probes.texi: New.
5083 * manual/Makefile (chapters): Add probes.
5084 * manual/threads.texi: Set next node.
5086 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5089 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5090 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5091 Add `Chinese' to `nan' entry name.
5093 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5095 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5096 (POLYNOMIAL): Likewise.
5097 (TAYLOR_SINCOS): Likewise.
5098 (TAYLOR_SLOW): Likewise.
5099 (__sin): Use TAYLOR_SINCOS.
5101 (slow): Use TAYLOR_SLOW.
5106 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5108 * stdlib/strtod_l.c: Fix buffer overrun.
5110 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5112 * benchtests/Makefile (bench): Add sincos.
5113 * benchtests/bench-sincos.c: New file.
5115 * math/libm-test.inc (cos_test_data): New test inputs.
5116 (sin_test_data): Likewise.
5118 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5126 (bsloww1): Likewise.
5127 (bsloww2): Likewise.
5129 (csloww1): Likewise.
5130 (csloww2): Likewise.
5132 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5141 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5143 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5144 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5145 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5146 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5147 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5148 * elf/cache.c (print_entry): Handle the new cache flags.
5150 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5151 Aldy Hernandez <aldyh@redhat.com>
5153 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5154 Change condition to [_SOFT_FLOAT].
5155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5167 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5170 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5173 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5175 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5177 (__longjmp): Use LOAD_GP to load saved GPRs.
5178 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5179 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5180 (__sigsetjmp): Use SAVE_GP to save GPRs.
5182 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5183 Do not append -msoft-float.
5184 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5186 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5190 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5193 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5194 (_FPU_GETCW): Use initial "__" on variable and field names but not
5195 on macro parameter name.
5196 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5197 parentheses around reference to macro parameter.
5199 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5201 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5203 (ctype_startup): Use uint32_t in cast and sizeof for
5206 2013-09-11 Jia Liu <proljc@gmail.com>
5208 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5210 [__FreeBSD__]: Likewise.
5212 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5215 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5217 (strchr): Remove __strchr_sse42 ifunc selection.
5218 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5219 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5221 2013-09-11 Will Newton <will.newton@linaro.org>
5223 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5224 parameter to RES. Remove hardcoded 1000 value.
5225 * benchtests/bench-skeleton.c (main): Pass RES parameter
5226 to TIMING_INIT and multiply result by 1000.
5228 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5232 2013-09-11 Andreas Schwab <schwab@suse.de>
5234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5236 (O_TMPFILE) [__USE_GNU]: Define.
5237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5240 2013-09-11 Will Newton <will.newton@linaro.org>
5243 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5246 2013-09-11 Will Newton <will.newton@linaro.org>
5249 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5252 2013-09-11 Will Newton <will.newton@linaro.org>
5255 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5258 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5260 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5266 2013-09-10 Allan McRae <allan@archlinux.org>
5269 * manual/arith.texi (Parsing of Floats): Clarify
5273 * manual/install.texi (Running make install): Mention
5275 * INSTALL: Regenerated.
5277 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5279 * csu/init-first.c (_init): Remove the !SHARED condition around
5280 FPU control word initialization.
5281 * elf/dl-support.c (_dl_fpu_control): New variable.
5282 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5283 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5284 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5285 * math/test-fpucw-static.c: New file.
5286 * math/test-fpucw-ieee.c: New file.
5287 * math/test-fpucw-ieee-static.c: New file.
5288 * math/Makefile (tests): Add `test-fpucw-ieee' and
5290 (tests-static): New variable.
5291 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5293 [($(build-shared),yes)]
5294 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5296 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5299 2013-09-09 Allan McRae <allan@archlinux.org>
5302 * manual/string.texi (Collation Functions): Fix typo in
5304 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5307 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5310 * libio/memstream.c (open_memstream): Fix memory leak.
5311 * libio/wmemstream.c (open_wmemstream): Likewise.
5314 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5316 2013-09-09 Will Newton <will.newton@linaro.org>
5318 * malloc/Makefile: Add tst-realloc to tests.
5319 * malloc/tst-realloc.c: New file.
5321 2013-09-09 Allan McRae <allan@archlinux.org>
5324 * COPYING: Update from GNU website to fix FSF address.
5325 * COPYING.LIB: Likewise.
5327 2013-09-06 David S. Miller <davem@davemloft.net>
5329 * po/zh_TW.po: Update Chinese (traditional) translation from
5330 translation project.
5332 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5333 Joseph Myers <joseph@codesourcery.com>
5335 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5337 (obstack_chunk_alloc): New macro.
5338 (obstack_chunk_free): Likewise.
5339 (record_offset): New function.
5340 (init_locale_data): Likewise.
5341 (align_locale_data): Likewise.
5342 (add_locale_empty): Likewise.
5343 (add_locale_raw_data): Likewise.
5344 (add_locale_raw_obstack): Likewise.
5345 (add_locale_string): Likewise.
5346 (add_locale_wstring): Likewise.
5347 (add_locale_uint32): Likewise.
5348 (add_locale_uint32_array): Likewise.
5349 (add_locale_char): Likewise.
5350 (start_locale_structure): Likewise.
5351 (end_locale_structure): Likewise.
5352 (start_locale_prelude): Likewise.
5353 (end_locale_prelude): Likewise.
5354 (write_locale_data): Take locale_file structure rather than an
5356 * locale/programs/locfile.h: Include "obstack.h".
5357 (struct locale_file): Change to store locale file contents instead
5359 (init_locale_data): New prototype.
5360 (align_locale_data): Likewise.
5361 (add_locale_empty): Likewise.
5362 (add_locale_raw_data): Likewise.
5363 (add_locale_raw_obstack): Likewise.
5364 (add_locale_string): Likewise.
5365 (add_locale_wstring): Likewise.
5366 (add_locale_uint32): Likewise.
5367 (add_locale_uint32_array): Likewise.
5368 (add_locale_char): Likewise.
5369 (start_locale_structure): Likewise.
5370 (end_locale_structure): Likewise.
5371 (start_locale_prelude): Likewise.
5372 (end_locale_prelude): Likewise.
5373 (write_locale_data): Update prototype.
5374 * locale/programs/3level.h (struct TABLE): Remove result field.
5375 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5376 Use new locale_file interface.
5377 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5378 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5379 * locale/programs/ld-address.c (address_output): Use new
5380 locale_file interface.
5381 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5383 (collate_finish): Don't call collseq_table_finalize.
5384 (collate_output): Use new locale_file interface.
5385 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5387 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5388 (TABLE): Move defines earlier in file.
5389 (ELEMENT): Likewise.
5390 (DEFAULT): Likewise.
5391 (wctrans_table_add): Move macro and inline function earlier in
5393 (struct wctype_table): Move type earlier in file.
5394 (add_locale_wctype_table): New static prototype.
5395 (struct locale_ctype_t): Use logical types instead of struct iovec
5396 pointers for members.
5397 (ctype_output): Use new locale_file interface.
5398 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5399 new locale_file interface.
5400 (allocate_arrays): Update for use of new locale_file interface.
5401 * locale/programs/ld-identification.c (identification_output): Use
5402 new locale_file interface.
5403 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5404 * locale/programs/ld-messages.c (messages_output): Likewise.
5405 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5406 * locale/programs/ld-name.c (name_output): Likewise.
5407 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5408 * locale/programs/ld-paper.c (paper_output): Likewise.
5409 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5410 * locale/programs/ld-time.c (time_output): Likewise.
5412 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * benchtests/Makefile: Add memrchr benchmark.
5415 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5416 benchmark as memrchr.
5417 * benchtests/bench-memrchr-ifunc.c: New file.
5418 * benchtests/bench-memrchr.c: New file.
5420 2013-09-06 Will Newton <will.newton@linaro.org>
5422 * benchtests/Makefile (string-bench): Add memcpy.
5424 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5425 Cong Wang <amwang@redhat.com>
5427 * sysdeps/unix/sysv/linux/bits/in.h
5428 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5429 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5430 before __USE_KERNEL_IPV6_DEFS uses.
5431 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5433 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5434 sockaddr_in6, or ipv6_mreq.
5436 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5439 memory access for final bytes in some large inputs.
5440 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5442 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444 * string/test-memrchr.c: New file.
5445 * string/test-memrchr-ifunc.c: New file.
5446 * string/Makefile: Add new memrchr testcase.
5448 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5450 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5451 fanotify_init returns EPERM.
5453 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5455 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5457 (top level): Treat second token from macro or constant entries for
5458 allowed headers as allowed.
5459 * include/complex.h: Condition internal declarations on
5461 * include/fenv.h: Condition include of <stdbool.h> and internal
5462 declarations on [!_ISOMAC].
5464 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5467 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5469 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5471 * configure.in (--enable-versioning): Remove configure option.
5472 (libc_cv_asm_symver_directive): Remove configure test.
5473 (libc_cv_ld_version_script_option): Likewise.
5474 (VERSIONING): Remove variable and AC_SUBST.
5475 (DO_VERSIONING): Remove AC_DEFINE.
5476 * configure: Regenerated.
5477 * config.h.in (DO_VERSIONING): Remove macro.
5478 * Makerules [$(versioning) = yes]: Change conditionals to
5479 [$(build-shared) = yes].
5480 * config.make.in (versioning): Remove variable.
5481 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5482 [$(build-shared) = yes].
5483 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5484 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5485 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5486 [$(build-shared) = yes].
5487 * extra-lib.mk [$(versioning) = yes]: Likewise.
5488 * hurd/Makefile [$(versioning) = yes]: Likewise.
5489 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5491 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5493 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5494 [SHARED && !NO_HIDDEN].
5495 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5497 [SHARED && DO_VERSIONING]: Likewise..
5498 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5499 [$(build-shared) = yes].
5500 * manual/install.texi (--disable-versioning): Remove
5502 * INSTALL: Regenerated.
5503 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5505 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5506 [$(build-shared) = yes].
5507 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5508 * sysdeps/i386/i686/multiarch/strstr-c.c
5509 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5510 [SHARED && !NO_HIDDEN].
5511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5512 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5513 * sysdeps/powerpc/powerpc32/dl-machine.c
5514 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5515 * sysdeps/powerpc/powerpc32/sysdep.h
5516 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5517 to [SHARED && PIC && !NO_HIDDEN].
5518 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5519 conditional to [SHARED].
5521 2013-09-04 Will Newton <will.newton@linaro.org>
5523 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5524 * benchtests/bench-string.h: Include bench-timing.h instead
5525 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5526 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5527 call to HP_TIMING_DIFF_INIT.
5528 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5529 instead of hp-timing.h macros.
5530 * benchtests/bench-memchr.c: Likewise.
5531 * benchtests/bench-memcmp.c: Likewise.
5532 * benchtests/bench-memcpy.c: Likewise.
5533 * benchtests/bench-memmem.c: Likewise.
5534 * benchtests/bench-memmove.c: Likewise.
5535 * benchtests/bench-memset.c: Likewise.
5536 * benchtests/bench-rawmemchr.c: Likewise.
5537 * benchtests/bench-strcasecmp.c: Likewise.
5538 * benchtests/bench-strcasestr.c: Likewise.
5539 * benchtests/bench-strcat.c: Likewise.
5540 * benchtests/bench-strchr.c: Likewise.
5541 * benchtests/bench-strcmp.c: Likewise.
5542 * benchtests/bench-strcpy.c: Likewise.
5543 * benchtests/bench-strcpy_chk.c: Likewise.
5544 * benchtests/bench-strlen.c: Likewise.
5545 * benchtests/bench-strncasecmp.c: Likewise.
5546 * benchtests/bench-strncat.c: Likewise.
5547 * benchtests/bench-strncmp.c: Likewise.
5548 * benchtests/bench-strncpy.c: Likewise.
5549 * benchtests/bench-strnlen.c: Likewise.
5550 * benchtests/bench-strpbrk.c: Likewise.
5551 * benchtests/bench-strrchr.c: Likewise.
5552 * benchtests/bench-strspn.c: Likewise.
5553 * benchtests/bench-strstr.c: Likewise.
5555 2013-09-04 Will Newton <will.newton@linaro.org>
5557 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5559 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5563 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5564 * math/libm-test.inc (lgamma_test_data): Add more tests.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5570 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5574 Add strcmp-sse2-unaligned
5575 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5577 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5579 * Versions.def (libc): Add GLIBC_2.19.
5581 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5583 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5584 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5586 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5589 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5590 intermediate calculations in recurrence.
5591 (__ieee754_ynf): Likewise.
5592 * math/libm-test.inc (jn_test_data): Do not allow spurious
5593 underflow exception. Add more tests.
5594 (yn_test_data): Add more tests.
5595 * sysdeps/i386/fpu/libm-test-ulps: Update.
5596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5598 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5602 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5604 * csu/init-first.c: Fix then/than typos.
5605 * locale/programs/ld-collate.c: Likewise.
5606 * locale/programs/linereader.h: Likewise.
5607 * manual/charset.texi: Likewise.
5608 * manual/filesys.texi: Likewise.
5609 * manual/stdio.texi: Likewise.
5610 * manual/string.texi: Likewise.
5611 * stdlib/fmtmsg.c: Likewise.
5612 * sysdeps/i386/stpncpy.S: Likewise.
5613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5614 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5615 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5616 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5618 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5620 * elf/dl-open.c: Fix typos.
5621 * iconvdata/gbbig5.c: Likewise.
5622 * iconvdata/iso-2022-jp.c: Likewise.
5623 * iconv/gconv_int.h: Likewise.
5624 * iconv/loop.c: Likewise.
5625 * nis/rpcsvc/nis.h: Likewise.
5626 * resolv/ns_name.c: Likewise.
5627 * stdio-common/vfscanf.c: Likewise.
5628 * streams/stropts.h: Likewise.
5629 * sunrpc/rpc_thread.c: Likewise.
5630 * sysdeps/i386/strpbrk.S: Likewise.
5631 * sysdeps/ieee754/k_standard.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5634 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5635 * sysdeps/mach/hurd/profil.c: Likewise.
5636 * sysdeps/s390/dl-procinfo.h: Likewise.
5637 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5639 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5640 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5643 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5645 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5648 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5650 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5652 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5655 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5656 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5657 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5658 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5661 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5662 Roland McGrath <roland@hack.frob.com>
5664 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5665 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5667 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5669 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5670 __executable_start symbol instead of _start.
5672 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5674 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5675 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5677 * sysdeps/gnu/ldsodefs.h: ... this new file.
5679 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5680 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5681 instead of ELFOSABI_LINUX.
5683 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5684 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5685 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5686 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5688 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5689 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5690 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5692 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5693 (ibm_extended_long_double): Add ieee_nan member.
5694 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5695 (do_test): New function.
5697 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5699 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5700 functions, renamed from truncdfsf_test, trunctfsf_test,
5702 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5704 (do_test): Run all these.
5706 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5708 * argp/argp-help.c: Fix typos.
5709 * argp/argp-parse.c: Likewise.
5710 * debug/backtracesyms.c: Likewise.
5711 * elf/elf.h: Likewise.
5712 * malloc/malloc.c: Likewise.
5713 * nis/nis_print.c: Likewise.
5714 * resolv/res_comp.c: Likewise.
5715 * stdlib/stdlib.h: Likewise.
5716 * sunrpc/clnt_tcp.c: Likewise.
5717 * sunrpc/clnt_udp.c: Likewise.
5718 * sunrpc/clnt_unix.c: Likewise.
5719 * sysdeps/unix/bsd/ptsname.c: Likewise.
5720 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5721 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5728 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5730 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5732 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5735 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5738 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5739 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5740 ($(objpfx)bug-dl-leaf): New rule.
5741 ($(objpfx)bug-dl-leaf.so): Likewise.
5742 ($(objpfx)bug-dl-leaf.out): Likewise.
5743 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5744 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5745 * dlfcn/bug-dl-leaf.c: New test.
5746 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5747 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5748 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5749 (dlclose): Likewise.
5750 (dlmopen): Likewise.
5752 2013-08-27 Roland McGrath <roland@hack.frob.com>
5754 * include/netdb.h [!_ISOMAC]:
5755 Don't include <tls.h>.
5756 (h_errno, __libc_h_errno): Move declaration and macros out of
5759 * include/resolv.h [_RESOLV_H_]:
5760 Don't include <tls.h>.
5761 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5762 * resolv/res_libc.c: Don't include <tls.h>.
5763 (_res): Use __attribute__ ((nocommon)) in place of
5764 __attribute__ ((section (".bss"))).
5766 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5767 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5769 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5771 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5772 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5774 * resolv/res_mkquery.c: Include <sys/time.h>.
5776 * inet/ifreq.c: Moved to ...
5777 * sysdeps/unix/ifreq.c: ... here.
5778 * inet/ifreq.c: New file, true stub version.
5780 * socket/sa_len.c: New file.
5781 * socket/Makefile (aux): Add it.
5782 * sysdeps/unix/sysv/linux/Makefile
5783 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5784 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5785 and #include <socket/sa_len.c>.
5786 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5787 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5789 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5790 * bits/socket.h: ... here.
5792 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5793 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5794 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5796 2013-08-27 Andreas Schwab <schwab@suse.de>
5799 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5800 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5801 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5802 * string/test-strcasecmp.c (test_main): Run tests in several
5804 * string/test-strncasecmp.c (test_main): Likewise.
5806 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5807 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5808 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5810 (__strncasecmp_ssse3) [PIC]: Likewise.
5812 2013-08-26 Roland McGrath <roland@hack.frob.com>
5814 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5816 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5817 instead of explicitly declaring xdecrypt.
5818 * nis/nss_nis/nis-publickey.c: Likewise.
5820 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5823 * nscd/aicache.c: Include res_hconf.h.
5824 (addhstaiX): Initialize res_hconf.
5826 2013-08-26 Andreas Schwab <schwab@suse.de>
5828 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5829 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5831 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5833 * nscd/aicache.c (addhstaiX): Fix indentation.
5835 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5837 * configure.ac: Quote $build_pt_chown test.
5838 * configure: Regenerated.
5840 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5843 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5844 * math/s_cexpf.c (__cexpf): Likewise.
5845 * math/s_cexpl.c (__cexpl): Likewise.
5846 * math/libm-test.inc (cexp_test_data): Correct expected return
5847 value for NaN + i0. Add another test.
5849 2013-08-22 David S. Miller <davem@davemloft.net>
5851 * po/ca.po: Update Catalan translation from translation project.
5852 * po/uk.po: Add Ukrainian translations from translation project.
5854 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5857 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5858 is infinite, not alongside NaN test.
5859 * math/s_fdimf.c (__fdimf): Likewise.
5860 * math/s_fdiml.c (__fdiml): Likewise.
5861 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5864 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5866 * argp/argp-help.c: Fix typos.
5867 * crypt/speeds.c: Likewise.
5868 * csu/check_fds.c: Likewise.
5869 * elf/dl-load.c: Likewise.
5870 * elf/dl-open.c: Likewise.
5871 * elf/reldep3.c: Likewise.
5872 * elf/reldep.c: Likewise.
5873 * elf/sprof.c: Likewise.
5874 * iconv/iconv_charmap.c: Likewise.
5875 * iconv/skeleton.c: Likewise.
5876 * iconv/strtab.c: Likewise.
5877 * io/lockf64.c: Likewise.
5878 * libio/libioP.h: Likewise.
5879 * resolv/gai_notify.c: Likewise.
5880 * resolv/ns_name.c: Likewise.
5881 * resolv/ns_samedomain.c: Likewise.
5882 * resolv/res_send.c: Likewise.
5883 * stdlib/random.c: Likewise.
5884 * sunrpc/rpc/xdr.h: Likewise.
5885 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5886 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5893 * sysdeps/mach/hurd/check_fds.c: Likewise.
5894 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5895 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5897 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5899 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5900 * sysdeps/pthread/aio_notify.c: Likewise.
5901 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5902 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5905 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5907 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5909 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5910 version if bit_Slow_SSE4_2 is set.
5911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5914 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5918 trampoline stack frame information.
5919 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5921 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5922 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5923 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5924 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5925 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5926 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5928 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5929 interrupting a syscall and set with option SA_SIGINFO.
5931 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5934 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5935 argument is infinite.
5936 * math/s_cprojf.c (__cprojf): Likewise.
5937 * math/s_cprojl.c (__cprojl): Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5939 * math/libm-test.inc (cproj_test_data): Add more tests.
5941 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5943 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5944 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5945 size. Use __ffs to determine corresponding shift.
5947 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5948 Roland McGrath <roland@hack.frob.com>
5950 * Makefile (INSTALL): Remove trailing blank lines from output of
5953 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5955 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5956 Align 32 bit compat elf_greg to 8 bytes.
5958 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5960 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5962 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5964 * string/strcoll_l.c (coll_seq): New structure.
5965 (get_next_seq_cached): New function.
5966 (get_next_seq): New function.
5967 (do_compare): New function.
5968 (STRCOLL): Use GNU style definition. Simplify implementation
5969 by using get_next_seq, get_next_seq_cached and do_compare.
5971 2013-08-16 Florian Weimer <fweimer@redhat.com>
5975 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5977 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5979 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5980 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5981 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5983 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5984 GETDENTS_64BIT_ALIGNED.
5985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5986 * manual/filesys.texi (Reading/Closing Directory): Document
5987 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5989 * manual/conf.texi (Limits for Files): Add portability note to
5991 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5993 2013-08-13 Andreas Schwab <schwab@suse.de>
5996 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5998 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5999 LDBL_MAX_EXP >= 16384]: Add tests for it.
6001 2013-08-12 David S. Miller <davem@davemloft.net>
6003 * version.h (RELEASE): Set to "development".
6004 (VERSION): Set to "2.18.90".
6005 * NEWS: Add 2.19 section.
6007 2013-08-03 David S. Miller <davem@davemloft.net>
6009 * po/ko.po: Update Korean translation from translation project.
6011 2013-08-01 David S. Miller <davem@davemloft.net>
6013 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6014 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6017 2013-07-30 David S. Miller <davem@davemloft.net>
6019 * po/fr.po: Update French translation from translation project.
6021 2013-07-28 David S. Miller <davem@davemloft.net>
6023 * po/cs.po: Update Czech translation from translation project.
6025 * po/sv.po: Update Swedish translation from translation project.
6027 2013-07-27 David S. Miller <davem@davemloft.net>
6029 * po/eo.po: Update Esperanto translation from translation project.
6031 * po/vi.po: Update Vietnamese translation from translation project.
6033 * po/de.po: Update German translation from translation project.
6035 2013-07-26 David S. Miller <davem@davemloft.net>
6037 * po/bg.po: Update Bulgarian translation from translation project.
6039 * po/nl.po: Update Dutch translation from translation project.
6040 * po/pl.po: Update Polish translation from translation project.
6041 * po/ru.po: Update Russian translation from translation project.
6043 2013-07-24 David S. Miller <davem@davemloft.net>
6045 * po/libc.pot: Update.
6047 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6051 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6053 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6055 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6057 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6059 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6060 Andreas Schwab <schwab@suse.de>
6061 Roland McGrath <roland@hack.frob.com>
6062 Joseph Myers <joseph@codesourcery.com>
6063 Carlos O'Donell <carlos@redhat.com>
6066 * config.h.in: Define HAVE_PT_CHOWN.
6067 * config.make.in (build-pt-chown): New variable.
6068 * configure.in (--enable-pt_chown): New configure option.
6069 * configure: Regenerate.
6070 * login/Makefile: Include Makeconfig. Build pt_chown only if
6071 build-pt-chown is enabled.
6072 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6073 pt_chown to fix pty ownership.
6074 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6076 * manual/install.texi (Configuring and compiling): Mention
6077 --enable-pt_chown. Add @findex for grantpt.
6078 * INSTALL: Regenerate.
6080 2013-07-20 David S. Miller <davem@davemloft.net>
6082 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6083 difference between 32-bit and 64-bit.
6085 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6088 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6089 Avoid system header dependency with -ffreestanding.
6090 ($(objpfx)bits/syscall%d): Likewise.
6092 2013-07-13 David S. Miller <davem@davemloft.net>
6094 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6095 underflows from atanl/atan2l due to bug 15319.
6096 (casinh_test_data): Likewise.
6098 2013-07-07 David S. Miller <davem@davemloft.net>
6100 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6102 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6104 * sysdeps/i386/fpu/libm-test-ulps: Update.
6105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6107 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6109 * configure.in (--enable-lock-elision): Fix message text.
6110 * INSTALL: Regenerate.
6111 * configure: Regenerate.
6113 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6117 2013-07-03 Andreas Jaeger <aj@suse.de>
6119 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6121 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6122 (ptrace_peeksiginfo_args): Add.
6123 (__ptrace_peeksiginfo_flags): Add.
6124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6128 2013-07-03 Allan McRae <allan@archlinux.org>
6130 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 2013-07-02 David S. Miller <davem@davemloft.net>
6134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6136 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6140 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6145 2013-07-02 Andi Kleen <ak@linux.intel.com>
6147 * config.h.in (ENABLE_LOCK_ELISION): Add.
6148 * configure.in (--enable-lock-elision): Add option.
6149 * manual/install.texi: Document --enable lock elision.
6150 * configure: Regenerate
6151 * INSTALL: Regenerate.
6153 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6155 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6156 SSE4.2 strcasecmp for libc.a.
6157 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6159 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6162 * soft-fp/op-common.h (_FP_FMA): New macro.
6163 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6164 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6165 (_FP_MUL_MEAT_1_imm): ... here.
6166 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6167 (_FP_MUL_MEAT_1_wide): ... here.
6168 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6169 (_FP_MUL_MEAT_1_hard): ... here.
6170 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6171 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6172 (_FP_MUL_MEAT_2_wide): ... here.
6173 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6174 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6175 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6176 (_FP_MUL_MEAT_2_gmp): ... here.
6177 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6178 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6179 (_FP_MUL_MEAT_4_wide): ... here.
6180 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6181 (_FP_MUL_MEAT_4_gmp): ... here.
6182 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6183 (_FP_WFRACBITS_DW_S): Likewise.
6184 (_FP_WFRACXBITS_DW_S): Likewise.
6185 (_FP_HIGHBIT_DW_S): Likewise.
6186 (FP_FMA_S): Likewise.
6187 (_FP_FRAC_HIGH_DW_S): Likewise.
6188 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6189 (_FP_WFRACBITS_DW_D): Likewise.
6190 (_FP_WFRACXBITS_DW_D): Likewise.
6191 (_FP_HIGHBIT_DW_D): Likewise.
6192 (FP_FMA_D): Likewise.
6193 (_FP_FRAC_HIGH_DW_D): Likewise.
6194 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6195 (_FP_WFRACBITS_DW_E): Likewise.
6196 (_FP_WFRACXBITS_DW_E): Likewise.
6197 (_FP_HIGHBIT_DW_E): Likewise.
6198 (FP_FMA_E): Likewise.
6199 (_FP_FRAC_HIGH_DW_E): Likewise.
6200 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6201 (_FP_WFRACBITS_DW_Q): Likewise.
6202 (_FP_WFRACXBITS_DW_Q): Likewise.
6203 (_FP_HIGHBIT_DW_Q): Likewise.
6204 (FP_FMA_Q): Likewise.
6205 (_FP_FRAC_HIGH_DW_Q): Likewise.
6206 * soft-fp/fmasf4.c: New file.
6207 * soft-fp/fmadf4.c: Likewise.
6208 * soft-fp/fmatf4.c: Likewise.
6210 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6213 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6217 (index_Slow_SSE4_2): Likewise.
6218 (index_Prefer_PMINUB_for_stringop): Likewise.
6219 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6220 bit_Slow_SSE4_2 is set.
6221 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6222 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6224 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6226 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6227 rtld_global._dl_hwcap2.
6228 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6230 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6231 POWER8 feature descriptions defined in _dl_hwcap2.
6232 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6233 string handling for POWER8 feature bits.
6234 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6235 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6236 _dl_powerpc_cap_flags.
6237 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6238 * sysdeps/powerpc/rtld-global-offsets.sym
6239 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6240 _dl_hwcap2 in the rtld_global_ro structure.
6242 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6244 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6245 hardware capabilities in support of AT_HWCAP2.
6246 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6247 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6249 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6250 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6251 explicitly the unknown a_type display mechanism is used.
6252 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6253 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6255 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6256 to macro prototype for AT_HWCAP2 support.
6257 * sysdeps/i386/dl-procinfo.h: Likewise.
6258 * sysdeps/s390/dl-procinfo.h: Likewise.
6259 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6260 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6261 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6262 return -1 for unknown a_type display fallback.
6263 * sysdeps/sparc/dl-procinfo.h: Likewise.
6264 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6265 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6267 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6269 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6270 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6272 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6275 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6276 mprotect making __stack_prot writable.
6278 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6279 Joseph Myers <joseph@codesourcery.com>
6281 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6282 as being properly aligned.
6284 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6286 * dlfcn/modstatic5.c: New file.
6287 * dlfcn/tststatic5.c: New file.
6288 * dlfcn/Makefile (tests): Add tststatic5.
6289 (tests-static): Likewise.
6290 (modules-names): Add modstatic5.
6291 (tststatic5-ENV): New variable.
6292 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6295 * elf/dl-support.c (_dl_main_map): New variable.
6296 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6297 (_dl_nns, _dl_load_adds): Set to 1.
6298 (_dl_initial_searchlist): Refer to _dl_main_map.
6299 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6300 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6301 call to _dl_get_origin.
6302 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6304 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6305 * dlfcn/modstatic3.c: New file.
6306 * dlfcn/tststatic3.c: New file.
6307 * dlfcn/tststatic4.c: New file.
6308 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6309 (tests-static): Likewise.
6310 (modules-names): Add modstatic3.
6311 (tststatic3-ENV, tststatic4-ENV): New variables.
6312 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6313 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6315 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6317 * configure.in (CC): Require GCC version 4.4 or later.
6318 * configure: Regenerated.
6319 * manual/install.texi (Tools for Compilation): Update GCC version
6321 * INSTALL: Regenerated.
6323 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6326 * string/test-memcmp.c (check2): New.
6327 (main): Call check2.
6329 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6331 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6334 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6336 (dl_open_worker) [!SHARED]: ... here.
6338 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6340 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6342 2013-06-25 Richard Henderson <rth@redhat.com>
6344 * locale/programs/locarchive.c: Include <libc-internal.h>
6346 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6348 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6349 trailing whitespace removed.
6351 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6354 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6355 * locale/programs/locarchive.c: Include libc-mmap.h.
6356 (prepare_address_space): Take two new outputs (the mmap base and len).
6357 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6359 (create_archive): Declare new mmap base and len values for
6360 prepare_address_space, and store the result in ah.
6361 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6362 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6363 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6364 Declare new mmap base and len values for
6365 prepare_address_space, and store the result in new_ah.
6366 (open_archive): Declare new mmap base and len values for
6367 prepare_address_space, and store the result in ah.
6368 (close_archive): If ah->mmap_base is not NULL, use that and
6369 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6370 * sysdeps/generic/libc-mmap.h: New file.
6372 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6374 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6375 (ALIGN_UP): Likewise.
6376 (PTR_ALIGN_DOWN): Likewise.
6377 (PTR_ALIGN_UP): Likewise.
6379 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6381 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6382 entry mapped to PPC_PLATFORM_POWER8.
6383 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6385 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6386 (_dl_string_platform): Add case for exporting platform position for
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6389 search path to sysdeps/powerpc/powerpc32/power8 directory.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6391 search path to sysdeps/powerpc/powerpc64/power8 directory.
6392 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6394 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6397 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6399 * INSTALL: Regenerate.
6401 * nscd/connections.c (nscd_init): Fix comment.
6403 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6405 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6408 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6409 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6411 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6413 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6415 (DL_DST_REQ_STATIC): Remove macro.
6417 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6420 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6421 with a shift of 0 bits.
6423 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6425 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6428 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6431 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6433 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6435 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6436 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6437 accepts -fno-tree-loop-distribute-patterns.
6438 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6439 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6441 * string/memset.c (memset): Likewise.
6442 * string/test-memmove.c (simple_memmove): Disable loop transformation
6444 * string/test-memset.c (simple_memset): Likewise.
6445 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6446 * benchtests/bench-memset.c (simple_memset): Likewise.
6447 * configure: Regenerated.
6449 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6451 * math/test-misc.c (main): Ignore fesetround failure when failures
6452 of subsequent rounding tests would be ignored.
6455 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6456 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6457 * math/fegetenv.c (__fegetenv): Return 0.
6458 * math/fegetexcept.c (fegetexcept): Return 0.
6459 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6461 * math/feholdexcpt.c (feholdexcept): Return 0.
6462 * math/fesetenv.c (__fesetenv): Return 0.
6463 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6464 argument FE_TONEAREST.
6465 * math/feupdateenv.c (__feupdateenv): Return 0.
6466 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6468 2013-06-18 Roland McGrath <roland@hack.frob.com>
6470 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6471 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6472 ($(objpfx)rtld-%.os rules): Use them.
6474 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6476 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6479 2013-06-17 Roland McGrath <roland@hack.frob.com>
6481 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6482 length of target pattern, then descending length of dependency pattern.
6483 * configure.in (AWK): Require gawk 3.1.2 or newer.
6484 * manual/install.texi (Tools for Compilation): Say that we do.
6485 * configure: Regenerated.
6487 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6488 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6489 * scripts/sysd-rules.awk: ... this new script.
6490 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6491 than a glob-style pattern.
6493 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6495 * math/test-misc.c (main): Do not treat incorrectly rounded
6496 conversions as failure unless ROUNDING_TESTS passes.
6498 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6501 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6502 restore exception state around main square root computation, then
6503 check for inexactness explicitly.
6505 * math/libm-test.inc (fma_test_data): Add another test.
6507 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6509 * manual/threads.texi (Non-POSIX Extensions): New document
6510 node. Document pthread_getattr_default_np and
6511 pthread_setattr_default_np.
6513 * Versions.def (libpthread): Add GLIBC_2.18.
6514 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6534 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6537 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6539 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6540 H.J. Lu <hjl.tools@gmail.com>
6543 * sysdeps/x86_64/rtld-memset.c: Remove file.
6544 * sysdeps/x86_64/rtld-memset.S: New file.
6546 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6548 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6549 (test_in_one_mode): Take arguments for whether the rounding mode
6550 is supported for each floating-point type.
6551 (do_test): Pass new arguments to test_in_one_mode using
6554 2013-06-13 Roland McGrath <roland@hack.frob.com>
6556 * posix/tst-waitid.c (do_test): Distinguish different instances of
6557 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6558 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6559 before entering the kernel for waitpid.
6561 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6563 * NEWS: Fix note on clock function precision. Text by Roland
6566 2013-06-13 Roland McGrath <roland@hack.frob.com>
6568 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6569 it into place only when and if the sanity check passes.
6571 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6573 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6574 output for whether conversion result is exact. Take argument
6575 indicating whether type is IBM long double.
6576 (round_for_all): Change need_exact field to ibm_ld.
6577 * stdlib/tst-strtod-round.c (struct exactness): New type.
6578 (struct test): Change bool ld_ok field to struct exactness exact.
6579 (TEST): Update all definitions for change to field.
6580 (tests): Regenerate array contents.
6581 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6582 field value. Check for IBM long double here.
6583 (do_test): Update calls to test_in_one_mode.
6585 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6588 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6589 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6591 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6594 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6595 generated by the compiler on loop optimizations.
6596 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6597 general definitions.
6599 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6601 * math/bug-nextafter.c: Include <math-tests.h>.
6602 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6604 * math/bug-nexttoward.c: Include <math-tests.h>.
6605 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6607 * math/test-misc.c: Include <math-tests.h>.
6608 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6611 2013-06-12 Andreas Jaeger <aj@suse.de>
6613 * po/ia.po: Update Interlingua translation from translation
6616 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6618 * include/fenv.h: Include stdbool.h.
6619 (struct rm_ctx): New structure.
6620 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6622 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6623 (SET_RESTORE_ROUNDF): Likewise.
6624 (SET_RESTORE_ROUNDL): Likewise.
6625 (SET_RESTORE_ROUND_NOEX): Likewise.
6626 (SET_RESTORE_ROUND_NOEXF): Likewise.
6627 (SET_RESTORE_ROUND_NOEXL): Likewise.
6628 (SET_RESTORE_ROUND_53BIT): Likewise.
6629 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6630 (libc_feresetround_noexf_ctx): Likewise.
6631 (libc_feresetround_noexl_ctx): Likewise.
6632 (libc_feholdsetround_53bit_ctx): Likewise.
6633 (libc_feresetround_53bit_ctx): Likewise.
6634 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6635 (libc_feholdexcept_setround_sse_ctx): New function.
6636 (libc_fesetenv_sse_ctx): Likewise.
6637 (libc_feupdateenv_sse_ctx): Likewise.
6638 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6639 (libc_feholdexcept_setround_387_ctx): Likewise.
6640 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6641 (libc_feholdsetround_387_prec_ctx): Likewise.
6642 (libc_feholdsetround_387_ctx): Likewise.
6643 (libc_feholdsetround_387_53bit_ctx): Likewise.
6644 (libc_feholdsetround_sse_ctx): Likewise.
6645 (libc_feresetround_sse_ctx): Likewise.
6646 (libc_feresetround_387_ctx): Likewise.
6647 (libc_feupdateenv_387_ctx): Likewise.
6648 (libc_feholdexcept_setroundf_ctx): Define macro.
6649 (libc_fesetenvf_ctx): Likewise.
6650 (libc_feupdateenvf_ctx): Likewise.
6651 (libc_feholdsetroundf_ctx): Likewise.
6652 (libc_feresetroundf_ctx): Likewise.
6653 (libc_feholdexcept_setround_ctx): Likewise.
6654 (libc_fesetenv_ctx): Likewise.
6655 (libc_feupdateenv_ctx): Likewise.
6656 (libc_feholdsetround_ctx): Likewise.
6657 (libc_feresetround_ctx): Likewise.
6658 (libc_feholdexcept_setroundl_ctx): Likewise.
6659 (libc_feupdateenvl_ctx): Likewise.
6660 (libc_feholdsetroundl_ctx): Likewise.
6661 (libc_feresetroundl_ctx): Likewise.
6662 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6663 (libc_feresetround_53bit_ctx): Likewise.
6665 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6667 * locale/iso-639.def: Convert to UTF-8.
6669 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6672 (EXCEPTION_TESTS_double): Likewise.
6673 (EXCEPTION_TESTS_long_double): Likewise.
6674 (EXCEPTION_TESTS): Likewise.
6675 * math/libm-test.inc (test_exceptions): Only test exceptions if
6676 EXCEPTION_TESTS (FLOAT).
6678 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6680 * benchtests/Makefile (string-bench): Add strcpy_chk and
6682 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6683 * benchtests/bench-stpcpy_chk.c: New file.
6684 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6685 * benchtests/bench-strcpy_chk.c: New file.
6686 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6688 (do_test): Likewise.
6690 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6692 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6693 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6694 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6695 with tabs where appropriate.
6696 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6698 [PPC_PLATFORM_PPC440]: Likewise.
6699 [PPC_PLATFORM_PPC464]: Likewise.
6700 [PPC_PLATFORM_PPC476]: Likewise.
6701 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6702 ppc464, and ppc476 platform strings merging from ports/
6705 2013-06-11 Andreas Schwab <schwab@suse.de>
6708 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6709 (from_ucs4_idx): Regenerate.
6710 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6711 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6712 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6713 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6714 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6715 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6716 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6717 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6718 from FROM_LOOP and TO_LOOP specific macros.
6719 (BODY): Handle combining characters.
6720 * iconvdata/BIG5HKSCS.irreversible: Update.
6721 * iconvdata/BIG5HKSCS.precomposed: New file.
6722 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6724 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6726 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6728 * include/sys/time.h: Fix indentation and add copyright header.
6730 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6731 (do_test): Likewise.
6732 * string/test-memchr.c (do_one_test): Likewise.
6733 (do_test): Likewise.
6734 * string/test-memcmp.c (do_one_test): Likewise.
6735 (do_test): Likewise.
6736 * string/test-memcpy.c (do_one_test): Likewise.
6737 (do_test): Likewise.
6738 * string/test-memmem.c (do_one_test): Likewise.
6739 (do_test): Likewise.
6740 (do_random_tests): Likewise.
6741 * string/test-memmove.c (do_one_test): Likewise.
6742 (do_test): Likewise.
6743 * string/test-memset.c (do_one_test): Likewise.
6744 (do_test): Likewise.
6745 * string/test-rawmemchr.c (do_one_test): Likewise.
6746 (do_test): Likewise.
6747 * string/test-strcasecmp.c (do_one_test): Likewise.
6748 (do_test): Likewise.
6749 * string/test-strcasestr.c (do_one_test): Likewise.
6750 (do_test): Likewise.
6751 * string/test-strcat.c (do_one_test): Likewise.
6752 (do_test): Likewise.
6753 * string/test-strchr.c (do_one_test): Likewise.
6754 (do_test): Likewise.
6755 * string/test-strcmp.c (do_one_test): Likewise.
6756 (do_test): Likewise.
6757 * string/test-strcpy.c (do_one_test): Likewise.
6758 (do_test): Likewise.
6759 * string/test-string.h: Likewise.
6760 (test_init): Likewise.
6761 * string/test-strlen.c (do_one_test): Likewise.
6762 (do_test): Likewise.
6763 * string/test-strncasecmp.c (do_one_test): Likewise.
6764 (do_test): Likewise.
6765 * string/test-strncat.c (do_one_test): Likewise.
6766 (do_test): Likewise.
6767 * string/test-strncmp.c (do_one_test): Likewise.
6768 (do_test_limit): Likewise.
6769 (do_test): Likewise.
6770 * string/test-strncpy.c (do_one_test): Likewise.
6771 (do_test): Likewise.
6772 * string/test-strnlen.c (do_one_test): Likewise.
6773 (do_test): Likewise.
6774 * string/test-strpbrk.c (do_one_test): Likewise.
6775 (do_test): Likewise.
6776 * string/test-strrchr.c (do_one_test): Likewise.
6777 (do_test): Likewise.
6778 * string/test-strspn.c (do_one_test): Likewise.
6779 (do_test): Likewise.
6780 * string/test-strstr.c (do_one_test): Likewise.
6781 (do_test): Likewise.
6783 * benchtests/Makefile (string-bench): Add string benchmarks.
6784 * benchtests/bench-bcopy-ifunc.c: New file.
6785 * benchtests/bench-bcopy.c: New file.
6786 * benchtests/bench-bzero-ifunc.c: New file.
6787 * benchtests/bench-bzero.c: New file.
6788 * benchtests/bench-memccpy-ifunc.c: New file.
6789 * benchtests/bench-memccpy.c: New file.
6790 * benchtests/bench-memchr-ifunc.c: New file.
6791 * benchtests/bench-memchr.c: New file.
6792 * benchtests/bench-memcmp-ifunc.c: New file.
6793 * benchtests/bench-memcmp.c: New file.
6794 * benchtests/bench-memmem-ifunc.c: New file.
6795 * benchtests/bench-memmem.c: New file.
6796 * benchtests/bench-memmove-ifunc.c: New file.
6797 * benchtests/bench-memmove.c: New file.
6798 * benchtests/bench-mempcpy-ifunc.c: New file.
6799 * benchtests/bench-mempcpy.c: New file.
6800 * benchtests/bench-memset-ifunc.c: New file.
6801 * benchtests/bench-memset.c: New file.
6802 * benchtests/bench-rawmemchr-ifunc.c: New file.
6803 * benchtests/bench-rawmemchr.c: New file.
6804 * benchtests/bench-stpcpy-ifunc.c: New file.
6805 * benchtests/bench-stpcpy.c: New file.
6806 * benchtests/bench-stpncpy-ifunc.c: New file.
6807 * benchtests/bench-stpncpy.c: New file.
6808 * benchtests/bench-strcasecmp-ifunc.c: New file.
6809 * benchtests/bench-strcasecmp.c: New file.
6810 * benchtests/bench-strcasestr-ifunc.c: New file.
6811 * benchtests/bench-strcasestr.c: New file.
6812 * benchtests/bench-strcat-ifunc.c: New file.
6813 * benchtests/bench-strcat.c: New file.
6814 * benchtests/bench-strchr-ifunc.c: New file.
6815 * benchtests/bench-strchr.c: New file.
6816 * benchtests/bench-strchrnul-ifunc.c: New file.
6817 * benchtests/bench-strchrnul.c: New file.
6818 * benchtests/bench-strcmp-ifunc.c: New file.
6819 * benchtests/bench-strcmp.c: New file.
6820 * benchtests/bench-strcpy-ifunc.c: New file.
6821 * benchtests/bench-strcpy.c: New file.
6822 * benchtests/bench-strcspn-ifunc.c: New file.
6823 * benchtests/bench-strcspn.c: New file.
6824 * benchtests/bench-strlen-ifunc.c: New file.
6825 * benchtests/bench-strlen.c: New file.
6826 * benchtests/bench-strncasecmp-ifunc.c: New file.
6827 * benchtests/bench-strncasecmp.c: New file.
6828 * benchtests/bench-strncat-ifunc.c: New file.
6829 * benchtests/bench-strncat.c: New file.
6830 * benchtests/bench-strncmp-ifunc.c: New file.
6831 * benchtests/bench-strncmp.c: New file.
6832 * benchtests/bench-strncpy-ifunc.c: New file.
6833 * benchtests/bench-strncpy.c: New file.
6834 * benchtests/bench-strnlen-ifunc.c: New file.
6835 * benchtests/bench-strnlen.c: New file.
6836 * benchtests/bench-strpbrk-ifunc.c: New file.
6837 * benchtests/bench-strpbrk.c: New file.
6838 * benchtests/bench-strrchr-ifunc.c: New file.
6839 * benchtests/bench-strrchr.c: New file.
6840 * benchtests/bench-strspn-ifunc.c: New file.
6841 * benchtests/bench-strspn.c: New file.
6842 * benchtests/bench-strstr-ifunc.c: New file.
6843 * benchtests/bench-strstr.c: New file.
6845 * benchtests/Makefile: Disable parallel execution of targets.
6846 (string-bench): Add memcpy.
6847 (benchset): New variable to store a list of benchmark sets.
6848 (bench-func): Renamed from bench.
6849 (bench-set): New target.
6850 (bench): Depend on bench-func and bench-set.
6851 * benchtests/README: Add section on benchmark sets.
6852 * benchtests/bench-memcpy-ifunc.c: New file.
6853 * benchtests/bench-memcpy.c: New file.
6854 * benchtests/bench-string.h: New file.
6856 2013-06-11 Andreas Schwab <schwab@suse.de>
6859 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6860 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6861 values in the triple.
6862 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6863 terminator in the group key.
6865 2013-06-11 Andreas Jaeger <aj@suse.de>
6867 * po/zh_TW.po: Update Chinese (traditional) translation from
6868 translation project.
6870 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6872 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6873 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6874 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6876 (clock_getcpuclockid): Likewise.
6877 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6878 Add weak_alias and libc_hidden_def.
6879 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6880 * rt/clock_gettime.c (clock_gettime): Rename to
6881 __clock_gettime. Add weak_alias and libc_hidden_def.
6882 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6883 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6884 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6885 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6886 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6888 * rt/clock_settime.c (clock_settime): Rename to
6889 __clock_settime. Add weak_alias and libc_hidden_def.
6890 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6892 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6894 * mach/err_boot.sub: Remove trailing whitespace.
6895 * mach/err_ipc.sub: Likewise.
6896 * mach/err_mach.sub: Likewise.
6898 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6899 (ROUNDING_TESTS_double): Likewise.
6900 (ROUNDING_TESTS_long_double): Likewise.
6901 (ROUNDING_TESTS): Likewise.
6902 * math/libm-test.inc: Include <math-tests.h>.
6903 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6904 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6905 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6906 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6908 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6910 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6913 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6916 otherwise empty TRANS lines.
6917 * sysdeps/gnu/errlist.c: Regenerated.
6919 * catgets/gencat.c (error_print): Use (void) in function
6921 * crypt/crypt_util.c (__init_des): Likewise.
6922 * crypt/speeds.c (Stop): Likewise.
6924 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6925 * inet/ruserpass.c (token): Likewise.
6926 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6927 * intl/localealias.c (extend_alias_table): Likewise.
6928 * intl/plural-exp.c (init_germanic_plural): Likewise.
6929 * libio/fcloseall.c (__fcloseall): Likewise.
6930 * libio/genops.c (_IO_flush_all): Likewise.
6931 (_IO_flush_all_linebuffered): Likewise.
6932 (_IO_cleanup): Likewise.
6933 (_IO_iter_begin): Likewise.
6934 (_IO_iter_end): Likewise.
6935 (_IO_list_lock): Likewise.
6936 (_IO_list_unlock): Likewise.
6937 (_IO_list_resetlock): Likewise.
6938 * libio/getchar.c (getchar): Likewise.
6939 * libio/getchar_u.c (getchar_unlocked): Likewise.
6940 * libio/getwchar.c (getwchar): Likewise.
6941 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6942 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6943 * login/getpt.c (__getpt): Likewise.
6944 * login/tst-utmp.c (main): Likewise.
6945 * malloc/hooks.c (__malloc_check_init): Likewise.
6946 * malloc/malloc.c (__malloc_stats): Likewise.
6947 * malloc/mtrace.c (tr_break): Likewise.
6949 (muntrace): Likewise.
6950 * misc/fstab.c (endfsent): Likewise.
6951 * misc/getclktck.c (__getclktck): Likewise.
6952 * misc/getdtsz.c (__getdtablesize): Likewise.
6953 * misc/gethostid.c (gethostid): Likewise.
6954 * misc/getpagesize.c (__getpagesize): Likewise.
6955 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6956 (__get_nprocs): Likewise.
6957 (__get_phys_pages): Likewise.
6958 (__get_avphys_pages): Likewise.
6959 * misc/getttyent.c (getttyent): Likewise.
6960 (setttyent): Likewise.
6961 (endttyent): Likewise.
6962 * misc/getusershell.c (getusershell): Likewise.
6963 (endusershell): Likewise.
6964 (setusershell): Likewise.
6965 (initshells): Likewise.
6966 * misc/hsearch.c (__hdestroy): Likewise.
6967 * misc/sync.c (sync): Likewise.
6968 * misc/syslog.c (closelog_internal): Likewise.
6969 (closelog): Likewise.
6970 * misc/ttyslot.c (ttyslot): Likewise.
6971 * misc/vhangup.c (vhangup): Likewise.
6972 * posix/fork.c (__fork): Likewise.
6973 * posix/getegid.c (__getegid): Likewise.
6974 * posix/geteuid.c (__geteuid): Likewise.
6975 * posix/getgid.c (__getgid): Likewise.
6976 * posix/getpid.c (__getpid): Likewise.
6977 * posix/getppid.c (__getppid): Likewise.
6978 * posix/getuid.c (__getuid): Likewise.
6979 * posix/pause.c (pause): Likewise.
6980 * posix/setpgrp.c (setpgrp): Likewise.
6981 * posix/setsid.c (__setsid): Likewise.
6982 * posix/test-vfork.c (noop): Likewise.
6983 * resolv/gethnamaddr.c (_endhtent): Likewise.
6984 (_gethtent): Likewise.
6985 (ht_endhostent): Likewise.
6986 (gethostent): Likewise.
6987 (dns_service): Likewise.
6988 * stdlib/drand48.c (drand48): Likewise.
6989 * stdlib/lrand48.c (lrand48): Likewise.
6990 * stdlib/mrand48.c (mrand48): Likewise.
6991 * stdlib/rand.c (rand): Likewise.
6992 * stdlib/random.c (__random): Likewise.
6993 * stdlib/setenv.c (clearenv): Likewise.
6994 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6995 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6996 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6997 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6998 (__get_nprocs): Likewise.
6999 (__get_phys_pages): Likewise.
7000 (__get_avphys_pages): Likewise.
7001 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7002 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7003 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7004 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7005 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7006 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7007 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7008 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7009 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7010 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7011 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7012 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7013 * sysdeps/posix/clock.c (clock): Likewise.
7014 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7015 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7016 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7017 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7018 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7020 (__get_nprocs_conf): Likewise.
7021 (__get_phys_pages): Likewise.
7022 (__get_avphys_pages): Likewise.
7023 * time/clock.c (clock): Likewise.
7024 * time/tzset.c (__tzname_max): Likewise.
7026 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7028 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7029 (__bswap_32): Do not use "register".
7030 * crypt/crypt.c (_ufc_doit_r): Likewise.
7031 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7032 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7033 * gmon/gmon.c (__monstartup): Likewise.
7034 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7035 * hurd/hurdmalloc.c (more_memory): Likewise.
7038 (realloc): Likewise.
7039 (malloc_fork_prepare): Likewise.
7040 (malloc_fork_parent): Likewise.
7041 (malloc_fork_child): Likewise.
7042 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7043 (_svcauth_des): Likewise.
7044 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7045 * inet/inet_net.c (inet_network): Likewise.
7046 * inet/inet_netof.c (inet_netof): Likewise.
7047 * inet/rcmd.c (__validuser2_sa): Likewise.
7048 * io/fts.c (fts_open): Likewise.
7049 (fts_load): Likewise.
7050 (fts_close): Likewise.
7051 (fts_read): Likewise.
7052 (fts_children): Likewise.
7053 (fts_build): Likewise.
7054 (fts_stat): Likewise.
7055 (fts_sort): Likewise.
7056 (fts_alloc): Likewise.
7057 (fts_lfree): Likewise.
7058 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7059 (_IO_file_xsgetn): Likewise.
7060 (_IO_file_xsgetn_mmap): Likewise.
7061 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7062 (_IO_cookie_write): Likewise.
7063 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7064 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7065 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7066 * malloc/obstack.c (_obstack_begin): Likewise.
7067 (_obstack_begin_1): Likewise.
7068 (_obstack_newchunk): Likewise.
7069 (_obstack_allocated_p): Likewise.
7070 (obstack_free): Likewise.
7071 (_obstack_memory_used): Likewise.
7072 * misc/getttyent.c (getttynam): Likewise.
7073 (getttyent): Likewise.
7076 * misc/getusershell.c (initshells): Likewise.
7077 * misc/syslog.c (__vsyslog_chk): Likewise.
7078 * misc/ttyslot.c (ttyslot): Likewise.
7079 * nis/nis_hash.c (__nis_hash): Likewise.
7080 * posix/fnmatch_loop.c (FCT): Likewise.
7081 * posix/getconf.c (print_all): Likewise.
7083 * posix/getopt.c (exchange): Likewise.
7084 * posix/glob.c (globfree): Likewise.
7085 (prefix_array): Likewise.
7086 (__glob_pattern_type): Likewise.
7087 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7088 (NS_GET32): Likewise.
7089 (NS_PUT16): Likewise.
7090 (NS_PUT32): Likewise.
7091 * resolv/gethnamaddr.c (getanswer): Likewise.
7092 (gethostbyname2): Likewise.
7093 (gethostbyaddr): Likewise.
7094 (_gethtent): Likewise.
7095 (_gethtbyname2): Likewise.
7096 (_gethtbyaddr): Likewise.
7097 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7098 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7099 * resolv/res_init.c (__res_vinit): Likewise.
7100 (net_mask): Likewise.
7101 * resolv/res_mkquery.c (outchar): Likewise.
7103 * stdio-common/printf_fp.c (outchar): Likewise.
7105 * stdio-common/printf_fphex.c (outchar): Likewise.
7107 * stdio-common/printf_size.c (outchar): Likewise.
7109 * stdio-common/test_rdwr.c (main): Likewise.
7110 * stdio-common/tfformat.c (matches): Likewise.
7111 * stdio-common/vfprintf.c (outchar): Likewise.
7112 (printf_unknown): Likewise.
7113 (buffered_vfprintf): Likewise.
7114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7115 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7116 (ReadFile): Likewise.
7117 * stdlib/qsort.c (SWAP): Likewise.
7118 (_quicksort): Likewise.
7119 * stdlib/setenv.c (__add_to_environ): Likewise.
7120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7121 * stdlib/strtol_l.c (__strtol_l): Likewise.
7122 * stdlib/tst-strtod.c (main): Likewise.
7123 * stdlib/tst-strtol.c (main): Likewise.
7124 * stdlib/tst-strtoll.c (main): Likewise.
7125 * string/bits/string2.h (__strcmp_cc): Likewise.
7126 (__strcmp_cg): Likewise.
7127 (__strcspn_c1): Likewise.
7128 (__strcspn_c2): Likewise.
7129 (__strcspn_c3): Likewise.
7130 (__strspn_c1): Likewise.
7131 (__strspn_c2): Likewise.
7132 (__strspn_c3): Likewise.
7133 (__strsep_1c): Likewise.
7134 (__strsep_2c): Likewise.
7135 (__strsep_3c): Likewise.
7136 * string/memccpy.c (__memccpy): Likewise.
7137 * string/stpcpy.c (__stpcpy): Likewise.
7138 * string/strcmp.c (strcmp): Likewise.
7139 * string/strrchr.c (strrchr): Likewise.
7140 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7142 * sysdeps/mach/hurd/getcwd.c
7143 (_hurd_canonicalize_directory_name_internal): Likewise.
7144 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7145 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7146 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7147 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7148 Likewise, in both definitions.
7149 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7151 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7152 64] (__bswap_64): Likewise.
7153 * time/test_time.c (main): Likewise.
7154 * time/tzfile.c (__tzfile_read): Likewise.
7155 (__tzfile_compute): Likewise.
7156 * time/tzset.c (__tzset_parse_tz): Likewise.
7157 (tzset_internal): Likewise.
7158 (compute_change): Likewise.
7159 * wcsmbs/wcscat.c (__wcscat): Likewise.
7160 * wcsmbs/wcschr.c (wcschr): Likewise.
7161 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7162 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7163 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7164 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7165 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7166 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7167 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7168 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7169 * wcsmbs/wmemset.c (wmemset): Likewise.
7171 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7173 * scripts/config.guess: Update to version 2013-05-16.
7174 * scripts/config.sub: Update to version 2013-04-24.
7175 * scripts/install-sh: Update to version 2011-11-20.07.
7176 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7177 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7179 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7181 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7182 * elf/sln.c: Likewise.
7183 * hurd/hurd/ioctl.h: Likewise.
7184 * hurd/hurdmalloc.c: Likewise.
7185 * hurd/xattr.c: Likewise.
7186 * include/shlib-compat.h: Likewise.
7187 * inet/ruserpass.c: Likewise.
7188 * libio/iofgets_u.c: Likewise.
7189 * libio/iofgetws_u.c: Likewise.
7190 * locale/programs/ld-identification.c: Likewise.
7191 * locale/programs/ld-time.c: Likewise.
7192 * mach/msg-destroy.c: Likewise.
7193 * nss/nss_files/files-netgrp.c: Likewise.
7194 * resolv/res_data.c: Likewise.
7195 * soft-fp/op-1.h: Likewise.
7196 * soft-fp/op-2.h: Likewise.
7197 * soft-fp/op-4.h: Likewise.
7198 * soft-fp/op-common.h: Likewise.
7199 * stdio-common/printf_fphex.c: Likewise.
7200 * stdlib/strtod_l.c: Likewise.
7201 * sunrpc/rpc/clnt.h: Likewise.
7202 * sysdeps/generic/framestate.c: Likewise.
7203 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7204 * sysdeps/i386/bsd-setjmp.S: Likewise.
7205 * sysdeps/i386/__longjmp.S: Likewise.
7206 * sysdeps/i386/setjmp.S: Likewise.
7207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7225 * sysdeps/ieee754/support.c: Likewise.
7226 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7227 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7228 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7229 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7230 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7231 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7232 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7233 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7234 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7235 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7236 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7237 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7239 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7241 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7245 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7247 * posix/transbug.c: Remove executable mode.
7249 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7251 * crypt/speeds.c: Remove trailing whitespace.
7252 * dlfcn/default.c: Likewise.
7253 * elf/ifuncdep2.c: Likewise.
7254 * elf/ifuncmain1.c: Likewise.
7255 * elf/ifuncmain1vis.c: Likewise.
7256 * elf/testobj.h: Likewise.
7257 * elf/tst-stackguard1.c: Likewise.
7258 * gmon/sys/gmon.h: Likewise.
7259 * hurd/hurdmsg.c: Likewise.
7260 * hurd/new-fd.c: Likewise.
7261 * hurd/ports-get.c: Likewise.
7262 * iconvdata/ibm1008_420.c: Likewise.
7263 * inet/tst-getni1.c: Likewise.
7264 * inet/tst-getni2.c: Likewise.
7265 * libio/ioungetc.c: Likewise.
7266 * libio/wfiledoalloc.c: Likewise.
7267 * manual/libm-err-tab.pl: Likewise.
7268 * math/w_dremf.c: Likewise.
7269 * misc/ftruncate.c: Likewise.
7270 * posix/bug-glob2.c: Likewise.
7271 * posix/tst-pcre.c: Likewise.
7272 * posix/wait4.c: Likewise.
7273 * resolv/README: Likewise.
7274 * resolv/res_debug.h: Likewise.
7275 * resolv/tst-inet_ntop.c: Likewise.
7276 * setjmp/bug269-setjmp.c: Likewise.
7277 * soft-fp/extended.h: Likewise.
7278 * soft-fp/op-1.h: Likewise.
7279 * soft-fp/op-2.h: Likewise.
7280 * soft-fp/op-4.h: Likewise.
7281 * soft-fp/op-8.h: Likewise.
7282 * soft-fp/testit.c: Likewise.
7283 * stdio-common/bug16.c: Likewise.
7284 * stdlib/random.c: Likewise.
7285 * sunrpc/rpcsvc/rquota.x: Likewise.
7286 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7294 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7295 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7296 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7315 * sysdeps/ieee754/s_lib_version.c: Likewise.
7316 * sysdeps/mach/hurd/check_fds.c: Likewise.
7317 * sysdeps/mach/hurd/getsockname.c: Likewise.
7318 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7319 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7320 * sysdeps/powerpc/bits/link.h: Likewise.
7321 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7322 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7323 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7324 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7325 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7327 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7328 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7329 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7330 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7331 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7332 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7333 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7334 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7335 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7336 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7340 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7342 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7344 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7345 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7346 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7348 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7355 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7356 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7357 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7358 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7359 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7361 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7364 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7365 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7366 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7367 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7368 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7369 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7370 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7374 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7375 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7376 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7377 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7380 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7385 * sysdeps/powerpc/sysdep.h: Likewise.
7386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7387 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7388 * sysdeps/sh/dl-trampoline.S: Likewise.
7389 * sysdeps/sh/memset.S: Likewise.
7390 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7391 * sysdeps/sh/strlen.S: Likewise.
7392 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7393 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7394 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7395 * sysdeps/sparc/sparc32/rem.S: Likewise.
7396 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7397 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7398 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7399 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7400 * sysdeps/sparc/sparc32/urem.S: Likewise.
7401 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7402 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7403 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7404 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7406 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7407 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7408 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7409 * sysdeps/unix/bsd/times.c: Likewise.
7410 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7411 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7415 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7416 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7422 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7423 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7424 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7425 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7426 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7427 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7428 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7429 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7430 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7431 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7433 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7434 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7435 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7436 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7437 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7438 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7439 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7440 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7441 * sysdeps/x86_64/strcspn.S: Likewise.
7443 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7445 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7446 generated file. Regenerate properly from gen-translit.pl.
7447 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7448 locale/C-translit.h.
7450 2013-06-05 Andreas Schwab <schwab@suse.de>
7453 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7454 week as 6 instead of -1.
7455 * time/tst-strptime.c (day_tests): Add test case.
7457 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7459 * sysdeps/generic/math_private.h
7460 (libc_feholdexcept_setround_53bit): Replace with
7461 libc_feholdsetround_53bit.
7462 (libc_feupdateenv_53bit): Replace with
7463 libc_feresetround_53bit.
7464 (SET_RESTORE_ROUND_53BIT): Adjust.
7466 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * string/test-strchrnul.c: Add copyright header.
7470 * posix/tst-getaddrinfo4.c: Increase test timeout.
7472 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7475 * math/libm-test.inc (MAX_EXP): Remove
7477 (ulp): Use MIN_EXP - MANT_DIG.
7478 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7480 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7482 * po/be.po: Revert last change.
7483 * po/zh_CN.po: Likewise.
7484 * po/header.pot: Likewise.
7486 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7488 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7489 link-libc-deps to empty as target-specific variable.
7490 * Makerules (link-libc-args): New variable.
7491 (libc-for-link): Likewise.
7492 (link-libc-deps): Likewise.
7493 (lib%.so): Depend on $(link-libc-deps). Link with
7495 (build-module): Link with $(link-libc-args).
7496 (build-module-asneeded): Likewise.
7497 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7499 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7500 target-specific variable.
7501 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7502 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7503 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7505 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7507 ($(objpfx)libpcprofile.so): Likewise.
7508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7510 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7511 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7512 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7514 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7515 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7516 * login/Makefile ($(objpfx)libutil.so): Likewise.
7517 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7518 * math/Makefile ($(objpfx)libm.so): Likewise.
7519 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7520 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7521 variable instead of depending directly on libc.
7522 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7523 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7525 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7527 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7528 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7529 ($(objpfx)libanl.so): Likewise.
7530 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7532 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7534 * sysdeps/i386/fpu/Makefile: Remove file.
7535 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7536 ($(objpfx)libm.so): Remove dependency on ld.so.
7538 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7541 * nis/yp_xdr.c (XDRMAXNAME): Define.
7542 (XDRMAXRECORD): Define.
7543 (xdr_domainname): Use XDRMAXNAME.
7544 (xdr_mapname): Likewise.
7545 (xdr_peername): Likewise.
7546 (xdr_keydat): Use XDRMAXRECORD.
7547 (xdr_valdat): Likewise.
7549 2013-05-30 Jeff Law <law@redhat.com>
7552 * manual/errno.texi (ESTALE): Update to account for more than
7553 just NFS file systems.
7554 * sysdeps/gnu/errlist.c: Regenerated.
7556 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7559 * elf/Makefile (tests): Add tst-null-argv.
7560 (modules-names): Add tst-null-argv-lib.
7561 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7562 (tst-null-argv-ENV): Set environment for tst-null-argv.
7563 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7564 (RTLD_PROGNAME): New macro.
7565 * elf/tst-null-argv.c: New test case.
7566 * elf/tst-null-argv-lib.c: Library for test case.
7567 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7568 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7569 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7570 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7571 * elf/dl-init.c (call_init): Likewise.
7572 (_dl_init): Likewise.
7573 * elf/dl-load.c (print_search_path): Likewise.
7574 (_dl_map_object): Likewise.
7575 * elf/dl-lookup.c (do_lookup_x): Likewise.
7576 (add_dependency): Likewise.
7577 (_dl_lookup_symbol_x): Likewise.
7578 (_dl_debug_bindings): Likewise.
7579 * elf/dl-open.c (_dl_show_scope): Likewise.
7580 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7581 * elf/dl-version.c (match_symbol): Likewise.
7582 (_dl_check_map_versions): Likewise.
7583 * elf/rtld.c (dl_main): Likewise.
7584 (print_unresolved): Use RTLD_PROGNAME.
7585 (print_missing_version): Likewise.
7586 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7587 (elf_machine_rela): Likewise.
7588 * sysdeps/powerpc/powerpc32/dl-machine.c
7589 (__process_machine_rela): Likewise.
7590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7603 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7605 * po/be.po: Add descriptive title.
7606 * po/zh_CN.po: Likewise.
7607 * po/header.pot: Likewise.
7609 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7611 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7613 (enlarge_archive): Likewise.
7615 2013-05-28 Ben North <ben@redfrontdoor.org>
7617 * manual/arith.texi (frexp): It is the magnitude of the return
7618 value which lies in [0.5, 1), not the return value itself.
7620 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7624 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7626 * stdio-common/bug26.c (main): Correct fscanf template.
7628 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7629 declare _dl_skip_args.
7631 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7634 * manual/platform.texi: Add missing @end deftypefun.
7636 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7640 bit of mantissa of 2^16382.
7641 * math/libm-test.inc (hypot_test_data): Add more tests.
7643 * math/libm-test.inc: Add drem and pow10 to list of tested
7645 (pow10_test): New function.
7646 (drem_test): Likewise.
7647 (drem_test_tonearest): Likewise.
7648 (drem_test_towardzero): Likewise.
7649 (drem_test_downward): Likewise.
7650 (drem_test_upward): Likewise.
7651 (main): Call the new functions.
7653 * math/libm-test.inc (finite_test_data): Remove.
7654 (finite_test): Run tests from isfinite_test_data.
7655 (gamma_test_data): Remove.
7656 (gamma_test): Run tests from lgamma_test_data.
7657 * sysdeps/i386/fpu/libm-test-ulps: Update.
7658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7660 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662 * manual/platform.texi: Add PowerPC PPR function set documentation.
7663 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7666 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7668 * math/libm-test.inc (MAX_EXP): Define.
7670 (ulp): New function.
7671 (check_float_internal): Use ULPDIFF.
7672 (cpow_test): Disable failing test.
7673 (check_ulp): Test ulp() implemetnation.
7674 (main): Call check_ulp before starting tests.
7676 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7678 * math/gen-libm-test.pl (generate_testfile): Do not handle
7679 START_DATA and END_DATA.
7680 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7682 (acos_tonearest_test_data): Likewise.
7683 (acos_towardzero_test_data): Likewise.
7684 (acos_downward_test_data): Likewise.
7685 (acos_upward_test_data): Likewise.
7686 (acosh_test_data): Likewise.
7687 (asin_test_data): Likewise.
7688 (asin_tonearest_test_data): Likewise.
7689 (asin_towardzero_test_data): Likewise.
7690 (asin_downward_test_data): Likewise.
7691 (asin_upward_test_data): Likewise.
7692 (asinh_test_data): Likewise.
7693 (atan_test_data): Likewise.
7694 (atanh_test_data): Likewise.
7695 (atan2_test_data): Likewise.
7696 (cabs_test_data): Likewise.
7697 (cacos_test_data): Likewise.
7698 (cacosh_test_data): Likewise.
7699 (carg_test_data): Likewise.
7700 (casin_test_data): Likewise.
7701 (casinh_test_data): Likewise.
7702 (catan_test_data): Likewise.
7703 (catanh_test_data): Likewise.
7704 (cbrt_test_data): Likewise.
7705 (ccos_test_data): Likewise.
7706 (ccosh_test_data): Likewise.
7707 (ceil_test_data): Likewise.
7708 (cexp_test_data): Likewise.
7709 (cimag_test_data): Likewise.
7710 (clog_test_data): Likewise.
7711 (clog10_test_data): Likewise.
7712 (conj_test_data): Likewise.
7713 (copysign_test_data): Likewise.
7714 (cos_test_data): Likewise.
7715 (cos_tonearest_test_data): Likewise.
7716 (cos_towardzero_test_data): Likewise.
7717 (cos_downward_test_data): Likewise.
7718 (cos_upward_test_data): Likewise.
7719 (cosh_test_data): Likewise.
7720 (cosh_tonearest_test_data): Likewise.
7721 (cosh_towardzero_test_data): Likewise.
7722 (cosh_downward_test_data): Likewise.
7723 (cosh_upward_test_data): Likewise.
7724 (cpow_test_data): Likewise.
7725 (cproj_test_data): Likewise.
7726 (creal_test_data): Likewise.
7727 (csin_test_data): Likewise.
7728 (csinh_test_data): Likewise.
7729 (csqrt_test_data): Likewise.
7730 (ctan_test_data): Likewise.
7731 (ctan_tonearest_test_data): Likewise.
7732 (ctan_towardzero_test_data): Likewise.
7733 (ctan_downward_test_data): Likewise.
7734 (ctan_upward_test_data): Likewise.
7735 (ctanh_test_data): Likewise.
7736 (ctanh_tonearest_test_data): Likewise.
7737 (ctanh_towardzero_test_data): Likewise.
7738 (ctanh_downward_test_data): Likewise.
7739 (ctanh_upward_test_data): Likewise.
7740 (erf_test_data): Likewise.
7741 (erfc_test_data): Likewise.
7742 (exp_test_data): Likewise.
7743 (exp_tonearest_test_data): Likewise.
7744 (exp_towardzero_test_data): Likewise.
7745 (exp_downward_test_data): Likewise.
7746 (exp_upward_test_data): Likewise.
7747 (exp10_test_data): Likewise.
7748 (exp2_test_data): Likewise.
7749 (expm1_test_data): Likewise.
7750 (fabs_test_data): Likewise.
7751 (fdim_test_data): Likewise.
7752 (finite_test_data): Likewise.
7753 (floor_test_data): Likewise.
7754 (fma_test_data): Likewise.
7755 (fma_towardzero_test_data): Likewise.
7756 (fma_downward_test_data): Likewise.
7757 (fma_upward_test_data): Likewise.
7758 (fmax_test_data): Likewise.
7759 (fmin_test_data): Likewise.
7760 (fmod_test_data): Likewise.
7761 (fpclassify_test_data): Likewise.
7762 (frexp_test_data): Likewise.
7763 (gamma_test_data): Likewise.
7764 (hypot_test_data): Likewise.
7765 (ilogb_test_data): Likewise.
7766 (isfinite_test_data): Likewise.
7767 (isgreater_test_data): Likewise.
7768 (isgreaterequal_test_data): Likewise.
7769 (isinf_test_data): Likewise.
7770 (isless_test_data): Likewise.
7771 (islessequal_test_data): Likewise.
7772 (islessgreater_test_data): Likewise.
7773 (isnan_test_data): Likewise.
7774 (isnormal_test_data): Likewise.
7775 (issignaling_test_data): Likewise.
7776 (isunordered_test_data): Likewise.
7777 (j0_test_data): Likewise.
7778 (j1_test_data): Likewise.
7779 (jn_test_data): Likewise.
7780 (ldexp_test_data): Likewise.
7781 (lgamma_test_data): Likewise.
7782 (lrint_test_data): Likewise.
7783 (lrint_tonearest_test_data): Likewise.
7784 (lrint_towardzero_test_data): Likewise.
7785 (lrint_downward_test_data): Likewise.
7786 (lrint_upward_test_data): Likewise.
7787 (llrint_test_data): Likewise.
7788 (llrint_tonearest_test_data): Likewise.
7789 (llrint_towardzero_test_data): Likewise.
7790 (llrint_downward_test_data): Likewise.
7791 (llrint_upward_test_data): Likewise.
7792 (log_test_data): Likewise.
7793 (log10_test_data): Likewise.
7794 (log1p_test_data): Likewise.
7795 (log2_test_data): Likewise.
7796 (logb_test_data): Likewise.
7797 (logb_downward_test_data): Likewise.
7798 (lround_test_data): Likewise.
7799 (llround_test_data): Likewise.
7800 (modf_test_data): Likewise.
7801 (nearbyint_test_data): Likewise.
7802 (nextafter_test_data): Likewise.
7803 (nexttoward_test_data): Likewise.
7804 (pow_test_data): Likewise.
7805 (pow_tonearest_test_data): Likewise.
7806 (pow_towardzero_test_data): Likewise.
7807 (pow_downward_test_data): Likewise.
7808 (pow_upward_test_data): Likewise.
7809 (remainder_test_data): Likewise.
7810 (remainder_tonearest_test_data): Likewise.
7811 (remainder_towardzero_test_data): Likewise.
7812 (remainder_downward_test_data): Likewise.
7813 (remainder_upward_test_data): Likewise.
7814 (remquo_test_data): Likewise.
7815 (rint_test_data): Likewise.
7816 (rint_tonearest_test_data): Likewise.
7817 (rint_towardzero_test_data): Likewise.
7818 (rint_downward_test_data): Likewise.
7819 (rint_upward_test_data): Likewise.
7820 (round_test_data): Likewise.
7821 (scalb_test_data): Likewise.
7822 (scalbn_test_data): Likewise.
7823 (scalbln_test_data): Likewise.
7824 (signbit_test_data): Likewise.
7825 (sin_test_data): Likewise.
7826 (sin_tonearest_test_data): Likewise.
7827 (sin_towardzero_test_data): Likewise.
7828 (sin_downward_test_data): Likewise.
7829 (sin_upward_test_data): Likewise.
7830 (sincos_test_data): Likewise.
7831 (sinh_test_data): Likewise.
7832 (sinh_tonearest_test_data): Likewise.
7833 (sinh_towardzero_test_data): Likewise.
7834 (sinh_downward_test_data): Likewise.
7835 (sinh_upward_test_data): Likewise.
7836 (sqrt_test_data): Likewise.
7837 (tan_test_data): Likewise.
7838 (tan_tonearest_test_data): Likewise.
7839 (tan_towardzero_test_data): Likewise.
7840 (tan_downward_test_data): Likewise.
7841 (tan_upward_test_data): Likewise.
7842 (tanh_test_data): Likewise.
7843 (tgamma_test_data): Likewise.
7844 (trunc_test_data): Likewise.
7845 (y0_test_data): Likewise.
7846 (y1_test_data): Likewise.
7847 (yn_test_data): Likewise.
7848 (significand_test_data): Likewise.
7850 * math/gen-libm-test.pl (@functions): Remove variable.
7851 (generate_testfile): Don't handle START and END lines.
7852 * math/libm-test.inc (START): New macro.
7854 (END_COMPLEX): Likewise.
7855 (acos_test): Use END macro without arguments.
7856 (acos_test_tonearest): Likewise.
7857 (acos_test_towardzero): Likewise.
7858 (acos_test_downward): Likewise.
7859 (acos_test_upward): Likewise.
7860 (acosh_test): Likewise.
7861 (asin_test): Likewise.
7862 (asin_test_tonearest): Likewise.
7863 (asin_test_towardzero): Likewise.
7864 (asin_test_downward): Likewise.
7865 (asin_test_upward): Likewise.
7866 (asinh_test): Likewise.
7867 (atan_test): Likewise.
7868 (atanh_test): Likewise.
7869 (atan2_test): Likewise.
7870 (cabs_test): Likewise.
7871 (cacos_test): Use END_COMPLEX macro without arguments.
7872 (cacosh_test): Likewise.
7873 (carg_test): Use END macro without arguments.
7874 (casin_test): Use END_COMPLEX macro without arguments.
7875 (casinh_test): Likewise.
7876 (catan_test): Likewise.
7877 (catanh_test): Likewise.
7878 (cbrt_test): Use END macro without arguments.
7879 (ccos_test): Use END_COMPLEX macro without arguments.
7880 (ccosh_test): Likewise.
7881 (ceil_test): Use END macro without arguments.
7882 (cexp_test): Use END_COMPLEX macro without arguments.
7883 (cimag_test): Use END macro without arguments.
7884 (clog_test): Use END_COMPLEX macro without arguments.
7885 (clog10_test): Likewise.
7886 (conj_test): Likewise.
7887 (copysign_test): Use END macro without arguments.
7888 (cos_test): Likewise.
7889 (cos_test_tonearest): Likewise.
7890 (cos_test_towardzero): Likewise.
7891 (cos_test_downward): Likewise.
7892 (cos_test_upward): Likewise.
7893 (cosh_test): Likewise.
7894 (cosh_test_tonearest): Likewise.
7895 (cosh_test_towardzero): Likewise.
7896 (cosh_test_downward): Likewise.
7897 (cosh_test_upward): Likewise.
7898 (cpow_test): Use END_COMPLEX macro without arguments.
7899 (cproj_test): Likewise.
7900 (creal_test): Use END macro without arguments.
7901 (csin_test): Use END_COMPLEX macro without arguments.
7902 (csinh_test): Likewise.
7903 (csqrt_test): Likewise.
7904 (ctan_test): Likewise.
7905 (ctan_test_tonearest): Likewise.
7906 (ctan_test_towardzero): Likewise.
7907 (ctan_test_downward): Likewise.
7908 (ctan_test_upward): Likewise.
7909 (ctanh_test): Likewise.
7910 (ctanh_test_tonearest): Likewise.
7911 (ctanh_test_towardzero): Likewise.
7912 (ctanh_test_downward): Likewise.
7913 (ctanh_test_upward): Likewise.
7914 (erf_test): Use END macro without arguments.
7915 (erfc_test): Likewise.
7916 (exp_test): Likewise.
7917 (exp_test_tonearest): Likewise.
7918 (exp_test_towardzero): Likewise.
7919 (exp_test_downward): Likewise.
7920 (exp_test_upward): Likewise.
7921 (exp10_test): Likewise.
7922 (exp2_test): Likewise.
7923 (expm1_test): Likewise.
7924 (fabs_test): Likewise.
7925 (fdim_test): Likewise.
7926 (finite_test): Likewise.
7927 (floor_test): Likewise.
7928 (fma_test): Likewise.
7929 (fma_test_towardzero): Likewise.
7930 (fma_test_downward): Likewise.
7931 (fma_test_upward): Likewise.
7932 (fmax_test): Likewise.
7933 (fmin_test): Likewise.
7934 (fmod_test): Likewise.
7935 (fpclassify_test): Likewise.
7936 (frexp_test): Likewise.
7937 (gamma_test): Likewise.
7938 (hypot_test): Likewise.
7939 (ilogb_test): Likewise.
7940 (isfinite_test): Likewise.
7941 (isgreater_test): Likewise.
7942 (isgreaterequal_test): Likewise.
7943 (isinf_test): Likewise.
7944 (isless_test): Likewise.
7945 (islessequal_test): Likewise.
7946 (islessgreater_test): Likewise.
7947 (isnan_test): Likewise.
7948 (isnormal_test): Likewise.
7949 (issignaling_test): Likewise.
7950 (isunordered_test): Likewise.
7951 (j0_test): Likewise.
7952 (j1_test): Likewise.
7953 (jn_test): Likewise.
7954 (ldexp_test): Likewise.
7955 (lgamma_test): Likewise.
7956 (lrint_test): Likewise.
7957 (lrint_test_tonearest): Likewise.
7958 (lrint_test_towardzero): Likewise.
7959 (lrint_test_downward): Likewise.
7960 (lrint_test_upward): Likewise.
7961 (llrint_test): Likewise.
7962 (llrint_test_tonearest): Likewise.
7963 (llrint_test_towardzero): Likewise.
7964 (llrint_test_downward): Likewise.
7965 (llrint_test_upward): Likewise.
7966 (log_test): Likewise.
7967 (log10_test): Likewise.
7968 (log1p_test): Likewise.
7969 (log2_test): Likewise.
7970 (logb_test): Likewise.
7971 (logb_test_downward): Likewise.
7972 (lround_test): Likewise.
7973 (llround_test): Likewise.
7974 (modf_test): Likewise.
7975 (nearbyint_test): Likewise.
7976 (nextafter_test): Likewise.
7977 (nexttoward_test): Likewise.
7978 (pow_test): Likewise.
7979 (pow_test_tonearest): Likewise.
7980 (pow_test_towardzero): Likewise.
7981 (pow_test_downward): Likewise.
7982 (pow_test_upward): Likewise.
7983 (remainder_test): Likewise.
7984 (remainder_test_tonearest): Likewise.
7985 (remainder_test_towardzero): Likewise.
7986 (remainder_test_downward): Likewise.
7987 (remainder_test_upward): Likewise.
7988 (remquo_test): Likewise.
7989 (rint_test): Likewise.
7990 (rint_test_tonearest): Likewise.
7991 (rint_test_towardzero): Likewise.
7992 (rint_test_downward): Likewise.
7993 (rint_test_upward): Likewise.
7994 (round_test): Likewise.
7995 (scalb_test): Likewise.
7996 (scalbn_test): Likewise.
7997 (scalbln_test): Likewise.
7998 (signbit_test): Likewise.
7999 (sin_test): Likewise.
8000 (sin_test_tonearest): Likewise.
8001 (sin_test_towardzero): Likewise.
8002 (sin_test_downward): Likewise.
8003 (sin_test_upward): Likewise.
8004 (sincos_test): Likewise.
8005 (sinh_test): Likewise.
8006 (sinh_test_tonearest): Likewise.
8007 (sinh_test_towardzero): Likewise.
8008 (sinh_test_downward): Likewise.
8009 (sinh_test_upward): Likewise.
8010 (sqrt_test): Likewise.
8011 (tan_test): Likewise.
8012 (tan_test_tonearest): Likewise.
8013 (tan_test_towardzero): Likewise.
8014 (tan_test_downward): Likewise.
8015 (tan_test_upward): Likewise.
8016 (tanh_test): Likewise.
8017 (tgamma_test): Likewise.
8018 (trunc_test): Likewise.
8019 (y0_test): Likewise.
8020 (y1_test): Likewise.
8021 (yn_test): Likewise.
8022 (significand_test): Likewise.
8024 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8027 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8029 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8032 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8033 __ppc_mdoio and __ppc_mdoom.
8034 * manual/platform.texi: Document new functions __ppc_yield,
8035 __ppc_mdoio and __ppc_mdoom.
8037 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8039 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8040 (main): Mention "tls" pseudo-hwcap is legacy.
8041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8043 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8045 * math/gen-libm-test.pl (parse_args): Output only string of
8046 arguments as text for test name, not full call or descriptions of
8047 tests for extra outputs.
8048 (generate_testfile): Do not pass function name to parse_args.
8049 Generate this_func variable from START.
8050 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8052 (struct test_ff_f_data): Likewise.
8053 (test_ff_f_data_nexttoward): Likewise.
8054 (struct test_fi_f_data): Likewise.
8055 (struct test_fl_f_data): Likewise.
8056 (struct test_if_f_data): Likewise.
8057 (struct test_fff_f_data): Likewise.
8058 (struct test_c_f_data): Likewise.
8059 (struct test_f_f1_data): Likewise. Remove field extra_name.
8060 (struct test_fF_f1_data): Likewise.
8061 (struct test_ffI_f1_data): Likewise.
8062 (struct test_c_c_data): Rename test_name field to arg_str.
8063 (struct test_cc_c_data): Likewise.
8064 (struct test_f_i_data): Likewise.
8065 (struct test_ff_i_data): Likewise.
8066 (struct test_f_l_data): Likewise.
8067 (struct test_f_L_data): Likewise.
8068 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8070 (COMMON_TEST_SETUP): New macro.
8071 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8072 (COMMON_TEST_CLEANUP): Likewise.
8073 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8074 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8076 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8077 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8079 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8080 (RUN_TEST_fff_f): Take argument string. Call new setup and
8082 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8083 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8085 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8086 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8088 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8089 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8091 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8092 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8094 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8095 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8097 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8098 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8100 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8101 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8103 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8104 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8106 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8107 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8109 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8110 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8112 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8113 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8115 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8116 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8118 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8119 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8121 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8122 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8124 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8125 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8127 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8129 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8131 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8132 to _sifields.sigfault.
8133 (si_addr_lsb): Define new macro.
8134 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8138 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8141 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8143 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8145 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8148 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8150 * math/gen-libm-test.pl (parse_args): Do not include expected
8151 result in test name.
8152 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8155 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8156 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8161 * benchtests/Makefile: Sort function entries.
8163 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8164 tanh, asinh, acosh, atanh.
8165 * benchtests/acos-inputs: New file.
8166 * benchtests/acosh-inputs: New file.
8167 * benchtests/asin-inputs: New file.
8168 * benchtests/asinh-inputs: New file.
8169 * benchtests/atanh-inputs: New file.
8170 * benchtests/cosh-inputs: New file.
8171 * benchtests/log-inputs: New file.
8172 * benchtests/sinh-inputs: New file.
8173 * benchtests/tanh-inputs: New file.
8175 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8178 * posix/tst-getaddrinfo4.c: New test.
8179 * posix/Makefile (tests): Add it.
8181 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8184 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8185 when no services were used.
8186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8187 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8189 2013-05-21 Andreas Schwab <schwab@suse.de>
8192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8193 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8195 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8196 redundant variable declarations and reallocation of buffer when
8197 parsing as IPv6 address. Always set NSS status when called from
8198 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8199 buffer too small. Correct computation of needed size.
8200 * nss/Makefile (tests): Add test-digits-dots.
8201 * nss/test-digits-dots.c: New test.
8203 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8205 * benchtests/Makefile: Remove instructions for adding
8207 * benchtests/README: New file to explain how to execute and
8208 enhance the benchmark tests.
8210 2013-05-21 Andreas Schwab <schwab@suse.de>
8213 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8214 * setjmp/tst-sigsetjmp.c: New test.
8216 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8218 * sysdeps/x86_64/memset.S (memset): New implementation.
8219 (__bzero): Likewise.
8220 (__memset_tail): New function.
8222 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8224 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8225 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8226 __memcpy_sse2_unaligned ifunc selection.
8227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8228 Add memcpy-sse2-unaligned.S.
8229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8230 Add: __memcpy_sse2_unaligned.
8232 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8236 math_force_eval before restoring floating-point envrionment.
8237 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8242 (__nearbyintl): Use math_force_eval before restoring
8243 floating-point environment.
8244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8246 * math/gen-libm-test.pl (special_functions): Remove.
8247 (parse_args): Don't handle TEST_extra. Handle functions with no
8249 * math/libm-test.inc (struct test_sincos_data): Replace with
8250 struct test_fFF_11_data.
8251 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8252 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8253 (sincos_test_data): Change element type to struct
8254 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8255 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8256 RUN_TEST_LOOP_sincos.
8257 * math/README.libm-test: Don't mention special handling of
8258 individual functions.
8259 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8261 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8266 * math/gen-libm-test.pl (get_variable): Remove function.
8267 (parse_args): Don't show pointer parameters to call in test
8268 names. Use "extra output N" in test names for extra outputs
8269 rather than naming variables.
8271 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8274 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8275 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8276 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8278 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8280 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8283 * math/gen-libm-test.pl (@tests): Remove variable.
8285 (new_test): Remove function.
8286 (show_exceptions): New function.
8287 (special_functions): Use show_exceptions instead of new_test.
8288 (parse_args): Likewise.
8289 (generate_testfile): Pass only function name in generated call to
8290 print_max_error or print_complex_max_error.
8291 (get_ulps): Do not handle complex tests specially.
8292 (output_test): Rename to ...
8293 (get_all_ulps_for_test): ... this. Return a string rather than
8294 printing to a file. Require ulps to be present.
8295 (output_ulps): Generate arrays rather than #defines.
8296 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8297 (struct ulp_data): New type.
8298 (BUILD_COMPLEX_ULP): Remove macro.
8299 (compare_ulp_data): New function.
8300 (find_ulps): Likewise.
8301 (find_test_ulps): Likewise.
8302 (find_function_ulps): Likewise.
8303 (find_complex_function_ulps): Likewise.
8304 (print_max_error): Determine allowed ulps using
8306 (print_complex_max_error): Determine allowed ulps using
8307 find_complex_function_ulps.
8308 (check_float_internal): Determine max ulps using find_test_ulps.
8309 (check_float): Do not take max_ulp parameter. Update call to
8310 check_float_internal.
8311 (check_complex): Likewise.
8312 (check_int): Do not take max_ulp parameter.
8313 (check_long): Likewise.
8314 (check_bool): Likewise.
8315 (check_longlong): Likewise.
8316 (struct test_f_f_data): Remove max_ulp field.
8317 (struct test_ff_f_data): Likewise.
8318 (struct test_ff_f_data_nexttoward): Likewise.
8319 (struct test_fi_f_data): Likewise.
8320 (struct test_fl_f_data): Likewise.
8321 (struct test_if_f_data): Likewise.
8322 (struct test_fff_f_data): Likewise.
8323 (struct test_c_f_data): Likewise.
8324 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8325 (struct test_fF_f1_data): Likewise.
8326 (struct test_ffI_f1_data): Likewise.
8327 (struct test_c_c_data): Remove max_ulp field.
8328 (struct test_cc_c_data): Likewise.
8329 (struct test_f_i_data): Likewise.
8330 (struct test_ff_i_data): Likewise.
8331 (struct test_f_l_data): Likewise.
8332 (struct test_f_L_data): Likewise.
8333 (struct test_sincos_data): Likewise.
8334 (RUN_TEST_f_f): Do not handle ulps.
8335 (RUN_TEST_LOOP_f_f): Likewise.
8336 (RUN_TEST_2_f): Likewise.
8337 (RUN_TEST_LOOP_2_f): Likewise.
8338 (RUN_TEST_fff_f): Likewise.
8339 (RUN_TEST_LOOP_fff_f): Likewise.
8340 (RUN_TEST_c_f): Likewise.
8341 (RUN_TEST_LOOP_c_f): Likewise.
8342 (RUN_TEST_f_f1): Likewise.
8343 (RUN_TEST_LOOP_f_f1): Likewise.
8344 (RUN_TEST_fF_f1): Likewise.
8345 (RUN_TEST_LOOP_fF_f1): Likewise.
8346 (RUN_TEST_fI_f1): Likewise.
8347 (RUN_TEST_LOOP_fI_f1): Likewise.
8348 (RUN_TEST_ffI_f1): Likewise.
8349 (RUN_TEST_LOOP_ffI_f1): Likewise.
8350 (RUN_TEST_c_c): Likewise.
8351 (RUN_TEST_LOOP_c_c): Likewise.
8352 (RUN_TEST_cc_c): Likewise.
8353 (RUN_TEST_LOOP_cc_c): Likewise.
8354 (RUN_TEST_f_i): Likewise.
8355 (RUN_TEST_LOOP_f_i): Likewise.
8356 (RUN_TEST_f_i_tg): Likewise.
8357 (RUN_TEST_LOOP_f_i_tg): Likewise.
8358 (RUN_TEST_ff_i_tg): Likewise.
8359 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8360 (RUN_TEST_f_b): Likewise.
8361 (RUN_TEST_LOOP_f_b): Likewise.
8362 (RUN_TEST_f_b_tg): Likewise.
8363 (RUN_TEST_LOOP_f_b_tg): Likewise.
8364 (RUN_TEST_f_l): Likewise.
8365 (RUN_TEST_LOOP_f_l): Likewise.
8366 (RUN_TEST_f_L): Likewise.
8367 (RUN_TEST_LOOP_f_L): Likewise.
8368 (RUN_TEST_sincos): Likewise.
8369 (RUN_TEST_LOOP_sincos): Likewise.
8371 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8375 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8376 main case of finite arguments, set rounding mode to FE_TONEAREST
8377 and discard exceptions.
8378 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8380 (remainder_tonearest_test_data): New variable.
8381 (remainder_test_tonearest): New function.
8382 (remainder_towardzero_test_data): New variable.
8383 (remainder_test_towardzero): New function.
8384 (remainder_downward_test_data): New variable.
8385 (remainder_test_downward): New function.
8386 (remainder_upward_test_data): New variable.
8387 (remainder_test_upward): New function.
8388 (main): Call the new test functions.
8390 * math/libm-test.inc (struct test_f_f1_data): Remove field
8392 (struct test_fF_f1_data): Likewise.
8393 (struct test_ffI_f1_data): Likewise.
8394 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8395 based on value of EXTRA_EXPECTED.
8396 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8397 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8398 EXTRA_VAR based on value of EXTRA_EXPECTED.
8399 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8400 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8401 EXTRA_VAR based on value of EXTRA_EXPECTED.
8402 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8403 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8404 EXTRA_VAR based on value of EXTRA_EXPECTED.
8405 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8406 * math/gen-libm-test.pl (parse_args): Don't output initializers
8407 for extra output values.
8409 * math/libm-test.inc (check_int): Expect result to be exactly
8410 equal to expected value and do not handle ulps.
8411 (check_long): Likewise.
8412 (check_longlong): Likewise.
8414 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8416 (cimag_test_data): Likewise.
8417 (conj_test_data): Likewise.
8418 (copysign_test_data): Likewise.
8419 (cproj_test_data): Likewise.
8420 (creal_test_data): Likewise.
8421 (fabs_test_data): Likewise.
8422 (fdim_test_data): Likewise.
8423 (finite_test_data): Likewise.
8424 (floor_test_data): Likewise.
8425 (fmax_test_data): Likewise.
8426 (fmin_test_data): Likewise.
8427 (fmod_test_data): Likewise.
8428 (fpclassify_test_data): Likewise.
8429 (frexp_test_data): Likewise.
8430 (ilogb_test_data): Likewise.
8431 (isfinite_test_data): Likewise.
8432 (isgreater_test_data): Likewise.
8433 (isgreaterequal_test_data): Likewise.
8434 (isinf_test_data): Likewise.
8435 (isless_test_data): Likewise.
8436 (islessequal_test_data): Likewise.
8437 (islessgreater_test_data): Likewise.
8438 (isnan_test_data): Likewise.
8439 (isnormal_test_data): Likewise.
8440 (issignaling_test_data): Likewise.
8441 (isunordered_test_data): Likewise.
8442 (ldexp_test_data): Likewise.
8443 (lrint_test_data): Likewise.
8444 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8445 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8446 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8447 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8448 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8449 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8451 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8452 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8453 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8454 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8456 (lrint_downward_test_data): Test for "inexact" exceptions.
8457 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8458 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8459 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8461 (lrint_upward_test_data): Test for "inexact" exceptions.
8462 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8464 (llrint_test_data): Test for "inexact" exceptions.
8465 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8466 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8467 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8468 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8469 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8470 (llrint_downward_test_data): Test for "inexact" exceptions.
8471 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8472 (llrint_upward_test_data): Test for "inexact" exceptions.
8473 (logb_test_data): Likewise.
8474 (logb_downward_test_data): Likewise.
8475 (nextafter_test_data): Likewise.
8476 (nexttoward_test_data): Likewise.
8477 (remainder_test_data): Likewise.
8478 (remquo_test_data): Likewise.
8479 (scalbn_test_data): Likewise.
8480 (scalbln_test_data): Likewise.
8481 (signbit_test_data): Likewise.
8482 (sqrt_test_data): Likewise.
8483 (significand_test_data): Likewise.
8485 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8488 * benchtests/bench-modf.c (struct args): Mark arg0 as
8490 * scripts/bench.pl: Mark members of struct args as volatile.
8492 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8496 negative infinity on POWER6 or lower.
8497 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8499 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8502 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8503 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8504 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8505 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8506 (_FP_SETQNAN): New macro.
8507 (_FP_SETQNAN_SEMIRAW): Likewise.
8508 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8509 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8510 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8511 (FP_EXTEND): Use _FP_FRAC_SNANP.
8512 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8513 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8515 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8517 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8520 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8522 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8523 with DIVIDE_BY_ZERO_EXCEPTION.
8524 (gamma_test_data): Likewise.
8525 (lgamma_test_data): Likewise.
8526 (log_test_data): Likewise.
8527 (log10_test_data): Likewise.
8528 (log2_test_data): Likewise.
8529 (tgamma_test_data): Likewise.
8531 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8532 (acos_test_tonearest): Likewise.
8533 (acos_test_towardzero): Likewise.
8534 (acos_test_downward): Likewise.
8535 (acos_test_upward): Likewise.
8536 (acosh_test): Likewise.
8537 (asin_test): Likewise.
8538 (asin_test_tonearest): Likewise.
8539 (asin_test_towardzero): Likewise.
8540 (asin_test_downward): Likewise.
8541 (asin_test_upward): Likewise.
8542 (asinh_test): Likewise.
8543 (atan_test): Likewise.
8544 (atanh_test): Likewise.
8545 (atan2_test): Likewise.
8546 (cabs_test): Likewise.
8547 (cacos_test): Likewise.
8548 (cacosh_test): Likewise.
8549 (casin_test): Likewise.
8550 (casinh_test): Likewise.
8551 (catan_test): Likewise.
8552 (catanh_test): Likewise.
8553 (cbrt_test): Likewise.
8554 (ccos_test): Likewise.
8555 (ccosh_test): Likewise.
8556 (cexp_test): Likewise.
8557 (clog_test): Likewise.
8558 (clog10_test): Likewise.
8559 (cos_test): Likewise.
8560 (cos_test_tonearest): Likewise.
8561 (cos_test_towardzero): Likewise.
8562 (cos_test_downward): Likewise.
8563 (cos_test_upward): Likewise.
8564 (cosh_test): Likewise.
8565 (cosh_test_tonearest): Likewise.
8566 (cosh_test_towardzero): Likewise.
8567 (cosh_test_downward): Likewise.
8568 (cosh_test_upward): Likewise.
8569 (cpow_test): Likewise.
8570 (csin_test): Likewise.
8571 (csinh_test): Likewise.
8572 (csqrt_test): Likewise.
8573 (ctan_test): Likewise.
8574 (ctan_test_tonearest): Likewise.
8575 (ctan_test_towardzero): Likewise.
8576 (ctan_test_downward): Likewise.
8577 (ctan_test_upward): Likewise.
8578 (ctanh_test): Likewise.
8579 (ctanh_test_tonearest): Likewise.
8580 (ctanh_test_towardzero): Likewise.
8581 (ctanh_test_downward): Likewise.
8582 (ctanh_test_upward): Likewise.
8583 (erf_test): Likewise.
8584 (erfc_test): Likewise.
8585 (exp_test): Likewise.
8586 (exp_test_tonearest): Likewise.
8587 (exp_test_towardzero): Likewise.
8588 (exp_test_downward): Likewise.
8589 (exp_test_upward): Likewise.
8590 (exp10_test): Likewise.
8591 (exp2_test): Likewise.
8592 (expm1_test): Likewise.
8593 (fmod_test): Likewise.
8594 (gamma_test): Likewise.
8595 (hypot_test): Likewise.
8596 (j0_test): Likewise.
8597 (j1_test): Likewise.
8598 (jn_test): Likewise.
8599 (lgamma_test): Likewise.
8600 (log_test): Likewise.
8601 (log10_test): Likewise.
8602 (log1p_test): Likewise.
8603 (log2_test): Likewise.
8604 (logb_test_downward): Likewise.
8605 (pow_test): Likewise.
8606 (pow_test_tonearest): Likewise.
8607 (pow_test_towardzero): Likewise.
8608 (pow_test_downward): Likewise.
8609 (pow_test_upward): Likewise.
8610 (remainder_test): Likewise.
8611 (remquo_test): Likewise.
8612 (sin_test): Likewise.
8613 (sin_test_tonearest): Likewise.
8614 (sin_test_towardzero): Likewise.
8615 (sin_test_downward): Likewise.
8616 (sin_test_upward): Likewise.
8617 (sincos_test): Likewise.
8618 (sinh_test): Likewise.
8619 (sinh_test_tonearest): Likewise.
8620 (sinh_test_towardzero): Likewise.
8621 (sinh_test_downward): Likewise.
8622 (sinh_test_upward): Likewise.
8623 (sqrt_test): Likewise.
8624 (tan_test): Likewise.
8625 (tan_test_tonearest): Likewise.
8626 (tan_test_towardzero): Likewise.
8627 (tan_test_downward): Likewise.
8628 (tan_test_upward): Likewise.
8629 (tanh_test): Likewise.
8630 (tgamma_test): Likewise.
8631 (y0_test): Likewise.
8632 (y1_test): Likewise.
8633 (yn_test): Likewise.
8635 * math/gen-libm-test.pl (adjust_arg): Remove function.
8636 (special_function): Remove argument $in_func. Only handle
8637 generating output for tables of tests, not inside functions.
8638 (parse_args): Likewise.
8639 (generate_testfile): Remove variable $in_func. Update call to
8641 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8642 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8643 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8644 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8645 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8646 (MAX_VALUE_INIT): Rename macro to max_value.
8647 (MIN_VALUE_INIT): Rename macro to min_value.
8648 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8649 (plus_zero): Remove variable.
8650 (minus_zero): Likewise.
8651 (plus_infty): Likewise.
8652 (minus_infty): Likewise.
8653 (qnan_value): Likewise.
8654 (max_value): Likewise.
8655 (min_value): Likewise.
8656 (min_subnorm_value): Likewise.
8658 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8660 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8661 uint64_t or uint32_t usage.
8662 * crypt/sha256-block.c: Likewise.
8663 * crypt/sha256-crypt.c: Likewise.
8664 * crypt/sha256.c: Likewise.
8665 * crypt/sha512-block.c: Likewise.
8666 * crypt/sha512-crypt.c: Likewise.
8667 * crypt/sha512.c: Likewise.
8668 * debug/backtrace-tst.c: Likewise.
8669 * debug/pcprofiledump.c: Likewise.
8670 * elf/cache.c: Likewise.
8671 * elf/dl-cache.c: Likewise.
8672 * elf/dl-misc.c: Likewise.
8673 * elf/dl-profile.c: Likewise.
8674 * elf/dl-support.c: Likewise.
8675 * elf/ldconfig.c: Likewise.
8676 * elf/sprof.c: Likewise.
8677 * iconv/dummy-repertoire.c: Likewise.
8678 * iconv/iconv_charmap.c: Likewise.
8679 * iconv/skeleton.c: Likewise.
8680 * iconvdata/8bit-generic.c: Likewise.
8681 * iconvdata/cp737.h: Likewise.
8682 * iconvdata/cp775.h: Likewise.
8683 * iconvdata/ibm1008.h: Likewise.
8684 * iconvdata/ibm1025.h: Likewise.
8685 * iconvdata/ibm1046.h: Likewise.
8686 * iconvdata/ibm1097.h: Likewise.
8687 * iconvdata/ibm1112.h: Likewise.
8688 * iconvdata/ibm1122.h: Likewise.
8689 * iconvdata/ibm1123.h: Likewise.
8690 * iconvdata/ibm1124.h: Likewise.
8691 * iconvdata/ibm1129.h: Likewise.
8692 * iconvdata/ibm1130.h: Likewise.
8693 * iconvdata/ibm1132.h: Likewise.
8694 * iconvdata/ibm1133.h: Likewise.
8695 * iconvdata/ibm1137.h: Likewise.
8696 * iconvdata/ibm1140.h: Likewise.
8697 * iconvdata/ibm1141.h: Likewise.
8698 * iconvdata/ibm1142.h: Likewise.
8699 * iconvdata/ibm1143.h: Likewise.
8700 * iconvdata/ibm1144.h: Likewise.
8701 * iconvdata/ibm1145.h: Likewise.
8702 * iconvdata/ibm1146.h: Likewise.
8703 * iconvdata/ibm1147.h: Likewise.
8704 * iconvdata/ibm1148.h: Likewise.
8705 * iconvdata/ibm1149.h: Likewise.
8706 * iconvdata/ibm1153.h: Likewise.
8707 * iconvdata/ibm1154.h: Likewise.
8708 * iconvdata/ibm1155.h: Likewise.
8709 * iconvdata/ibm1156.h: Likewise.
8710 * iconvdata/ibm1157.h: Likewise.
8711 * iconvdata/ibm1158.h: Likewise.
8712 * iconvdata/ibm1160.h: Likewise.
8713 * iconvdata/ibm1161.h: Likewise.
8714 * iconvdata/ibm1162.h: Likewise.
8715 * iconvdata/ibm1163.h: Likewise.
8716 * iconvdata/ibm1164.h: Likewise.
8717 * iconvdata/ibm1166.h: Likewise.
8718 * iconvdata/ibm1167.h: Likewise.
8719 * iconvdata/ibm12712.h: Likewise.
8720 * iconvdata/ibm1390.h: Likewise.
8721 * iconvdata/ibm1399.h: Likewise.
8722 * iconvdata/ibm16804.h: Likewise.
8723 * iconvdata/ibm4517.h: Likewise.
8724 * iconvdata/ibm4899.h: Likewise.
8725 * iconvdata/ibm4909.h: Likewise.
8726 * iconvdata/ibm4971.h: Likewise.
8727 * iconvdata/ibm5347.h: Likewise.
8728 * iconvdata/ibm803.h: Likewise.
8729 * iconvdata/ibm856.h: Likewise.
8730 * iconvdata/ibm901.h: Likewise.
8731 * iconvdata/ibm902.h: Likewise.
8732 * iconvdata/ibm9030.h: Likewise.
8733 * iconvdata/ibm9066.h: Likewise.
8734 * iconvdata/ibm921.h: Likewise.
8735 * iconvdata/ibm922.h: Likewise.
8736 * iconvdata/ibm9448.h: Likewise.
8737 * iconvdata/isiri-3342.h: Likewise.
8738 * iconvdata/jis0201.h: Likewise.
8739 * include/link.h: Likewise.
8740 * include/netdb.h: Likewise.
8741 * inet/check_native.c: Likewise.
8742 * inet/check_pf.c: Likewise.
8743 * inet/getipv4sourcefilter.c: Likewise.
8744 * inet/getnameinfo.c: Likewise.
8745 * inet/getsourcefilter.c: Likewise.
8746 * inet/htonl.c: Likewise.
8747 * inet/setipv4sourcefilter.c: Likewise.
8748 * inet/setsourcefilter.c: Likewise.
8749 * inet/test-inet6_opt.c: Likewise.
8750 * inet/tst-network.c: Likewise.
8751 * locale/C-collate.c: Likewise.
8752 * locale/C-ctype.c: Likewise.
8753 * locale/C-time.c: Likewise.
8754 * locale/C-translit.h: Likewise.
8755 * locale/loadarchive.c: Likewise.
8756 * locale/programs/3level.h: Likewise.
8757 * locale/programs/charmap.c: Likewise.
8758 * locale/programs/charmap.h: Likewise.
8759 * locale/programs/ld-address.c: Likewise.
8760 * locale/programs/ld-collate.c: Likewise.
8761 * locale/programs/ld-ctype.c: Likewise.
8762 * locale/programs/ld-identification.c: Likewise.
8763 * locale/programs/ld-measurement.c: Likewise.
8764 * locale/programs/ld-messages.c: Likewise.
8765 * locale/programs/ld-monetary.c: Likewise.
8766 * locale/programs/ld-name.c: Likewise.
8767 * locale/programs/ld-numeric.c: Likewise.
8768 * locale/programs/ld-paper.c: Likewise.
8769 * locale/programs/ld-telephone.c: Likewise.
8770 * locale/programs/ld-time.c: Likewise.
8771 * locale/programs/linereader.c: Likewise.
8772 * locale/programs/locale.c: Likewise.
8773 * locale/programs/locarchive.c: Likewise.
8774 * locale/programs/locfile.h: Likewise.
8775 * locale/programs/repertoire.c: Likewise.
8776 * locale/programs/simple-hash.c: Likewise.
8777 * locale/programs/simple-hash.h: Likewise.
8778 * malloc/memusage.c: Likewise.
8779 * malloc/memusagestat.c: Likewise.
8780 * nis/nis_defaults.c: Likewise.
8781 * nis/nis_hash.c: Likewise.
8782 * nis/nis_print.c: Likewise.
8783 * nis/nis_xdr.c: Likewise.
8784 * nscd/connections.c: Likewise.
8785 * nscd/hstcache.c: Likewise.
8786 * nscd/nscd_gethst_r.c: Likewise.
8787 * nscd/nscd_getserv_r.c: Likewise.
8788 * nscd/nscd_helper.c: Likewise.
8789 * nscd/servicescache.c: Likewise.
8790 * nss/makedb.c: Likewise.
8791 * nss/nss_db/db-XXX.c: Likewise.
8792 * nss/nss_db/db-initgroups.c: Likewise.
8793 * nss/nss_db/db-netgrp.c: Likewise.
8794 * nss/nss_files/files-network.c: Likewise.
8795 * nss/nss_files/files-parse.c: Likewise.
8796 * posix/bug-regex5.c: Likewise.
8797 * posix/fnmatch_loop.c: Likewise.
8798 * posix/regcomp.c: Likewise.
8799 * posix/regexec.c: Likewise.
8800 * posix/tst-rfc3484-2.c: Likewise.
8801 * posix/tst-rfc3484-3.c: Likewise.
8802 * posix/tst-rfc3484.c: Likewise.
8803 * resolv/nss_dns/dns-canon.c: Likewise.
8804 * resolv/nss_dns/dns-network.c: Likewise.
8805 * resolv/res_init.c: Likewise.
8806 * resolv/res_mkquery.c: Likewise.
8807 * resolv/tst-aton.c: Likewise.
8808 * stdlib/cxa_atexit.c: Likewise.
8809 * stdlib/cxa_finalize.c: Likewise.
8810 * stdlib/gen-fpioconst.c: Likewise.
8811 * stdlib/strtol_l.c: Likewise.
8812 * string/tst-endian.c: Likewise.
8813 * sunrpc/auth_des.c: Likewise.
8814 * sunrpc/clnt_udp.c: Likewise.
8815 * sunrpc/rtime.c: Likewise.
8816 * sunrpc/svcauth_des.c: Likewise.
8817 * sunrpc/xdr.c: Likewise.
8818 * sunrpc/xdr_intXX_t.c: Likewise.
8819 * sunrpc/xdr_rec.c: Likewise.
8820 * sysdeps/generic/ldconfig.h: Likewise.
8821 * sysdeps/generic/ldsodefs.h: Likewise.
8822 * sysdeps/generic/memusage.h: Likewise.
8823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8833 * sysdeps/posix/getaddrinfo.c: Likewise.
8834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8838 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8839 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8840 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8841 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8842 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8844 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8846 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8847 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8849 * sysdeps/x86_64/dl-tls.h: Likewise.
8850 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8851 * time/alt_digit.c: Likewise.
8852 * time/era.c: Likewise.
8853 * wcsmbs/tst-c16c32-1.c: Likewise.
8855 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8857 * math/libm-test.inc (struct test_sincos_data): New type.
8858 (RUN_TEST_LOOP_sincos): New macro.
8859 (sincos_test_data): New variable.
8860 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8862 2013-05-16 Richard Henderson <rth@redhat.com>
8864 * math/atest-exp2.c (LIMB64): New macro.
8865 (CONSTSZ): New macro.
8866 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8868 (print_mpn_fp): ... to function scope.
8869 (read_mpn_hex): Remove.
8871 (exp2_mpn): Use mp_log2.
8872 (main): Use mp_exp1.
8874 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8876 * math/libm-test.inc: Remove comment about not testing "inexact"
8878 (INEXACT_EXCEPTION): New macro.
8879 (NO_INEXACT_EXCEPTION): Likewise.
8880 (INVALID_EXCEPTION_OK): Update value.
8881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8882 (OVERFLOW_EXCEPTION_OK): Likewise.
8883 (UNDERFLOW_EXCEPTION_OK): Likewise.
8884 (IGNORE_ZERO_INF_SIGN): Likewise.
8885 (ERRNO_UNCHANGED): Likewise.
8886 (ERRNO_EDOM): Likewise.
8887 (ERRNO_ERANGE): Likewise.
8888 (test_exceptions): Handle testing "inexact" exceptions.
8889 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8890 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8891 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8892 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8894 (rint_towardzero_test_data): Likewise.
8895 (rint_downward_test_data): Likewise.
8896 (rint_upward_test_data): Likewise.
8898 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8899 with OVERFLOW_EXCEPTION.
8900 (exp10_test_data): Likewise.
8901 (exp2_test_data): Likewise.
8902 (expm1_test_data): Likewise.
8903 (lgamma_test_data): Likewise.
8904 (pow_test_data): Likewise.
8905 (tgamma_test_data): Likewise.
8906 (yn_test_data): Remove duplicate test of overflow.
8908 * math/libm-test.inc (struct test_cc_c_data): New type.
8909 (RUN_TEST_LOOP_cc_c): New macro.
8910 (cpow_test_data): New variable.
8911 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8913 * math/libm-test.inc (struct test_f_L_data): New type.
8914 (RUN_TEST_LOOP_f_L): New macro.
8915 (llrint_test_data): New variable.
8916 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8917 (llrint_tonearest_test_data): New variable.
8918 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8919 (llrint_towardzero_test_data): New variable.
8920 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8921 (llrint_downward_test_data): New variable.
8922 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8923 (llrint_upward_test_data): New variable.
8924 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8925 (llround_test_data): New variable.
8926 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8928 2013-05-13 Peter Collingbourne <pcc@google.com>
8930 * math/atest-exp2.c (get_log2): Remove const attribute.
8932 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8934 * math/libm-test.inc (struct test_f_l_data): New type.
8935 (RUN_TEST_LOOP_f_l): New macro.
8936 (lrint_test_data): New variable.
8937 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8938 (lrint_tonearest_test_data): New variable.
8939 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8940 (lrint_towardzero_test_data): New variable.
8941 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8942 (lrint_downward_test_data): New variable.
8943 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8944 (lrint_upward_test_data): New variable.
8945 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8946 (lround_test_data): New variable.
8947 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8949 2013-05-15 Peter Collingbourne <pcc@google.com>
8951 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8952 (EXTRACT_WORDS64) Use where appropriate.
8953 (INSERT_WORDS64) Likewise.
8955 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8956 constraints with x constraints.
8957 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8959 * malloc/obstack.c (_obstack_compat): Add initializer.
8961 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8964 si_trapno and add si_addr_lsb to _sifields.sigfault.
8965 (si_trapno): Remove macro.
8966 (si_addr_lsb): Define new macro.
8967 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8969 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8971 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8972 instead of TEST_f_l.
8973 (llrint_test_tonearest): Likewise.
8974 (llrint_test_towardzero): Likewise.
8975 (llrint_test_downward): Likewise.
8976 (llrint_test_upward): Likewise.
8977 (llround_test): Likewise.
8979 * math/libm-test.inc (struct test_f_i_data): Add comment.
8980 (RUN_TEST_LOOP_f_b): New macro.
8981 (RUN_TEST_LOOP_f_b_tg): Likewise.
8982 (finite_test_data): New variable.
8983 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8984 (isfinite_test_data): New variable.
8985 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8986 (isinf_test_data): New variable.
8987 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8988 (isnan_test_data): New variable.
8989 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8990 (isnormal_test_data): New variable.
8991 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8992 (issignaling_test_data): New variable.
8993 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8994 (signbit_test_data): New variable.
8995 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8997 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8998 with INVALID_EXCEPTION.
8999 (acosh_test_data): Likewise.
9000 (asin_test_data): Likewise.
9001 (atanh_test_data): Likewise.
9002 (fmod_test_data): Likewise.
9003 (log_test_data): Likewise.
9004 (log10_test_data): Likewise.
9005 (log2_test_data): Likewise.
9006 (pow_test_data): Likewise.
9007 (sqrt_test_data): Likewise.
9008 (y0_test_data): Likewise.
9009 (y1_test_data): Likewise.
9010 (yn_test_data): Likewise.
9012 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9015 * math/libm-test.inc (struct test_ff_i_data): New type.
9016 (RUN_TEST_LOOP_ff_i_tg): New macro.
9017 (isgreater_test_data): New variable.
9018 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9019 (isgreaterequal_test_data): New variable.
9020 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9021 (isless_test_data): New variable.
9022 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9023 (islessequal_test_data): New variable.
9024 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9025 (islessgreater_test_data): New variable.
9026 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9027 (isunordered_test_data): New variable.
9028 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9030 2013-05-14 David S. Miller <davem@davemloft.net>
9032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9034 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9036 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9038 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9040 (struct test_f_i_data): Change type of max_ulp to int.
9042 * math/libm-test.inc (test_ffI_f1_data): New type.
9043 (RUN_TEST_LOOP_ffI_f1): New macro.
9044 (remquo_test_data): New variable.
9045 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9047 * setjmp/tst-setjmp-fp.c: New file.
9048 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9049 (link-libm): New variable.
9050 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9052 * math/libm-test.inc (struct test_f_i_data): New type.
9053 (RUN_TEST_LOOP_f_i): New macro.
9054 (RUN_TEST_LOOP_f_i_tg): Likewise.
9055 (fpclassify_test_data): New variable.
9056 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9057 (ilogb_test_data): New variable.
9058 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9060 * math/libm-test.inc (scalbln_test): Correct function name in END
9063 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9064 (RUN_TEST_LOOP_fI_f1): New macro.
9065 (frexp_test_data): New variable.
9066 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9068 * math/libm-test.inc (struct test_fF_f1_data): New type.
9069 (RUN_TEST_LOOP_fF_f1): New macro.
9070 (modf_test_data): New variable.
9071 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9073 * math/libm-test.inc (struct test_f_f1_data): New type.
9074 (RUN_TEST_LOOP_f_f1): New macro.
9075 (gamma_test_data): New variable.
9076 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9077 (lgamma_test_data): New variable.
9078 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9080 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9082 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9083 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9084 (main): Comment "tls" pseudo-hwcap.
9086 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9088 * math/libm-test.inc (struct test_fl_f_data): New type.
9089 (RUN_TEST_LOOP_fl_f): New variable.
9090 (scalbln_test_data): New variable.
9091 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9093 * math/libm-test.inc (struct test_fi_f_data): New type.
9094 (RUN_TEST_LOOP_fi_f): New macro.
9095 (ldexp_test_data): New variable.
9096 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9097 (scalbn_test_data): New variable.
9098 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9100 * math/libm-test.inc (struct test_c_f_data): New type.
9101 (RUN_TEST_LOOP_c_f): New macro.
9102 (cabs_test_data): New variable.
9103 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9104 (carg_test_data): New variable.
9105 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9106 (cimag_test_data): New variable.
9107 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9108 (creal_test_data): New variable.
9109 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9111 * math/libm-test.inc (struct test_if_f_data): New type.
9112 (RUN_TEST_LOOP_if_f): New macro.
9113 (jn_test_data): New variable.
9114 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9115 (yn_test_data): New variable.
9116 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9118 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9120 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9122 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9123 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9125 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9127 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9128 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9129 (bench-deps): Add bench-timing.h.
9130 * benchtests-bench-skeleton.c: Include bench-timing.h.
9131 (main): Use TIMING_* macros instead of clock_gettime.
9132 * benchtests/bench-timing.h: New file.
9135 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9136 Renamed from _LIB_VERSION.
9137 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9139 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9141 * math/libm-test.inc (struct test_fff_f_data): New type.
9142 (RUN_TEST_LOOP_fff_f): New macro.
9143 (fma_test_data): New variable.
9144 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9145 (fma_towardzero_test_data): New variable.
9146 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9147 (fma_downward_test_data): New variable.
9148 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9149 (fma_upward_test_data): New variable.
9150 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9152 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9153 (struct test_c_c_data): New type.
9154 (RUN_TEST_LOOP_c_c): New macro.
9155 (cacos_test_data): New variable.
9156 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9157 (cacosh_test_data): New variable.
9158 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9159 (casin_test_data): New variable.
9160 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9161 (casinh_test_data): New variable.
9162 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9163 (catan_test_data): New variable.
9164 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9165 (catanh_test_data): New variable.
9166 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9167 (ccos_test_data): New variable.
9168 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9169 (ccosh_test_data): New variable.
9170 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9171 (cexp_test_data): New variable.
9172 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9173 (clog_test_data): New variable.
9174 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9175 (clog10_test_data): New variable.
9176 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9177 (conj_test_data): New variable.
9178 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9179 (cproj_test_data): New variable.
9180 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9181 (csin_test_data): New variable.
9182 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9183 (csinh_test_data): New variable.
9184 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9185 (csqrt_test_data): New variable.
9186 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9187 (ctan_test_data): New variable.
9188 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9189 (ctan_tonearest_test_data): New variable.
9190 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9191 (ctan_towardzero_test_data): New variable.
9192 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9193 (ctan_downward_test_data): New variable.
9194 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9195 (ctan_upward_test_data): New variable.
9196 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9197 (ctanh_test_data): New variable.
9198 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9199 (ctanh_tonearest_test_data): New variable.
9200 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9201 (ctanh_towardzero_test_data): New variable.
9202 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9203 (ctanh_downward_test_data): New variable.
9204 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9205 (ctanh_upward_test_data): New variable.
9206 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9207 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9210 * math/libm-test.inc (struct test_ff_f_data): New type.
9211 (struct test_ff_f_data_nexttoward): Likewise.
9212 (RUN_TEST_LOOP_2_f): New macro.
9213 (RUN_TEST_LOOP_ff_f): Likewise.
9214 (atan2_test_data): New variable.
9215 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9216 (copysign_test_data): New variable.
9217 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9218 (fdim_test_data): New variable.
9219 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9220 (fmax_test_data): New variable.
9221 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9222 (fmin_test_data): New variable.
9223 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9224 (fmod_test_data): New variable.
9225 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9226 (hypot_test_data): New variable.
9227 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9228 (nextafter_test_data): New variable.
9229 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9230 (nexttoward_test_data): New variable.
9231 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9232 (pow_test_data): New variable.
9233 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9234 (pow_tonearest_test_data): New variable.
9235 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9236 (pow_towardzero_test_data): New variable.
9237 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9238 (pow_downward_test_data): New variable.
9239 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9240 (pow_upward_test_data): New variable.
9241 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9242 (remainder_test_data): New variable.
9243 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9244 (scalb_test_data): New variable.
9245 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9246 * sysdeps/i386/fpu/libm-test-ulps: Update.
9248 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9250 * math/libm-test.inc (fma_test): Use max_value instead of local
9252 (nextafter_test): Likewise.
9254 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9255 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9256 (acos_downward_test_data): New variable.
9257 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9258 (acos_upward_test_data): New variable.
9259 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9260 (acosh_test_data): New variable.
9261 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9262 (asin_test_data): New variable.
9263 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9264 (asin_tonearest_test_data): New variable.
9265 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9266 (asin_towardzero_test_data): New variable.
9267 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9268 (asin_downward_test_data): New variable.
9269 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9270 (asin_upward_test_data): New variable.
9271 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9272 (asinh_test_data): New variable.
9273 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9274 (atan_test_data): New variable.
9275 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9276 (atanh_test_data): New variable.
9277 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9278 (cbrt_test_data): New variable.
9279 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9280 (ceil_test_data): New variable.
9281 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9282 (cos_test_data): New variable.
9283 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9284 (cos_tonearest_test_data): New variable.
9285 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9286 (cos_towardzero_test_data): New variable.
9287 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9288 (cos_downward_test_data): New variable.
9289 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9290 (cos_upward_test_data): New variable.
9291 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9292 (cosh_test_data): New variable.
9293 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9294 (cosh_tonearest_test_data): New variable.
9295 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9296 (cosh_towardzero_test_data): New variable.
9297 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9298 (cosh_downward_test_data): New variable.
9299 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9300 (cosh_upward_test_data): New variable.
9301 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9302 (erf_test_data): New variable.
9303 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9304 (erfc_test_data): New variable.
9305 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9306 (exp_test_data): New variable.
9307 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9308 (exp_tonearest_test_data): New variable.
9309 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9310 (exp_towardzero_test_data): New variable.
9311 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9312 (exp_downward_test_data): New variable.
9313 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9314 (exp_upward_test_data): New variable.
9315 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9316 (exp10_test_data): New variable.
9317 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9318 (exp2_test_data): New variable.
9319 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9320 (expm1_test_data): New variable.
9321 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9322 (fabs_test_data): New variable.
9323 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9324 (floor_test_data): New variable.
9325 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9326 (j0_test_data): New variable.
9327 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9328 (j1_test_data): New variable.
9329 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9330 (log_test_data): New variable.
9331 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9332 (log10_test_data): New variable.
9333 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9334 (log1p_test_data): New variable.
9335 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9336 (log2_test_data): New variable.
9337 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9338 (logb_test_data): New variable.
9339 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9340 (logb_downward_test_data): New variable.
9341 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9342 (nearbyint_test_data): New variable.
9343 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9344 (rint_test_data): New variable.
9345 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9346 (rint_tonearest_test_data): New variable.
9347 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9348 (rint_towardzero_test_data): New variable.
9349 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9350 (rint_downward_test_data): New variable.
9351 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9352 (rint_upward_test_data): New variable.
9353 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9354 (round_test_data): New variable.
9355 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9356 (sin_test_data): New variable.
9357 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9358 (sin_tonearest_test_data): New variable.
9359 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9360 (sin_towardzero_test_data): New variable.
9361 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9362 (sin_downward_test_data): New variable.
9363 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9364 (sin_upward_test_data): New variable.
9365 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9366 (sinh_test_data): New variable.
9367 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9368 (sinh_tonearest_test_data): New variable.
9369 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9370 (sinh_towardzero_test_data): New variable.
9371 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9372 (sinh_downward_test_data): New variable.
9373 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9374 (sinh_upward_test_data): New variable.
9375 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9376 (sqrt_test_data): New variable.
9377 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9378 (tan_test_data): New variable.
9379 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9380 (tan_tonearest_test_data): New variable.
9381 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9382 (tan_towardzero_test_data): New variable.
9383 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9384 (tan_downward_test_data): New variable.
9385 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9386 (tan_upward_test_data): New variable.
9387 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9388 (tanh_test_data): New variable.
9389 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9390 (tgamma_test_data): New variable.
9391 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9392 (trunc_test_data): New variable.
9393 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9394 (y0_test_data): New variable.
9395 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9396 (y1_test_data): New variable.
9397 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9398 (significand_test_data): New variable.
9399 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9401 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9404 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9406 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9408 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9410 2013-05-10 Andreas Jaeger <aj@suse.de>
9413 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9414 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9416 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9418 * math/gen-libm-test.pl (adjust_arg): New function.
9419 (special_functions): Handle generating output in both functions
9421 (parse_args): Likewise.
9422 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9423 $in_func argument to parse_args.
9424 * math/libm-test.inc (struct test_f_f_data): New type.
9425 (IF_ROUND_INIT_): New macro.
9426 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9430 (ROUND_RESTORE_): Likewise.
9431 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9432 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9433 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9434 (ROUND_RESTORE_FE_UPWARD): Likewise.
9435 (RUN_TEST_LOOP_f_f): New macro.
9436 (acos_test_data): New variable.
9437 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9438 (acos_tonearest_test_data): New variable.
9439 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9441 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9443 * benchtests/bench-skeleton.c (startup): Fix coding style.
9445 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9448 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9449 negative infinity argument.
9450 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9451 negative infinity argument.
9452 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9453 negative infinity argument.
9454 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9457 2013-05-10 Florian Weimer <fweimer@redhat.com>
9459 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9460 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9461 * iconv/iconv_prog.c (main): Likewise.
9462 * locale/programs/charmap-dir.c (charmap_readdir)
9463 (fopen_uncompressed): Likewise.
9464 * locale/programs/locfile.c (siblings_uncached)
9465 (write_locale_data): Use lstat64 instead of lstat.
9466 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9469 2013-05-10 Andreas Jaeger <aj@suse.de>
9472 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9476 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9478 * elf/dl-close.c (_dl_close_worker): Add comments.
9480 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9485 (__ieee754_rem_pio2l): Update comments.
9488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9490 (__ieee754_rem_pio2l): Update comments.
9492 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9493 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9495 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9498 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9499 (M_PI_34_LOG10El): Likewise.
9500 (M_PI2_LOG10El): Likewise.
9501 (M_PI4_LOG10El): Likewise.
9502 (M_PI_LOG10El): Likewise.
9504 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9508 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9510 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9511 (MINUS_ZERO_INIT): Likewise.
9512 (PLUS_INFTY_INIT): Likewise.
9513 (MINUS_INFTY_INIT): Likewise.
9514 (QNAN_VALUE_INIT): Likewise.
9515 (MAX_VALUE_INIT): Likewise.
9516 (MIN_VALUE_INIT): Likewise.
9517 (MIN_SUBNORM_VALUE_INIT): Likewise.
9518 (plus_zero): Initialize with PLUS_ZERO_INIT.
9519 (minus_zero): Initialize with MINUS_ZERO_INIT.
9520 (plus_infty): Initialize with PLUS_INFTY_INIT.
9521 (minus_infty): Initialize with MINUS_INFTY_INIT.
9522 (qnan_value): Initialize with QNAN_VALUE_INIT.
9523 (max_value): Initialize with MAX_VALUE_INIT.
9524 (min_value): Initialize with MIN_VALUE_INIT.
9525 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9527 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9528 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9529 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9530 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9532 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9533 (RUN_TEST_2_f): Likewise.
9534 (RUN_TEST_ff_f): Likewise.
9535 (RUN_TEST_fi_f): Likewise.
9536 (RUN_TEST_fl_f): Likewise.
9537 (RUN_TEST_fff_f): Likewise.
9538 (RUN_TEST_c_f): Likewise.
9539 (RUN_TEST_f_f1): Likewise.
9540 (RUN_TEST_fF_f1): Likewise.
9541 (RUN_TEST_fI_f1): Likewise.
9542 (RUN_TEST_ffI_f1): Likewise.
9543 (RUN_TEST_c_c): Likewise.
9544 (RUN_TEST_cc_c): Likewise.
9545 (RUN_TEST_f_i): Likewise.
9546 (RUN_TEST_f_i_tg): Likewise.
9547 (RUN_TEST_ff_i_tg): Likewise.
9548 (RUN_TEST_f_b): Likewise.
9549 (RUN_TEST_f_b_tg): Likewise.
9550 (RUN_TEST_f_l): Likewise.
9551 (RUN_TEST_f_L): Likewise.
9552 (RUN_TEST_sincos): Likewise.
9553 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9554 whether to show exceptions. Do not include ");\n" in return
9556 (special_functions): Output call to RUN_TEST_sincos instead of
9557 check_float calls. Update calls to new_test.
9558 (parse_args): Output call to single RUN_TEST_* macro instead of
9559 check_* calls and other assignments. Update calls to new_test.
9565 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9566 input to result for tgamma overflow.
9567 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9568 (gamma_coeff): New variable.
9569 (NCOEFF): New macro.
9570 (gamma_positive): New function.
9571 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9572 underflow here. Use gamma_positive instead of exp (lgamma) for
9574 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9575 (gamma_coeff): New variable.
9576 (NCOEFF): New macro.
9577 (gammaf_positive): New function.
9578 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9579 underflow here. Use gamma_positive instead of exp (lgamma) for
9581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9582 (gamma_coeff): New variable.
9583 (NCOEFF): New macro.
9584 (gammal_positive): New function.
9585 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9586 underflow here. Use gamma_positive instead of exp (lgamma) for
9588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9589 (gamma_coeff): New variable.
9590 (NCOEFF): New macro.
9591 (gammal_positive): New function.
9592 (__ieee754_gammal_r): Handle positive infinity, overflow and
9593 underflow here. Handle NaN the same as positive infinity. Remove
9594 check x < 0xffffffff for negative integers. Use gamma_positive
9595 instead of exp (lgamma) for other arguments.
9596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9597 (gamma_coeff): New variable.
9598 (NCOEFF): New macro.
9599 (gammal_positive): New function.
9600 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9601 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9606 * sysdeps/generic/math_private.h (__gamma_productf): New
9608 (__gamma_product): Likewise.
9609 (__gamma_productl): Likewise.
9610 * math/Makefile (libm-calls): Add gamma_product.
9611 * math/libm-test.inc (tgamma_test): Add more tests.
9612 * sysdeps/i386/fpu/libm-test-ulps: Update.
9613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9615 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9617 * benchtests/bench-skeleton.c (main): Preheat CPU.
9619 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9621 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9623 2013-05-07 Roland McGrath <roland@hack.frob.com>
9625 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9626 and _dl_skip_args_internal.
9628 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9630 * manual/message.texi (Message Translation): Talk about users.
9631 Message to key mapping impacts design.
9633 2013-05-06 Roland McGrath <roland@hack.frob.com>
9635 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9637 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9639 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9640 * sysdeps/wordsize-64/glob64.c: ... here.
9642 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9643 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9646 * debug/getlogin_r_chk.c: Moved to ...
9647 * login/getlogin_r_chk.c: ... here.
9648 * debug/Makefile (routines): Move getlogin_r_chk to ...
9649 * login/Makefile (routines): ... here.
9650 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9651 * login/Versions (libc: GLIBC_2.4): ... here.
9653 * io/poll.c (__poll): Renamed from poll.
9654 Add libc_hidden_def.
9655 (poll): Define as weak alias.
9657 * debug/ptsname_r_chk.c: Moved to ...
9658 * login/ptsname_r_chk.c: ... here.
9659 * debug/Makefile (routines): Move ptsname_r_chk to ...
9660 * login/Makefile (routines): ... here.
9661 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9662 * login/Versions (libc: GLIBC_2.4): ... here.
9664 * posix/getlogin.c: Moved to ...
9665 * login/getlogin.c: ... here.
9666 * posix/getlogin_r.c: Moved to ...
9667 * login/getlogin_r.c: ... here.
9668 * posix/getlogin_r.c: Moved to ...
9669 * login/getlogin_r.c: ... here.
9670 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9671 * login/Makefile (routines): ... here.
9672 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9673 * login/Versions (libc: GLIBC_2.0): ... here.
9675 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9676 (setrlimit): Define as weak alias.
9678 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9679 Call __ names for open, ftruncate, and close.
9680 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9681 (truncate): Define as weak alias.
9683 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9685 * math/gen-libm-test.pl (parse_args): Initialize x before each
9686 test of frexp, modf and remquo.
9688 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9691 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9695 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9697 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9699 2013-05-06 Roland McGrath <roland@hack.frob.com>
9701 * elf/dl-writev.h: New file.
9702 * elf/dl-misc.c: Include it.
9703 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9704 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9706 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9708 * math/libm-test.inc (noXFails): Remove variable.
9709 (noXPasses): Likewise.
9710 (BUILD_COMPLEX_INT): Remove macro.
9711 (print_screen): Remove xfail argument.
9712 (print_screen_max_error): Likewise.
9713 (update_stats): Likewise.
9714 (print_max_error): Likewise. Update calls to other affected
9716 (print_complex_max_error): Likewise.
9717 (test_single_exception): Update calls to print_screen.
9718 (test_single_errno): Likewise.
9719 (check_float_internal): Remove xfail argument. Update calls to
9720 other affected functions.
9721 (check_float): Likewise.
9722 (check_complex): Likewise.
9723 (check_int): Likewise.
9724 (check_long): Likewise.
9725 (check_bool): Likewise.
9726 (check_longlong): Likewise.
9727 (main): Don't print noXFails and noXPasses.
9728 * math/gen-libm-test.pl (top level): Don't mention expected
9729 failure handling in comment.
9730 (new_test): Don't handle expected failures.
9731 (parse_args): Don't mention expected failure handling in comment.
9732 (generate_testfile): Don't handle expected failures.
9733 (parse_ulps): Likewise.
9734 (print_ulps_file): Likewise.
9735 (get_failure): Remove function.
9736 (output_test): Don't handle expected failures.
9737 * make/README.libm-test: Don't mention expected failure handling.
9739 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9740 (minus_zero): Likewise.
9741 (plus_infty): Likewise.
9742 (minus_infty): Likewise.
9743 (qnan_value): Likewise.
9744 (max_value): Likewise.
9745 (min_value): Likewise.
9746 (min_subnorm_value): Likewise.
9747 (initialize): Do not initialize those variables dynamically.
9749 2013-05-03 Roland McGrath <roland@hack.frob.com>
9751 * io/open.c (__open_2): Moved to ...
9752 * io/open_2.c: ... this new file.
9753 * io/open64.c (__open64_2): Moved to ...
9754 * io/open64_2.c: ... this new file.
9755 * io/openat.c (__openat_2): Moved to ...
9756 * io/openat_2.c: ... this new file.
9757 * io/openat64.c (__openat64_2): Moved to ...
9758 * io/openat64_2.c: ... this new file.
9759 * io/Makefile (routines): Add them.
9760 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9761 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9762 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9763 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9764 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9765 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9766 (__openat64): Add hidden_ver.
9767 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9768 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9770 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9771 Separately conditionalize setting of GLRO(dl_sysinfo) so
9772 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9773 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9775 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9777 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9778 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9780 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9781 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9782 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9783 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9784 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9786 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9788 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9791 * math/libm-test.inc (hypot_test): Do not use
9792 IGNORE_ZERO_INF_SIGN.
9794 2013-05-03 Andreas Jaeger <aj@suse.de>
9796 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9798 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9799 (PF_MAX): Adjust for VSOCK change.
9801 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9805 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9808 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9809 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9810 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9812 2013-05-02 David S. Miller <davem@davemloft.net>
9814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9816 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9818 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9820 2013-05-01 Roland McGrath <roland@hack.frob.com>
9822 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9824 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9827 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9828 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9829 Use __attribute__ ((__gnu_inline__)).
9830 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9831 Don't use __attribute__ ((__gnu_inline__)).
9833 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9836 * math/s_catan.c (__catan): Handle small real or imaginary part of
9837 input specially to avoid spurious underflow.
9838 * math/s_catanf.c (__catanf): Likewise.
9839 * math/s_catanh.c (__catanh): Likewise.
9840 * math/s_catanhf.c (__catanhf): Likewise.
9841 * math/s_catanhl.c (__catanhl): Likewise.
9842 * math/s_catanl.c (__catanl): Likewise.
9843 * math/libm-test.inc (catan_test): Add more tests.
9844 (catanh_test): Likewise.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9848 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9852 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9855 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9856 accurately for denominator in atan2.
9857 * math/s_catanf.c (__catanf): Likewise.
9858 * math/s_catanh.c (__catanh): Likewise.
9859 * math/s_catanhf.c (__catanhf): Likewise.
9860 * math/s_catanhl.c (__catanhl): Likewise.
9861 * math/s_catanl.c (__catanl): Likewise.
9862 * math/libm-test.inc (catan_test): Add more tests.
9863 (catanh_test): Likewise.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9867 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9869 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9871 * benchtests/Makefile (bench): Remove slow benchmarks.
9872 * benchtests/atan-inputs: Add slow benchmark inputs.
9873 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9874 (BENCH_FUNC): Accept variant offset.
9876 * benchtests/bench-skeleton.c (main): Run benchmark for each
9878 * benchtests/cos-inputs: Add slow benchmark inputs.
9879 * benchtests/exp-inputs: Likewise.
9880 * benchtests/pow-inputs: Likewise.
9881 * benchtests/sin-inputs: Likewise.
9882 * benchtests/slowatan-inputs: Remove.
9883 * benchtests/slowatan.c: Remove.
9884 * benchtests/slowcos-inputs: Remove.
9885 * benchtests/slowcos.c: Remove.
9886 * benchtests/slowexp-inputs: Remove.
9887 * benchtests/slowexp.c: Remove.
9888 * benchtests/slowpow-inputs: Remove.
9889 * benchtests/slowpow.c: Remove.
9890 * benchtests/slowsin-inputs: Remove.
9891 * benchtests/slowsin.c: Remove.
9892 * benchtests/slowtan-inputs: Remove.
9893 * benchtests/slowtan.c: Remove.
9894 * benchtests/tan-inputs: Add slow benchmark inputs.
9895 * scripts/bench.pl: Parse comments and directives.
9897 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9899 ($(objpfx)bench-%.c): Remove *-ITER.
9900 * benchtests/bench-modf.c: Remove definition of ITER.
9901 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9902 (main): Loop for DURATION seconds instead of fixed number of
9904 * scripts/bench.pl: Don't expect iterations in parameters.
9906 2013-04-29 Roland McGrath <roland@hack.frob.com>
9908 * io/fchdir.c (__fchdir): Renamed from fchdir.
9909 (fchdir): Define as weak alias.
9911 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9913 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9914 (ERRNO_EDOM): Likewise.
9915 (ERRNO_ERANGE): Likewise.
9916 (noErrnoTests): New variable.
9917 (init_max_error): Set errno to 0.
9918 (test_single_errno): New function.
9919 (test_errno): Likewise.
9920 (check_float_internal): Call test_errno. Set errno to 0.
9921 (check_complex): Refer to errno tests in comment.
9922 (check_int): Call test_errno. Set errno to 0.
9923 (check_long): Likewise.
9924 (check_bool): Likewise.
9925 (check_longlong): Likewise.
9926 (cos_test): Use ERRNO_* flags for errno tests instead of
9928 (expm1_test): Likewise.
9929 (fmod_test): Likewise.
9930 (ilogb_test): Likewise.
9931 (lgamma_test): Likewise.
9932 (pow_test): Likewise.
9933 (remainder_test): Likewise.
9934 (sin_test): Likewise.
9935 (tan_test): Likewise.
9936 (yn_test): Likewise.
9937 (initialize): Set errno to 0.
9938 (main): Print number of errno tests.
9939 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9941 2013-04-29 Andreas Jaeger <aj@suse.de>
9944 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9948 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9949 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9953 * stdlib/random.c (__initstate): Return NULL if
9957 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9958 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9961 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9965 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9967 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9968 of individual tests.
9969 (casin_test): Likewise.
9970 (casinh_test): Likewise.
9972 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9975 * math/s_catan.c (__catan): Handle arguments with large real or
9976 imaginary part separately without squaring.
9977 * math/s_catanf.c (__catanf): Likewise.
9978 * math/s_catanh.c (__catanh): Likewise.
9979 * math/s_catanhf.c (__catanhf): Likewise.
9980 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9982 (__catanhl): Handle arguments with large real or imaginary part
9983 separately without squaring.
9984 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9986 (__catanl): Handle arguments with large real or imaginary part
9987 separately without squaring.
9988 * math/libm-test.inc (catan_test): Add more tests.
9989 (catanh_test): Likewise.
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9993 2013-04-27 Andreas Jaeger <aj@suse.de>
9996 * stdlib/stdlib.h: Update guards for qecvt.
9997 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10000 2013-04-27 Allan McRae <allan@archlinux.org>
10002 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10007 * math/s_catan.c: Include <float.h>.
10008 (__catan): Ensure underflow exception occurs for underflowed
10010 * math/s_catanf.c: Include <float.h>.
10011 (__catanf): Ensure underflow exception occurs for underflowed
10013 * math/s_catanh.c: Include <float.h>.
10014 (__catanh): Ensure underflow exception occurs for underflowed
10016 * math/s_catanhf.c: Include <float.h>.
10017 (__catanhf): Ensure underflow exception occurs for underflowed
10019 * math/s_catanhl.c: Include <float.h>.
10020 (__catanhl): Ensure underflow exception occurs for underflowed
10022 * math/s_catanl.c: Include <float.h>.
10023 (__catanl): Ensure underflow exception occurs for underflowed
10025 * math/libm-test.inc (catan_test): Add more tests.
10026 (catanh_test): Likewise.
10029 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10030 underflowed result.
10031 * math/s_ccoshf.c (__ccoshf): Likewise.
10032 * math/s_ccoshl.c (__ccoshl): Likewise.
10033 * math/s_csin.c (__csin): Likewise.
10034 * math/s_csinf.c (__csinf): Likewise.
10035 * math/s_csinh.c (__csinh): Likewise.
10036 * math/s_csinhf.c (__csinhf): Likewise.
10037 * math/s_csinhl.c (__csinhl): Likewise.
10038 * math/s_csinl.c (__csinl): Likewise.
10039 * math/libm-test.inc (ccos_test): Add more tests.
10040 (ccosh_test): Likewise.
10041 (csin_test): Likewise.
10042 (csinh_test): Likewise.
10044 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10046 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10047 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10048 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10049 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10050 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10051 powerpc/power5+/fpu folders.
10052 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10055 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10059 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10061 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10062 additions to variable.
10063 [$(config-machine) = x86_64] (modules-names): Likewise.
10064 ($(objpfx)tst-audit3): Remove dependency.
10065 ($(objpfx)tst-audit3.out): Likewise.
10066 ($(objpfx)tst-audit4): Likewise.
10067 ($(objpfx)tst-audit4.out): Likewise.
10068 ($(objpfx)tst-audit5): Likewise.
10069 ($(objpfx)tst-audit5.out): Likewise.
10070 ($(objpfx)tst-audit6): Likewise.
10071 ($(objpfx)tst-audit6.out): Likewise.
10072 ($(objpfx)tst-audit7): Likewise.
10073 ($(objpfx)tst-audit7.out): Likewise.
10074 (tst-audit3-ENV): Remove variable.
10075 (tst-audit4-ENV): Likewise.
10076 (tst-audit5-ENV): Likewise.
10077 (tst-audit6-ENV): Likewise.
10078 (tst-audit7-ENV): Likewise.
10079 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10080 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10081 addition to variable.
10082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10085 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10087 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10088 tst-audit3, tst-audit4 and tst-audit5.
10089 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10090 tst-audit6 and tst-audit7.
10091 [$(subdir) = elf] (modules-names): Add audit modules for those
10093 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10094 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10095 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10096 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10097 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10098 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10099 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10100 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10101 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10102 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10103 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10104 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10105 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10106 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10107 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10108 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10110 [$(subdir) = elf && $(config-cflags-avx) = yes]
10111 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10112 [$(subdir) = elf && $(config-cflags-avx) = yes]
10113 (CFLAGS-tst-auditmod4a.c): Likewise.
10114 [$(subdir) = elf && $(config-cflags-avx) = yes]
10115 (CFLAGS-tst-auditmod4b.c): Likewise.
10116 [$(subdir) = elf && $(config-cflags-avx) = yes]
10117 (CFLAGS-tst-auditmod6b.c): Likewise.
10118 [$(subdir) = elf && $(config-cflags-avx) = yes]
10119 (CFLAGS-tst-auditmod6c.c): Likewise.
10120 [$(subdir) = elf && $(config-cflags-avx) = yes]
10121 (CFLAGS-tst-auditmod7b.c): Likewise.
10122 * elf/tst-audit3.c: Move to ...
10123 * sysdeps/x86_64/tst-audit3.c: ... here.
10124 * elf/tst-audit4.c: Move to ...
10125 * sysdeps/x86_64/tst-audit4.c: ... here.
10126 * elf/tst-audit5.c: Move to ...
10127 * sysdeps/x86_64/tst-audit5.c: ... here.
10128 * elf/tst-audit6.c: Move to ...
10129 * sysdeps/x86_64/tst-audit6.c: ... here.
10130 * elf/tst-audit7.c: Move to ...
10131 * sysdeps/x86_64/tst-audit7.c: ... here.
10132 * elf/tst-auditmod3a.c: Move to ...
10133 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10134 * elf/tst-auditmod3b.c: Move to ...
10135 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10136 * elf/tst-auditmod4a.c: Move to ...
10137 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10138 * elf/tst-auditmod4b.c: Move to ...
10139 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10140 * elf/tst-auditmod5a.c: Move to ...
10141 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10142 * elf/tst-auditmod5b.c: Move to ...
10143 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10144 * elf/tst-auditmod6a.c: Move to ...
10145 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10146 * elf/tst-auditmod6b.c: Move to ...
10147 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10148 * elf/tst-auditmod6c.c: Move to ...
10149 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10150 * elf/tst-auditmod7a.c: Move to ...
10151 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10152 * elf/tst-auditmod7b.c: Move to ...
10153 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10155 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10158 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10159 define unconditionally.
10160 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10161 define unconditionally.
10162 (INT8_C, INT16_C, etc.): Likewise.
10164 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10166 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10167 __ehdr_start with hidden visibility.
10169 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10171 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10173 * math/libm-test.inc (cos_test): Use accurate hex constants.
10174 (sincost_test): Likewise.
10176 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10178 * math/libm-test.inc (catan_test): Add more tests.
10179 (catanh_test): Likewise.
10181 * math/s_catanf.c (__catanf): Use suffixed floating-point
10183 * math/s_catanhf.c (__catanhf): Likewise.
10184 * math/s_catanhl.c (__catanhl): Likewise.
10185 * math/s_catanl.c (__catanl): Likewise.
10188 * math/s_catan.c (__catan): Calculate imaginary part of result
10189 with log1p not log unless computing log of number close to 0.
10190 * math/s_catanf.c (__catanf): Likewise.
10191 * math/s_catanl.c (__catanl): Likewise.
10192 * math/s_catanh.c (__catanh): Calculate real part of result with
10193 log1p not log unless computing log of number close to 0.
10194 * math/s_catanhf.c (__catanhf): Likewise.
10195 * math/s_catanhl.c (__catanhl): Likewise.
10196 * math/libm-test.inc (catan_test): Add more tests.
10197 (catanh_test): Likewise.
10198 * sysdeps/i386/fpu/libm-test-ulps: Update.
10199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10203 * benchtests/Makefile: Mention files in which fast and slow
10204 paths of math functions are implemented.
10206 2013-04-23 Roland McGrath <roland@hack.frob.com>
10208 * sysdeps/posix/timespec_get.c: New file.
10210 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10214 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10216 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10217 powerpc/power5/fpu folders.
10218 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10219 * benchtests/Makefile: Add modf testcase.
10220 * benchtests/bench-modf.c: New file: Benchmark test for mo
10222 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10225 * time/Makefile (tests): Add tst-strptime-whitespace.
10226 * time/strptime_l.c (get_number): Use ISSPACE.
10227 (__strptime_internal): Likewise.
10228 * time/tst-strptime-whitespace.c: New test case.
10230 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10232 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10234 (_nss_files_init): Set it here.
10236 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10238 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10239 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10242 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10244 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10246 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10251 2013-04-21 David S. Miller <davem@davemloft.net>
10253 * po/ru.po: Update Russion translation from translation project.
10255 2013-04-17 Adam Conrad <adconrad@0c3.net>
10257 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10260 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10262 * configure.in: Remove i386 configure warning. Remove i386 case.
10263 * configure: Regenerate.
10264 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10265 Add example to error message.
10266 * sysdeps/i386/configure: Regenerate.
10268 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10270 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10272 * benchtests/cos-inputs: New file.
10273 * benchtests/slowcos-inputs: New file.
10274 * benchtests/slowcos.c: New file.
10275 * benchtests/slowtan-inputs: New file.
10276 * benchtests/slowtan.c: New file.
10277 * benchtests/tan-inputs: New file.
10279 2013-04-16 Roland McGrath <roland@hack.frob.com>
10281 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10284 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10286 * benchtests/Makefile: Include cppflags-iterator.mk to add
10287 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10289 * Makefile.in (bench-clean): New target.
10290 * benchtests/Makefile (bench-clean): Likewise.
10292 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10294 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10296 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10298 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10300 2013-04-15 Andreas Schwab <schwab@suse.de>
10302 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10304 * nscd/pwdcache.c (cache_addpw): Likewise.
10305 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10308 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10310 * benchtests/Makefile (bench): Write all output to
10311 bench-out.tmp together.
10313 2013-04-15 Andreas Schwab <schwab@suse.de>
10315 * nscd/nscd.c (main): Don't fork again after closing files.
10317 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10319 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10321 * benchtests/Rules (bench-deps): Collect dependencies into a
10322 single variable. Add Makefile to dependencies.
10323 ($(objpfx)bench-%.c): Depend on bench-deps.
10325 2013-04-12 Roland McGrath <roland@hack.frob.com>
10326 Xavier Roche <roche+kml2@exalead.com>
10329 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10330 just that it's a file descriptor.
10331 * manual/llio.texi (Synchronizing AIO Operations): Update description
10332 for EBADF error from aio_fsync.
10334 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10336 * Rules (bench): Move target definition...
10337 * benchtests/Makefile: ... here.
10339 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10341 * math/libm-test.inc (cos_test): Fix PI/2 test.
10342 (sincos_test): Likewise.
10343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10344 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10346 2013-04-11 Andreas Schwab <schwab@suse.de>
10349 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10350 accept exponent character only when digits were seen.
10351 * stdio-common/Makefile (tests): Add bug26.
10352 * stdio-common/bug26.c: New file.
10355 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10358 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10360 * Makeconfig (rtld-prefix): Define built linker prefix.
10361 * Rules (run-bench): Use it.
10362 * math/Makefile (run-regen-ulps): Likewise.
10364 * Rules (bench): Remove eval.
10366 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10367 Roland McGrath <roland@hack.frob.com>
10368 Ondrej Bilka <neleai@seznam.cz>
10371 * time/getdate.c: Include ctype.h and alloca.h.
10372 (__getdate_r): Trim leading and trailing spaces of input.
10373 * time/tst-getdate.c (tests): Add tests with leading and
10376 2013-04-08 Roland McGrath <roland@hack.frob.com>
10379 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10380 when computing value.
10382 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10384 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10385 Use testrun.sh to run libm tests.
10388 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10390 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10393 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10395 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10397 * Makefile.in (regen-ulps): New target.
10398 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10399 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10400 [ifneq (no,$(PERL)] (regen-ulps): New target.
10401 [ifeq (no,$(PERL)] (regen-ulps): New target.
10402 * math/libm-test.inc (ulps_file_name): Define.
10403 (output_dir): New variable.
10404 (options): Add "output-dir" option.
10405 (parse_opt): Handle 'o' case.
10406 (main): If output_dir is non-NULL use it as a prefix
10408 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10410 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10412 [BZ #10060, #10062]
10413 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10414 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10415 fail configure if __sync_val_compare_and_swap is not inlined.
10416 * sysdeps/i386/configure: Regenerate.
10417 * configure.in: Build for i686 when configured for i386.
10418 * configure: Regenerate.
10419 * README: Remove i386 reference.
10421 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10423 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10426 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10428 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10429 (lmsnanval): New variables.
10430 (F): Add conversion tests.
10431 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10432 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10434 * stdio-common/tstdiomisc.c (F): Properly collect individual
10437 [BZ #14686, #15336]
10438 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10439 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10440 Instead, use input NaN values or generate a qNaN by arithmetic
10441 operation. Also fix bugs to comply with the standard.
10442 * math/libm-test.inc (remainder_test): Add more tests.
10444 [BZ #15335, #15342]
10445 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10447 input NaN values or generate a qNaN by arithmetic operation.
10449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10452 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10455 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10458 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10459 underflowed result.
10460 * math/s_cexpf.c (__cexpf): Likewise.
10461 * math/s_cexpl.c (__cexpl): Likewise.
10462 * math/libm-test.inc (cexp_test): Add more tests.
10464 2013-04-03 Andreas Schwab <schwab@suse.de>
10467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10468 order arrays from heap if bigger than alloca cutoff.
10470 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10472 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10473 (SNAN_TESTS_double): Refer to GCC PR56831.
10474 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10477 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10479 * Rules (bench): Move bench.out after the run is complete.
10481 * Rules (bench): Echo currently running benchmark.
10483 * benchtests/Makefile (bench): Add atan and slowatan.
10484 * benchtests/atan-inputs: New file.
10485 * benchtests/slowatan-inputs: New file.
10486 * benchtests/slowatan.c: New file.
10488 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10493 * sysdeps/unix/sysv/linux/kernel-features.h
10494 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10495 __ASSUME_XFS_RESTRICTED_CHOWN.
10496 * sysdeps/unix/sysv/linux/pathconf.c
10497 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10498 Save and restore errno.
10500 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10503 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10504 arguments using __kernel_casinh.
10505 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10506 arguments using __kernel_casinhf.
10507 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10508 arguments using __kernel_casinhl.
10509 * math/libm-test.inc (cacosh_test): Add more tests.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10513 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10515 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10518 * bench/Makefile (bench): Add sin and slowsin.
10519 * benchtests/sin-inputs: New file.
10520 * benchtests/slowsin-inputs: New file.
10521 * benchtests/slowsin.c: New file.
10523 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10524 (bench): Add slowexp and slowpow.
10525 (exp-ITER): Increase iterations.
10526 (pow-ITER): Likewise.
10527 * benchtests/exp-inputs: Change input.
10528 * benchtests/pow-inputs: Likewise.
10529 * benchtests/slowexp-inputs: New file.
10530 * benchtests/slowexp.c: New file.
10531 * benchtests/slowpow-inputs: New file.
10532 * benchtests/slowpow.c: New file.
10534 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10536 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10538 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10539 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10540 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10541 * benchtests/Makefile: Add rint benchtest.
10542 * benchtests/rint-inputs: Input for rint benchtest.
10544 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10546 * Versions.def (libm): Add GLIBC_2.18.
10547 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10548 hidden libm prototypes.
10549 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10550 * math/Makefile (libm-calls): Add s_issignaling.
10551 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10552 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10553 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10555 * math/math.h [__USE_GNU] (issignaling): New macro.
10556 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10557 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10559 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10562 * manual/arith.texi (issignaling): New section.
10563 * manual/libm-err-tab.pl (@all_functions): Update comment.
10564 * math/gen-libm-test.pl (parse_args): Apply special handling for
10566 * math/libm-test.inc (print_float, issignaling_test): New
10568 (check_float_internal): Add issignaling checks.
10569 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10570 default definition.
10571 * sysdeps/powerpc/math-tests.h: New file.
10572 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10574 * math/test-snan.c (TEST_FUNC): Likewise.
10576 2013-03-30 David S. Miller <davem@davemloft.net>
10578 * po/de.po: Update from translation team.
10580 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10583 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10584 imaginary part less than 1.0 and real part less than 0.5
10586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10589 (cacos_test): Add more tests.
10590 (casin_test): Likewise.
10591 (casinh_test): Likewise.
10592 * sysdeps/i386/fpu/libm-test-ulps: Update.
10593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10595 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10597 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10598 ONE with its value.
10600 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10601 (__pow_mp): Replace ONE and MONE with their values.
10602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10604 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10605 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10606 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10609 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10611 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10612 (__pow_mp): Replace ZERO and MZERO with their values.
10613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10615 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10617 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10618 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10621 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10623 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10625 2013-03-28 Roland McGrath <roland@hack.frob.com>
10627 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10628 Declare with __attribute__ ((weak)).
10629 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10630 Call __call_tls_dtors only if it's not NULL.
10632 2013-03-28 Roland McGrath <roland@hack.frob.com>
10634 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10635 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10636 magic __ehdr_start linker symbol if it's defined.
10637 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10638 them up here if it was already done.
10640 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10641 (_dl_aux_init): Use const in cast when setting it.
10642 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10643 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10644 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10646 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10648 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10649 * csu/libc-tls.c: Nor here.
10650 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10652 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10653 (__libc_message): Never call vsyslog.
10655 2013-03-28 Alan Modra <amodra@gmail.com>
10657 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10659 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10662 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10669 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10672 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10673 Don't add gid passed as argument.
10675 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10677 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10680 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10681 imaginary part between 1.0 and 1.5 and real part less than 0.5
10683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10685 * math/libm-test.inc (cacos_test): Add more tests.
10686 (casin_test): Likewise.
10687 (casinh_test): Likewise.
10688 * sysdeps/i386/fpu/libm-test-ulps: Update.
10689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10693 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10696 (denorm): Likewise.
10697 (__dbl_mp): Likewise.
10698 (add_magnitudes): Likewise.
10699 (sub_magnitudes): Likewise.
10707 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10709 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10710 (__dubcos): Likewise.
10711 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10712 (__ieee754_acos): Likewise.
10713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10714 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10715 (__exp1): Likewise.
10716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10719 (my_log2): Likewise.
10720 (checkint): Likewise.
10721 * sysdeps/ieee754/dbl-64/e_remainder.c
10722 (__ieee754_remainder): Likewise.
10723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10725 (bsloww): Likewise.
10726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10728 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10729 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10730 MANTISSA_STORE_T to store computations on mantissa. Use
10731 macros for rounding and division.
10732 (denorm): Likewise.
10733 (__dbl_mp): Likewise.
10734 (add_magnitudes): Likewise.
10735 (sub_magnitudes): Likewise.
10738 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10739 powers of two in terms of TWOPOW macro.
10740 (mp_no): Make type of mantissa as MANTISSA_T.
10741 [!RADIXI]: Define RADIXI.
10742 [!TWO52]: Define TWO52.
10743 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10745 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10747 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10748 llroundl symbol when building for PPC32.
10750 2013-03-24 Mark H Weaver <mhw@netris.org>
10752 * manual/arith.texi (Normalization Functions): Fix prototypes for
10753 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10755 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10759 high value to check if expl overflow.
10760 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10761 to check for underflow and overflow.
10762 * math/libm-test.inc: Add exp test.
10764 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10767 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10770 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10772 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10775 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10777 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10778 wrap blocks consisting of several statements.
10780 * sysdeps/generic/math-tests.h: New file.
10781 * sysdeps/i386/fpu/math-tests.h: Likewise.
10782 * math/test-snan.c: Include it.
10783 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10785 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10789 (__ieee754_j0l): Do not improve calculations using cos of twice
10790 input for inputs above LDBL_MAX / 2.0L.
10791 (__ieee754_y0l): Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10793 (__ieee754_j1l): Do not improve calculations using cos of twice
10794 input for inputs above LDBL_MAX / 2.0L.
10795 (__ieee754_y1l): Likewise.
10796 * math/libm-test.inc (j0_test): Add another test.
10797 (j1_test): Likewise.
10798 (y0_test): Likewise.
10799 (y1_test): Likewise.
10800 * sysdeps/i386/fpu/libm-test-ulps: Update.
10802 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10804 * Rules ($(objpfx)bench-%.c): Include code from a C source
10807 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10811 imaginary part 1.0 and real part less than 0.5 specially.
10812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10814 * math/libm-test.inc (cacos_test): Add more tests.
10815 (casin_test): Likewise.
10816 (casinh_test): Likewise.
10817 * sysdeps/i386/fpu/libm-test-ulps: Update.
10818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10820 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10822 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10823 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10825 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10827 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10828 * config.make.in (config-cflags-sse4): Remove variable.
10829 (config-cflags-avx): Likewise.
10830 (config-cflags-sse2avx): Likewise.
10831 (config-cflags-novzeroupper): Likewise.
10832 (config-asflags-i686): Likewise.
10833 (have-mfma4): Likewise.
10834 (have-as-vis3): Likewise.
10836 * configure.in (MIG): Do not AC_SUBST.
10837 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10838 (libc_cv_cc_sse4): Do not AC_SUBST.
10839 (libc_cv_cc_avx): Likewise.
10840 (libc_cv_cc_sse2avx): Likewise.
10841 (libc_cv_cc_novzeroupper): Likewise.
10842 (libc_cv_cc_fma4): Likewise.
10843 (libc_cv_as_i686): Likewise.
10844 (libc_cv_sparc_as_vis3): Likewise.
10845 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10847 (config-asflags-i686): Likewise.
10848 (config-cflags-avx): Likewise.
10849 (config-cflags-sse2avx): Likewise.
10850 (have-mfma4): Likewise.
10851 (config-cflags-novzeroupper): Likewise.
10852 * sysdeps/mach/configure.in (MIG): Likewise.
10853 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10854 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10856 (config-cflags-avx): Likewise.
10857 (config-cflags-sse2avx): Likewise.
10858 (have-mfma4): Likewise.
10859 (config-cflags-novzeroupper): Likewise.
10860 * configure: Regenerated.
10861 * sysdeps/i386/configure: Likewise.
10862 * sysdeps/mach/configure: Likewise.
10863 * sysdeps/sparc/configure: Likewise.
10864 * sysdeps/x86_64/configure: Likewise.
10866 2013-03-20 Roland McGrath <roland@hack.frob.com>
10869 * locale/programs/localedef.c (options): Put N_ translation marker
10870 on argument names, not just descriptions.
10872 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10874 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10876 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10879 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10881 2013-03-19 Roland McGrath <roland@hack.frob.com>
10883 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10884 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10885 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10886 [!BEFORE_ABORT] (before_abort): New function.
10887 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10888 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10889 (writev_for_fatal): New function.
10890 (WRITEV_FOR_FATAL): New macro; call that.
10891 (backtrace_and_maps): New function.
10892 (BEFORE_ABORT): New macro; call that.
10893 (struct str_list): Type removed.
10894 (__libc_message, __libc_fatal): Functions removed.
10895 Include <sysdeps/posix/libc_fatal.c> instead.
10897 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10899 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10901 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10904 2013-03-19 Andreas Schwab <schwab@suse.de>
10906 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10907 * sysdeps/gnu/configure: Regenerate.
10909 * configure.in: Substitute libc_cv_rtlddir.
10910 * configure: Regenerate.
10911 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10912 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10913 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10914 * elf/Makefile (install-others, CFLAGS-interp.c)
10915 (ldso_install, common-ldd-rewrite): Likewise.
10916 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10917 $(inst_slibdir)/$(rtld-installed-name).
10918 * scripts/rellns-sh: Add -p option.
10919 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10922 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10924 * manual/nptl.texi: Renamed to ...
10925 * manual/threads.texi: ... this.
10926 * manual/Makefile (chapters): Update.
10928 2013-03-18 Roland McGrath <roland@hack.frob.com>
10931 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10932 on argument names, not just descriptions.
10933 * malloc/memusagestat.c (options): Likewise.
10934 * nss/getent.c (options): Likewise.
10936 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10939 * iconv/iconv_prog.c (options): Put N_ translation marker
10940 on argument names, not just descriptions.
10941 * iconv/iconvconfig.c (options): Likewise.
10943 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10945 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10946 implementation which is faster on all x86_64 architectures.
10947 Tested on AMD, Intel Nehalem, SNB, IVB.
10948 * sysdeps/x86_64/strnlen.S: Likewise.
10950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10951 Remove all multiarch strlen and strnlen versions.
10952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10953 Remove strlen and strnlen related parts.
10955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10956 Inline strlen part.
10957 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10959 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10961 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10962 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10964 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10966 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10968 * manual/memory.texi (Malloc Tunable Parameters):
10969 Sort parameters alphabetically. Add comments for missing entries.
10971 2013-03-17 David S. Miller <davem@davemloft.net>
10973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10975 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10979 for arguments at most half maximum finite value.
10980 * math/libm-test.inc (j0_test): Add more tests.
10981 (j1_test): Likewise.
10982 (y0_test): Likewise.
10983 (y1_test): Likewise.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10989 1 / x and functions P and Q for arguments above 0x1p256L.
10990 (__ieee754_y0l): Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10992 (__ieee754_y1l): Likewise.
10993 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10994 (j1_test): Likewise.
10995 (y0_test): Likewise.
10996 (y1_test): Likewise.
10998 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11000 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11003 2013-03-15 Roland McGrath <roland@hack.frob.com>
11005 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11006 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11007 zero since it's initialized to EXEC_PAGESIZE.
11009 * sysdeps/unix/sysv/linux/ldsodefs.h
11010 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11011 * sysdeps/generic/ldsodefs.h: ... here.
11013 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11015 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11017 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11019 * math/test-snan.c: Renamed from
11020 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11021 * math/Makefile (tests): Add test-snan.
11022 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11025 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11026 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11028 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11029 __builtin_nan family of functions.
11030 * math/libm-test.inc (initialize): Initialize qnan_value with
11031 __builtin_nan family of functions.
11032 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11034 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11036 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11037 storage class. Initialize qNaN_var and sNaN_var with
11038 __builtin_nan and __builtin_nans families of functions,
11041 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11042 (sqrt_test): Remove duplicate test with qNaN input.
11043 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11044 (round_test, signbit_test, significand_test): Note missing +/-Inf
11045 as well as qNaN tests.
11047 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11048 qNaN_var. Fix a few strings, too.
11049 * math/libm-test.inc (nan_value): Rename to qnan_value.
11050 * math/gen-libm-test.pl (%beautify): Adjust to that.
11051 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11052 * math/test-misc.c (main): Likewise.
11053 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11054 to __qnan_bytes, and __qnan_union, respectively.
11055 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11057 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11058 and lqnanval, respectively.
11059 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11060 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11062 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11064 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11065 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11068 * math/test-misc.c (main): Fix copy'n'pastos.
11069 * misc/tst-efgcvt.c (special): Likewise.
11071 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11072 Remove declarations.
11074 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11076 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11077 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11078 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11079 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11081 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11084 macro to return vdso values correctly in IFUNC implementations.
11085 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11086 Optimization by using IFUNC.
11088 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11089 Richard Henderson <rth@redhat.com>
11090 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11092 * Makefile.in (bench): New target.
11093 * NEWS: Mention the benchmark framework.
11094 * Rules (bench): Likewise.
11095 (binaries-bench): Generate binaries for functions to
11097 * benchtests/Makefile: New makefile for benchmark tests.
11098 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11100 * benchtests/exp-inputs: New input file for EXP function.
11101 * benchtests/pow-inputs: New input file for POW function.
11102 * scripts/bench.pl: New script to generate source files for
11103 benchmark programs.
11105 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11109 computations on mantissa. Use macros for rounding and
11111 (denorm): Likewise.
11112 (__dbl_mp): Likewise.
11113 (add_magnitudes): Likewise.
11114 (sub_magnitudes): Likewise.
11117 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11118 powers of two in terms of TWOPOW macro.
11119 (mp_no): Make type of mantissa as MANTISSA_T.
11120 [!RADIXI]: Define RADIXI.
11121 [!TWO52]: Define TWO52.
11122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11124 * manual/nptl.texi (cindex): Modify threads to pthreads.
11126 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11128 * sysdeps/x86_64/preconfigure: Regenerated.
11130 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11133 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11135 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11136 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11138 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11139 * math/libm-test.inc (j0_test): Do not allow one spurious
11140 underflow exception.
11141 (y1_test): Likewise.
11143 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11145 * manual/Makefile (chapters): Add nptl.
11146 * manual/debug.texi (Debugging Support): Add link to Threads
11148 * manual/nptl.texi: New file.
11150 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11152 2013-03-14 Petr Baudis <pasky@ucw.cz>
11154 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11155 for non-NULL pointer before the memory validity test. Pointed
11156 out by Holger Brunck <holger.brunck@keymile.com>.
11158 2013-03-13 Andreas Schwab <schwab@suse.de>
11160 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11163 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11165 * timezone/zic.c: Update from tzcode 2013b.
11167 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11169 * manual/install.texi (Configuring and compiling):
11170 Mention i686 and i586.
11171 * INSTALL: Regenerate.
11173 2013-03-12 Roland McGrath <roland@hack.frob.com>
11175 * sysdeps/init_array/elf-init.c: New file.
11177 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11178 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11180 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11181 __gmon_start__ as global, but as static with a .preinit_array pointer.
11182 * sysdeps/init_array/gmon-start.c: New file. Use that.
11183 * sysdeps/init_array/crti.S: New file, empty except for comments.
11184 * sysdeps/init_array/crtn.S: Likewise.
11186 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11188 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11191 Remove Prefer_SSE_for_memop.
11192 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11193 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11194 HAS_PREFER_SSE_FOR_MEMOP.
11195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11198 Remove bzero, memset ifunc support.
11199 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11200 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11201 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11202 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11204 2013-03-11 Andreas Schwab <schwab@suse.de>
11207 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11210 (GLIBC_2.16): Remove pthread_atfork.
11212 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11214 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11215 (ptestcases.h): Likewise.
11217 2013-03-08 Roland McGrath <roland@hack.frob.com>
11219 * Makeconfig ($(common-objpfx)config.status): Depend on
11220 sysdeps/*/preconfigure{,.in} too.
11222 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11224 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11225 (__free_hook): Use void * instead of __malloc_ptr_t.
11226 (__malloc_hook): Likewise.
11227 (__realloc_hook): Likewise.
11228 (__memalign_hook): Likewise.
11229 (__after_morecore_hook): Likewise.
11230 * malloc/arena.c (save_malloc_hook): Likewise.
11231 (save_free_hook): Likewise.
11232 * malloc/hooks.c (malloc_hook_ini): Likewise.
11233 (realloc_hook_ini): Likewise.
11234 (memalign_hook_ini): Likewise.
11235 * malloc/malloc.c (malloc_hook_ini): Likewise.
11236 (realloc_hook_ini): Likewise.
11237 (memalign_hook_ini): Likewise.
11238 (__free_hook): Likewise.
11239 (__malloc_hook): Likewise.
11240 (__realloc_hook): Likewise.
11241 (__memalign_hook): Likewise.
11242 (__libc_malloc): Likewise.
11243 (__libc_free): Likewise.
11244 (__libc_realloc): Likewise.
11245 (__libc_memalign): Likewise.
11246 (__libc_valloc): Likewise.
11247 (__libc_pvalloc): Likewise.
11248 (__libc_calloc): Likewise.
11249 (__posix_memalign): Likewise.
11250 * malloc/morecore.c (__sbrk): Likewise.
11251 (__default_morecore): Likewise.
11253 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11255 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11256 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11257 __malloc_ptrdiff_t.
11259 * malloc/malloc.h (__malloc_size_t): Remove macro.
11260 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11262 (old_memalign_hook): Likewise.
11263 (old_realloc_hook): Likewise.
11264 (struct hdr): Likewise.
11266 (mallochook): Likewise.
11267 (memalignhook): Likewise.
11268 (reallochook): Likewise.
11269 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11270 (tr_old_realloc_hook): Likewise.
11271 (tr_old_memalign_hook): Likewise.
11272 (tr_mallochook): Likewise.
11273 (tr_reallochook): Likewise.
11274 (tr_memalignhook): Likewise.
11276 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11279 default_ldbl_pack and using as default implementation.
11280 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11282 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11283 redundant definition.
11284 (ldbl_insert_mantissa): Likewise.
11285 (ldbl_canonicalize): Likewise.
11286 (ldbl_nearbyint): Likewise.
11287 (ldbl_pack): Rename to ldbl_pack_ppc.
11288 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11289 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11290 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11292 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11295 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11296 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11297 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11300 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11301 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11303 2013-03-07 Andreas Jaeger <aj@suse.de>
11305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11308 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11310 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11311 Include mpa.h and declare __MPEXP.
11312 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11314 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11317 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11318 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11320 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11321 (__slowpow): Use long double EXPL and LOGL functions to
11323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11324 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11325 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11327 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11328 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11331 intermediate variable to calculate exponent.
11333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11337 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11338 [!NO__SQR]: Define __sqr.
11339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11340 and NO__SQR. Remove all code except __mul and __sqr. Include
11341 sysdeps/ieee754/dbl-64/mpa.c.
11342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11345 * posix/Makefile (tests): Add tst-pathconf.
11346 * posix/tst-pathconf.c: New test case.
11347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11349 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11351 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11353 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11355 2013-03-06 Andreas Jaeger <aj@suse.de>
11357 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11358 definition via __MAP_ANONYMOUS.
11360 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11361 it's not part of Linux headers.
11363 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11364 (MAP_HUGE_MASK): Define.
11366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11371 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11372 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11374 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11375 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11379 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11380 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11381 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11382 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11383 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11390 Handle f2fs and efivarfs.
11392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11395 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11396 (EFIVARFS_MAGIC): Add.
11397 (F2FS_LINK_MAX): Add.
11399 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11401 * stdio-common/vfprintf.c: Replace __builtin_expect with
11404 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11407 * sysdeps/generic/bp-sym.h: Remove file.
11408 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11409 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11410 <bp-sym.h> and <bp-asm.h>.
11411 (__longjmp): Don't use BP_SYM.
11412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11414 (memcpy): Don't use BP_SYM.
11415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11416 <bp-sym.h> and <bp-asm.h>.
11417 (memcpy): Don't use BP_SYM.
11418 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11420 (memcpy): Don't use BP_SYM.
11421 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11423 (memset): Don't use BP_SYM.
11424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11426 (__bzero): Don't use BP_SYM.
11427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11430 <bp-sym.h> and <bp-asm.h>.
11431 (memcmp): Don't use BP_SYM. Remove comment about bounded
11433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11434 <bp-sym.h> and <bp-asm.h>.
11435 (memcpy): Don't use BP_SYM.
11436 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11437 <bp-sym.h> and <bp-asm.h>.
11438 (memset): Don't use BP_SYM.
11439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11441 (__bzero): Don't use BP_SYM.
11442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11445 <bp-sym.h> and <bp-asm.h>.
11446 (strncmp): Don't use BP_SYM. Remove comment about bounded
11448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11449 <bp-sym.h> and <bp-asm.h>.
11450 (memcpy): Don't use BP_SYM.
11451 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11452 <bp-sym.h> and <bp-asm.h>.
11453 (memset): Don't use BP_SYM.
11454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11456 (__bzero): Don't use BP_SYM.
11457 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11458 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11460 <bp-sym.h> and <bp-asm.h>.
11461 (__memchr): Don't use BP_SYM.
11462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11463 <bp-sym.h> and <bp-asm.h>.
11464 (memcmp): Don't use BP_SYM. Remove comment about bounded
11466 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11467 <bp-sym.h> and <bp-asm.h>.
11468 (memcpy): Don't use BP_SYM.
11469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11470 <bp-sym.h> and <bp-asm.h>.
11471 (__mempcpy): Don't use BP_SYM.
11472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11473 <bp-sym.h> and <bp-asm.h>.
11474 (__memrchr): Don't use BP_SYM.
11475 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11476 <bp-sym.h> and <bp-asm.h>.
11477 (memset): Don't use BP_SYM.
11478 (__bzero): Likewise.
11479 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11480 <bp-sym.h> and <bp-asm.h>.
11481 (__rawmemchr): Don't use BP_SYM.
11482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11483 <bp-sym.h> and <bp-asm.h>.
11484 (__STRCMP): Don't use BP_SYM.
11485 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11486 <bp-sym.h> and <bp-asm.h>.
11487 (strchr): Don't use BP_SYM.
11488 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11489 <bp-sym.h> and <bp-asm.h>.
11490 (__strchrnul): Don't use BP_SYM.
11491 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (strlen): Don't use BP_SYM.
11494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11495 <bp-sym.h> and <bp-asm.h>.
11496 (strncmp): Don't use BP_SYM. Remove comment about bounded
11498 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11499 <bp-sym.h> and <bp-asm.h>.
11500 (__strnlen): Don't use BP_SYM.
11501 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11502 <bp-sym.h> and <bp-asm.h>.
11503 (__GI__setjmp): Don't use BP_SYM.
11504 (_setjmp): Likewise.
11505 (__sigsetjmp): Likewise.
11506 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11507 (L(start_addresses)): Don't use BP_SYM.
11508 (_start): Likewise.
11509 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11511 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11512 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11513 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11514 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11515 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11517 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11518 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11519 about bounded pointers.
11520 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11521 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11522 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11524 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11525 about bounded pointers. Remove GKM FIXME comments.
11526 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11527 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11529 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11530 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11531 Remove GKM FIXME comments.
11532 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11533 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11534 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11536 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11537 about bounded pointers. Remove GKM FIXME comment.
11538 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11540 (strncmp): Don't use BP_SYM. Remove comment about bounded
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11543 <bp-sym.h> and <bp-asm.h>.
11544 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11546 <bp-sym.h> and <bp-asm.h>.
11547 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11550 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11552 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11555 2013-03-05 David S. Miller <davem@davemloft.net>
11557 * po/es.po: Update from translation team.
11559 2013-03-05 Andreas Jaeger <aj@suse.de>
11561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11562 <bits/mman-linux.h>.
11563 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11566 <bits/mman-linux.h> to end of file.
11567 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11569 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11570 <bits/mman-linux.h> to end of file.
11571 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11574 <bits/mman-linux.h> to end of file.
11576 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11577 (MCL_CURRENT, MCL_FUTURE): Define here.
11579 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11586 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11589 fourth parameter needed for rt_sigprocmask syscall.
11590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11593 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11594 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11597 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11600 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11601 comment about bounded pointers.
11602 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11603 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11605 2013-03-04 Andreas Jaeger <aj@suse.de>
11607 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11608 common definitions.
11610 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11611 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11617 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11621 __ieee754_sqrl instead of __sqrl.
11623 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11625 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11626 * sysdeps/powerpc/fpu_control.h: ... here.
11627 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11628 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11629 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11630 * sysdeps/powerpc/bits/mathinline.h: ... here.
11632 2013-03-01 Roland McGrath <roland@hack.frob.com>
11634 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11635 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11636 to just [NEED_DL_SYSINFO_DSO].
11637 * elf/dl-support.c: Likewise.
11638 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11639 * elf/rtld.c (dl_main): Likewise.
11640 * elf/setup-vdso.h (setup_vdso): Likewise.
11641 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11642 * sysdeps/unix/sysv/linux/dl-sysdep.c
11643 (_dl_discover_osversion): Likewise.
11645 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11647 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11648 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11650 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11652 * NEWS: Mention libm performance improvements and non-x86 PI
11655 * csu/libc-start.c (__pthread_initialize_minimal): Change
11656 function arguments.
11657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11659 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11662 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11664 <bp-sym.h> and <bp-asm.h>.
11665 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11668 (memcpy): Don't use BP_SYM.
11669 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11671 (__mpn_add_n): Don't use BP_SYM.
11672 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11673 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11675 (__mpn_addmul_1): Don't use BP_SYM.
11676 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11677 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11679 (_setjmp): Don't use BP_SYM.
11680 (__novmx_setjmp): Likewise.
11681 (__GI__setjmp): Likewise.
11682 (__vmx_setjmp): Likewise.
11683 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11685 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11686 (__bzero): Don't use BP_SYM.
11687 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11688 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11689 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11690 <bp-sym.h> and <bp-asm.h>.
11691 (memcpy): Don't use BP_SYM.
11692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11693 <bp-sym.h> and <bp-asm.h>.
11694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11695 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11696 <bp-sym.h> and <bp-asm.h>.
11697 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11698 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11700 (__mpn_lshift): Don't use BP_SYM.
11701 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11702 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11704 (memset): Don't use BP_SYM.
11705 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11706 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11707 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11709 (__mpn_mul_1): Don't use BP_SYM.
11710 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11712 <bp-sym.h> and <bp-asm.h>.
11713 (memcmp): Don't use BP_SYM.
11714 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (memcpy): Don't use BP_SYM.
11717 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11718 <bp-sym.h> and <bp-asm.h>.
11719 (memset): Don't use BP_SYM.
11720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11721 <bp-sym.h> and <bp-asm.h>.
11722 (strncmp): Don't use BP_SYM.
11723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11724 <bp-sym.h> and <bp-asm.h>.
11725 (memcpy): Don't use BP_SYM.
11726 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11727 <bp-sym.h> and <bp-asm.h>.
11728 (memset): Don't use BP_SYM.
11729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11730 <bp-sym.h> and <bp-asm.h>.
11731 (__memchr): Don't use BP_SYM.
11732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11733 <bp-sym.h> and <bp-asm.h>.
11734 (memcmp): Don't use BP_SYM.
11735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11736 <bp-sym.h> and <bp-asm.h>.
11737 (memcpy): Don't use BP_SYM.
11738 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11739 <bp-sym.h> and <bp-asm.h>.
11740 (__mempcpy): Don't use BP_SYM.
11741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11742 <bp-sym.h> and <bp-asm.h>.
11743 (__memrchr): Don't use BP_SYM.
11744 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11745 <bp-sym.h> and <bp-asm.h>.
11746 (memset): Don't use BP_SYM.
11747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (__rawmemchr): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (__STRCMP): Don't use BP_SYM.
11753 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (strchr): Don't use BP_SYM.
11756 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11757 <bp-sym.h> and <bp-asm.h>.
11758 (__strchrnul): Don't use BP_SYM.
11759 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11760 <bp-sym.h> and <bp-asm.h>.
11761 (strlen): Don't use BP_SYM.
11762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11763 <bp-sym.h> and <bp-asm.h>.
11764 (strncmp): Don't use BP_SYM.
11765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11766 <bp-sym.h> and <bp-asm.h>.
11767 (__strnlen): Don't use BP_SYM.
11768 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11770 (__mpn_rshift): Don't use BP_SYM.
11771 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11772 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11773 <bp-sym.h> and <bp-asm.h>.
11774 (__sigsetjmp): Don't use BP_SYM.
11775 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11776 (L(start_addresses)): Don't use BP_SYM.
11777 (_start): Likewise.
11778 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11780 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11781 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11782 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11783 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11785 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11786 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11787 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11788 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11790 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11792 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11793 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11795 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11797 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11798 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11799 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11801 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11803 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11805 (strncmp): Don't use BP_SYM,
11806 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11808 (__mpn_sub_n): Don't use BP_SYM.
11809 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11810 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11812 (__mpn_submul_1): Don't use BP_SYM.
11813 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11815 <bp-sym.h> and <bp-asm.h>.
11816 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11818 <bp-sym.h> and <bp-asm.h>.
11819 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11822 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11825 Use ZK to minimize writes to Z.
11826 (sub_magnitudes): Simplify code a bit.
11827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11828 Use ZK to minimize writes to Z.
11829 (sub_magnitudes): Simplify code a bit.
11831 2013-02-27 Roland McGrath <roland@hack.frob.com>
11833 * csu/gmon-start.c: Add special exception to license text.
11835 2013-02-27 Richard Henderson <rth@redhat.com>
11837 * scripts/config.guess: Update from config.git.
11838 * scripts/config.sub: Likewise.
11840 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11842 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11844 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11846 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11848 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11850 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11852 2013-02-26 Roland McGrath <roland@hack.frob.com>
11854 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11855 [$(build-shared = yes].
11857 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11859 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11860 (__mul): Reduce iterations for calculating mantissa.
11862 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11864 (__mpranred): Likewise.
11867 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11868 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11870 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11872 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11873 Define __attribute__.
11875 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11877 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11879 * posix/regex_internal.h (__attribute): Remove.
11880 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11881 (re_string_context_at): Likewise.
11882 (bitset_not): Use __attribute__ and mark function as possibly
11884 (bitset_merge): Likewise.
11885 (bitset_mask): Likewise.
11886 (re_string_char_size_at): Likewise.
11887 (re_string_wchar_at): Likewise.
11888 (re_string_elem_size_at): Likewise.
11890 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11892 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11896 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11900 (denorm): Likewise.
11901 (__dbl_mp): Likewise.
11902 (add_magnitudes): Likewise.
11903 (sub_magnitudes): Likewise.
11907 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11910 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11913 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11917 up changes with default code.
11918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11921 2013-02-24 Allan McRae <allan@archlinux.org>
11923 * manual/socket.texi (The Internet Namespace): Order menu items
11924 to match that in the file.
11926 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11927 node listing of the info page menu.
11929 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/i386/bp-asm.h: Remove file.
11933 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11934 (PARMS): Do not use macros from bp-asm.h.
11938 (__mpn_add_n): Do not use BP_SYM
11939 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11941 (PARMS): Do not use macros from bp-asm.h.
11944 (__mpn_addmul_1): Do not use BP_SYM
11945 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11947 (PARMS): Do not use macros from bp-asm.h.
11948 (SIGMSK): Likewise.
11949 (_setjmp): Likewise. Do not use BP_SYM.
11950 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11952 (PARMS): Do not use macros from bp-asm.h.
11953 (SIGMSK): Likewise.
11954 (setjmp): Likewise. Do not use BP_SYM.
11955 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11957 (PARMS): Do not use macros from bp-asm.h.
11958 (__frexp): Do not use BP_SYM.
11960 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11962 (PARMS): Do not use macros from bp-asm.h.
11963 (__frexpf): Do not use BP_SYM.
11964 (frexpf): Likewise.
11965 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11967 (PARMS): Do not use macros from bp-asm.h.
11968 (__frexpl): Do not use BP_SYM.
11969 (frexpl): Likewise.
11970 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11972 (PARMS): Do not use macros from bp-asm.h.
11973 (__remquo): Do not use BP_SYM.
11974 (remquo): Likewise.
11975 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11977 (PARMS): Do not use macros from bp-asm.h.
11978 (__remquof): Do not use BP_SYM.
11979 (remquof): Likewise.
11980 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11982 (PARMS): Do not use macros from bp-asm.h.
11983 (__remquol): Do not use BP_SYM.
11984 (remquol): Likewise.
11985 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11987 (PARMS): Do not use macros from bp-asm.h.
11990 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11991 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11993 (PARMS): Do not use macros from bp-asm.h.
11994 (strlen): Do not use BP_SYM.
11995 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11997 (PARMS): Do not use macros from bp-asm.h.
12001 (__mpn_add_n): Do not use BP_SYM.
12002 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12004 (PARMS): Do not use macros from bp-asm.h.
12007 (__mpn_addmul_1): Do not use BP_SYM.
12008 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12011 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12013 (PARMS): Do not use macros from bp-asm.h.
12016 (__mpn_lshift): Do not use BP_SYM.
12017 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12019 (PARMS): Do not use macros from bp-asm.h.
12023 (memcpy): Likewise. Do not use BP_SYM.
12024 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12025 libc_hidden_def and weak_alias.
12026 (mempcpy): Do not use BP_SYM in weak_alias.
12027 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12029 (PARMS): Do not use macros from bp-asm.h.
12032 [!BZERO_P] (CHR): Likewise.
12033 (memset): Likewise. Do not use BP_SYM.
12034 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12036 (PARMS): Do not use macros from bp-asm.h.
12039 (__mpn_mul_1): Do not use BP_SYM.
12040 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12042 (PARMS): Do not use macros from bp-asm.h.
12045 (__mpn_rshift): Do not use BP_SYM.
12046 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12048 (PARMS): Do not use macros from bp-asm.h.
12051 (strchr): Likewise. Do not use BP_SYM.
12052 (index): Do not use BP_SYM in weak_alias.
12053 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12055 (PARMS): Do not use macros from bp-asm.h.
12058 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12059 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12061 (PARMS): Do not use macros from bp-asm.h.
12062 (strlen): Do not use BP_SYM.
12063 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12065 (PARMS): Do not use macros from bp-asm.h.
12069 (__mpn_sub_n): Do not use BP_SYM.
12070 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12072 (PARMS): Do not use macros from bp-asm.h.
12075 (__mpn_submul_1): Do not use BP_SYM.
12076 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12078 (PARMS): Do not use macros from bp-asm.h.
12082 (__mpn_add_n): Do not use BP_SYM.
12083 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12086 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12088 (PARMS): Do not use macros from bp-asm.h.
12091 (memcmp): Do not use BP_SYM.
12092 (bcmp): Do not use BP_SYM in weak_alias.
12093 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12095 (PARMS): Do not use macros from bp-asm.h.
12099 (memcpy): Likewise. Do not use BP_SYM.
12100 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12102 (PARMS): Do not use macros from bp-asm.h.
12106 (memmove): Likewise. Do not use BP_SYM.
12107 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12109 (PARMS): Do not use macros from bp-asm.h.
12113 (__mempcpy): Likewise. Do not use BP_SYM.
12114 (mempcpy): Do not use BP_SYM in weak_alias.
12115 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12117 (PARMS): Do not use macros from bp-asm.h.
12120 [!BZERO_P] (CHR): Likewise.
12121 (memset): Likewise. Do not use BP_SYM.
12122 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12124 (PARMS): Do not use macros from bp-asm.h.
12126 (strcmp): Do not use BP_SYM.
12127 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12129 (PARMS): Do not use macros from bp-asm.h.
12132 [USE_AS_STRTOK_R] (SAVE): Likewise.
12133 (FUNCTION): Likewise. Do not use BP_SYM.
12134 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12136 (strtok_r): Likewise.
12137 (__GI___strtok_r): Likewise.
12138 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12139 (PARMS): Do not use macros from bp-asm.h.
12142 (__mpn_lshift): Do not use BP_SYM.
12143 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12144 (PARMS): Do not use macros from bp-asm.h.
12147 (__memchr): Do not use BP_SYM.
12148 (memchr): Do not use BP_SYM in weak_alias.
12149 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12150 (PARMS): Do not use macros from bp-asm.h.
12153 (memcmp): Do not use BP_SYM.
12154 (bcmp): Do not use BP_SYM in weak_alias.
12155 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12156 (PARMS): Do not use macros from bp-asm.h.
12159 (__mpn_mul_1): Do not use BP_SYM.
12160 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12162 (PARMS): Do not use macros from bp-asm.h.
12165 (__rawmemchr): Do not use BP_SYM.
12166 (rawmemchr): Do not use BP_SYM in weak_alias.
12167 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12168 (PARMS): Do not use macros from bp-asm.h.
12171 (__mpn_rshift): Do not use BP_SYM.
12172 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12173 (PARMS): Do not use macros from bp-asm.h.
12174 (SIGMSK): Likewise.
12175 (__sigsetjmp): Likewise. Do not use BP_SYM.
12176 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12177 (_start): Do not use BP_SYM.
12178 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12179 (PARMS): Do not use macros from bp-asm.h.
12182 (__stpcpy): Likewise. Do not use BP_SYM.
12183 (stpcpy): Do not use BP_SYM in weak_alias.
12184 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12186 (PARMS): Do not use macros from bp-asm.h.
12190 (__stpncpy): Likewise. Do not use BP_SYM.
12191 (stpncpy): Do not use BP_SYM in weak_alias.
12192 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12193 (PARMS): Do not use macros from bp-asm.h.
12196 (strchr): Likewise. Do not use BP_SYM.
12197 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12199 (PARMS): Do not use macros from bp-asm.h.
12202 (__strchrnul): Likewise. Do not use BP_SYM.
12203 (strchrnul): Do not use BP_SYM in weak_alias.
12204 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12206 (PARMS): Do not use macros from bp-asm.h.
12208 (strcspn): Do not use BP_SYM.
12209 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12211 (PARMS): Do not use macros from bp-asm.h.
12214 (strpbrk): Likewise. Do not use BP_SYM.
12215 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12217 (PARMS): Do not use macros from bp-asm.h.
12220 (strrchr): Likewise. Do not use BP_SYM.
12221 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12222 (PARMS): Do not use macros from bp-asm.h.
12224 (strspn): Do not use BP_SYM.
12225 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12230 (FUNCTION): Likewise. Do not use BP_SYM.
12231 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12233 (strtok_r): Likewise.
12234 (__GI___strtok_r): Likewise.
12235 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12236 (PARMS): Do not use macros from bp-asm.h.
12240 (__mpn_sub_n): Do not use BP_SYM.
12241 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12243 (PARMS): Do not use macros from bp-asm.h.
12246 (__mpn_submul_1): Do not use BP_SYM.
12247 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12249 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12251 (PARMS): Do not use macros from bp-asm.h.
12256 (__clone): Do not use BP_SYM.
12257 (clone): Do not use BP_SYM in weak_alias.
12258 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12260 (PARMS): Do not use macros from bp-asm.h.
12262 (__mmap64): Do not use BP_SYM.
12263 (mmap64): Do not use BP_SYM in weak_alias.
12264 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12265 <bp-sym.h> and <bp-asm.h>.
12266 (PARMS): Do not use macros from bp-asm.h.
12267 (__posix_fadvise64_l64): Do not use BP_SYM.
12268 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12269 (PARMS): Do not use macros from bp-asm.h.
12271 (semtimedop): Do not use BP_SYM.
12272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12275 2013-02-21 Allan McRae <allan@archlinux.org>
12277 * manual/message.texi (Charset conversion in gettext):
12278 Move @end statement to beginning of line.
12280 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12287 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12288 (denorm): Likewise.
12289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12292 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12294 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12295 tail-call to the resolved function if pltexit isn't needed.
12297 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12300 or Y being zero as being unlikely.
12301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12304 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12306 * manual/nss.texi (System Databases and Name Service Switch):
12307 Remove frobnicate @pxref.
12309 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12311 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12312 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12314 2013-02-20 Petr Machata <pmachata@redhat.com>
12316 * elf/elf.h (R_ARM_TARGET1): New macro.
12317 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12318 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12319 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12320 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12321 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12322 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12323 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12324 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12325 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12326 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12327 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12328 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12329 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12330 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12331 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12332 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12333 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12334 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12335 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12336 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12337 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12338 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12339 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12340 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12341 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12342 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12343 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12344 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12345 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12346 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12347 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12348 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12349 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12350 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12351 (R_ARM_THM_GOT_BREL12): Likewise.
12352 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12353 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12354 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12355 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12356 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12357 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12358 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12359 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12360 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12362 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12364 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12365 __attribute_used__ to __attribute__ ((unused)).
12367 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12369 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12372 comment formatting.
12373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12375 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12378 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12380 (ENTER): Remove both macro definitions.
12382 (CHECK_BOUNDS_LOW): Likewise.
12383 (CHECK_BOUNDS_HIGH): Likewise.
12384 (CHECK_BOUNDS_BOTH): Likewise.
12385 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12386 (RETURN_BOUNDED_POINTER): Likewise.
12387 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12388 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12389 (POP_ERRNO_LOCATION_RETURN): Likewise.
12390 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12392 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12395 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12396 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12397 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12398 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12399 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12400 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12401 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12402 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12403 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12404 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12405 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12407 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12409 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12410 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12412 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12413 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12414 * sysdeps/i386/i586/memset.S (memset): Likewise.
12415 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12417 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12419 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12420 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12421 Change uses of L(2) to L(out).
12422 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12423 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12424 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12425 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12428 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12429 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12431 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12432 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12433 (RETURN): Do not use macro LEAVE.
12434 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12435 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12436 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12437 * sysdeps/i386/i686/memset.S (memset): Likewise.
12438 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12439 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12441 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12443 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12444 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12445 L(1_2) and L(1_3) into L(1).
12446 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12447 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12448 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12449 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12450 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12451 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12452 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12453 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12454 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12456 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12457 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12458 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12459 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12460 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12461 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12462 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12463 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12464 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12465 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12466 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12467 * sysdeps/i386/strspn.S (strspn): Likewise.
12468 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12470 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12471 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12472 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12473 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12474 L(1_3) into L(1_1).
12475 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12476 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12477 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12479 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12481 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12483 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12486 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12488 * math/atest-exp.c (exp_mpn): Remove ROUND.
12489 * math/atest-exp2.c (exp_mpn): Likewise.
12490 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12492 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12493 * stdlib/tst-tls-atexit-lib.c: Likewise.
12494 * stdlib/tst-tls-atexit.c: Likewise.
12496 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12498 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12499 and __attribute_alloc_size__.
12501 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12503 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12504 __attribute_alloc_size__.
12505 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12506 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12508 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12510 * include/programs/xmalloc.h: New file.
12511 * catgets/gencat.c: Include it.
12512 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12513 * elf/pldd.c: Likewise.
12514 * iconv/iconv_charmap.c: Likewise.
12515 * iconv/iconvconfig.c: Likewise.
12516 * iconv/strtab.c: Likewise.
12517 * locale/programs/locale.c: Likewise.
12518 * locale/programs/localedef.h: Likewise.
12519 * locale/programs/simple-hash.c: Likewise.
12520 * nscd/nscd.h: Likewise.
12521 * nss/makedb.c: Likewise.
12522 * sysdeps/generic/ldconfig.h: Likewise.
12524 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12526 * Versions.def: Add GLIBC_2.18.
12527 * include/link.h (struct link_map): New member l_tls_dtor_count.
12528 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12529 (__call_tls_dtors): Likewise.
12530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12531 __cxa_thread_atexit_impl.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12548 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12549 (tests): Add test case tst-tls-atexit.
12550 (modules-names): Add shared library for tst-tls-atexit.
12551 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12552 (GLIBC_PRIVATE): Add __call_tls_dtors.
12553 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12555 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12556 * stdlib/tst-tls-atexit.c: New test case.
12557 * stdlib/tst-tls-atexit-lib.c: New test case.
12559 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12561 * elf/Versions (ld): Add _dl_find_dso_for_object.
12562 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12563 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12564 (dl_open_worker): Use _dl_find_dso_for_object.
12565 * elf/dl-sym.c (do_sym): Likewise.
12566 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12568 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12570 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12571 Syntactic changes only.
12572 (_dl_runtime_profile): Do a tail-call to the resolved function.
12574 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12577 * sysdeps/x86_64/bp-asm.h: Remove file.
12578 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12579 <bp-sym.h> and <bp-asm.h>.
12580 (__clone): Do not use BP_SYM.
12581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12582 <bp-sym.h> and <bp-asm.h>.
12583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12584 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12586 (_setjmp): Do not use BP_SYM.
12587 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12589 (setjmp): Do not use BP_SYM.
12590 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12592 (mempcpy): Do not use BP_SYM in weak_alias.
12593 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12595 (strchr): Do not use BP_SYM.
12596 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12598 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12599 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12600 (_start): Do not use BP_SYM.
12601 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12603 (strcat): Do not use BP_SYM.
12604 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12606 (STRCMP): Do not use BP_SYM.
12607 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12609 (STRCPY): Do not use BP_SYM.
12610 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12612 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12614 (FUNCTION): Do not use BP_SYM.
12615 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12617 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12619 2013-02-17 Andreas Jaeger <aj@suse.de>
12621 * time/Versions: Sort entries.
12622 * string/Versions: Likewise.
12623 * resolv/Versions: Likewise.
12624 * posix/Versions: Likewise.
12625 * iconv/Versions: Likewise.
12626 * elf/Versions: Likewise.
12627 * wcsmbs/Versions: Likewise.
12629 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12632 loop termination condition.
12634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12635 variable to calculate EZ.
12638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12639 the lower precision input.
12641 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12644 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12645 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12646 (run-via-rtld-prefix): Do not handle %-bp tests.
12647 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12648 (all-object-suffixes): Remove .ob.
12649 (bppfx): Remove variable.
12650 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12651 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12652 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12653 [$(build-bounded) = yes] (libtype.ob): Likewise.
12654 * Makerules (elide-routines.ob): Remove variable.
12655 (do-tests-clean): Do not handle *-bp.out.
12656 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12657 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12658 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12659 (tests): Do not include $(tests-bp.out).
12660 (xtests): Do not include $(xtests-bp.out).
12661 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12662 [$(build-bounded) = yes] ($(addprefix
12663 $(objpfx),$(binaries-bounded))): Remove rule.
12664 ($(objpfx)%-bp.out): Remove rule.
12665 * config.make.in (build-bounded): Remove variable.
12666 * crypt/Makefile [$(build-bounded) = yes]
12667 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12668 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12669 append to variable.
12670 [$(build-bounded) = yes] (install-lib): Likewise.
12671 [$(build-bounded) = yes] (generated): Likewise.
12672 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12674 * intl/Makefile [$(build-bounded) = yes]
12675 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12676 * math/Makefile [$(build-bounded) = yes]
12677 ($(tests:%=$(objpfx)%-bp): Likewise.
12678 * misc/Makefile [$(build-bounded) = yes]
12679 ($(objpfx)tst-tsearch-bp): Likewise.
12680 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12681 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12683 * string/Makefile (o-objects.ob): Remove variable.
12684 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12685 (CFLAGS-.ob): Remove variable.
12686 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12687 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12688 both definitions of variable.
12689 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12690 (ASFLAGS-.ob): Remove variable.
12692 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12695 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12696 Remove __BOUNDED_POINTERS__ from condition.
12697 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12698 * string/bits/string2.h [!__NO_STRING_INLINES &&
12699 !__BOUNDED_POINTERS__]: Likewise.
12700 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12702 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12703 Remove conditional code.
12704 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12705 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12706 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12710 * csu/libc-start.c: Do not include <bp-sym.h>.
12711 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12712 * elf/dl-open.c: Do not include <bp-sym.h>.
12713 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12714 * math/fegetenv.c: Do not include <bp-sym.h>.
12715 (fegetenv): Do not use BP_SYM in versioned symbols.
12716 * nptl/sysdeps/pthread/bits/libc-lockP.h
12717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12720 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12722 (__pthread_mutex_destroy): Likewise.
12723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12724 (__pthread_mutex_lock): Likewise.
12725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12726 (__pthread_mutex_trylock): Likewise.
12727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12728 (__pthread_mutex_unlock): Likewise.
12729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12730 (__pthread_mutexattr_init): Likewise.
12731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12732 (__pthread_mutexattr_destroy): Likewise.
12733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12734 (__pthread_mutexattr_settype): Likewise.
12735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12736 (__pthread_rwlock_init): Likewise.
12737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12738 (__pthread_rwlock_destroy): Likewise.
12739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12740 (__pthread_rwlock_rdlock): Likewise.
12741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12742 (__pthread_rwlock_tryrdlock): Likewise.
12743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12744 (__pthread_rwlock_wrlock): Likewise.
12745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12746 (__pthread_rwlock_trywrlock): Likewise.
12747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12748 (__pthread_rwlock_unlock): Likewise.
12749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12750 (__pthread_key_create): Likewise.
12751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12752 (__pthread_setspecific): Likewise.
12753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12754 (__pthread_getspecific): Likewise.
12755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12758 (_pthread_cleanup_push_defer): Likewise.
12759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12760 (_pthread_cleanup_pop_restore): Likewise.
12761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12762 (pthread_setcancelstate): Likewise.
12763 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12765 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12766 (memchr): Do not use BP_SYM in weak_alias.
12767 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12768 (fegetenv): Do not use BP_SYM in versioned symbols.
12769 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12770 (fesetenv): Do not use BP_SYM in versioned symbols.
12771 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12772 (feupdateenv): Do not use BP_SYM in versioned symbols.
12773 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12775 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12776 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12777 (open64): Do not use BP_SYM in weak_alias.
12778 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12779 (fegetenv): Do not use BP_SYM in versioned symbols.
12780 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12781 (fesetenv): Do not use BP_SYM in versioned symbols.
12782 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12783 (feupdateenv): Do not use BP_SYM in versioned symbols.
12784 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12785 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12786 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12787 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12788 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12789 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12792 (__libc_start_main): Do not use BP_SYM.
12794 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12797 redundant return line.
12799 (denorm): Likewise.
12800 (dbl_mp): Likewise.
12801 (sub_magnitudes): Likewise.
12807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12809 (denorm): Likewise.
12810 (dbl_mp): Likewise.
12811 (sub_magnitudes): Likewise.
12818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12821 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12824 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12825 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12827 of __mul for squares.
12828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12832 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12835 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12838 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12840 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12841 prototype or function definition. Rename ubp_* variables and
12842 parameters. Remove argv definitions conditional on
12843 [__BOUNDED_POINTERS__].
12844 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12845 * elf/dl-runtime.c (_dl_fixup): Likewise.
12846 * include/set-hooks.h (RUN_HOOK): Likewise.
12847 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12849 * string/strcpy.c (strcpy): Do not use __unbounded.
12850 * sysdeps/generic/frame.h (struct layout): Likewise.
12851 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12852 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12853 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12854 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12855 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12856 (__backtrace): Likewise.
12857 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12859 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12861 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12863 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12864 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12865 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12866 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12867 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12868 Do not use __unbounded.
12869 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12870 Rename __unboundedrlimits parameter to rlimits in prototype.
12871 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12872 Do not use __unbounded.
12873 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12874 not use __ptrvalue.
12875 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12876 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12877 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12878 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12879 __ptrvalue or __unbounded.
12880 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12881 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12883 (__new_msgctl): Do not use __ptrvalue.
12884 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12886 (__libc_msgrcv): Do not use __ptrvalue.
12887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12888 startup_info): Do not use __unbounded.
12889 (__libc_start_main): Likewise. Rename ubp_* variables and
12890 parameters. Remove argv definitions conditional on
12891 [__BOUNDED_POINTERS__].
12892 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12894 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12898 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12900 (__new_shmctl): Do not use __ptrvalue.
12901 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12902 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12904 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12906 (__libc_sigaction): Likewise.
12907 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12910 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12912 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12914 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12916 * string/mempcpy.c: Implement by calling memcpy.
12918 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12925 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12926 values in the mantissa.
12928 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12929 minimize writes to Z.
12930 (sub_magnitudes): Simplify code a bit.
12932 2013-02-12 Roland McGrath <roland@hack.frob.com>
12934 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12935 from the message. The linker prefixes all warnings with that already.
12937 2013-02-12 Andreas Schwab <schwab@suse.de>
12940 * posix/regexec.c (extend_buffers): Add parameter min_len.
12941 (check_matching): Pass minimum needed length.
12942 (clean_state_log_if_needed): Likewise.
12943 (get_subexp): Likewise.
12944 * posix/Makefile (tests): Add bug-regex34.
12945 (bug-regex34-ENV): Define.
12946 * posix/bug-regex34.c: New file.
12949 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12950 elements compare against the byte sequence of it, not its name.
12951 * posix/Makefile (tests): Add bug-regex35.
12952 (bug-regex35-ENV): Define.
12953 * posix/bug-regex35.c: New file.
12955 2013-02-11 Tom de Vries <tom@codesourcery.com>
12957 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12959 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12960 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12961 (CHECK_EOL): Add undef.
12963 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12965 * bits/stdlib-bsearch.h: New file.
12966 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12967 * stdlib/stdlib.h: Likewise.
12969 2013-02-11 Roland McGrath <roland@hack.frob.com>
12971 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12972 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12974 * manual/search.texi (Array Search Function): Add missing const in
12976 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12977 declaration to use rlim_t.
12978 (Basic Scheduling Functions): Remove erroneous const from
12979 sched_getparam prototype. Remove erroneous * from
12980 sched_get_priority_max and sched_get_priority_min prototypes.
12981 (Resource Usage): Fix summary @comment on vtimes to refer to
12982 sys/vtimes.h rather than vtimes.h.
12983 Add missing *s in vtimes prototype.
12984 (Limits on Resources): Fix ulimit prototype to return long int.
12985 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12986 prototypes to use long int rather than double.
12987 (BSD Random): Fix initstate and setstate to use char *, not void *.
12988 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12989 prototype to make second argument 'struct aiocb64 *const[]'.
12990 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12991 (Status of AIO Operations): Remove erroneous const in aio_return and
12992 aio_return64 prototypes.
12993 (Synchronizing I/O): Fix sync prototype to return void.
12994 * manual/startup.texi (Suboptions): Remove an erroneous const in
12995 getsubopt prototype.
12996 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12997 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12998 use size_t rather than int.
12999 (Scanning All Users): Likewise for getpwent_r.
13000 (Setting Groups): Add missing const to setgroups prototype.
13001 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13002 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13003 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13004 'const void *' rather than 'const char *'.
13005 (Host Address Functions): Likewise for inet_ntop.
13006 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13007 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13008 ssize_t for return value.
13009 (Sending Data): Likewise for send, sendto, sendmsg.
13010 (Socket Option Functions): Add a missing const in setsockopt prototype.
13011 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13012 use wchar_t for the argument.
13013 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13014 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13016 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13017 double/float/long double for second argument.
13018 Fix return types of significand, significandf, significandl.
13019 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13020 argument in fchmod prototype.
13021 (File Owner): Use uid_t and gid_t in fchown prototype.
13022 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13023 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13024 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13025 use 'const struct dirent **' as argument types to CMP function pointer
13027 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13028 (File Times): Fix summary magic @comment for struct utimbuf and utime
13029 to refer to utime.h, not time.h.
13030 * manual/string.texi (Argz Functions): Add missing const in
13031 argz_extract and argz_next prototypes.
13032 (Finding Tokens in a String): Likewise for basename.
13033 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13034 (Copying and Concatenation): Fix typo in wmemmove prototype.
13035 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13036 (Signal Stack): Remove erroneous const in sigstack prototype.
13037 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13039 (Simple Calendar Time): Likewise for stime.
13040 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13042 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13043 say sys/sysctl.h instead.
13044 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13045 and vsyslog prototypes.
13047 2013-02-11 Tom de Vries <tom@codesourcery.com>
13049 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13052 2013-02-11 Roland McGrath <roland@hack.frob.com>
13054 * misc/sys/mman.h: Fix typo in mremap comment.
13056 2013-02-08 Roland McGrath <roland@hack.frob.com>
13058 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13059 the '\0' terminator.
13061 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13064 * debug/segfault.c: Don't include <bp-checks.h>.
13065 * sysdeps/generic/bp-checks.h: Remove file.
13066 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13067 (__GETDENTS): Don't use CHECK_N.
13068 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13069 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13070 (__getgroups): Don't use CHECK_N.
13071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13072 (setgroups): Don't use CHECK_N.
13073 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13074 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13075 (__libc_msgrcv): Don't use CHECK_N.
13076 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13077 (__libc_msgsnd): Don't use CHECK_N.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13080 (__libc_pread): Don't use CHECK_N.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13082 include <bp-checks.h>.
13083 (__libc_pread64): Don't use CHECK_N.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13085 include <bp-checks.h>.
13086 (__libc_pwrite): Don't use CHECK_N.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13088 include <bp-checks.h>.
13089 (__libc_pwrite64): Don't use CHECK_N.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13092 (__libc_pread): Don't use CHECK_N.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13094 include <bp-checks.h>.
13095 (__libc_pread64): Don't use CHECK_N.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13097 include <bp-checks.h>.
13098 (__libc_pwrite): Don't use CHECK_N.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13100 include <bp-checks.h>.
13101 (__libc_pwrite64): Don't use CHECK_N.
13102 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13103 (do_pread): Don't use CHECK_N.
13104 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13105 (do_pread64): Don't use CHECK_N.
13106 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13107 (do_pwrite): Don't use CHECK_N.
13108 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13109 (do_pwrite64): Don't use CHECK_N.
13110 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13111 (__libc_readv): Don't use CHECK_N.
13112 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13113 (semop): Don't use CHECK_N.
13114 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13116 (semtimedop): Don't use CHECK_N.
13117 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13118 (__libc_pread): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13121 (__libc_pread64): Don't use CHECK_N.
13122 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13124 (__libc_pwrite): Don't use CHECK_N.
13125 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13127 (__libc_pwrite64): Don't use CHECK_N.
13128 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13130 (__libc_msgrcv): Don't use CHECK_N.
13131 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13132 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13133 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13134 (__libc_writev): Don't use CHECK_N.
13136 2013-02-08 Roland McGrath <roland@hack.frob.com>
13138 * string/strcpy.c: Removed unused variable.
13140 * Makeconfig (+sysdep-includes): Define with := rather than =.
13141 Use an existing include/ subdir of each sysdeps dir before it.
13143 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13145 * nscd/connection.c (register_traced_file): Comment function.
13146 [HAVE_INOTIFY] (union __inev): Define.
13147 [HAVE_INOTIFY] (inotify_check_files): New function.
13148 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13149 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13151 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13153 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13155 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13156 loaded if not already and that a failure is permanent.
13158 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13161 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13162 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13164 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13167 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13168 (CHECK_1_NULL_OK): Likewise.
13169 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13170 (__fxstat): Do not use CHECK_1.
13171 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13173 (___fxstat64): Do not use CHECK_1.
13174 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13176 (__fxstatat): Do not use CHECK_1.
13177 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13179 (__fxstatat64): Do not use CHECK_1.
13180 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13182 (__fxstat): Do not use CHECK_1.
13183 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13185 (__fxstatat): Do not use CHECK_1.
13186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13188 (__getresgid): Do not use CHECK_1.
13189 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13191 (__getresuid): Do not use CHECK_1.
13192 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13194 (__lxstat): Do not use CHECK_1.
13195 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13197 (__old_msgctl): Do not use CHECK_1.
13198 (__new_msgctl): Likewise.
13199 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13201 (__new_setrlimit): Do not use CHECK_1.
13202 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13204 (__old_shmctl): Do not use CHECK_1.
13205 (__new_shmctl): Likewise.
13206 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13208 (__xstat): Do not use CHECK_1.
13209 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13210 (__lxstat): Do not use CHECK_1.
13211 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13213 (___lxstat64): Do not use CHECK_1.
13214 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13215 (__old_msgctl): Do not use CHECK_1.
13216 (__new_msgctl): Likewise.
13217 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13219 (__gettimeofday): Do not use CHECK_1.
13220 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13221 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13222 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13224 (__gettimeofday): Do not use CHECK_1.
13225 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13226 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13227 (__new_shmctl): Do not use CHECK_1.
13228 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13230 (do_sigtimedwait): Do not use CHECK_1.
13231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13233 (do_sigwaitinfo): Do not use CHECK_1.
13234 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13236 (msgctl): Do not use CHECK_1.
13237 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13239 (shmctl): Do not use CHECK_1.
13240 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13241 (ustat): Do not use CHECK_1.
13242 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13244 (__fxstat): Do not use CHECK_1.
13245 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13247 (__fxstatat): Do not use CHECK_1.
13248 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13250 (__lxstat): Do not use CHECK_1.
13251 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13253 (__xstat): Do not use CHECK_1.
13254 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13255 (__xstat): Do not use CHECK_1.
13256 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13257 (___xstat64): Do not use CHECK_1.
13260 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13262 (CHECK_BOUNDS_HIGH): Likewise.
13263 * string/strcpy.c: Do not include <bp-checks.h>.
13264 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13266 2013-02-07 Roland McGrath <roland@hack.frob.com>
13268 * nscd/nscd-client.h (__nscd_drop_map_ref):
13269 Add __attribute__ ((unused)).
13270 * nis/nss-nisplus.h (niserr2nss): Likewise.
13272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13273 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13275 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13276 Remove inline keyword.
13277 * include/rounding-mode.h (round_away): Likewise.
13278 * libio/wfileops.c (adjust_wide_data): Likewise.
13279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13280 (__m128i_strloadu_tolower): Likewise.
13281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13282 (__m128i_strloadu_tolower): Likewise.
13283 * time/mktime.c (ydhms_diff): Likewise.
13284 * locale/elem-hash.h (elem_hash): Likewise.
13285 * locale/setlocale.c (setdata): Likewise.
13286 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13287 (re_string_wchar_at): Likewise.
13288 (bitset_not, bitset_merge, bitset_mask): Likewise.
13289 [!(__GNUC__ > 3)] (inline): Remove macro.
13290 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13291 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13292 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13293 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13294 * string/memcmp.c (memcmp_bytes): Likewise.
13295 * locale/programs/locarchive.c (compute_hashval): Likewise.
13296 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13297 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13298 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13299 * nss/getent.c (print_rpc, print_protocols): Likewise.
13300 (print_passwd, print_group, print_aliases): Likewise.
13301 * nis/nss-nisplus.h (niserr2nss): Likewise.
13302 * nscd/connections.c (restart_p): Likewise.
13303 Change return type to bool.
13305 2013-02-05 Roland McGrath <roland@hack.frob.com>
13307 * Makeconfig (all-Depend-files): Add existing
13308 $(sorted-subdirs:=/Depend) files.
13309 (all-subdirs): Remove nss.
13310 * sysdeps/unix/inet/Subdirs: Add it here instead.
13311 * hesiod/Depend: New file.
13313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13314 instead of calling alloca.
13316 * io/lseek.c (__lseek): Rename to __libc_lseek.
13317 Define __lseek as an alias.
13319 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13321 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13323 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13324 else clause and remove check for non-standard endianness.
13326 2013-02-04 David S. Miller <davem@davemloft.net>
13328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13330 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13333 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13334 (__ubp_memchr): Remove prototype.
13335 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13336 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13337 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13338 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13339 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13341 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13342 (__ubp_memchr): Likewise.
13343 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13344 (__ubp_memchr): Likewise.
13345 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13346 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13347 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13348 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13350 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13351 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13352 (__getcwd): Do not use CHECK_STRING.
13353 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13355 (__real_chown): Do not use CHECK_STRING.
13356 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13358 (fchownat): Do not use CHECK_STRING.
13359 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13363 (__lchown): Do not use CHECK_STRING.
13364 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13365 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13366 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13367 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13369 include <bp-checks.h>.
13370 (truncate64): Do not use CHECK_STRING.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13373 (__real_chown): Do not use CHECK_STRING.
13374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13376 (__lchown): Do not use CHECK_STRING.
13377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13379 (__chown): Do not use CHECK_STRING.
13380 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13382 (truncate64): Do not use CHECK_STRING.
13383 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13385 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13386 (__xmknod): Do not use CHECK_STRING.
13387 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13389 (__xmknodat): Do not use CHECK_STRING.
13390 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13391 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13393 2013-02-04 Andreas Schwab <schwab@suse.de>
13396 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13397 * include/netdb.h: Likewise for h_errno.
13398 * elf/tst-stackguard1.c: Include <tls.h>.
13400 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13402 * elf/link.h (struct link_map): Extend the l_addr comment.
13403 * include/link.h (struct link_map): Likewise.
13405 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13408 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13409 (BOUNDED_1): Remove macro.
13410 * debug/backtrace.c: Don't include <bp-checks.h>.
13411 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13412 (__backtrace): Likewise.
13413 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13415 (__backtrace): Don't use BOUNDED_1.
13416 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13418 (__backtrace): Don't use BOUNDED_1.
13419 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13420 (__backtrace): Don't use BOUNDED_1.
13421 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13422 (shmat): Don't use BOUNDED_N.
13424 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13427 * sysdeps/generic/bp-start.h: Remove file.
13428 * csu/libc-start.c: Don't include <bp-start.h>.
13429 (LIBC_START_MAIN): Set up __environ directly instead of using
13430 INIT_ARGV_and_ENVIRON.
13431 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13435 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13437 (CHECK_FCNTL): Likewise.
13438 (CHECK_N_PAGES): Likewise.
13441 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13443 (CHECK_SIGSET_NULL_OK): Likewise.
13444 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13446 (sigpending): Don't use CHECK_SIGSET.
13447 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13450 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13452 (do_sigsuspend): Don't use CHECK_SIGSET.
13453 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13455 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13456 (do_sigwait): Don't use CHECK_SIGSET.
13457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13460 include <bp-checks.h>.
13461 (sigpending): Don't use CHECK_SIGSET.
13462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13463 include <bp-checks.h>.
13464 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13465 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13467 (sigpending): Don't use CHECK_SIGSET.
13468 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13470 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13473 * sysdeps/generic/bp-semctl.h: Remove file.
13474 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13475 <bp-checks.h> and <bp-semctl.h>.
13476 (__old_semctl): Don't use CHECK_SEMCTL.
13477 (__new_semctl): Likewise.
13478 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13480 (__old_semctl): Don't use CHECK_SEMCTL.
13481 (__new_semctl): Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13483 <bp-checks.h> and <bp-semctl.h>.
13484 (__old_semctl): Don't use CHECK_SEMCTL.
13485 (__new_semctl): Likewise.
13486 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13487 <bp-checks.h> and <bp-semctl.h>.
13488 (semctl): Don't use CHECK_SEMCTL.
13491 * Makerules (elide-bp-thunks): Remove variable.
13492 (elide-routines.oS): Don't use $(elide-bp-thunks).
13493 (elide-routines.os): Likewise.
13494 (elide-routines.o): Likewise.
13495 (elide-routines.op): Likewise.
13496 (elide-routines.og): Likewise.
13497 (objects): Don't use $(bp-thunks).
13498 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13500 (common-generated): Do not add s-proto-bp.d.
13501 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13504 Do not generate makefile rules for bounded-pointer thunks.
13505 * sysdeps/generic/bp-thunks.h: Remove file.
13506 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13507 * sysdeps/unix/s-proto-bp.S: Likewise.
13510 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13511 parts of result separately when argument is not close to line from
13512 -i to i and one part of argument is small.
13513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13515 * math/libm-test.inc (cacos_test): Add more tests.
13516 (casin_test): Likewise.
13517 (casinh_test): Likewise.
13518 * sysdeps/i386/fpu/libm-test-ulps: Update.
13519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13521 2013-01-31 David S. Miller <davem@davemloft.net>
13523 * po/de.po: Update from translation team.
13525 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13527 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13529 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13531 * configure.in (_AC_PROG_CC_C89): New definition.
13532 * configure: Regenerate.
13534 * configure.in (AC_PROG_CPP): New definition.
13535 * configure: Regenerate.
13537 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13539 * debug/tst-backtrace.h: New file.
13540 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13541 (ret): Remove variable.
13543 (FAIL): Remove macro.
13544 (NO_INLINE): Likewise.
13545 (fn1): Use match function instead of strstr.
13546 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13547 (ret): Remove variable.
13549 (FAIL): Remove macro.
13550 (NO_INLINE): Likewise.
13551 (fn): Use match function instead of strstr.
13552 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13553 (ret): Remove variable.
13555 (FAIL): Remove macro.
13556 (NO_INLINE): Likewise.
13557 (handle_signal): Use match function instead of strstr.
13558 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13559 (ret): Remove variable.
13561 (FAIL): Remove macro.
13562 (NO_INLINE): Likewise.
13563 (handle_signal): Use match function instead of strstr.
13565 2013-01-23 Roland McGrath <roland@hack.frob.com>
13567 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13569 2013-01-23 David S. Miller <davem@davemloft.net>
13571 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13572 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13573 argument of CAS if possible.
13574 * sysdeps/sparc/sparc64/bits/atomic.h
13575 (__arch_compare_and_exchange_val_32_acq): Likewise.
13576 (__arch_compare_and_exchange_val_64_acq): Likewise.
13578 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13580 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13581 * sysdeps/posix/ulimit.c: ... this.
13582 Include <limits.h>.
13583 * sysdeps/unix/bsd/ulimit.c: Remove file.
13585 2013-01-23 Adam Conrad <adconrad@0c3.net>
13587 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13588 (LDFLAGS-tst-array5): Likewise.
13590 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13593 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13594 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13595 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13596 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13598 2013-01-21 David S. Miller <davem@davemloft.net>
13600 * sysdeps/sparc/backtrace.c: New file.
13601 * sysdeps/sparc/sparc32/backtrace.h: New file.
13602 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13603 * sysdeps/sparc/sparc64/backtrace.h: New file.
13604 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13605 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13608 2013-01-21 Andreas Schwab <schwab@suse.de>
13611 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13614 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13620 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13621 Mark Mitchell <mark@codesourcery.com>
13622 Tom de Vries <tom@codesourcery.com>
13623 Paul Pluzhnikov <ppluzhnikov@google.com>
13625 * debug/tst-backtrace2.c: New file.
13626 * debug/tst-backtrace3.c: Likewise.
13627 * debug/tst-backtrace4.c: Likewise.
13628 * debug/tst-backtrace5.c: Likewise.
13629 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13630 (CFLAGS-tst-backtrace3.c): Likewise.
13631 (CFLAGS-tst-backtrace4.c): Likewise.
13632 (CFLAGS-tst-backtrace5.c): Likewise.
13633 (LDFLAGS-tst-backtrace2): Likewise.
13634 (LDFLAGS-tst-backtrace3): Likewise.
13635 (LDFLAGS-tst-backtrace4): Likewise.
13636 (LDFLAGS-tst-backtrace5): Likewise.
13637 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13638 tst-backtrace4 and tst-backtrace5.
13640 2013-01-18 Anton Blanchard <anton@samba.org>
13641 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13643 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13644 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13645 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13646 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13648 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13649 "+r" and remove output regs list as redundant. Add explicit inline
13650 asm to specify register of return val to work around compiler codegen
13651 bug. Remove (int) cast on return value. Add return type parameter to
13652 use in macro so that this macro does not truncate return value for
13654 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13655 pass to INTERNAL_VSYSCALL_NCS.
13656 (INLINE_VSYSCALL): Add 'long int' as return type to
13657 INTERNAL_VSYSCALL_NCS macro invocation.
13658 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13659 INTERNAL_VSYSCALL_NCS macro invocation.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13662 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13665 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13666 Fix application of SIMD FP exception mask.
13668 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13669 mp_no from a power of two.
13670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13671 __mpexp_twomm1. Use __pow_mp.
13673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13676 2013-01-17 David S. Miller <davem@davemloft.net>
13678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13680 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13683 * include/complex.h: Condition contents on [!_COMPLEX_H].
13684 (__kernel_casinhf): New prototype.
13685 (__kernel_casinh): Likewise.
13686 (__kernel_casinhl): Likewise.
13687 * math/Makefile (libm_calls): Add k_casinh.
13688 * math/k_casinh.c: New file.
13689 * math/k_casinhf.c: Likewise.
13690 * math/k_casinhl.c: Likewise.
13691 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13692 finite nonzero arguments.
13693 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13694 finite nonzero arguments.
13695 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13696 finite nonzero arguments.
13697 * math/s_casinh.c: Do not include <float.h>.
13698 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13699 * math/s_casinhf.c: Do not include <float.h>.
13700 (__casinhf): Move code for finite nonzero arguments to
13702 * math/s_casinhl.c: Do not include <float.h>.
13703 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13705 (__casinhl): Move code for finite nonzero arguments to
13707 * math/libm-test.inc (cacos_test): Add more tests.
13708 * sysdeps/i386/fpu/libm-test-ulps: Update.
13709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13711 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13713 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13714 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13715 [!HAVE_MREMAP]: Remove [defined linux] case.
13716 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13718 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13720 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13722 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13724 * elf/elf.h (R_386_SIZE32): New relocation.
13725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13727 (elf_machine_rela): Likewise.
13728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13729 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13731 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13733 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13734 (FP_FAST_FMA): Do not define.
13735 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13736 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13737 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13738 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13739 !_SOFT_FLOAT]: Likewise.
13740 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13744 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13745 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13746 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13747 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13748 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13751 2013-01-16 Andreas Schwab <schwab@suse.de>
13754 * include/stdlib.h (__mktemp): Add declaration.
13755 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13756 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13758 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13760 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13762 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13763 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13764 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13766 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13767 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13771 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13772 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13775 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13776 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13778 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13780 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13782 2013-01-15 David S. Miller <davem@davemloft.net>
13784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13785 trunc{,f} to libm-sysdep_routes.
13786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13799 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13800 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13801 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13804 nearbyint{,f} to libm-sysdep_routes.
13805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13822 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13823 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13826 libc_feholdexcept and libc_fesetenv.
13828 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13830 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13832 2013-01-14 David S. Miller <davem@davemloft.net>
13834 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13835 (SPARC_ASM_VIS2_IFUNC): Likewise.
13836 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13838 use of 'siam' instruction.
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13872 routines to libm-sysdep_routines.
13873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13876 fdim/fdimf to libm-sysdep_routines.
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13885 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13886 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13887 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13888 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13890 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13893 to optimize copies.
13895 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13900 local variable MPTWO.
13901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13904 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13906 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13909 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13911 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13913 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13915 * manual/pattern.texi (glob_t): Document gl_flags.
13916 (glob64_t): Likewise.
13918 2013-01-11 David S. Miller <davem@davemloft.net>
13920 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13921 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13922 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13923 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13924 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13925 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13926 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13927 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13928 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13929 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13930 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13931 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13932 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13934 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13935 sparc V9 rather than using V8 code.
13936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13939 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13941 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13944 2013-01-11 Roland McGrath <roland@hack.frob.com>
13946 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13947 not in the main loop.
13948 * configure: Regenerated.
13950 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13952 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13953 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13955 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13956 [!__GLIBC_HAVE_LONG_LONG] case.
13957 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13958 condition to just #else.
13959 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13960 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13961 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13962 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13964 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13965 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13966 #elif condition to just #else.
13967 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13968 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13969 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13970 #elif condition to just #else.
13972 2013-01-11 Steve Ellcey <sellcey@mips.com>
13974 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13975 (EF_MIPS_ARCH_64): Fix value.
13976 (EF_MIPS_ARCH_32R2): New.
13977 (EF_MIPS_ARCH_64R2): New.
13979 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13981 * Makeconfig (+link-pie-before-libc): New.
13982 (+link-pie-after-libc): Likewise.
13983 (+link-pie-tests): Likewise.
13984 (+link-pie): Rewritten.
13985 (link-before-libc): Remove $(config-LDFLAGS).
13986 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13987 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13988 (config-LDFLAGS): Renamed to ...
13989 (rtld-LDFLAGS): This.
13990 (rtld-tests-LDFLAGS): New macro.
13991 (link-libc-rpath-link): Likewise.
13992 (link-libc-tests-rpath-link): Likewise.
13993 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13994 (link-libc): Prepand $(link-libc-rpath-link).
13995 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13996 (test-program-prefix): New macro.
13997 (test-via-rtld-prefix): Likewise.
13998 (test-program-cmd): Likewise.
13999 (host-test-program-cmd): Likewise.
14000 * Makefile ($(common-objpfx)testrun.sh): Replace
14001 $(run-program-prefix) with $(test-program-prefix).
14002 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14004 ($(common-objpfx)shlib.lds): Likewise.
14005 (build-module-helper): Likewise.
14006 ($(common-objpfx)format.lds): Likewise.
14007 * Rules (binaries-pie-tests): New.
14008 (binaries-pie-notests): Likewise.
14009 (binaries-pie): Rewritten.
14010 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14011 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14012 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14013 (make-test-out): Replace $(host-built-program-cmd) with
14014 $(host-test-program-cmd).
14015 * config.make.in (build-hardcoded-path-in-tests): New variable.
14016 * configure.in (--enable-hardcoded-path-in-tests): New configure
14018 (hardcoded_path_in_tests): New AC_SUBST.
14019 * configure: Regenerated.
14020 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14021 $(built-program-cmd) with $(test-program-cmd).
14022 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14023 (test_program_cmd): This.
14024 * elf/Makefile ($(objpfx)order.out): Run test with
14025 $(test-program-prefix).
14026 ($(objpfx)order2.out): Likewise.
14027 ($(objpfx)tst-initorder.out): Likewise.
14028 ($(objpfx)tst-initorder2.out): Likewise.
14029 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14030 $(test-program-cmd).
14031 ($(objpfx)tst-array1-static.out): Likewise.
14032 ($(objpfx)tst-array2.out): Likewise.
14033 ($(objpfx)tst-array3.out): Likewise.
14034 ($(objpfx)tst-array4.out): Likewise.
14035 ($(objpfx)tst-array5.out): Likewise.
14036 ($(objpfx)tst-array5-static.out): Likewise.
14037 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14038 $(test-program-cmd).
14039 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14040 $(run-program-prefix) with $(test-program-prefix).
14041 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14042 (test_program_prefix): This.
14043 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14044 $(run-program-prefix) with $(test-program-prefix).
14045 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14046 (test_program_prefix): This.
14047 * iconvdata/tst-tables.sh: Likewise.
14048 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14049 $(run-program-prefix) with $(test-program-prefix).
14050 ($(objpfx)tst-translit.out): Likewise.
14051 ($(objpfx)tst-gettext2.out): Likewise.
14052 ($(objpfx)tst-gettext4.out): Likewise.
14053 ($(objpfx)tst-gettext6.out): Likewise.
14054 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14055 (test_program_prefix): This.
14056 * intl/tst-gettext2.sh: Likewise.
14057 * intl/tst-gettext4.sh Likewise.
14058 * intl/tst-gettext6.sh: Likewise.
14059 * intl/tst-translit.sh: Likewise.
14060 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14061 with $(test-program-cmd).
14062 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14063 $(run-program-prefix) with $(test-program-prefix).
14064 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14065 (test_program_prefix): This.
14066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14067 $(run-program-prefix) with $(test-program-prefix).
14068 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14069 (test_program_prefix): This.
14070 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14071 * posix/Makefile ($(objpfx)globtest.out): Replace
14072 $(run-via-rtld-prefix) and $(test-wrapper) with
14073 $(test-program-prefix) and $(test-via-rtld-prefix).
14074 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14075 $(test-program-prefix).
14076 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14077 $(host-test-program-cmd).
14078 (tst-spawn-ARGS): Likewise.
14079 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14080 $(test-program-prefix).
14081 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14082 (test_via_rtld_prefix): This.
14083 (test_wrapper): Renamed to ...
14084 (test_program_prefix): This.
14085 (run_program_prefix): Replaced by test_program_prefix.
14086 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14087 (test_program_prefix): This.
14088 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14089 with $(host-test-program-cmd).
14090 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14091 $(run-program-prefix) with $(test-program-prefix).
14092 ($(objpfx)tst-printf.out): Likewise.
14093 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14094 $(test-program-cmd).
14095 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14096 (test_program_prefix): This.
14097 * stdio-common/tst-unbputc.sh: Likewise.
14098 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14099 $(run-program-prefix) with $(test-program-prefix).
14100 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14101 (test_program_prefix): This.
14102 * string/Makefile ($(objpfx)tst-svc.out): Replace
14103 $(built-program-cmd) with $(test-program-cmd).
14105 2013-01-11 Andreas Jaeger <aj@suse.de>
14108 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14109 value. Sync with Linux 3.7.
14111 2013-01-10 David S. Miller <davem@davemloft.net>
14113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14114 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14115 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14117 2013-01-10 Roland McGrath <roland@hack.frob.com>
14119 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14121 * configure: Regenerated.
14123 2013-01-10 David S. Miller <davem@davemloft.net>
14125 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14126 sparc V9 rather than using V8 code.
14127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14130 2013-01-10 Roland McGrath <roland@hack.frob.com>
14132 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14133 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14134 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14135 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14136 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14137 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14138 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14139 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14140 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14141 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14142 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14143 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14144 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14145 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14146 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14147 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14148 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14149 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14150 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14151 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14152 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14153 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14154 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14155 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14156 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14157 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14158 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14160 2013-01-10 David S. Miller <davem@davemloft.net>
14162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14164 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14166 * posix/Makefile (tests-static): New variable.
14167 (tests): Add $(tests-static).
14168 (tst-exec-static-ARGS): New variable.
14169 (tst-spawn-static-ARGS): Likewise.
14170 * posix/tst-exec-static.c: New file.
14171 * posix/tst-spawn-static.c: Likewise.
14172 * posix/tst-exec.c: Support run directly.
14173 * posix/tst-spawn.c: Likewise.
14175 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14177 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14179 * math/bits/mathcalls.h (llrint): Likewise.
14180 (llround): Likewise.
14181 * stdlib/stdlib.h (struct drand48_data): Likewise.
14182 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14183 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14186 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14188 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14189 (elf_greg_t): Likewise.
14190 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14191 (__jmp_buf): Likewise.
14192 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14194 (llrint): Likewise, for all definitions.
14195 (llrintl): Likewise.
14197 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14198 Remove [__GNUC__] condition.
14199 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14200 condition to just [__USE_ISOC99].
14201 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14203 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14206 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14207 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14209 (_POSIX_V6_ILP32_OFF32): Likewise.
14210 (_XBS5_ILP32_OFF32): Likewise.
14211 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14212 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14214 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14216 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14219 doubles __mpexp_twomm1. Adjust usage.
14220 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14223 2013-01-10 Andreas Schwab <schwab@suse.de>
14226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14227 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14229 2013-01-09 David S. Miller <davem@davemloft.net>
14232 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14233 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14234 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14235 TCP_FASTOPEN): Define.
14236 (tcp_repair_opt): New structure.
14237 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14239 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14240 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14241 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14242 (tcp_cookie_transactions): New structure.
14244 2013-01-09 Anton Blanchard <anton@samba.org>
14246 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14247 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14251 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14253 * include/features.h (__USE_ANSI): Remove.
14255 2013-01-09 Roland McGrath <roland@hack.frob.com>
14257 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14259 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14261 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14263 * sysdeps/s390/fpu/libm-test-ulps: Update.
14265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14267 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14271 (denorm): Likewise.
14272 (__mp_dbl): Likewise.
14273 (__dbl_mp): Likewise.
14274 (add_magnitudes): Likewise.
14275 (sub_magnitudes): Likewise.
14281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14285 (denorm): Likewise.
14286 (__mp_dbl): Likewise.
14287 (__dbl_mp): Likewise.
14288 (add_magnitudes): Likewise.
14289 (sub_magnitudes): Likewise.
14295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14299 (denorm): Likewise.
14300 (__mp_dbl): Likewise.
14301 (__dbl_mp): Likewise.
14302 (add_magnitudes): Likewise.
14303 (sub_magnitudes): Likewise.
14310 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14312 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14313 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14314 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14315 2 && __USE_EXTERN_INLINES]: Likewise.
14317 2013-01-08 Andreas Jaeger <aj@suse.de>
14320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14322 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14325 2013-01-07 Anton Blanchard <anton@samba.org>
14327 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14328 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14329 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14330 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14331 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14333 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14337 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14345 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14348 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14350 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14351 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14352 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14354 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14357 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14359 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14360 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14361 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14371 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14373 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14374 (__MALLOC_PMT): Likewise.
14375 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14376 [__GNUC__], only on [_LIBC].
14377 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14378 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14379 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14380 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14381 forward declaration.
14382 (realloc_hook_ini): Likewise.
14383 (memalign_hook_ini): Likewise.
14384 (__libc_memalign): Do not use __MALLOC_PMT in variable
14386 (__libc_valloc): Likewise.
14387 (__libc_pvalloc): Likewise.
14388 (__libc_calloc): Likewise.
14389 (__posix_memalign): Likewise.
14392 * math/s_casinh.c: Include <float.h>.
14393 (__casinh): Do not do computation with squaring and square root
14394 for large arguments.
14395 * math/s_casinhf.c: Include <float.h>.
14396 (__casinhf): Do not do computation with squaring and square root
14397 for large arguments.
14398 * math/s_casinhl.c: Include <float.h>.
14399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14400 (__casinhl): Do not do computation with squaring and square root
14401 for large arguments.
14402 * math/libm-test.inc (casin_test): Add more tests.
14403 (casinh_test): Likewise.
14404 * sysdeps/i386/fpu/libm-test-ulps: Update.
14405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14410 (__x86_64_raw_data_cache_size): Likewise.
14411 (__x86_64_data_cache_size_half): Likewise.
14412 (__x86_64_raw_data_cache_size_half): Likewise.
14413 (__x86_64_shared_cache_size): Likewise.
14414 (__x86_64_raw_shared_cache_size): Likewise.
14415 (__x86_64_shared_cache_size_half): Likewise.
14416 (__x86_64_raw_shared_cache_size_half): Likewise.
14417 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14419 (__x86_data_cache_size): This.
14420 (__x86_64_raw_data_cache_size): Renamed to ...
14421 (__x86_raw_data_cache_size): This.
14422 (__x86_64_data_cache_size_half): Renamed to ...
14423 (__x86_data_cache_size_half): This.
14424 (__x86_64_raw_data_cache_size_half): Renamed to ...
14425 (__x86_raw_data_cache_size_half): This.
14426 (__x86_64_shared_cache_size): Renamed to ...
14427 (__x86_shared_cache_size): This.
14428 (__x86_64_raw_shared_cache_size): Renamed to ...
14429 (__x86_raw_shared_cache_size): This.
14430 (__x86_64_shared_cache_size_half): Renamed to ...
14431 (__x86_shared_cache_size_half): This.
14432 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14433 (__x86_raw_shared_cache_size_half): This.
14434 * sysdeps/x86_64/memcpy.S: Updated.
14435 * sysdeps/x86_64/memset.S: Likewise.
14436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14440 2013-01-04 David S. Miller <davem@davemloft.net>
14442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14444 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14446 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14447 1 to avoid redefinition warning.
14448 (__USE_GNU): Don't define.
14449 (init_signaling_nan): Protoize.
14451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14453 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14455 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14457 (__cpymn): Likewise.
14458 (norm): Remove commented code.
14459 (denorm): Likewise.
14460 (__mp_dbl): Likewise.
14462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14463 (__cpymn): Likewise.
14464 (norm): Remove commented code.
14465 (denorm): Likewise.
14466 (__mp_dbl): Likewise.
14469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14470 mp_no value for 1.0 and 2.0.
14471 (norm): Use RADIXI instead of radixi.d.
14472 (denorm): Likewise.
14473 (__mul): Use 0.0 instead of zero.d.
14474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14475 mp_no value for 1.0 and 2.0.
14476 (norm): Use RADIXI instead of radixi.d.
14477 (denorm): Likewise.
14478 (__mul): Use 0.0 instead of zero.d.
14480 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14483 * math/s_casinh.c (__casinh): Reduce finite argument to first
14484 quadrant then set signs of results at the end.
14485 * math/s_casinhf.c (__casinhf): Likewise.
14486 * math/s_casinhl.c (__casinhl): Likewise.
14487 * math/libm-test.inc (casin_test): Add more tests.
14488 (casinh_test): Likewise.
14489 * sysdeps/i386/fpu/libm-test-ulps: Update.
14490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14492 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14494 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14496 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14498 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14500 (denorm): Likewise.
14501 (__mp_dbl): Likewise.
14504 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14505 and adjust the header comment.
14507 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14508 variable name from declaration.
14510 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14513 Initialize COMMON_CPUID_INDEX_7 element.
14514 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14515 (CPUID_RTM): Likewise.
14516 (HAS_RTM): Likewise.
14517 (COMMON_CPUID_INDEX_7): New enum.
14519 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14522 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14523 size is zero, record memory as freed.
14525 2013-01-03 Andreas Jaeger <aj@suse.de>
14527 * po/ia.po: Add new Interlingua translation.
14529 2012-01-03 Allan McRae <allan@archlinux.org>
14531 * locale/programs/localedef.c: Fix description of '--posix' flag.
14533 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14535 * NEWS: Update dates in second copyright notice.
14536 * README: Update copyright dates in example.
14537 * manual/libc.texinfo: Update copyright dates.
14538 * scripts/test-installation.pl: Update copyright date in --version
14541 * hurd/ctty-input.c: Fix copyright notice formatting.
14542 * hurd/ctty-output.c: Likewise.
14543 * hurd/dtable.c: Likewise.
14544 * hurd/hurd-raise.c: Likewise.
14545 * hurd/hurdprio.c: Likewise.
14546 * hurd/msgportdemux.c: Likewise.
14547 * misc/sys/file.h: Likewise.
14548 * misc/sys/ioctl.h: Likewise.
14549 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14550 * sysdeps/mach/hurd/chdir.c: Likewise.
14551 * sysdeps/mach/hurd/fchdir.c: Likewise.
14552 * sysdeps/mach/hurd/rename.c: Likewise.
14553 * sysdeps/mach/hurd/rmdir.c: Likewise.
14554 * sysdeps/mach/hurd/seekdir.c: Likewise.
14555 * sysdeps/mach/hurd/setsid.c: Likewise.
14556 * sysdeps/posix/wait3.c: Likewise.
14558 * All files with FSF copyright notices: Update copyright dates
14559 using scripts/update-copyrights.
14560 * intl/plural.c: Regenerated.
14561 * locale/programs/charmap-kw.h: Likewise.
14562 * locale/programs/locfile-kw.h: Likewise.
14564 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14570 calculation loop and add branch prediction.
14572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14573 check access beyond bounds of m1np.
14575 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14577 (__inv): Remove local variable MPTWO to use the global
14579 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14583 MP3HALFS static const.
14585 2013-01-01 David S. Miller <davem@davemloft.net>
14587 * po/ca.po: Update from translation team.
14589 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14591 * scripts/update-copyrights: New file.
14592 * Makeconfig: Reformat copyright notice.
14593 * ctype/ctype.h: Likewise.
14594 * debug/swprintf_chk.c: Likewise.
14595 * elf/dl-cache.c: Likewise.
14596 * elf/dl-debug.c: Likewise.
14597 * elf/dl-object.c: Likewise.
14598 * grp/initgroups.c: Likewise.
14599 * hurd/Makefile: Likewise.
14600 * hurd/hurd/signal.h: Likewise.
14601 * hurd/hurdfault.c: Likewise.
14602 * hurd/hurdioctl.c: Likewise.
14603 * hurd/hurdlookup.c: Likewise.
14604 * hurd/intr-msg.c: Likewise.
14605 * iconv/gconv_open.c: Likewise.
14606 * libio/swprintf.c: Likewise.
14607 * locale/lc-ctype.c: Likewise.
14608 * locale/nl_langinfo.c: Likewise.
14609 * mach/Machrules: Likewise.
14610 * mach/Makefile: Likewise.
14611 * malloc/obstack.h: Likewise.
14612 * manual/Makefile: Likewise.
14613 * manual/tsort.awk: Likewise.
14614 * misc/bits/stab.def: Likewise.
14615 * nis/nis_print_group_entry.c: Likewise.
14616 * nis/nis_table.c: Likewise.
14617 * nis/nss_compat/compat-pwd.c: Likewise.
14618 * nis/nss_compat/compat-spwd.c: Likewise.
14619 * po/Makefile: Likewise.
14620 * posix/fnmatch.c: Likewise.
14621 * posix/regex.h: Likewise.
14622 * resolv/Makefile: Likewise.
14623 * resolv/nss_dns/dns-network.c: Likewise.
14624 * resolv/res_hconf.c: Likewise.
14625 * scripts/gen-sorted.awk: Likewise.
14626 * soft-fp/soft-fp.h: Likewise.
14627 * stdio-common/printf.h: Likewise.
14628 * stdlib/monetary.h: Likewise.
14629 * stdlib/random.c: Likewise.
14630 * stdlib/random_r.c: Likewise.
14631 * sysdeps/generic/Makefile: Likewise.
14632 * sysdeps/gnu/Makefile: Likewise.
14633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14661 * sysdeps/mach/hurd/errnos.awk: Likewise.
14662 * sysdeps/mach/hurd/fork.c: Likewise.
14663 * sysdeps/mach/hurd/getcwd.c: Likewise.
14664 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14665 * sysdeps/mach/hurd/mmap.c: Likewise.
14666 * sysdeps/mach/hurd/utimes.c: Likewise.
14667 * sysdeps/mach/hurd/xmknod.c: Likewise.
14668 * sysdeps/posix/profil.c: Likewise.
14669 * sysdeps/posix/readdir_r.c: Likewise.
14670 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14671 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14673 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14675 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14676 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14677 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14679 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14680 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14681 * sysdeps/pthread/lio_listio.c: Likewise.
14682 * sysdeps/sparc/dl-procinfo.h: Likewise.
14683 * sysdeps/unix/i386/sysdep.S: Likewise.
14684 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14685 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14686 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14687 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14689 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14690 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14691 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14692 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14693 * sysdeps/wordsize-32/divdi3.c: Likewise.
14694 * time/sys/time.h: Likewise.
14695 * wcsmbs/Makefile: Likewise.
14697 2013-01-01 David S. Miller <davem@davemloft.net>
14699 * po/fr.po: Update from translation team.
14701 * catgets/gencat.c: Update copyright year.
14702 * csu/version.c: Likewise.
14703 * debug/catchsegv.sh: Likewise.
14704 * debug/pcprofiledump.c: Likewise.
14705 * debug/xtrace.sh: Likewise.
14706 * elf/ldconfig.c: Likewise.
14707 * elf/ldd.bash.in: Likewise.
14708 * elf/pldd.c: Likewise.
14709 * elf/sotruss.ksh: Likewise.
14710 * elf/sprof.c: Likewise.
14711 * iconv/iconv_prog.c: Likewise.
14712 * iconv/iconvconfig.c: Likewise.
14713 * locale/programs/locale.c: Likewise.
14714 * locale/programs/localedef.c: Likewise.
14715 * login/programs/pt_chown.c: Likewise.
14716 * malloc/memusage.sh: Likewise.
14717 * malloc/memusagestat.c: Likewise.
14718 * malloc/mtrace.pl: Likewise.
14719 * nscd/nscd.c: Likewise.
14720 * nss/getent.c: Likewise.
14721 * nss/makedb.c: Likewise.
14722 * posix/getconf.c: Likewise.
14724 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14726 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14729 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14731 * math/bits/mathcalls.h (modf): Use __nonnull.
14733 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14735 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14736 (split): Use macro CN instead of the bare value.
14737 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14740 instead of the bare value.
14741 (power1): Likewise.
14743 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14747 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14749 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14751 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14753 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14756 2012-12-28 Andreas Jaeger <aj@suse.de>
14758 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14759 values are from Linux 3.7.
14761 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14762 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14764 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14766 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14771 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14772 variables with preprocessor constants.
14773 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14775 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14777 2012-12-27 Bruno Haible <bruno@clisp.org>
14780 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14783 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14786 and use variable directly.
14787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14791 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14796 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14797 include directive. Remove local variable MPONE.
14798 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14802 2012-12-25 David S. Miller <davem@davemloft.net>
14804 * version.h (RELEASE): Set to "development".
14805 (VERSION): Set to "2.17.90".
14806 * NEWS: Add 2.18 section.
14808 2012-12-21 David S. Miller <davem@davemloft.net>
14810 * po/hr.po: Update from translation team.
14812 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14814 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14816 2012-12-19 Steve Ellcey <sellcey@mips.com>
14818 * NEWS: Mention new memcpy for MIPS.
14820 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14822 * manual/contrib.texi (Contributors): Spelling correction.
14824 2012-12-15 David S. Miller <davem@davemloft.net>
14826 * po/ru.po: Update from translation team.
14828 2012-12-13 David S. Miller <davem@davemloft.net>
14830 * NEWS: Mention IFUNC testsuite enhancements.
14832 * po/pl.po: Update from translation team.
14833 * po/bg.po: Likewise.
14835 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14836 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14838 2012-12-11 David S. Miller <davem@davemloft.net>
14840 * po/sv.po: Update from translation team.
14842 * po/vi.po: Update from translation team.
14844 * po/cs.po: Update from translation team.
14846 * po/de.po: Update from translation team.
14847 * po/eo.po: Likewise.
14848 * po/nl.po: Likewise.
14850 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14853 * manual/argp.texi (Argp Helper Functions): Move node to follow
14854 Argp Parsing State.
14857 * manual/conf.texi (Limits on File System Capacity): Mention if
14858 terminating null is included in the max size.
14860 2012-12-10 Andreas Jaeger <aj@suse.de>
14862 * po/cs.po: Update from translation team.
14864 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14866 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14867 void pointer and cast to uintptr_t.
14868 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14870 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14871 * sysdeps/s390/s390-64/memset.S: Likewise.
14873 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14876 * menual/message.texi (Message Translation): Fix typos.
14877 (Helper programs for gettext): Likewise.
14879 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14882 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14885 2012-12-07 David S. Miller <davem@davemloft.net>
14887 * po/libc.pot: Update.
14889 2012-12-07 Richard Henderson <rth@redhat.com>
14892 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14893 normal/normal case to before the switch.
14894 (_FP_DIV): Likewise.
14896 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14897 Mike Frysinger <vapier@gentoo.org>
14899 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14900 check for __NR_fadvise64_64.
14902 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14904 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14905 0, not just to plain "0" as a statement.
14906 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14909 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14911 * NEWS: Use sourceware.org in Bugzilla URL.
14913 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14916 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14918 * stdio-common/tst-put-error.c (do_test): Add newline to the
14919 padded test to ensure flush.
14921 2012-12-05 Jeff Law <law@redhat.com>
14923 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14925 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14927 * README: Don't refer to ports add-on as distributed separately.
14928 Mention AArch64 in list of systems supported in the ports add-on.
14930 * LICENSES: Add more non-FSF copyright and license notices.
14932 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14935 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14937 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14938 10000 as width of padded output.
14940 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14942 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14945 variable LX with __attribute__ ((unused)).
14946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14948 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14951 with __attribute__ ((unused)).
14953 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14955 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14957 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14959 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14960 (CFLAGS-nldbl-acos.c): New variable.
14961 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14962 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14963 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14964 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14965 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14966 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14967 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14968 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14969 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14970 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14971 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14972 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14973 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14974 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14975 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15007 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15008 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15009 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15010 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15011 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15012 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15064 whole low double instead of just low 47 bits when splitting values
15067 2012-12-03 Allan McRae <allan@archlinux.org>
15069 * manual/stdio.texi (Predefined Printf Handlers): Remove
15070 @hsep and @vsep usage.
15072 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15074 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15075 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15077 2012-12-03 Jeff Law <law@redhat.com>
15079 * time/sys/time.h (settimeofday): Do not mark TV argument
15082 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15084 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15085 when currently writing and seek to current position when not.
15086 * libio/Makefile (tests): Remove bug-fclose1.
15087 * libio/bug-fclose1.c: Delete.
15089 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15091 * manual/arith.texi (feenableexcept): Fix typo.
15092 (fedisableexcept): Likewise.
15094 2012-11-30 Roland McGrath <roland@hack.frob.com>
15096 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15097 second, differently-typed declaration, rather than a cast.
15099 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15101 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15102 * include/rpc/svc.h: ... here.
15104 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15107 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15108 depending n and resplen2 to catch cases where answer
15111 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15113 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15114 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15116 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15120 2012-11-29 Roland McGrath <roland@hack.frob.com>
15122 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15124 2012-11-28 Jeff Law <law@redhat.com>
15127 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15128 dataset_temporary. Track alloca usage into alloca_used.
15129 If dataset is large allocate and release it via malloc/free.
15131 2012-06-04 Florian Weimer <fweimer@redhat.com>
15134 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15136 2012-11-28 David S. Miller <davem@davemloft.net>
15138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15140 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15143 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15144 of pi/2 rounded to nearest to 64 bits.
15145 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15146 nearest to 64 bits.
15147 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15150 2012-11-28 Jeff Law <law@redhat.com>
15151 Martin Osvald <mosvald@redhat.com>
15154 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15155 * sunrpc/svc.c: Include time.h.
15156 (__svc_accept_failed): New function.
15157 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15158 any reason other than EINTR, call __svc_accept_failed.
15159 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15160 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15162 2012-11-28 Andreas Schwab <schwab@suse.de>
15164 * scripts/abilist.awk: Also handle indirect functions in .opd
15167 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15170 * sysdeps/x86/fpu/powl_helper.c: New file.
15171 * sysdeps/x86/fpu/Makefile: Likewise.
15172 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15174 (__ieee754_powl): Use __powl_helper for finite arguments except
15175 integer exponents below 8.
15176 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15178 (__ieee754_powl): Use __powl_helper for finite arguments except
15179 integer exponents below 8.
15180 * math/libm-test.inc (pow_test): Add more tests and enable some
15181 previously disabled tests.
15182 * sysdeps/i386/fpu/libm-test-ulps: Update.
15183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15185 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15186 Carlos O'Donell <carlos_odonell@mentor.com>
15188 * nss/makedb.c (is_prime): Assert that input is odd and greater
15189 than 4. Note that fact in a comment too.
15190 (next_prime): Add 4 to input.
15192 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 * libio/Makefile (tests): Add test case tst-fwrite-error.
15196 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15197 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15198 * libio/tst-fwrite-error.c: New test case.
15200 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15202 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15203 before casting to void *.
15204 * include/libc-internal.h (__pointer_type): New macro.
15205 (__integer_if_pointer_type_sub): Likewise.
15206 (__integer_if_pointer_type): Likewise.
15207 (cast_to_integer): Likewise.
15208 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15209 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15210 before casting to atomic64_t.
15211 (atomic_exchange_acq): Likewise.
15212 (__arch_exchange_and_add_body): Likewise.
15213 (__arch_add_body): Likewise.
15214 (atomic_add_negative): Likewise.
15215 (atomic_add_zero): Likewise.
15217 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15219 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15220 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15221 (add_fdes): Likewise.
15222 (linear_search_fdes): Likewise.
15223 (binary_search_unencoded_fdes): Likewise.
15225 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15227 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15229 2012-11-24 Adam Conrad <adconrad@0c3.net>
15231 * configure.in: Autodetect C++ header directories.
15232 * configure: Regenerated.
15234 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15236 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15238 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15242 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15244 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15245 LDBL_MANT_DIG == 106]: Disable some tests.
15246 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15248 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15253 input for small inputs. Return +/- pi/2 for large inputs.
15254 * math/libm-test.inc (atan_test): Add more tests.
15256 * sysdeps/generic/unwind-dw2-fde-glibc.c
15257 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15258 __attribute__ ((unused)).
15261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15262 x * y if x and y are nonzero and z is zero.
15265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15266 nonzero exponents with absolute value below 0x1p-117 to +/-
15270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15271 up arguments below 2**-450, not just those below 2**-500.
15272 * math/libm-test.inc (hypot_test): Add another test.
15275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15276 Return a+b for ratio over 2**120, not 2**60.
15277 * math/libm-test.inc (hypot_test): Add another test.
15279 * math/libm-test.inc (clog_test): Use
15280 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15281 (clog10_test): Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15286 2012-11-22 Andreas Schwab <schwab@suse.de>
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15290 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15292 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15293 printf output with newline.
15295 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15298 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15299 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15300 -z nodlopen, -z initfirst and -z execstack support.
15301 * configure: Regenerated.
15303 * elf/elf.h (DF_1_NODIRECT): New macro.
15304 (DF_1_IGNMULDEF): Likewise.
15305 (DF_1_NOKSYMS): Likewise.
15306 (DF_1_NOHDR): Likewise.
15307 (DF_1_EDITED): Likewise.
15308 (DF_1_NORELOC): Likewise.
15309 (DF_1_SYMINTPOSE): Likewise.
15310 (DF_1_GLOBAUDIT): Likewise.
15311 (DF_1_SINGLETON): Likewise.
15312 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15313 DT_1_SUPPORTED_MASK bits.
15314 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15316 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15318 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15320 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15322 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15325 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15326 (sendmmsg): Move declarations...
15327 * socket/sys/socket.h: ... here.
15328 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15329 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15331 * socket/recvmmsg.c: ... this new file.
15332 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15333 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15334 definition of __sendmmsg hidden.
15335 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15336 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15337 Move ENOSYS stub into and include it from...
15338 * socket/sendmmsg.c: ... this new file.
15339 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15340 (sysdep_routines): Move recvmmsg and sendmmsg...
15341 * socket/Makefile (routines): ... here.
15342 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15343 (GLIBC_PRIVATE): Add __sendmmsg.
15344 * include/sys/socket.h (__sendmmsg): Add declarations.
15345 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15348 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15351 variable I1 with __attribute__ ((unused)).
15352 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15354 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15356 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15357 DUMMY variables with __attribute__ ((unused)).
15359 * bits/byteswap.h: Include <bits/types.h>.
15360 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15362 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15364 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15365 string_t. Do not manually set errno.
15366 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15367 length with __strnlen. Make sure to both set errno and return it on
15370 2012-11-19 David S. Miller <davem@davemloft.net>
15372 With help from Joseph Myers.
15373 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15374 very large arguments properly.
15375 * math/libm-test.inc (atan_test): New tests.
15376 (atan2_test): New tests.
15377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15380 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15383 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15386 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15387 [POSIX] (EADDRNOTAVAIL): Likewise.
15388 [POSIX] (EAFNOSUPPORT): Likewise.
15389 [POSIX] (EALREADY): Likewise.
15390 [POSIX] (ECONNABORTED): Likewise.
15391 [POSIX] (ECONNREFUSED): Likewise.
15392 [POSIX] (ECONNRESET): Likewise.
15393 [POSIX] (EDESTADDRREQ): Likewise.
15394 [POSIX] (EDQUOT): Likewise.
15395 [POSIX] (EHOSTUNREACH): Likewise.
15396 [POSIX] (EIDRM): Likewise.
15397 [POSIX] (EISCONN): Likewise.
15398 [POSIX] (ELOOP): Likewise.
15399 [POSIX] (EMULTIHOP): Likewise.
15400 [POSIX] (ENETDOWN): Likewise.
15401 [POSIX] (ENETUNREACH): Likewise.
15402 [POSIX] (ENOBUFS): Likewise.
15403 [POSIX] (ENODATA): Likewise.
15404 [POSIX] (ENOLINK): Likewise.
15405 [POSIX] (ENOMSG): Likewise.
15406 [POSIX] (ENOPROTOOPT): Likewise.
15407 [POSIX] (ENOSR): Likewise.
15408 [POSIX] (ENOSTR): Likewise.
15409 [POSIX] (ENOTCONN): Likewise.
15410 [POSIX] (ENOTSOCK): Likewise.
15411 [POSIX] (EOPNOTSUPP): Likewise.
15412 [POSIX] (EOVERFLOW): Likewise.
15413 [POSIX] (EPROTO): Likewise.
15414 [POSIX] (EPROTONOSUPPORT): Likewise.
15415 [POSIX] (EPROTOTYPE): Likewise.
15416 [POSIX] (ESTALE): Likewise.
15417 [POSIX] (ETIME): Likewise.
15418 [POSIX] (ETXTBSY): Likewise.
15419 [POSIX] (EWOULDBLOCK): Likewise.
15420 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15421 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15422 [POSIX] (SEEK_CUR): Likewise.
15423 [POSIX] (SEEK_END): Likewise.
15424 [POSIX || UNIX98] (mode_t): Do not require.
15425 [POSIX] (off_t): Likewise.
15426 [POSIX] (pid_t): Likewise.
15427 [POSIX] (sys/stat.h): Do not allow header.
15428 [POSIX] (unistd.h): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15430 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15431 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15432 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15434 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15435 sigevent): Specify elements.
15436 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15438 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15439 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15441 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15442 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15443 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15444 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15445 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15446 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15447 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15448 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15449 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15450 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15451 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15452 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15453 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15460 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15462 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15463 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15464 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15465 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15467 Specify lower bound on value.
15468 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15469 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15472 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15473 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15474 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15475 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15477 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15479 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15485 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15496 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15498 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15505 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15510 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15513 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15517 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15518 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15519 specify as optional.
15520 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15523 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15524 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15525 [XPG3] (NL_LANGMAX): Likewise.
15526 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15527 [POSIX || XPG3] (NL_NMAX): Likewise.
15528 [POSIX || XPG3] (NL_SETMAX): Likewise.
15529 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15530 [XPG3] (NZERO): Likewise.
15531 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15532 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15533 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15534 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15535 (REG_ERANGE): Expect.
15536 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15538 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15539 Use (void) in prototype.
15540 [POSIX] (*_t): Allow.
15541 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15542 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15543 (WRDE_BADVAL): Expect.
15545 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15547 [XPG3 || XPG4] (O_RSYNC): Likewise.
15548 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15550 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15551 [XPG3 || XPG4] (sigqueue): Likewise.
15552 [XPG3 || XPG4] (sigtimedwait): Likewise.
15553 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15554 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15555 [XPG3 || XPG4] (vsnprintf): Likewise.
15556 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15558 [XPG3 || XPG4] (blksize_t): Likewise.
15559 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15561 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15562 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15563 [XPG3 || XPG4] (struct itimerspec): Likewise.
15564 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15565 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15566 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15567 [XPG3 || XPG4] (clockid_t): Likewise.
15568 [XPG3 || XPG4] (timer_t): Likewise.
15569 [XPG3 || XPG4] (clock_getres): Likewise.
15570 [XPG3 || XPG4] (clock_gettime): Likewise.
15571 [XPG3 || XPG4] (clock_settime): Likewise.
15572 [XPG3 || XPG4] (nanosleep): Likewise.
15573 [XPG3 || XPG4] (timer_create): Likewise.
15574 [XPG3 || XPG4] (timer_delete): Likewise.
15575 [XPG3 || XPG4] (timer_gettime): Likewise.
15576 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15577 [XPG3 || XPG4] (timer_settime): Likewise.
15578 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15579 [XPG3 || XPG4] (getlogin_r): Likewise.
15580 [XPG3 || XPG4] (pread): Likewise.
15581 [XPG3 || XPG4] (pthread_atfork): Likewise.
15582 [XPG3 || XPG4] (pwrite): Likewise.
15585 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15588 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15590 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15591 finalizing MALLSTREAM.
15593 * sysdeps/mach/hurd/syncfs.c: New file.
15595 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15599 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15600 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15601 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15602 (_nss_dns_gethostbyname4_r): Likewise.
15603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15604 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15606 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15609 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15611 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15613 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15614 * elf/cache.c (print_entry): Print ",AArch64" for
15617 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15618 * elf/cache.c (print_entry): Print ",hard-float" for
15621 2012-11-18 David S. Miller <davem@davemloft.net>
15623 With help from Joseph Myers.
15624 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15626 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15628 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15629 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15631 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15632 * math/libm-test.inc (y0_test): New tests.
15633 (y1_test): New tests.
15634 * sysdeps/i386/fpu/libm-test-ulps: Update.
15635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15638 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15640 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15642 * configure: Regenerated.
15644 2012-11-17 David S. Miller <davem@davemloft.net>
15647 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15648 nonzero exponents with absolute value below 0x1p-128 to +/-
15651 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15653 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15655 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15657 * posix/getconf-speclist.c: New file.
15658 * posix/posix-envs.def: Likewise.
15659 * posix/confstr.c (START_ENV_GROUP): New macro.
15660 (END_ENV_GROUP): Likewise.
15661 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15662 (KNOWN_PRESENT_ENV_STRING): Likewise.
15663 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15664 (UNKNOWN_ENVIRONMENT): Likewise.
15665 (confstr): Include posix-envs.def instead of handling
15666 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15667 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15668 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15669 (END_ENV_GROUP): Likewise.
15670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15671 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15672 (UNKNOWN_ENVIRONMENT): Likewise.
15673 (__sysconf): Include posix-envs.def instead of handling associated
15674 cases directly here.
15675 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15676 preprocessing getconf-speclist.c rather than running getconf or
15677 generating empty file.
15679 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15681 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15683 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15686 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15688 2012-11-16 David S. Miller <davem@davemloft.net>
15690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15691 smaller than LDBL_EPSILON/2.0L, just return xm1.
15693 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15695 * elf/tst-array1.c (init): Set constructor priority to 1000.
15696 (fini): Set destructor priority to 1000.
15697 * elf/tst-array2dep.c: Likewise.
15699 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15702 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15703 (_IO_new_file_xsputn): Also return EOF if none of the input
15704 data was written when overflow failed.
15705 * libio/iopadn.c (_IO_padn): Likewise.
15706 * libio/iowpadn.c (_IO_wpadn): Likewise.
15707 * stdio-common/tst-put-error.c: Add copyright notice.
15708 (do_test): Add case for printing padded string.
15709 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15710 _IO_padn returned error.
15711 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15712 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15715 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15717 * libio/libioP.h: Add comment note that the references to C++
15718 bits are now obsolete.
15720 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15722 * math/libm-test.inc (check_complex): Use asprintf.
15724 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15726 * debug/pcprofiledump.c (print_version): Update copyright year.
15727 * malloc/memusagestat.c (print_version): Likewise.
15729 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15732 * elf/Makefile (tests): Add tst-audit8.
15733 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15734 ($(objpfx)tst-audit8.out): New target.
15735 (tst-audit8-ENV): New variable.
15736 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15737 audit if l_reloc_result is NULL.
15738 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15739 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15740 * elf/tst-audit8.c: New file.
15742 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15744 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15745 * misc/Makefile (CFLAGS-select.c): Define.
15746 * posix/Makefile (CFLAGS-pause.c): Define.
15748 2012-11-13 David S. Miller <davem@davemloft.net>
15750 * crypt/Makefile: Move test targets after toplevel Rules
15751 inclusion. Grab any necessary sysdep routines when linking.
15752 * crypt/md5.c (md5_process_block): Remove define, we will always
15753 name it __md5_process_block.
15754 (md5_finish_ctx): Update md5_process_block call.
15755 (md5_stream): Likewise.
15756 (md5_process_bytes): Likewise.
15757 (md5_process_block): Rename to __md5_process_block and move to ...
15758 * crypt/md5-block.c: ... here.
15759 * crypt/sha256.c (sha256_process_block): Move to ...
15760 * crypt/sha256-block.c: ... here.
15761 * crypt/sha512.c (sha512_process_block): Move to ...
15762 * crypt/sha512-block.c: ... here.
15763 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15765 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15766 * sysdeps/sparc/sparc64/multiarch/Makefile
15767 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15769 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15770 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15772 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15773 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15774 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15775 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15776 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15777 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15778 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15779 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15782 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15785 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15787 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15789 * timezone/tzselect.ksh: Update from tzcode git revision
15790 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15791 * timezone/zdump.c: Likewise.
15792 * timezone/zic.c: Likewise.
15793 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15794 in TZVERSION setting, not $(PKGVERSION).
15795 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15796 REPORT_BUGS_TO settings.
15799 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15802 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15805 detection to immediately after _FP_ROUND().
15806 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15809 2012-11-11 David S. Miller <davem@davemloft.net>
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15813 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15814 __close rather than their public counterparts.
15816 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15818 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15820 [UNIX98] (sem_timedwait): Do not expect.
15821 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15822 [XPG4 || UNIX98] (sockatmark): Do not expect.
15823 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15824 (clock_getcpuclockid): Do not expect.
15825 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15826 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15828 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15829 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15830 [UNIX98] (vwscanf): Likewise.
15831 [UNIX98] (vswscanf): Likewise.
15833 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15835 * timezone/version.h: Remove file.
15836 * timezone/README: Do not refer to version.h.
15837 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15838 $(objpfx)version.h.
15839 ($(objpfx)zdump.o): Likewise.
15840 ($(objpfx)version.h): New target.
15842 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15844 * timezone/README: Don't mention modification to tzselect.ksh.
15845 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15846 work on unmodified tzselect.ksh. Substitute version numbers in
15849 * Makefile (format-me): Remove.
15850 (INSTALL): Adjust indentation. Use commands directly instead of
15851 using $(format-me).
15853 * aclocal.m4 (ACX_PKGVERSION): New macro.
15854 (ACX_BUGURL): Likewise.
15855 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15856 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15857 (REPORT_BUGS_TO): Likewise.
15858 * configure: Regenerated.
15859 * config.h.in (PKGVERSION): New macro.
15860 (REPORT_BUGS_TO): Likewise.
15861 * config.make.in (PKGVERSION): New variable.
15862 (PKGVERSION_TEXI): Likewise.
15863 (REPORT_BUGS_TO): Likewise.
15864 (REPORT_BUGS_TEXI): Likewise.
15865 * Makefile (format-me): Use -I$(common-objpfx)manual.
15866 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15867 ($(common-objpfx)manual/%): New target.
15868 (manual/%): Remove target.
15869 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15870 (print_version): Use PKGVERSION.
15871 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15872 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15873 and REPORT_BUGS_TO.
15874 ($(objpfx)xtrace): Likewise.
15875 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15876 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15877 (print_version): Use PKGVERSION.
15878 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15879 (do_version): Use PKGVERSION.
15880 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15882 (common-ldd-rewrite): Likewise.
15883 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15884 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15885 (print_version): Use PKGVERSION.
15886 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15887 * elf/pldd.c (argp_program_bug_address): Remove variable.
15888 (more_help): New function.
15889 (argp): Use more_help.
15890 (print_version): Use PKGVERSION.
15891 * elf/sln.c (main): Use PKGVERSION.
15892 (usage): Use REPORT_BUGS_TO.
15893 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15894 (top level): Use PKGVERSION.
15895 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15896 (print_version): Use PKGVERSION.
15897 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15898 (print_version): Use PKGVERSION.
15899 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15900 (print_version): Use PKGVERSION.
15901 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15902 (print_version): Use PKGVERSION.
15903 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15904 (print_version): Use PKGVERSION.
15905 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15906 (print_version): Use PKGVERSION.
15907 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15909 ($(objpfx)memusage): Likewise.
15910 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15911 (do_version): Use PKGVERSION.
15912 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15913 (print_version): Use PKGVERSION.
15914 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15915 ($PKGVERSION): New variable.
15916 ($REPORT_BUGS_TO): Likewise.
15917 (usage): Use $REPORT_BUGS_TO.
15918 (top level): Use $PKGVERSION.
15919 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15920 ($(objpfx)pkgvers.texi): New rule.
15921 ($(objpfx)stamp-pkgvers): Likewise.
15922 * manual/install.texi: Include pkgvers.texi.
15923 (--with-pkgversion): Document new configure option.
15924 (--with-bugurl): Likewise.
15925 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15926 than necessarily for this particular distribution. Use
15927 REPORT_BUGS_TO for where to report bugs.
15928 * INSTALL: Regenerated.
15929 * manual/libc.texinfo: Include pkgvers.texi.
15930 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15931 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15932 (print_version): Use PKGVERSION.
15933 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15934 (print_version): Use PKGVERSION.
15935 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15936 (print_version): Use PKGVERSION.
15937 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15938 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15940 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15941 (print_version): Use PKGVERSION.
15942 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15943 (print_version): Use PKGVERSION.
15944 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15947 * timezone/checktab.awk: Update from tzcode 2012i.
15948 * timezone/ialloc.c: Likewise.
15949 * timezone/private.h: Likewise.
15950 * timezone/scheck.c: Likewise.
15951 * timezone/tzfile.h: Likewise.
15952 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15953 (TZVERSION): Hardcode tzcode version number.
15954 * timezone/zdump.c: Update from tzcode 2012i.
15955 * timezone/zic.c: Likewise.
15956 * timezone/version.h: New file.
15957 * timezone/README: Describe version.h. Update upstream location.
15960 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15961 (mktemp): Enable declaration.
15962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15979 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15980 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15981 for copies of such integer values.
15982 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15983 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15985 2012-11-09 Andreas Jaeger <aj@suse.de>
15987 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15988 definitions and declarations that are provided by
15989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15991 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15993 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15994 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15995 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15998 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16000 * elf/elf.h: Update comment before AArch64 relocations.
16002 2012-11-07 David S. Miller <davem@davemloft.net>
16004 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16006 (__start_context): Declare.
16007 (__makecontext_ret): Delete.
16008 (__makecontext): Hook up __start_context instead of
16010 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16011 (sysdep_routines): Add __start_context when in stdlib.
16013 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16015 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16016 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16017 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16019 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16020 (READELF): New variable. Use it instead of hardcoded "readelf".
16022 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16024 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16025 * sysdeps/x86/Makefile: Here.
16026 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16027 * sysdeps/x86/tst-xmmymm.sh: This.
16029 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16031 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16033 [UNIX98] (pthread_barrier_t): Do not expect.
16034 [UNIX98] (pthread_barrierattr_t): Likewise.
16035 [UNIX98] (pthread_spinlock_t): Likewise.
16036 [UNIX98] (pthread_barrier_destroy): Likewise.
16037 [UNIX98] (pthread_barrier_init): Likewise.
16038 [UNIX98] (pthread_barrier_wait): Likewise.
16039 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16040 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16041 [UNIX98] (pthread_barrierattr_init): Likewise.
16042 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16043 [UNIX98] (pthread_getcpuclockid): Likewise.
16044 [UNIX98] (pthread_mutex_timedlock): Likewise.
16045 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16046 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16047 [UNIX98] (pthread_sigmask): Likewise.
16048 [UNIX98] (pthread_spin_destroy): Likewise.
16049 [UNIX98] (pthread_spin_init): Likewise.
16050 [UNIX98] (pthread_spin_lock): Likewise.
16051 [UNIX98] (pthread_spin_trylock): Likewise.
16052 [UNIX98] (pthread_spin_unlock): Likewise.
16053 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16055 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16057 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16058 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16059 [XPG3 || XPG4] (pthread_key_t): Likewise.
16060 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16061 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16062 [XPG3 || XPG4] (pthread_once_t): Likewise.
16063 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16064 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16066 [XPG3 || XPG4] (pthread_t): Likewise.
16068 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16070 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16073 Change function return type to int.
16075 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16076 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16077 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16078 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16079 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16080 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16081 [!POSIX] (posix_madvise): Likewise.
16082 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16084 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16085 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16086 (mode_t): Likewise.
16087 (posix_mem_offset): Likewise.
16088 (posix_typed_mem_get_info): Likewise.
16089 (posix_typed_mem_open): Likewise.
16091 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16092 Change condition to [XOPEN2K8].
16094 * conform/conformtest.pl: Preprocess allow-header data with -x c
16095 instead of from stdin.
16096 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16097 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16098 [C99-based standards] (cerfc): Likewise.
16099 [C99-based standards] (cexp2): Likewise.
16100 [C99-based standards] (cexpm1): Likewise.
16101 [C99-based standards] (clog10): Likewise.
16102 [C99-based standards] (clog1p): Likewise.
16103 [C99-based standards] (clog2): Likewise.
16104 [C99-based standards] (clgamma): Likewise.
16105 [C99-based standards] (ctgamma): Likewise.
16106 [C99-based standards] (cerff): Likewise.
16107 [C99-based standards] (cerfcf): Likewise.
16108 [C99-based standards] (cexp2f): Likewise.
16109 [C99-based standards] (cexpm1f): Likewise.
16110 [C99-based standards] (clog10f): Likewise.
16111 [C99-based standards] (clog1pf): Likewise.
16112 [C99-based standards] (clog2f): Likewise.
16113 [C99-based standards] (clgammaf): Likewise.
16114 [C99-based standards] (ctgammaf): Likewise.
16115 [C99-based standards] (cerfl): Likewise.
16116 [C99-based standards] (cerfcl): Likewise.
16117 [C99-based standards] (cexp2l): Likewise.
16118 [C99-based standards] (cexpm1l): Likewise.
16119 [C99-based standards] (clog10l): Likewise.
16120 [C99-based standards] (clog1pl): Likewise.
16121 [C99-based standards] (clog2l): Likewise.
16122 [C99-based standards] (clgammal): Likewise.
16123 [C99-based standards] (ctgammal): Likewise.
16124 * conform/data/inttypes.h-data [C99-based standards]: Include
16125 stdint.h-data. Remove all expectations for stdint.h contents.
16126 [C99-based standards] (PRI*): Do not allow.
16127 [C99-based standards] (SCN*): Likewise.
16128 [C99-based standards] (*_t): Likewise.
16129 [C99-based-standards] (PRId8): Expect macro.
16130 [C99-based-standards] (PRIi8): Likewise.
16131 [C99-based-standards] (PRIo8): Likewise.
16132 [C99-based-standards] (PRIu8): Likewise.
16133 [C99-based-standards] (PRIx8): Likewise.
16134 [C99-based-standards] (PRIX8): Likewise.
16135 [C99-based-standards] (SCNd8): Likewise.
16136 [C99-based-standards] (SCNi8): Likewise.
16137 [C99-based-standards] (SCNo8): Likewise.
16138 [C99-based-standards] (SCNu8): Likewise.
16139 [C99-based-standards] (SCNx8): Likewise.
16140 [C99-based-standards] (PRIdLEAST8): Likewise.
16141 [C99-based-standards] (PRIiLEAST8): Likewise.
16142 [C99-based-standards] (PRIoLEAST8): Likewise.
16143 [C99-based-standards] (PRIuLEAST8): Likewise.
16144 [C99-based-standards] (PRIxLEAST8): Likewise.
16145 [C99-based-standards] (PRIXLEAST8): Likewise.
16146 [C99-based-standards] (SCNdLEAST8): Likewise.
16147 [C99-based-standards] (SCNiLEAST8): Likewise.
16148 [C99-based-standards] (SCNoLEAST8): Likewise.
16149 [C99-based-standards] (SCNuLEAST8): Likewise.
16150 [C99-based-standards] (SCNxLEAST8): Likewise.
16151 [C99-based-standards] (PRIdFAST8): Likewise.
16152 [C99-based-standards] (PRIiFAST8): Likewise.
16153 [C99-based-standards] (PRIoFAST8): Likewise.
16154 [C99-based-standards] (PRIuFAST8): Likewise.
16155 [C99-based-standards] (PRIxFAST8): Likewise.
16156 [C99-based-standards] (PRIXFAST8): Likewise.
16157 [C99-based-standards] (SCNdFAST8): Likewise.
16158 [C99-based-standards] (SCNiFAST8): Likewise.
16159 [C99-based-standards] (SCNoFAST8): Likewise.
16160 [C99-based-standards] (SCNuFAST8): Likewise.
16161 [C99-based-standards] (SCNxFAST8): Likewise.
16162 [C99-based-standards] (PRId16): Likewise.
16163 [C99-based-standards] (PRIi16): Likewise.
16164 [C99-based-standards] (PRIo16): Likewise.
16165 [C99-based-standards] (PRIu16): Likewise.
16166 [C99-based-standards] (PRIx16): Likewise.
16167 [C99-based-standards] (PRIX16): Likewise.
16168 [C99-based-standards] (SCNd16): Likewise.
16169 [C99-based-standards] (SCNi16): Likewise.
16170 [C99-based-standards] (SCNo16): Likewise.
16171 [C99-based-standards] (SCNu16): Likewise.
16172 [C99-based-standards] (SCNx16): Likewise.
16173 [C99-based-standards] (PRIdLEAST16): Likewise.
16174 [C99-based-standards] (PRIiLEAST16): Likewise.
16175 [C99-based-standards] (PRIoLEAST16): Likewise.
16176 [C99-based-standards] (PRIuLEAST16): Likewise.
16177 [C99-based-standards] (PRIxLEAST16): Likewise.
16178 [C99-based-standards] (PRIXLEAST16): Likewise.
16179 [C99-based-standards] (SCNdLEAST16): Likewise.
16180 [C99-based-standards] (SCNiLEAST16): Likewise.
16181 [C99-based-standards] (SCNoLEAST16): Likewise.
16182 [C99-based-standards] (SCNuLEAST16): Likewise.
16183 [C99-based-standards] (SCNxLEAST16): Likewise.
16184 [C99-based-standards] (PRIdFAST16): Likewise.
16185 [C99-based-standards] (PRIiFAST16): Likewise.
16186 [C99-based-standards] (PRIoFAST16): Likewise.
16187 [C99-based-standards] (PRIuFAST16): Likewise.
16188 [C99-based-standards] (PRIxFAST16): Likewise.
16189 [C99-based-standards] (PRIXFAST16): Likewise.
16190 [C99-based-standards] (SCNdFAST16): Likewise.
16191 [C99-based-standards] (SCNiFAST16): Likewise.
16192 [C99-based-standards] (SCNoFAST16): Likewise.
16193 [C99-based-standards] (SCNuFAST16): Likewise.
16194 [C99-based-standards] (SCNxFAST16): Likewise.
16195 [C99-based-standards] (PRId32): Likewise.
16196 [C99-based-standards] (PRIi32): Likewise.
16197 [C99-based-standards] (PRIo32): Likewise.
16198 [C99-based-standards] (PRIu32): Likewise.
16199 [C99-based-standards] (PRIx32): Likewise.
16200 [C99-based-standards] (PRIX32): Likewise.
16201 [C99-based-standards] (SCNd32): Likewise.
16202 [C99-based-standards] (SCNi32): Likewise.
16203 [C99-based-standards] (SCNo32): Likewise.
16204 [C99-based-standards] (SCNu32): Likewise.
16205 [C99-based-standards] (SCNx32): Likewise.
16206 [C99-based-standards] (PRIdLEAST32): Likewise.
16207 [C99-based-standards] (PRIiLEAST32): Likewise.
16208 [C99-based-standards] (PRIoLEAST32): Likewise.
16209 [C99-based-standards] (PRIuLEAST32): Likewise.
16210 [C99-based-standards] (PRIxLEAST32): Likewise.
16211 [C99-based-standards] (PRIXLEAST32): Likewise.
16212 [C99-based-standards] (SCNdLEAST32): Likewise.
16213 [C99-based-standards] (SCNiLEAST32): Likewise.
16214 [C99-based-standards] (SCNoLEAST32): Likewise.
16215 [C99-based-standards] (SCNuLEAST32): Likewise.
16216 [C99-based-standards] (SCNxLEAST32): Likewise.
16217 [C99-based-standards] (PRIdFAST32): Likewise.
16218 [C99-based-standards] (PRIiFAST32): Likewise.
16219 [C99-based-standards] (PRIoFAST32): Likewise.
16220 [C99-based-standards] (PRIuFAST32): Likewise.
16221 [C99-based-standards] (PRIxFAST32): Likewise.
16222 [C99-based-standards] (PRIXFAST32): Likewise.
16223 [C99-based-standards] (SCNdFAST32): Likewise.
16224 [C99-based-standards] (SCNiFAST32): Likewise.
16225 [C99-based-standards] (SCNoFAST32): Likewise.
16226 [C99-based-standards] (SCNuFAST32): Likewise.
16227 [C99-based-standards] (SCNxFAST32): Likewise.
16228 [C99-based-standards] (PRId64): Likewise.
16229 [C99-based-standards] (PRIi64): Likewise.
16230 [C99-based-standards] (PRIo64): Likewise.
16231 [C99-based-standards] (PRIu64): Likewise.
16232 [C99-based-standards] (PRIx64): Likewise.
16233 [C99-based-standards] (PRIX64): Likewise.
16234 [C99-based-standards] (SCNd64): Likewise.
16235 [C99-based-standards] (SCNi64): Likewise.
16236 [C99-based-standards] (SCNo64): Likewise.
16237 [C99-based-standards] (SCNu64): Likewise.
16238 [C99-based-standards] (SCNx64): Likewise.
16239 [C99-based-standards] (PRIdLEAST64): Likewise.
16240 [C99-based-standards] (PRIiLEAST64): Likewise.
16241 [C99-based-standards] (PRIoLEAST64): Likewise.
16242 [C99-based-standards] (PRIuLEAST64): Likewise.
16243 [C99-based-standards] (PRIxLEAST64): Likewise.
16244 [C99-based-standards] (PRIXLEAST64): Likewise.
16245 [C99-based-standards] (SCNdLEAST64): Likewise.
16246 [C99-based-standards] (SCNiLEAST64): Likewise.
16247 [C99-based-standards] (SCNoLEAST64): Likewise.
16248 [C99-based-standards] (SCNuLEAST64): Likewise.
16249 [C99-based-standards] (SCNxLEAST64): Likewise.
16250 [C99-based-standards] (PRIdFAST64): Likewise.
16251 [C99-based-standards] (PRIiFAST64): Likewise.
16252 [C99-based-standards] (PRIoFAST64): Likewise.
16253 [C99-based-standards] (PRIuFAST64): Likewise.
16254 [C99-based-standards] (PRIxFAST64): Likewise.
16255 [C99-based-standards] (PRIXFAST64): Likewise.
16256 [C99-based-standards] (SCNdFAST64): Likewise.
16257 [C99-based-standards] (SCNiFAST64): Likewise.
16258 [C99-based-standards] (SCNoFAST64): Likewise.
16259 [C99-based-standards] (SCNuFAST64): Likewise.
16260 [C99-based-standards] (SCNxFAST64): Likewise.
16261 [C99-based-standards] (PRIdMAX): Likewise.
16262 [C99-based-standards] (PRIiMAX): Likewise.
16263 [C99-based-standards] (PRIoMAX): Likewise.
16264 [C99-based-standards] (PRIuMAX): Likewise.
16265 [C99-based-standards] (PRIxMAX): Likewise.
16266 [C99-based-standards] (PRIXMAX): Likewise.
16267 [C99-based-standards] (SCNdMAX): Likewise.
16268 [C99-based-standards] (SCNiMAX): Likewise.
16269 [C99-based-standards] (SCNoMAX): Likewise.
16270 [C99-based-standards] (SCNuMAX): Likewise.
16271 [C99-based-standards] (SCNxMAX): Likewise.
16272 [C99-based-standards] (PRIdPTR): Likewise.
16273 [C99-based-standards] (PRIiPTR): Likewise.
16274 [C99-based-standards] (PRIoPTR): Likewise.
16275 [C99-based-standards] (PRIuPTR): Likewise.
16276 [C99-based-standards] (PRIxPTR): Likewise.
16277 [C99-based-standards] (PRIXPTR): Likewise.
16278 [C99-based-standards] (SCNdPTR): Likewise.
16279 [C99-based-standards] (SCNiPTR): Likewise.
16280 [C99-based-standards] (SCNoPTR): Likewise.
16281 [C99-based-standards] (SCNuPTR): Likewise.
16282 [C99-based-standards] (SCNxPTR): Likewise.
16283 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16285 * conform/data/stdint.h-data: Update comments to clarify
16287 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16289 [C99-based standards] (INT8_MAX): Likewise.
16290 [C99-based standards] (INT16_MIN): Likewise.
16291 [C99-based standards] (INT16_MAX): Likewise.
16292 [C99-based standards] (INT32_MIN): Likewise.
16293 [C99-based standards] (INT32_MAX): Likewise.
16294 [C99-based standards] (INT64_MIN): Likewise.
16295 [C99-based standards] (INT64_MAX): Likewise.
16296 [C99-based standards] (UINT8_MAX): Likewise.
16297 [C99-based standards] (UINT16_MAX): Likewise.
16298 [C99-based standards] (UINT32_MAX): Likewise.
16299 [C99-based standards] (UINT64_MAX): Likewise.
16300 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16301 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16302 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16303 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16304 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16305 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16306 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16307 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16308 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16309 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16310 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16311 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16312 [C99-based standards] (INT_FAST8_MIN): Likewise.
16313 [C99-based standards] (INT_FAST8_MAX): Likewise.
16314 [C99-based standards] (INT_FAST16_MIN): Likewise.
16315 [C99-based standards] (INT_FAST16_MAX): Likewise.
16316 [C99-based standards] (INT_FAST32_MIN): Likewise.
16317 [C99-based standards] (INT_FAST32_MAX): Likewise.
16318 [C99-based standards] (INT_FAST64_MIN): Likewise.
16319 [C99-based standards] (INT_FAST64_MAX): Likewise.
16320 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16321 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16322 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16323 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16324 [C99-based standards] (INTPTR_MIN): Likewise.
16325 [C99-based standards] (INTPTR_MAX): Likewise.
16326 [C99-based standards] (UINTPTR_MAX): Likewise.
16327 [C99-based standards] (INTMAX_MIN): Likewise.
16328 [C99-based standards] (INTMAX_MAX): Likewise.
16329 [C99-based standards] (UINTMAX_MAX): Likewise.
16330 [C99-based standards] (PTRDIFF_MIN): Likewise.
16331 [C99-based standards] (PTRDIFF_MAX): Likewise.
16332 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16333 [C99-based standards] (SIZE_MAX): Likewise.
16334 [C99-based standards] (WCHAR_MAX): Likewise.
16335 [C99-based standards] (WINT_MAX): Likewise.
16336 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16337 constraint on value.
16338 [C99-based standards] (WCHAR_MIN): Likewise.
16339 [C99-based standards] (WINT_MIN): Likewise.
16340 [C99-based standards] (*_t): Allow.
16341 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16342 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16343 Include math.h-data and complex.h-data. Remove all expectations
16344 of math.h and complex.h contents.
16345 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16347 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16348 (struct tm): Expect tag.
16349 [C99-based-standards] (wcstof): Expect function.
16350 [C99-based-standards] (wcstold): Likewise.
16351 [C99-based-standards] (wcstoll): Likewise.
16352 [C99-based-standards] (wcstoull): Likewise.
16353 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16354 macro-int-constant. Specify type.
16355 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16356 constraint on value.
16357 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16359 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16361 [ISO C standards]: Do not allow headers.
16362 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16363 wcs[abcdefghijklmnopqrstuvwxyz]*.
16364 [ISO C standards] (*_t): Do not allow.
16365 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16367 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16368 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16370 [ISO C standards]: Do not allow headers.
16371 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16372 is[abcdefghijklmnopqrstuvwxyz]*.
16373 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16374 to[abcdefghijklmnopqrstuvwxyz]*.
16375 [ISO C standards] (*_t): Do not allow.
16376 * conform/data/stdalign.h-data: New file.
16377 * conform/data/stdbool.h-data: Likewise.
16378 * conform/data/stdnoreturn.h-data: Likewise.
16380 2012-11-07 Roland McGrath <roland@hack.frob.com>
16383 * manual/filesys.texi (Directory Entries): Typo fix.
16384 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16386 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16388 * elf/elf.h (EM_AARCH64): New macro.
16389 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16390 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16391 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16392 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16393 (R_AARCH64_TLSDESC): Likewise.
16394 (NT_ARM_TLS): Likewise.
16395 (NT_ARM_HW_BREAK): Likewise.
16396 (NT_ARM_HW_WATCH): Likewise.
16398 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16401 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16402 (__ieee754_powl): Saturate nonzero exponents with absolute value
16403 below 0x1p-79 to +/- 0x1p-79.
16404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16405 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16407 nonzero exponents with absolute value below 0x1p-32 to +/-
16409 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16410 (__ieee754_powl): Saturate nonzero exponents with absolute value
16411 below 0x1p-79 to +/- 0x1p-79.
16412 * math/libm-test.inc (pow_test): Add more tests.
16414 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16416 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16417 _dl_s390_cap_flags with kernel. Increase string length.
16418 (_dl_s390_platforms): Add z196 and zEC12.
16420 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16422 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16423 Change XOPEN21K to XOPEN2K.
16425 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16427 * string/memmove.c: Use memcpy when possible.
16429 2012-11-06 Andreas Jaeger <aj@suse.de>
16431 * po/eo.po: Update from translation team.
16433 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16437 exponent and small x and y exponents, scale x or y up. Increase
16438 by 2 the exponent used in scaling up.
16439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16441 * math/libm-test.inc (fma_test): Add more tests.
16442 (fma_test_towardzero): Likewise.
16443 (fma_test_downward): Likewise.
16444 (fma_test_upward): Likewise.
16446 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16449 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16453 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16454 namespace for names of struct fields.
16455 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16457 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16458 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16460 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16463 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16465 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16467 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16471 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16474 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16478 definitely overflow as x * y not x * y + z.
16479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16481 * math/libm-test.inc (fma_test): Add more tests.
16482 (fma_test_towardzero): Likewise.
16483 (fma_test_downward): Likewise.
16484 (fma_test_upward): Likewise.
16486 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16490 * include/stub-tag.h: Remove file.
16491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16493 * manual/maint.texi (Porting): Don't reference it.
16494 * Makerules ($(objpfx)stubs): Likewise.
16495 * dirent/closedir.c: Don't include <stub-tag.h>.
16496 * dirent/dirfd.c: Likewise.
16497 * dirent/fdopendir.c: Likewise.
16498 * dirent/getdents.c: Likewise.
16499 * dirent/getdents64.c: Likewise.
16500 * dirent/opendir.c: Likewise.
16501 * dirent/readdir.c: Likewise.
16502 * dirent/readdir64.c: Likewise.
16503 * dirent/readdir64_r.c: Likewise.
16504 * dirent/readdir_r.c: Likewise.
16505 * dirent/rewinddir.c: Likewise.
16506 * dirent/seekdir.c: Likewise.
16507 * dirent/telldir.c: Likewise.
16508 * gmon/profil.c: Likewise.
16509 * grp/setgroups.c: Likewise.
16510 * inet/if_index.c: Likewise.
16511 * io/access.c: Likewise.
16512 * io/chdir.c: Likewise.
16513 * io/chmod.c: Likewise.
16514 * io/chown.c: Likewise.
16515 * io/close.c: Likewise.
16516 * io/dup.c: Likewise.
16517 * io/dup2.c: Likewise.
16518 * io/dup3.c: Likewise.
16519 * io/euidaccess.c: Likewise.
16520 * io/faccessat.c: Likewise.
16521 * io/fchdir.c: Likewise.
16522 * io/fchmod.c: Likewise.
16523 * io/fchmodat.c: Likewise.
16524 * io/fchown.c: Likewise.
16525 * io/fchownat.c: Likewise.
16526 * io/fcntl.c: Likewise.
16527 * io/flock.c: Likewise.
16528 * io/fstatfs.c: Likewise.
16529 * io/fstatfs64.c: Likewise.
16530 * io/fstatvfs.c: Likewise.
16531 * io/fstatvfs64.c: Likewise.
16532 * io/futimens.c: Likewise.
16533 * io/fxstat.c: Likewise.
16534 * io/fxstat64.c: Likewise.
16535 * io/fxstatat.c: Likewise.
16536 * io/fxstatat64.c: Likewise.
16537 * io/getcwd.c: Likewise.
16538 * io/isatty.c: Likewise.
16539 * io/lchmod.c: Likewise.
16540 * io/lchown.c: Likewise.
16541 * io/link.c: Likewise.
16542 * io/linkat.c: Likewise.
16543 * io/lseek.c: Likewise.
16544 * io/lseek64.c: Likewise.
16545 * io/lxstat64.c: Likewise.
16546 * io/mkdir.c: Likewise.
16547 * io/mkdirat.c: Likewise.
16548 * io/mkfifo.c: Likewise.
16549 * io/mkfifoat.c: Likewise.
16550 * io/open.c: Likewise.
16551 * io/open64.c: Likewise.
16552 * io/openat.c: Likewise.
16553 * io/openat64.c: Likewise.
16554 * io/pipe.c: Likewise.
16555 * io/pipe2.c: Likewise.
16556 * io/poll.c: Likewise.
16557 * io/posix_fadvise.c: Likewise.
16558 * io/posix_fadvise64.c: Likewise.
16559 * io/posix_fallocate.c: Likewise.
16560 * io/posix_fallocate64.c: Likewise.
16561 * io/read.c: Likewise.
16562 * io/readlink.c: Likewise.
16563 * io/readlinkat.c: Likewise.
16564 * io/rmdir.c: Likewise.
16565 * io/sendfile.c: Likewise.
16566 * io/sendfile64.c: Likewise.
16567 * io/statfs.c: Likewise.
16568 * io/statfs64.c: Likewise.
16569 * io/statvfs.c: Likewise.
16570 * io/statvfs64.c: Likewise.
16571 * io/symlink.c: Likewise.
16572 * io/symlinkat.c: Likewise.
16573 * io/ttyname.c: Likewise.
16574 * io/ttyname_r.c: Likewise.
16575 * io/umask.c: Likewise.
16576 * io/unlink.c: Likewise.
16577 * io/unlinkat.c: Likewise.
16578 * io/utime.c: Likewise.
16579 * io/utimensat.c: Likewise.
16580 * io/write.c: Likewise.
16581 * io/xmknod.c: Likewise.
16582 * io/xmknodat.c: Likewise.
16583 * io/xstat.c: Likewise.
16584 * io/xstat64.c: Likewise.
16585 * login/getpt.c: Likewise.
16586 * login/grantpt.c: Likewise.
16587 * login/unlockpt.c: Likewise.
16588 * math/e_acoshl.c: Likewise.
16589 * math/e_acosl.c: Likewise.
16590 * math/e_asinl.c: Likewise.
16591 * math/e_atan2l.c: Likewise.
16592 * math/e_atanhl.c: Likewise.
16593 * math/e_coshl.c: Likewise.
16594 * math/e_expl.c: Likewise.
16595 * math/e_fmodl.c: Likewise.
16596 * math/e_gammal_r.c: Likewise.
16597 * math/e_hypotl.c: Likewise.
16598 * math/e_j0l.c: Likewise.
16599 * math/e_j1l.c: Likewise.
16600 * math/e_jnl.c: Likewise.
16601 * math/e_lgammal_r.c: Likewise.
16602 * math/e_log10l.c: Likewise.
16603 * math/e_log2l.c: Likewise.
16604 * math/e_logl.c: Likewise.
16605 * math/e_powl.c: Likewise.
16606 * math/e_rem_pio2l.c: Likewise.
16607 * math/e_sinhl.c: Likewise.
16608 * math/e_sqrtl.c: Likewise.
16609 * math/fclrexcpt.c: Likewise.
16610 * math/fedisblxcpt.c: Likewise.
16611 * math/feenablxcpt.c: Likewise.
16612 * math/fegetenv.c: Likewise.
16613 * math/fegetexcept.c: Likewise.
16614 * math/fegetround.c: Likewise.
16615 * math/feholdexcpt.c: Likewise.
16616 * math/fesetenv.c: Likewise.
16617 * math/fesetround.c: Likewise.
16618 * math/feupdateenv.c: Likewise.
16619 * math/fgetexcptflg.c: Likewise.
16620 * math/fraiseexcpt.c: Likewise.
16621 * math/fsetexcptflg.c: Likewise.
16622 * math/ftestexcept.c: Likewise.
16623 * math/k_cosl.c: Likewise.
16624 * math/k_rem_pio2l.c: Likewise.
16625 * math/k_sinl.c: Likewise.
16626 * math/k_tanl.c: Likewise.
16627 * math/s_asinhl.c: Likewise.
16628 * math/s_atanl.c: Likewise.
16629 * math/s_cbrtl.c: Likewise.
16630 * math/s_erfl.c: Likewise.
16631 * math/s_expm1l.c: Likewise.
16632 * math/s_log1pl.c: Likewise.
16633 * math/s_tanhl.c: Likewise.
16634 * misc/acct.c: Likewise.
16635 * misc/brk.c: Likewise.
16636 * misc/chflags.c: Likewise.
16637 * misc/chroot.c: Likewise.
16638 * misc/fchflags.c: Likewise.
16639 * misc/fgetxattr.c: Likewise.
16640 * misc/flistxattr.c: Likewise.
16641 * misc/fremovexattr.c: Likewise.
16642 * misc/fsetxattr.c: Likewise.
16643 * misc/fsync.c: Likewise.
16644 * misc/ftruncate.c: Likewise.
16645 * misc/futimes.c: Likewise.
16646 * misc/futimesat.c: Likewise.
16647 * misc/getdomain.c: Likewise.
16648 * misc/getdtsz.c: Likewise.
16649 * misc/gethostid.c: Likewise.
16650 * misc/gethostname.c: Likewise.
16651 * misc/getloadavg.c: Likewise.
16652 * misc/getpagesize.c: Likewise.
16653 * misc/getsysstats.c: Likewise.
16654 * misc/getxattr.c: Likewise.
16655 * misc/gtty.c: Likewise.
16656 * misc/ioctl.c: Likewise.
16657 * misc/lgetxattr.c: Likewise.
16658 * misc/listxattr.c: Likewise.
16659 * misc/llistxattr.c: Likewise.
16660 * misc/lremovexattr.c: Likewise.
16661 * misc/lsetxattr.c: Likewise.
16662 * misc/lutimes.c: Likewise.
16663 * misc/madvise.c: Likewise.
16664 * misc/mincore.c: Likewise.
16665 * misc/mlock.c: Likewise.
16666 * misc/mlockall.c: Likewise.
16667 * misc/mmap.c: Likewise.
16668 * misc/mprotect.c: Likewise.
16669 * misc/msync.c: Likewise.
16670 * misc/munlock.c: Likewise.
16671 * misc/munlockall.c: Likewise.
16672 * misc/munmap.c: Likewise.
16673 * misc/preadv.c: Likewise.
16674 * misc/preadv64.c: Likewise.
16675 * misc/ptrace.c: Likewise.
16676 * misc/pwritev.c: Likewise.
16677 * misc/pwritev64.c: Likewise.
16678 * misc/readv.c: Likewise.
16679 * misc/reboot.c: Likewise.
16680 * misc/remap_file_pages.c: Likewise.
16681 * misc/removexattr.c: Likewise.
16682 * misc/revoke.c: Likewise.
16683 * misc/select.c: Likewise.
16684 * misc/setdomain.c: Likewise.
16685 * misc/setegid.c: Likewise.
16686 * misc/seteuid.c: Likewise.
16687 * misc/sethostid.c: Likewise.
16688 * misc/sethostname.c: Likewise.
16689 * misc/setregid.c: Likewise.
16690 * misc/setreuid.c: Likewise.
16691 * misc/setxattr.c: Likewise.
16692 * misc/sstk.c: Likewise.
16693 * misc/stty.c: Likewise.
16694 * misc/swapoff.c: Likewise.
16695 * misc/swapon.c: Likewise.
16696 * misc/sync.c: Likewise.
16697 * misc/syncfs.c: Likewise.
16698 * misc/syscall.c: Likewise.
16699 * misc/truncate.c: Likewise.
16700 * misc/ualarm.c: Likewise.
16701 * misc/usleep.c: Likewise.
16702 * misc/ustat.c: Likewise.
16703 * misc/utimes.c: Likewise.
16704 * misc/vhangup.c: Likewise.
16705 * misc/writev.c: Likewise.
16706 * posix/_exit.c: Likewise.
16707 * posix/alarm.c: Likewise.
16708 * posix/execve.c: Likewise.
16709 * posix/fexecve.c: Likewise.
16710 * posix/fork.c: Likewise.
16711 * posix/fpathconf.c: Likewise.
16712 * posix/getaddrinfo.c: Likewise.
16713 * posix/getegid.c: Likewise.
16714 * posix/geteuid.c: Likewise.
16715 * posix/getgid.c: Likewise.
16716 * posix/getgroups.c: Likewise.
16717 * posix/getlogin.c: Likewise.
16718 * posix/getlogin_r.c: Likewise.
16719 * posix/getpgid.c: Likewise.
16720 * posix/getpid.c: Likewise.
16721 * posix/getppid.c: Likewise.
16722 * posix/getresgid.c: Likewise.
16723 * posix/getresuid.c: Likewise.
16724 * posix/getsid.c: Likewise.
16725 * posix/getuid.c: Likewise.
16726 * posix/glob64.c: Likewise.
16727 * posix/nanosleep.c: Likewise.
16728 * posix/pathconf.c: Likewise.
16729 * posix/pause.c: Likewise.
16730 * posix/posix_madvise.c: Likewise.
16731 * posix/pread.c: Likewise.
16732 * posix/pread64.c: Likewise.
16733 * posix/pwrite.c: Likewise.
16734 * posix/pwrite64.c: Likewise.
16735 * posix/sched_getaffinity.c: Likewise.
16736 * posix/sched_getp.c: Likewise.
16737 * posix/sched_gets.c: Likewise.
16738 * posix/sched_primax.c: Likewise.
16739 * posix/sched_primin.c: Likewise.
16740 * posix/sched_rr_gi.c: Likewise.
16741 * posix/sched_setaffinity.c: Likewise.
16742 * posix/sched_setp.c: Likewise.
16743 * posix/sched_sets.c: Likewise.
16744 * posix/sched_yield.c: Likewise.
16745 * posix/setgid.c: Likewise.
16746 * posix/setlogin.c: Likewise.
16747 * posix/setpgid.c: Likewise.
16748 * posix/setresgid.c: Likewise.
16749 * posix/setresuid.c: Likewise.
16750 * posix/setsid.c: Likewise.
16751 * posix/setuid.c: Likewise.
16752 * posix/sleep.c: Likewise.
16753 * posix/spawni.c: Likewise.
16754 * posix/sysconf.c: Likewise.
16755 * posix/times.c: Likewise.
16756 * posix/wait.c: Likewise.
16757 * posix/wait3.c: Likewise.
16758 * posix/wait4.c: Likewise.
16759 * posix/waitpid.c: Likewise.
16760 * resolv/gai_sigqueue.c: Likewise.
16761 * resource/getpriority.c: Likewise.
16762 * resource/getrlimit.c: Likewise.
16763 * resource/getrusage.c: Likewise.
16764 * resource/nice.c: Likewise.
16765 * resource/setpriority.c: Likewise.
16766 * resource/setrlimit.c: Likewise.
16767 * resource/ulimit.c: Likewise.
16768 * rt/aio_cancel.c: Likewise.
16769 * rt/aio_fsync.c: Likewise.
16770 * rt/aio_read.c: Likewise.
16771 * rt/aio_sigqueue.c: Likewise.
16772 * rt/aio_suspend.c: Likewise.
16773 * rt/aio_write.c: Likewise.
16774 * rt/clock_getres.c: Likewise.
16775 * rt/clock_gettime.c: Likewise.
16776 * rt/clock_nanosleep.c: Likewise.
16777 * rt/clock_settime.c: Likewise.
16778 * rt/lio_listio.c: Likewise.
16779 * rt/mq_close.c: Likewise.
16780 * rt/mq_getattr.c: Likewise.
16781 * rt/mq_notify.c: Likewise.
16782 * rt/mq_open.c: Likewise.
16783 * rt/mq_receive.c: Likewise.
16784 * rt/mq_send.c: Likewise.
16785 * rt/mq_setattr.c: Likewise.
16786 * rt/mq_timedreceive.c: Likewise.
16787 * rt/mq_timedsend.c: Likewise.
16788 * rt/mq_unlink.c: Likewise.
16789 * rt/shm_open.c: Likewise.
16790 * rt/shm_unlink.c: Likewise.
16791 * rt/timer_create.c: Likewise.
16792 * rt/timer_delete.c: Likewise.
16793 * rt/timer_getoverr.c: Likewise.
16794 * rt/timer_gettime.c: Likewise.
16795 * rt/timer_settime.c: Likewise.
16796 * setjmp/__longjmp.c: Likewise.
16797 * setjmp/setjmp.c: Likewise.
16798 * signal/kill.c: Likewise.
16799 * signal/killpg.c: Likewise.
16800 * signal/raise.c: Likewise.
16801 * signal/sigaction.c: Likewise.
16802 * signal/sigaltstack.c: Likewise.
16803 * signal/sigblock.c: Likewise.
16804 * signal/sigignore.c: Likewise.
16805 * signal/sigintr.c: Likewise.
16806 * signal/signal.c: Likewise.
16807 * signal/sigpause.c: Likewise.
16808 * signal/sigpending.c: Likewise.
16809 * signal/sigqueue.c: Likewise.
16810 * signal/sigreturn.c: Likewise.
16811 * signal/sigset.c: Likewise.
16812 * signal/sigsetmask.c: Likewise.
16813 * signal/sigstack.c: Likewise.
16814 * signal/sigsuspend.c: Likewise.
16815 * signal/sigtimedwait.c: Likewise.
16816 * signal/sigvec.c: Likewise.
16817 * signal/sigwait.c: Likewise.
16818 * signal/sigwaitinfo.c: Likewise.
16819 * signal/sysv_signal.c: Likewise.
16820 * socket/accept.c: Likewise.
16821 * socket/accept4.c: Likewise.
16822 * socket/bind.c: Likewise.
16823 * socket/connect.c: Likewise.
16824 * socket/getpeername.c: Likewise.
16825 * socket/getsockname.c: Likewise.
16826 * socket/getsockopt.c: Likewise.
16827 * socket/isfdtype.c: Likewise.
16828 * socket/listen.c: Likewise.
16829 * socket/recv.c: Likewise.
16830 * socket/recvfrom.c: Likewise.
16831 * socket/recvmsg.c: Likewise.
16832 * socket/send.c: Likewise.
16833 * socket/sendmsg.c: Likewise.
16834 * socket/sendto.c: Likewise.
16835 * socket/setsockopt.c: Likewise.
16836 * socket/shutdown.c: Likewise.
16837 * socket/sockatmark.c: Likewise.
16838 * socket/socket.c: Likewise.
16839 * socket/socketpair.c: Likewise.
16840 * stdio-common/ctermid.c: Likewise.
16841 * stdio-common/cuserid.c: Likewise.
16842 * stdio-common/remove.c: Likewise.
16843 * stdio-common/rename.c: Likewise.
16844 * stdio-common/renameat.c: Likewise.
16845 * stdio-common/tempname.c: Likewise.
16846 * stdlib/getcontext.c: Likewise.
16847 * stdlib/makecontext.c: Likewise.
16848 * stdlib/setcontext.c: Likewise.
16849 * stdlib/swapcontext.c: Likewise.
16850 * stdlib/system.c: Likewise.
16851 * streams/fattach.c: Likewise.
16852 * streams/fdetach.c: Likewise.
16853 * streams/getmsg.c: Likewise.
16854 * streams/getpmsg.c: Likewise.
16855 * streams/putmsg.c: Likewise.
16856 * streams/putpmsg.c: Likewise.
16857 * sysdeps/unix/bsd/getpt.c: Likewise.
16858 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16859 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16860 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16863 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16864 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16865 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16866 * sysvipc/msgctl.c: Likewise.
16867 * sysvipc/msgget.c: Likewise.
16868 * sysvipc/msgrcv.c: Likewise.
16869 * sysvipc/msgsnd.c: Likewise.
16870 * sysvipc/semctl.c: Likewise.
16871 * sysvipc/semget.c: Likewise.
16872 * sysvipc/semop.c: Likewise.
16873 * sysvipc/semtimedop.c: Likewise.
16874 * sysvipc/shmat.c: Likewise.
16875 * sysvipc/shmctl.c: Likewise.
16876 * sysvipc/shmdt.c: Likewise.
16877 * sysvipc/shmget.c: Likewise.
16878 * termios/tcdrain.c: Likewise.
16879 * termios/tcflow.c: Likewise.
16880 * termios/tcflush.c: Likewise.
16881 * termios/tcgetattr.c: Likewise.
16882 * termios/tcgetpgrp.c: Likewise.
16883 * termios/tcsendbrk.c: Likewise.
16884 * termios/tcsetattr.c: Likewise.
16885 * termios/tcsetpgrp.c: Likewise.
16886 * time/adjtime.c: Likewise.
16887 * time/clock.c: Likewise.
16888 * time/getitimer.c: Likewise.
16889 * time/gettimeofday.c: Likewise.
16890 * time/setitimer.c: Likewise.
16891 * time/settimeofday.c: Likewise.
16892 * time/stime.c: Likewise.
16893 * time/time.c: Likewise.
16895 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16897 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16900 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16902 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16904 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16908 FE_TONEAREST before applying Dekker multiplication and Knuth
16909 addition. Clear inexact exceptions and check for exact zero
16910 results afterwards.
16911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16914 * math/libm-test.inc (fma_test): Add more tests.
16915 (fma_test_towardzero): Likewise.
16916 (fma_test_downward): Likewise.
16917 (fma_test_upward): Likewise.
16918 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16920 (libc_fesetround): New macro.
16921 (libc_fesetroundf): Likewise.
16922 (libc_fesetroundl): Likewise.
16923 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16925 (libc_fesetround_387): Likewise.
16926 (libc_fesetroundf): New macro.
16927 (libc_fesetround): Likewise.
16928 (libc_fesetroundl): Likewise.
16929 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16931 (libc_fesetroundf): New macro.
16932 (libc_fesetround): Likewise.
16933 (libc_fesetroundl): Likewise.
16934 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16935 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16936 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16938 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16939 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16941 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16942 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16944 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16948 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16949 integer constant usable in #if and use that to give value to enum
16951 (FE_DIVBYZERO): Likewise.
16952 (FE_UNDERFLOW): Likewise.
16953 (FE_OVERFLOW): Likewise.
16954 (FE_INVALID): Likewise.
16955 (FE_INVALID_SNAN): Likewise.
16956 (FE_INVALID_ISI): Likewise.
16957 (FE_INVALID_IDI): Likewise.
16958 (FE_INVALID_ZDZ): Likewise.
16959 (FE_INVALID_IMZ): Likewise.
16960 (FE_INVALID_COMPARE): Likewise.
16961 (FE_INVALID_SOFTWARE): Likewise.
16962 (FE_INVALID_SQRT): Likewise.
16963 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16964 (FE_TONEAREST): Likewise.
16965 (FE_TOWARDZERO): Likewise.
16966 (FE_UPWARD): Likewise.
16967 (FE_DOWNWARD): Likewise.
16968 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16969 (FE_DIVBYZERO): Likewise.
16970 (FE_OVERFLOW): Likewise.
16971 (FE_UNDERFLOW): Likewise.
16972 (FE_INEXACT): Likewise.
16973 (FE_TONEAREST): Likewise.
16974 (FE_DOWNWARD): Likewise.
16975 (FE_UPWARD): Likewise.
16976 (FE_TOWARDZERO): Likewise.
16977 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16978 (FE_UNDERFLOW): Likewise.
16979 (FE_OVERFLOW): Likewise.
16980 (FE_DIVBYZERO): Likewise.
16981 (FE_INVALID): Likewise.
16982 (FE_TONEAREST): Likewise.
16983 (FE_TOWARDZERO): Likewise.
16984 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16985 (FE_OVERFLOW): Likewise.
16986 (FE_UNDERFLOW): Likewise.
16987 (FE_DIVBYZERO): Likewise.
16988 (FE_INEXACT): Likewise.
16989 (FE_TONEAREST): Likewise.
16990 (FE_TOWARDZERO): Likewise.
16991 (FE_UPWARD): Likewise.
16992 (FE_DOWNWARD): Likewise.
16993 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16994 (FE_DIVBYZERO): Likewise.
16995 (FE_OVERFLOW): Likewise.
16996 (FE_UNDERFLOW): Likewise.
16997 (FE_INEXACT): Likewise.
16998 (FE_TONEAREST): Likewise.
16999 (FE_DOWNWARD): Likewise.
17000 (FE_UPWARD): Likewise.
17001 (FE_TOWARDZERO): Likewise.
17003 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17005 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17007 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17009 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17010 commands. Quote $PWD.
17011 (blacklist_exports): Don't use remove_newlines. Replace "declare
17013 (remove_newlines): Remove.
17015 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17017 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17018 * stdlib/stdlib.h (atof): Moved to ...
17019 * include/bits/stdlib-float.h: Here. New file.
17020 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17021 * stdlib/bits/stdlib-float.h: New file.
17022 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17027 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17029 * conform/conformtest.pl (@headers): Add fenv.h.
17030 * conform/data/fenv.h-data: New file.
17031 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17032 include of <math/fenv.h>.
17034 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17035 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17036 && !UNIX98]. Enables tests for XOPEN2K8.
17037 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17038 POSIX2008]: Likewise.
17040 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17041 (struct rusage): Do not expect type or its members.
17044 * math/math.h (FP_NAN): Define macro to integer constant usable in
17045 #if and use that to give value to enum constant.
17046 (FP_INFINITE): Likewise.
17047 (FP_ZERO): Likewise.
17048 (FP_SUBNORMAL): Likewise.
17049 (FP_NORMAL): Likewise.
17051 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17053 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17054 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17057 2012-11-02 Roland McGrath <roland@hack.frob.com>
17059 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17060 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17061 autoconf-time if not.
17062 * configure.in: Remove AC_PREREQ.
17064 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17066 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17067 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17068 of the internal implementation.
17070 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17072 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17073 except include of <misc/sys/syslog.h>.
17075 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17078 function returns with a NULL context exit with zero.
17080 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17082 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17084 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17086 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17087 (run_program_cmd): This.
17088 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17089 (tst_langinfo): New variable. Use it.
17091 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17093 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17094 floating point opcodes.
17096 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17098 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17101 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17103 * sysdeps/mach/hurd/powerpc: Remove directory.
17104 * sysdeps/mach/powerpc: Likewise.
17106 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17108 * scripts/check-local-headers.sh: Ignore c++ headers.
17110 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17112 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17113 __libc_cleanup_region_start argument.
17115 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17120 x * y using scaling, not as x * y + z.
17121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17123 * math/libm-test.inc (fma_test): Add more tests.
17124 (fma_test_towardzero): Likewise.
17125 (fma_test_downward): Likewise.
17126 (fma_test_upward): Likewise.
17128 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17130 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17132 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17134 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17137 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17139 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17141 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17148 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17151 Fix the order of the list for glibc 2.17.
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17155 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17159 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17163 for low part of x being zero before using __atanl (y).
17164 * math/libm-test.inc (atan2_test): Add another test.
17166 * manual/install.texi (Configuring and compiling): Document
17167 general use of test-wrapper and test-wrapper-env.
17168 * INSTALL: Regenerated.
17170 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17171 (__fma): Do not extract and scale down low bits on after-rounding
17172 systems when result rounded to normal precision would have normal
17174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17175 (__fmal): Do not extract and scale down low bits on after-rounding
17176 systems when result rounded to normal precision would have normal
17178 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17179 (__fmal): Do not extract and scale down low bits on after-rounding
17180 systems when result rounded to normal precision would have normal
17182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17184 (fma_test): Add more tests.
17185 (fma_test_towardzero): Likewise.
17186 (fma_test_downward): Likewise.
17187 (fma_test_upward): Likewise.
17189 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17191 * sysdeps/i386/tininess.h: Renamed to ...
17192 * sysdeps/x86/tininess.h: This.
17193 * sysdeps/x86_64/tininess.h: Removed.
17195 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17197 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17198 input. Use $(build-program-cmd).
17199 ($(objpfx)tst-array1-static.out): Likewise.
17200 ($(objpfx)tst-array2.out): Likewise.
17201 ($(objpfx)tst-array3.out): Likewise.
17202 ($(objpfx)tst-array4.out): Likewise.
17203 ($(objpfx)tst-array5.out): Likewise.
17204 ($(objpfx)tst-array5-static.out): Likewise.
17206 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17208 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17211 * nss/nsswitch.h (nss_interface_function): Provide new
17212 macro for use with NSS functions.
17213 * grp/initgroups.c: Use new macro.
17214 * nss/getXXbyYY.c: Likewise.
17215 * nss/getXXbyYY_r.c: Likewise.
17216 * nss/getXXent.c: Likewise.
17217 * nss/getXXent_r.c: Likewise.
17218 * sysdeps/posix/getaddrinfo.c: Likewise.
17220 2012-10-30 Andreas Jaeger <aj@suse.de>
17222 * po/ru.po: Update Russion translation from translation project.
17224 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17229 result and shift together with sticky bit instead of replicating
17230 round-to-nearest rounding.
17231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17233 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17234 missing underflow exceptions.
17235 (fma_test_towardzero): Add more tests.
17236 (fma_test_downward): Likewise.
17237 (fma_test_upward): Likewise.
17240 * sysdeps/generic/tininess.h: New file.
17241 * sysdeps/i386/tininess.h: Likewise.
17242 * sysdeps/sh/tininess.h: Likewise.
17243 * sysdeps/x86_64/tininess.h: Likewise.
17244 * stdlib/tst-strtod-underflow.c: Likewise.
17245 * stdlib/tst-tininess.c: Likewise.
17246 * stdlib/strtod_l.c: Include <tininess.h>.
17247 (round_and_return): Do not set errno for exact underflow cases.
17248 Force an underflow exception when setting errno for underflow.
17249 Determine underflow based on rounding to normal precision if
17250 TININESS_AFTER_ROUNDING.
17251 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17252 ERANGE for exact underflow cases.
17253 * stdlib/Makefile (tests): Add tst-tininess and
17254 tst-strtod-underflow.
17255 ($(objpfx)tst-tininess): Use $(link-libm).
17256 ($(objpfx)tst-strtod-underflow): Likewise.
17258 2012-10-30 Andreas Jaeger <aj@suse.de>
17261 * elf/Makefile (tests): Remove conditional for have-initfini-array
17262 since this is now always required and the variable does not exist
17264 (tests-static): Likewise.
17265 (modules-names): Likewise.
17267 * po/eo.po: Add Esperanto translation from translation project.
17269 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17270 merged with constructor/destructor.
17271 (init_array): Likewise.
17272 * elf/tst-array2dep.c (fini_array): Likewise.
17273 (init_array): Likewise.
17275 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17277 * manual/message.texi: Delete @cartouche tags.
17279 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17281 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17283 * sysdeps/mach/hurd/fsync.c: Likewise.
17285 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17286 [_POSIX_REALTIME_SIGNALS]: Change condition to
17287 [_POSIX_REALTIME_SIGNALS > 0].
17289 2012-10-27 Andreas Jaeger <aj@suse.de>
17291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17292 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17294 [__WORDSIZE != 64]: Likewise.
17296 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17298 * iconvdata/tst-table.sh: Remove ${SHELL}.
17299 * iconvdata/tst-tables.sh: Likewise.
17301 2012-10-25 David S. Miller <davem@davemloft.net>
17303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17304 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17310 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17311 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17314 2012-10-25 Roland McGrath <roland@hack.frob.com>
17316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17317 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17320 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17321 Jim Blandy <jimb@codesourcery.com>
17323 * scripts/cross-test-ssh.sh: New file.
17324 * manual/install.texi (Configuring and compiling): Document use of
17326 * INSTALL: Regenerated.
17328 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17330 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17333 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17335 * Makeconfig (run-program-prefix): Fix comment.
17337 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17338 Jim Blandy <jimb@codesourcery.com>
17340 * Makeconfig (test-wrapper): New variable,
17341 (test-wrapper-env): Likewise.
17342 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17343 (run-built-tests): Define to yes.
17344 (run-program-prefix): Use $(test-wrapper).
17345 (built-program-cmd): Likewise.
17346 * Rules (make-test-out): Use $(test-wrapper-env) and
17347 $(host-built-program-cmd).
17348 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17349 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17351 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17352 $(test-wrapper-env) to tst-rtld-load-self.sh.
17353 ($(objpfx)order2.out): Use $(test-wrapper).
17354 ($(objpfx)tst-initorder.out): Likewise.
17355 ($(objpfx)tst-initorder2.out): Likewise.
17356 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17357 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17358 (test_wrapper_env): New variable. Use it to run ld.so.
17359 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17360 Use it to run ld.so.
17361 (test_wrapper_env): Likewise.
17362 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17363 $(test-wrapper) to run-iconv-test.sh.
17364 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17365 (ICONV): Use $test_wrapper.
17366 * posix/Makefile ($(objpfx)globtest.out): Pass
17367 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17368 globtest.sh, not $(run-program-prefix).
17369 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17370 (test_wrapper): Likewise.
17371 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17372 set together with run_via_rtld_prefix.
17373 (run_program_prefix): Define in terms of test_wrapper and
17374 run_via_rtld_prefix.
17376 2012-10-24 Roland McGrath <roland@hack.frob.com>
17378 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17379 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17383 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17384 Declare __clock_getres, __clock_gettime, __clock_settime,
17385 __clock_nanosleep, and __clock_getcpuclockid.
17386 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17387 Remove librt_hidden_def (clock_gettime).
17388 * sysdeps/unix/clock_gettime.c: Likewise.
17389 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17391 * rt/clock_getres.c: Define __clock_getres as an alias.
17392 * sysdeps/posix/clock_getres.c: Likewise.
17393 * rt/clock_settime.c: Define __clock_settime as an alias.
17394 * sysdeps/unix/clock_settime.c: Likewise.
17395 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17396 * sysdeps/unix/clock_nanosleep.c: Likewise.
17397 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17398 * rt/clock-compat.c: New file.
17399 * rt/Makefile (librt-routines): Add clock-compat and move
17400 $(clock-routines) to ...
17401 (routines): ... here, new variable.
17402 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17403 Don't add get_clockfreq here.
17404 * rt/Versions (libc: GLIBC_2.17): New version set.
17405 Add clock_* symbols here.
17406 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17408 (GLIBC_2.17): Add clock_* symbols.
17409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17420 * NEWS: Mention the move.
17422 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17423 Use __open, __read, __close rather than their public counterparts.
17424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17425 (__get_clockfreq_via_cpuinfo): Likewise.
17426 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17427 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17429 * config.h.in (HAVE_IFUNC): New #undef.
17430 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17432 * configure: Regenerated.
17434 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17436 * configure.in: Move READELF check to start of file.
17437 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17438 libc_cv_asm_gnu_indirect_function in the process.
17439 * configure: Regenerated.
17441 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17443 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17444 send the output to /dev/null.
17445 (libc_cv_cc_with_libunwind): Likewise.
17446 (libc_cv_as_noexecstack): Likewise.
17447 * configure: Regenerate.
17449 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17451 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17453 * posix/globtest.sh (TMPDIR): Do not set.
17454 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17455 (testout): Likewise.
17457 2012-10-24 Andreas Jaeger <aj@suse.de>
17459 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17460 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17461 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17462 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17463 posix_fadvise64, posix_fallocate64.
17465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17466 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17467 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17469 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17471 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17474 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17475 <bits/fcntl-linux.h>.
17476 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17479 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17480 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17481 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17482 [__WORDSIZE != 64]: Likewise.
17484 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17486 * Makeconfig (run-built-tests): New variable.
17487 * Rules [$(cross-compiling) = yes]: Change condition to
17488 [$(run-built-tests) = no].
17489 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17490 to [$(run-built-tests) = yes].
17491 * elf/Makefile [$(cross-compiling) = no]: Likewise
17492 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17493 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17494 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17495 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17496 * io/Makefile [$(cross-compiling) = no]: Likewise.
17497 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17498 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17499 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17500 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17501 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17502 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17503 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17504 * string/Makefile [$(cross-compiling) = no]: Likewise.
17506 * posix/Makefile ($(objpfx)globtest.out): Pass
17507 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17508 $(rtld-installed-name).
17509 * posix/globtest.sh (elf_objpfx): Remove variable.
17510 (rtld_installed_name): Likewise.
17511 (library_path): Likewise.
17512 (run_program_prefix): New variable. Use for running globtest
17515 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17516 Joseph Myers <joseph@codesourcery.com>
17518 * Makeconfig (host-built-program-cmd): New variable.
17519 * elf/Makefile (tst-stackguard1-ARGS): Use
17520 $(host-built-program-cmd).
17521 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17522 (tst-spawn-ARGS): Likewise.
17523 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17525 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17526 Jim Blandy <jimb@codesourcery.com>
17528 * Makeconfig (run-via-rtld-prefix): New variable.
17529 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17530 (built-program-cmd): Likewise.
17532 2012-10-22 Andreas Jaeger <aj@suse.de>
17534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17535 __O_RSYNC if it exists, otherwise to O_SYNC.
17537 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17538 Joseph Myers <joseph@codesourcery.com>
17540 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17542 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17544 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17547 2012-10-22 Andreas Jaeger <aj@suse.de>
17549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17554 bits/fcntl-linux.h.
17556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17557 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17564 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17565 Joseph Myers <joseph@codesourcery.com>
17567 * config.make.in (NM): New variable.
17569 2012-10-21 Andreas Jaeger <aj@suse.de>
17571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17572 definitions and declarations that are provided by
17573 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17575 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17578 * elf/Makefile (tests-static): Add tst-leaks1-static.
17579 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17580 ($(objpfx)tst-leaks1-static): New rule.
17581 ($(objpfx)tst-leaks1-static-mem): Likewise.
17582 (tst-leaks1-static-ENV): New macro.
17583 * elf/dl-open.c (dl_open_worker): Check the main application
17584 only if SHARED is defined.
17585 * elf/tst-leaks1-static.c: New file.
17587 2012-10-20 Andreas Jaeger <aj@suse.de>
17589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17590 generic values for Linux.
17591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17592 and declarations that are provided by <bits/fcntl-linux.h> and
17593 include <bits/fcntl-linux.h>.
17594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17597 2012-10-20 Roland McGrath <roland@hack.frob.com>
17599 * io/fcntl.h: Move include of <bits/types.h> to the top and
17600 include it unconditionally.
17602 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17604 * wcsmbs/Makefile (tests-ifunc): New variable.
17605 (tests): Add $(tests-ifunc).
17606 * wcsmbs/test-wcschr-ifunc.c: New file.
17607 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17608 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17609 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17610 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17611 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17613 * string/Makefile (tests-ifunc): New variable.
17614 (tests): Add $(tests-ifunc).
17615 * string/test-memccpy.c (TEST_NAME): New macro.
17616 * string/test-memchr.c (TEST_NAME): Likewise.
17617 * string/test-memcmp.c (TEST_NAME): Likewise.
17618 * string/test-memcpy.c (TEST_NAME): Likewise.
17619 * string/test-memmem.c (TEST_NAME): Likewise.
17620 * string/test-memmove.c (TEST_NAME): Likewise.
17621 * string/test-memset.c (TEST_NAME): Likewise.
17622 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17623 * string/test-stpcpy.c (TEST_NAME): Likewise.
17624 * string/test-stpncpy.c (TEST_NAME): Likewise.
17625 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17626 * string/test-strcasestr.c (TEST_NAME): Likewise.
17627 * string/test-strcat.c (TEST_NAME): Likewise.
17628 * string/test-strchr.c (TEST_NAME): Likewise.
17629 * string/test-strcmp.c(TEST_NAME): Likewise.
17630 * string/test-strcpy.c (TEST_NAME): Likewise.
17631 * string/test-strcspn.c (TEST_NAME): Likewise.
17632 * string/test-strlen.c (TEST_NAME): Likewise.
17633 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17634 * string/test-strncmp.c (TEST_NAME): Likewise.
17635 * string/test-strncpy.c (TEST_NAME): Likewise.
17636 * string/test-strnlen.c (TEST_NAME): Likewise.
17637 * string/test-strpbrk.c (TEST_NAME): Likewise.
17638 * string/test-strrchr.c (TEST_NAME): Likewise.
17639 * string/test-strspn.c (TEST_NAME): Likewise.
17640 * string/test-strstr.c (TEST_NAME): Likewise.
17641 * string/test-bcopy-ifunc.c: New file.
17642 * string/test-bzero-ifunc.c: Likewise.
17643 * string/test-memccpy-ifunc.c: Likewise.
17644 * string/test-memchr-ifunc.c: Likewise.
17645 * string/test-memcmp-ifunc.c: Likewise.
17646 * string/test-memcpy-ifunc.c: Likewise.
17647 * string/test-memmem-ifunc.c: Likewise.
17648 * string/test-memmove-ifunc.c: Likewise.
17649 * string/test-mempcpy-ifunc.c: Likewise.
17650 * string/test-memset-ifunc.c: Likewise.
17651 * string/test-rawmemchr-ifunc.c: Likewise.
17652 * string/test-stpcpy-ifunc.c: Likewise.
17653 * string/test-stpncpy-ifunc.c: Likewise.
17654 * string/test-strcasecmp-ifunc.c: Likewise.
17655 * string/test-strcasestr-ifunc.c: Likewise.
17656 * string/test-strcat-ifunc.c: Likewise.
17657 * string/test-strchr-ifunc.c: Likewise.
17658 * string/test-strchrnul-ifunc.c: Likewise.
17659 * string/test-strcmp-ifunc.c: Likewise.
17660 * string/test-strcpy-ifunc.c: Likewise.
17661 * string/test-strcspn-ifunc.c: Likewise.
17662 * string/test-strlen-ifunc.c: Likewise.
17663 * string/test-strncasecmp-ifunc.c: Likewise.
17664 * string/test-strncat-ifunc.c: Likewise.
17665 * string/test-strncmp-ifunc.c: Likewise.
17666 * string/test-strncpy-ifunc.c: Likewise.
17667 * string/test-strnlen-ifunc.c: Likewise.
17668 * string/test-strpbrk-ifunc.c: Likewise.
17669 * string/test-strrchr-ifunc.c: Likewise.
17670 * string/test-strspn-ifunc.c: Likewise.
17671 * string/test-strstr-ifunc.c: Likewise.
17673 * debug/Makefile (tests-ifunc): New variable.
17674 (tests): Add $(tests-ifunc).
17675 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17676 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17677 * debug/test-stpcpy_chk-ifunc.c: New file.
17678 * debug/test-strcpy_chk-ifunc.c: Likewise.
17680 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17683 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17684 header is not read in.
17686 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17688 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17689 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17690 directly. Pass built executable to script as
17691 $(built-program-cmd).
17692 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17693 $testprogram without using LD_LIBRARY_PATH and $ldso.
17695 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17696 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17697 $(rtld-installed-name).
17698 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17699 (rtld_installed_name): Likewise.
17700 (library_path): Likewise.
17701 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17702 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17703 $(run-program-prefix) to tst-tables.sh.
17704 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17705 it to run tst-table-from and tst-table-to.
17706 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17707 Pass it to tst-table.sh.
17708 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17709 $(run-program-prefix) to tst-gettext.sh.
17710 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17712 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17714 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17715 to run tst-gettext.
17716 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17717 to run tst-gettext2.
17718 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17719 to run tst-translit.
17720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17721 $(run-program-prefix) to tst-mtrace.sh.
17722 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17724 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17725 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17726 $(rtld-installed-name).
17727 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17728 (rtld_installed_name): Likewise.
17729 (run_program_prefix): New variable. Use it to run wordexp-test.
17731 * Makeconfig (ARCH): Remove all definitions.
17732 (machine): Likewise.
17733 [ARCH]: Remove conditional code.
17734 [!objdir]: Give error.
17735 [!objdir] (objpfx): Remove.
17736 [!objdir] (common-objpfx): Likewise.
17737 [!objdir] (common-objdir): Likewise.
17738 * configure.in (config_makefile): Remove. Hardcode Makefile in
17739 AC_CONFIG_FILES call.
17740 * configure: Regenerated.
17743 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17745 (testout): Likewise.
17747 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17748 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17749 $(rtld-installed-name).
17750 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17751 (rtld_installed_name): Likwise.
17752 (runit): Remove function.
17753 (run_getconf): New variable, Use it for running getconf binary.
17755 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17758 * string/test-memmem.c (check_result): New function.
17759 (do_one_test): Use it.
17760 (check1): New function.
17761 (test_main): Use it.
17763 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17765 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17767 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17769 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17770 (_G_LSEEK64): Likewise.
17771 (_G_MMAP64): Likewise.
17772 (_G_FSTAT64): Likewise.
17773 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17774 (_G_LSEEK64): Likewise.
17775 (_G_MMAP64): Likewise.
17776 (_G_FSTAT64): Likewise.
17777 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17778 unconditional. Call __mmap64 directly.
17779 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17780 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17781 __lseek64 directly.
17782 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17783 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17785 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17786 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17787 __lseek64 directly.
17788 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17789 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17790 __lseek64 directly.
17791 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17792 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17793 __lseek64 directly.
17794 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17795 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17796 __fxstat64 directly.
17797 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17798 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17800 (freopen64) [!_G_OPEN64]: Remove conditional code.
17801 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17803 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17804 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17806 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17807 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17809 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17810 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17812 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17813 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17815 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17816 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17818 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17819 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17821 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17823 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17826 * manual/memory.texi (Malloc Tunable Parameters): Add note
17827 about free list pointers overwriting some perturb bytes.
17828 Wording suggested by Roland McGrath.
17830 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17832 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17833 (lgamma_test): Likewise.
17834 (tgamma_test): Likewise.
17836 2012-10-16 Florian Weimer <fweimer@redhat.com>
17839 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17840 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17842 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17844 * NEWS: Mention BZ #14716.
17845 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17846 when removing AVAILABLE1_USES_J macro.
17848 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17850 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17851 (__bswap_64): __uint64_t for unsigned 64-bit int.
17853 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17855 * include/string.h (memmem): Declare libc hidden alias.
17856 * string/memmem.c (memmem): Define libc hidden alias.
17857 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17858 __read, __close instead of open, read, close.
17860 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17863 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17865 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17866 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17867 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17869 (__rawmemchr_sse2): Likewise.
17870 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17871 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17872 (__strchr_sse2): Likewise.
17873 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17874 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17875 (__strcasecmp_sse2): Likewise.
17876 (__strncasecmp_sse2): Likewise.
17877 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17878 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17879 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17880 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17881 (__strrchr_sse2): Likewise.
17882 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17884 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17885 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17886 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17887 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17888 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17889 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17890 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17891 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17892 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17893 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17894 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17896 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17897 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17898 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17899 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17900 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17901 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17902 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17903 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17904 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17905 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17906 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17907 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17908 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17911 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17912 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17913 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17917 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17918 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17919 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17920 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17922 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17924 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17925 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17926 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17927 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17932 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17933 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17934 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17935 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17936 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17937 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17938 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17945 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17946 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17947 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17948 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17954 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17956 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17962 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17971 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17972 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17973 * include/ifunc-impl-list.h: New file.
17974 * misc/ifunc-impl-list.c: Likewise.
17975 * misc/Makefile (routines): Add ifunc-impl-list.
17976 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17977 * string/test-string.h: Include <ifunc-impl-list.h>.
17978 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17979 impl_array): New variables.
17980 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17982 (test_init): Call __libc_ifunc_impl_list to initialize
17983 func_list if TEST_IFUNC and TEST_NAME are defined.
17985 * string/Makefile (strop-tests): Add bcopy and bzero.
17986 * string/test-bcopy.c: New file.
17987 * string/test-bzero.c: Likewise.
17988 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17990 * string/test-memset.c: Support bzero test if TEST_BZERO is
17992 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17994 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17996 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17999 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18001 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18002 * configure: Regenerated.
18004 * Makeconfig (+link-static-before-libc): Don't include
18005 $(link-static-libc).
18007 * libio/libio.h (_IO_pos_t): Remove.
18009 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18011 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18014 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18016 * crypt/crypt-entry.c: Include fips-private.h.
18017 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18018 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18019 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18020 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18022 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18024 * crypt/crypt-private.h: Include stdbool.h.
18025 (_ufc_setup_salt_r): Return bool.
18026 * crypt/crypt-entry.c: Include errno.h.
18027 (__crypt_r): Return NULL with EINVAL for bad salt.
18028 * crypt/crypt_util.c (bad_for_salt): New.
18029 (_ufc_setup_salt_r): Check that salt is long enough and within
18030 the specified alphabet.
18031 * crypt/badsalttest.c: New file.
18032 * crypt/Makefile (tests): Add it.
18033 ($(objpfx)badsalttest): New.
18035 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18037 * NEWS: Add entry for BZ #14602.
18039 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18041 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18043 * math/libm-test.inc: Update comment listing what functions and
18045 (isgreater_test): New function.
18046 (isgreaterequal_test): Likewise.
18047 (isless_test): Likewise.
18048 (islessequal_test): Likewise.
18049 (islessgreater_test): Likewise.
18050 (isunordered_test): Likewise.
18051 (main): Call the new functions.
18053 2012-10-09 Roland McGrath <roland@hack.frob.com>
18055 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18056 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18057 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18058 * sysdeps/i386/configure: Regenerated.
18059 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18060 * sysdeps/mach/configure: Regenerated.
18061 * sysdeps/mach/hurd/configure: Regenerated.
18062 * sysdeps/powerpc/configure: Regenerated.
18063 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18064 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18065 * sysdeps/s390/s390-32/configure: Regenerated.
18066 * sysdeps/s390/s390-64/configure: Regenerated.
18067 * sysdeps/sh/configure: Regenerated.
18068 * sysdeps/sparc/configure: Regenerated.
18069 * sysdeps/unix/sysv/linux/configure: Regenerated.
18070 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18071 * sysdeps/x86_64/configure: Regenerated.
18073 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18074 defined. Don't check if MAP is NULL.
18076 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18078 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18079 (_G_stat64): Likewise.
18080 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18081 (_G_stat64): Likewise.
18082 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18083 instead of struct _G_stat64.
18084 * libio/fileops.c (mmap_remap_check): Likewise.
18085 (decide_maybe_mmap): Likewise.
18086 (_IO_new_file_seekoff): Likewise.
18087 (_IO_file_stat): Likewise.
18088 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18090 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18091 instead of struct _G_stat64.
18092 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18094 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18097 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18099 (CHECK_EOL): New macro.
18100 (two_way_short_needle): Check beginning of haystack for EOL. Use
18102 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18103 Replace with CHECK_EOL.
18104 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18105 Replace with CHECK_EOL.
18107 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18109 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18111 * math/libm-test.inc: Update comment listing what functions and
18113 (finite_test): New function.
18114 (isinf_test): Likewise.
18115 (isnan_test): Likewise.
18116 (fpclassify_test): Test subnormal input.
18117 (isfinite_test): Likewise.
18118 (isnormal_test): Likewise.
18119 (main): Call the new functions.
18121 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18124 * Makerules (%.dynsym): Force C locale when running
18125 $(OBJDUMP) --dynamic-syms.
18127 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18129 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18132 2012-10-06 David S. Miller <davem@davemloft.net>
18134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18135 upper 32-bits of the length value in %o2 since we use branch-on-register
18136 tests which consider the entire 64-bit register.
18138 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18140 * string/test-strstr.c (check2): Add a test for page boundary.
18142 2012-10-05 David S. Miller <davem@davemloft.net>
18144 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18150 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18151 and bzero when HWCAP_SPARC_CRYPTO is present.
18153 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18156 * string/test-strstr.c (check2): New function.
18157 (test_main): Call check2.
18159 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18161 * string/bug-strcasestr1.c (do_test): Moved to ...
18162 * string/test-strcasestr.c (check1): Here. New function.
18163 (do_one_test): Break out result checking code into ...
18164 (check_result): This. New function.
18165 (do_one_test): Call check_result.
18166 (test_main): Call check1.
18167 * string/bug-strchr1.c (do_test): Moved to ...
18168 * string/test-strchr.c (check1): Here. New function.
18169 (do_one_test): Break out result checking code into ...
18170 (check_result): This. New function.
18171 (do_one_test): Call check_result.
18172 (test_main): Call check1.
18173 * string/bug-strstr1.c (main): Moved to ...
18174 * string/test-strstr.c (check1): Here. New function.
18175 (do_one_test): Break out result checking code into ...
18176 (check_result): This. New function.
18177 (do_one_test): Call check_result.
18178 (test_main): Call check1.
18179 * string/bug-strcasestr1.c: Removed.
18180 * string/bug-strchr1.c: Likewise.
18181 * string/bug-strstr1.c: Likewise.
18183 * elf/Makefile (dl-routines): Add hwcaps.
18184 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18185 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18186 (_dl_important_hwcaps): Moved to ...
18187 * elf/dl-hwcaps.c: Here. New file.
18188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18191 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18192 if IS_IN_rtld isn't defined.
18194 * elf/dl-support.c (_dl_sysinfo_map): New.
18195 Include "get-dynamic-info.h" and "setup-vdso.h".
18196 (_dl_non_dynamic_init): Call setup_vdso.
18197 * elf/dynamic-link.h: Don't include <assert.h>.
18198 (elf_get_dynamic_info): Moved to ...
18199 * elf/get-dynamic-info.h: Here. New file.
18200 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18201 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18202 * elf/setup-vdso.h: Here. New file.
18203 * elf/rtld.c: Include "setup-vdso.h".
18204 (dl_main): Call setup_vdso.
18206 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18208 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18209 creal in comment listing functions tested. List finite, isinf,
18210 isnan, isless, islessequal, isgreater, isgreaterequal,
18211 islessgreater, isunordered, lgamma_r and pow10 as functions and
18212 macros not tested. Mention which functions not tested are aliases
18213 for other functions. Fix typo. Note that signs of NaNs are not
18216 * scripts/config.guess: Update from config.git.
18217 * scripts/config.sub: Likewise.
18219 2012-10-04 Roland McGrath <roland@hack.frob.com>
18221 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18222 * misc/madvise.c (madvise): Renamed to __madvise.
18223 Make madvise a weak alias.
18224 * include/sys/mman.h: Declare __madvise.
18225 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18226 * sysdeps/unix/syscalls.list
18227 (madvise): Make __madvise the strong name, and madvise a weak alias.
18228 * sysdeps/unix/sysv/linux/syscalls.list
18229 (madvise, mmap): Remove redundant entries.
18230 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18231 * malloc/malloc.c (mtrim): Likewise.
18232 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18234 2012-10-03 Roland McGrath <roland@hack.frob.com>
18236 * sysdeps/mach/hurd/dl-cache.c: File removed.
18237 * config.h.in (USE_LDCONFIG): New #undef.
18238 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18239 * configure: Regenerated.
18240 * elf/Makefile (dl-routines): Add dl-cache only under
18241 [$(use-ldconfig) = yes].
18242 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18243 cache on [USE_LDCONFIG].
18244 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18246 * elf/rtld.c (dl_main): Likewise.
18248 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18250 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18251 _SC_LEVEL4_CACHE_LINESIZE.
18253 2012-10-03 Roland McGrath <roland@hack.frob.com>
18255 * sysdeps/unix/bsd/confstr.h: File removed.
18257 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18259 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18262 2012-10-02 Roland McGrath <roland@hack.frob.com>
18264 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18265 Make 'mapoff' field ElfW(Off) rather than off_t.
18267 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18269 * nscd/Makefile: Remove nscd-cflags and all its users.
18270 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18271 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18274 * malloc.c (malloc_printerr): Clarify error message.
18276 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18280 Set bit_FMA_Usable if FMA is supported.
18281 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18283 (bit_FMA4_Usable): Updated.
18284 (index_FMA_Usable): New macro.
18285 (CPUID_FMA): Likewise
18286 (HAS_FMA): Defined with bit_FMA_Usable.
18288 2012-10-01 Roland McGrath <roland@hack.frob.com>
18290 * bits/types.h (__swblk_t): Type removed.
18291 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18292 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18294 (__SWBLK_T_TYPE): Likewise.
18295 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18296 (__SWBLK_T_TYPE): Likewise.
18297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18298 (__SWBLK_T_TYPE): Likewise.
18299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18300 (__SWBLK_T_TYPE): Likewise.
18302 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18303 Honza Horak <hhorak@redhat.com>
18305 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18306 (xdr_mapname): Use YPMAXMAP as maxsize.
18307 (xdr_peername): Use YPMAXPEER as maxsize.
18308 (xdr_keydat): Use YPAXRECORD as maxsize.
18309 (xdr_valdat): Use YPMAXRECORD as maxsize.
18311 2012-10-01 Roland McGrath <roland@hack.frob.com>
18313 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18315 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18316 * csu/init-first.c: ... here.
18317 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18318 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18319 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18320 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18321 * sysdeps/i386/init-first.c: File removed.
18322 * sysdeps/sh/init-first.c: File removed.
18324 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18328 if x * y might underflow to zero and z is zero.
18329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18331 * math/libm-test.inc (min_subnorm_value): New variable.
18332 (fma_test): Add more tests.
18333 (fma_test_towardzero): Likewise.
18334 (fma_test_downward): Likewise
18335 (fma_test_upward): Likewise.
18336 (initialize): Set min_subnorm_value.
18338 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18344 mode for addition resulting in exact zero.
18345 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18350 * math/libm-test.inc (fma_test): Add more tests.
18351 (fma_test_towardzero): New function.
18352 (fma_test_downward): Likewise.
18353 (fma_test_upward): Likewise.
18354 (main): Call the new functions.
18356 2012-09-28 David S. Miller <davem@davemloft.net>
18358 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18360 2012-09-28 Roland McGrath <roland@hack.frob.com>
18362 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18363 instead of SIGALRM.
18365 * sysdeps/gnu/_G_config.h: Moved to ...
18366 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18367 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18368 * sysdeps/generic/_G_config.h: ... here.
18370 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18372 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18374 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18375 Conditionalize target on [libnss_test1.so-version].
18377 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18379 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18380 (elfobjdir): Move out of conditionals.
18382 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18383 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18384 (__nss_lookup_function): Conditionalize label remove_from_tree on
18385 [!DO_STATIC_NSS || SHARED], matching its only use.
18387 2012-09-28 David S. Miller <davem@davemloft.net>
18389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18392 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18396 when HWCAP_SPARC_CRYPTO is present.
18398 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18400 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18402 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18405 * stdio-common/vfprintf.c (process_string_arg): Revert
18408 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18410 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18412 * stdio-common/tst-sprintf.c: Include <locale.h>
18413 (main): Test sprintf's handling of incomplete multibyte
18416 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18418 * elf/dl-runtime.c (VERSYMIDX): Removed.
18419 * elf/dl-version.c (VERSYMIDX): Likewise.
18420 * elf/do-rel.h (VERSYMIDX): Likewise.
18421 (VALIDX): Likewise.
18422 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18423 * elf/rtld.c (VALIDX): Likewise.
18424 (ADDRIDX): Likewise.
18425 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18426 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18427 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18428 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18429 (VALIDX): Likewise.
18430 (ADDRIDX): Likewise.
18432 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18434 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18436 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18439 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18441 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18442 addresses are in the same scope as 192.0.2/24.
18443 * posix/gai.conf: Document new scope table defaults.
18445 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18448 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18449 for ftell. Compute offsets from write pointers instead.
18450 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18452 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18455 * libio/Makefile (tests): New test case tst-fseek.
18456 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18457 combination works in wide mode.
18458 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18459 state when the external buffer state changes.
18461 2012-09-27 David S. Miller <davem@davemloft.net>
18464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18465 pass reloc->r_addend in as the 'high' argument to
18466 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18470 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18472 * rt/tst-aio2.c: Include <pthread.h>.
18473 * rt/tst-aio3.c: Likewise.
18475 2012-09-27 Steve Ellcey <sellcey@mips.com>
18477 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18479 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18481 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18482 contents on [SHARED].
18484 2012-09-26 Marek Polacek <polacek@redhat.com>
18488 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18489 for C++ and GCC <4.3 as well as for non GCC compilers.
18491 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18495 2012-09-25 Roland McGrath <roland@hack.frob.com>
18497 * Makefile.in (all, install): Declare with .PHONY.
18498 Reported by Michael Hope <michael.hope@linaro.org>.
18500 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18502 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18503 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18505 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18507 (sydep_routines): Add the new and the internal functions.
18508 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18509 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18511 (GLIBC_2.17): Add the new function.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18513 (GLIBC_2.17): Likewise.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18515 (GLIBC_2.17): Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18517 (GLIBC_2.17): Likewise.
18518 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18520 2012-09-25 Alan Modra <amodra@gmail.com>
18522 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18523 Add release barrier before setting once_control to say
18524 initialisation is done. Add hints on lwarx. Use macro in
18526 (clear_once_control): Add release barrier.
18528 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18531 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18533 * math/s_clog10.c (__clog10): Likewise.
18534 * math/s_clog10f.c (__clog10f): Likewise.
18535 * math/s_clog10l.c (__clog10l): Likewise.
18536 * math/s_clogf.c (__clogf): Likewise.
18537 * math/s_clogl.c (__clogl): Likewise.
18538 * math/Makefile (libm-calls): Add x2y2m1.
18539 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18540 (__x2y2m1): Likewise.
18541 (__x2y2m1l): Likewise.
18542 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18543 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18544 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18545 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18546 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18547 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18548 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18553 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18554 int as type of variable DEPTH.
18555 (glob): Use size_t instead of int as type of variables NEWCOUNT
18558 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18560 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18561 Add s_sincosf-sse2.
18562 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18564 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18565 macros for using routine as __sincosf_ia32.
18566 Use macro for function declaration and weak_alias.
18567 * sysdeps/i386/fpu/libm-test-ulps: Update.
18569 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18572 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18573 subnormal argument.
18574 * math/s_cexpf.c (__cexpf): Likewise.
18575 * math/s_csinf.c (__csinf): Likewise.
18576 * math/s_csinhf.c (__csinhf): Likewise.
18577 * math/s_ctanf.c (__ctanf): Likewise.
18578 * math/s_ctanhf.c (__ctanhf): Likewise.
18579 * math/s_ccosh.c (__ccoshf): Likewise.
18580 * math/s_cexp.c (__cexpl): Likewise.
18581 * math/s_csin.c (__csin): Likewise.
18582 * math/s_csinh.c (__csinh): Likewise.
18583 * math/s_ctan.c (__ctan): Likewise.
18584 * math/s_ctanh.c (ctanh): Likewise.
18585 * math/s_ccoshl.c (__ccoshl): Likewise.
18586 * math/s_cexpl.c (__cexpl): Likewise.
18587 * math/s_csinl.c (__csinl): Likewise.
18588 * math/s_csinhl.c (__csinhl): Likewise.
18589 * math/s_ctanl.c (__ctanl): Likewise.
18590 * math/s_ctanhl.c (__ctanhl): Likewise.
18592 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18594 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18595 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18596 (_IO_off_t): Define to __off_t, not _G_off_t.
18597 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18598 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18599 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18600 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18601 type of __dummy and __dummy2 fields.
18602 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18603 (_G_ssize_t): Likewise.
18604 (_G_off_t): Likewise.
18605 (_G_pid_t): Likewise.
18606 (_G_uid_t): Likewise.
18607 (_G_wchar_t): Likewise.
18608 (_G_wint_t): Likewise.
18609 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18610 (_G_ssize_t): Likewise.
18611 (_G_off_t): Likewise.
18612 (_G_pid_t): Likewise.
18613 (_G_uid_t): Likewise.
18614 (_G_wchar_t): Likewise.
18615 (_G_wint_t): Likewise.
18616 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18617 (_G_ssize_t): Likewise.
18618 (_G_off_t): Likewise.
18619 (_G_pid_t): Likewise.
18620 (_G_uid_t): Likewise.
18621 (_G_wchar_t): Likewise.
18622 (_G_wint_t): Likewise.
18624 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18626 * malloc/arena.c: Include malloc-sysdep.h.
18627 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18628 is sufficient to shrink the heap or an unmap is needed.
18629 * sysdeps/generic/malloc-sysdep.h: New file. Define
18630 new function check_may_shrink_heap.
18631 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18632 new function check_may_shrink_heap.
18634 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18636 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18639 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18641 * catgets/test-gencat.sh: Add "set -e".
18642 * elf/tst-pathopt.sh: Likewise.
18643 * grp/tst_fgetgrent.sh: Likewise.
18644 * iconvdata/run-iconv-test.sh: Likewise.
18645 * intl/tst-gettext.sh: Likewise.
18646 * intl/tst-gettext2.sh: Likewise.
18647 * intl/tst-gettext4.sh: Likewise.
18648 * intl/tst-gettext6.sh: Likewise.
18649 * intl/tst-translit.sh: Likewise.
18650 * io/ftwtest-sh: Likewise.
18651 * libio/test-freopen.sh: Likewise.
18652 * malloc/tst-mtrace.sh: Likewise.
18653 * posix/globtest.sh: Likewise.
18654 * posix/tst-getconf.sh: Likewise.
18655 * posix/wordexp-tst.sh: Likewise.
18656 * stdio-common/tst-printf.sh: Likewise.
18657 * stdio-common/tst-unbputc.sh: Likewise.
18658 * stdlib/tst-fmtmsg.sh: Likewise.
18659 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18660 * catgets/Makefile: Do not specify -e option when running
18661 testsuite shell scripts.
18662 * elf/Makefile: Likewise.
18663 * grp/Makefile: Likewise.
18664 * iconvdata/Makefile: Likewise.
18665 * intl/Makefile: Likewise.
18666 * io/Makefile: Likewise.
18667 * libio/Makefile: Likewise.
18668 * malloc/Makefile: Likewise.
18669 * posix/Makefile: Likewise.
18670 * stdio-common/Makefile: Likewise.
18671 * stdlib/Makefile: Likewise.
18672 * sysdeps/x86_64/Makefile: Likewise.
18674 * io/ftwtest-sh: Add copyright header.
18675 * posix/globtest.sh: Likewise.
18676 * posix/tst-getconf.sh: Likewise.
18677 * posix/wordexp-tst.sh: Likewise.
18678 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18680 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18683 * Makeconfig (+link): Defined as $(+link-static) if
18684 $(build-shared) isn't yes.
18685 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18687 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18689 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18692 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18693 new chunk size with MALLOC_ALIGN_MASK.
18695 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18698 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18700 (__printf_fphex): Determine rounding using get_rounding_mode and
18702 * stdio-common/tst-printf-round.c (struct hex_test): New
18704 (hex_tests): New variable.
18705 (test_hex_in_one_mode): New function.
18706 (do_test): Also run tests for hex float output.
18708 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18710 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18711 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18712 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18713 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18714 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18715 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18716 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18719 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18721 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18722 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18723 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18724 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18726 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18729 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18731 * elf/tst-rtld-load-self.sh: New test.
18732 * elf/Makefile: Run it.
18734 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18736 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18737 (tst-writev-ENV): Remove.
18738 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18740 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18742 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18744 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18746 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18748 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18750 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18751 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18752 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18755 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18758 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18759 * config.make.in (have-cpp-asm-debuginfo): Removed.
18760 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18761 * configure: Regenerated.
18763 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18766 * stdio-common/printf_fp.c: Include <stdbool.h> and
18768 (___printf_fp): Determine rounding using get_rounding_mode and
18770 * stdio-common/tst-printf-round.c: New file.
18771 * stdio-common/Makefile (tests): Add tst-printf-round.
18772 (link-libm): New variable.
18773 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18775 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18778 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18779 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18781 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18784 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18786 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18787 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18788 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18789 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18791 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18794 * include/rounding-mode.h: New file.
18795 * sysdeps/generic/get-rounding-mode.h: Likewise.
18796 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18797 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18798 (MAX_VALUE): New macro.
18799 (MIN_VALUE): Likewise.
18800 (overflow_value): New function.
18801 (underflow_value): Likewise.
18802 (round_and_return): Use overflow_value and underflow_value to
18803 determine return values in overflow and underflow cases. Use
18804 round_away to determine rounding depending on rounding mode.
18805 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18806 determine return values in overflow and underflow cases.
18807 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18808 (struct test_results): New structure.
18809 (struct test): Use struct test_results to store expected results
18810 for all rounding modes.
18811 (TEST): Include expected results for all rounding modes.
18812 (test_in_one_mode): New function.
18813 (do_test): Use test_in_one_mode to compute and check results.
18814 Check results for all rounding modes.
18815 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18818 2012-12-09 Allan McRae <allan@archlinux.org>
18820 * sysdeps/i386/fpu/libm-test-ulps: Update
18822 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18824 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18825 (_G_int32_t): Likewise.
18826 (_G_uint16_t): Likewise.
18827 (_G_uint32_t): Likewise.
18828 (_G_HAVE_BOOL): Likewise.
18829 (_G_HAVE_ATEXIT): Likewise.
18830 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18831 (_G_HAVE_IO_FILE_OPEN): Likewise.
18832 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18833 (_G_int32_t): Likewise.
18834 (_G_uint16_t): Likewise.
18835 (_G_uint32_t): Likewise.
18836 (_G_HAVE_BOOL): Likewise.
18837 (_G_HAVE_ATEXIT): Likewise.
18838 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18839 (_G_HAVE_IO_FILE_OPEN): Likewise.
18840 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18841 (_G_int32_t): Likewise.
18842 (_G_uint16_t): Likewise.
18843 (_G_uint32_t): Likewise.
18844 (_G_HAVE_BOOL): Likewise.
18845 (_G_HAVE_ATEXIT): Likewise.
18846 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18847 (_G_HAVE_IO_FILE_OPEN): Likewise.
18849 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18851 * csu/libc-tls.c: Update copyright years.
18853 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18855 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18856 [!_G_USING_THUNKS]: Remove conditional code.
18857 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18858 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18860 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18861 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18862 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18863 (_G_VTABLE_LABEL_PREFIX): Likewise.
18864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18865 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18866 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18867 (_G_VTABLE_LABEL_PREFIX): Likewise.
18868 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18869 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18870 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18871 (_G_VTABLE_LABEL_PREFIX): Likewise.
18872 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18874 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18876 * libio/Makefile: Include ../Makeconfig before tests.
18877 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18878 only if $(build-shared) is yes.
18880 * iconv/gconv_db.c: Update copyright years.
18882 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18884 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18885 unwind info if defined PIC. Fix special cases description.
18886 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18888 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18890 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18892 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18894 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18896 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18899 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18900 (LDLIBS-tst-chk4): This.
18901 (LDFLAGS-tst-chk5): Renamed to ...
18902 (LDLIBS-tst-chk5): This.
18903 (LDFLAGS-tst-chk6): Renamed to ...
18904 (LDLIBS-tst-chk6): This.
18905 (LDFLAGS-tst-lfschk4): Renamed to ...
18906 (LDLIBS-tst-lfschk4): This.
18907 (LDFLAGS-tst-lfschk5): Renamed to ...
18908 (LDLIBS-tst-lfschk5): This.
18909 (LDFLAGS-tst-lfschk6): Renamed to ...
18910 (LDLIBS-tst-lfschk6): This.
18912 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18913 on $(common-objpfx)soversions.mk.
18915 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18918 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18921 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18923 * malloc/arena.c (arena_get_retry): New function that gets
18924 another arena for the caller to try its request on.
18925 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18926 current arena cannot fulfill the request.
18927 (__libc_memalign): Likewise.
18928 (__libc_memalign): Likewise.
18929 (__libc_pvalloc): Likewise.
18930 (__libc_calloc): Likewise.
18932 2012-09-05 John Tobey <john.tobey@gmail.com>
18935 * manual/arith.texi (Operations on Complex): Fix description
18936 of carg branch cut.
18938 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18941 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18945 * manual/memory.texi (Memory): Make order of menu items match
18948 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18950 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18951 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18952 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18954 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18956 * csu/libc-tls.c (static_dtv): Renamed to ...
18957 (_dl_static_dtv): This. Make it global.
18958 (_dl_initial_dtv): Removed.
18959 (__libc_setup_tls): Updated.
18960 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18961 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18964 2012-09-06 Petr Machata <pmachata@redhat.com>
18966 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18967 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18968 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18969 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18971 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18974 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18975 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18978 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18981 * Makeconfig (link-static-before-libc): Replace $(+prector)
18983 (link-static-after-libc): Replace $(+postctor) with
18985 (link-bounded): Replace $(+prector)/$(+postctor) with
18986 $(+prectorT)/$(+postctorT).
18987 (+prectorT): New macro.
18988 (+postctorT): Likewise.
18990 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18992 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18993 (round_str): Handle values above the maximum for IBM long double
18995 * stdlib/tst-strtod-round.c (tests): Regenerated.
18997 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18999 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19001 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19002 zarch_nohighgprs around the zarch optimized routines.
19003 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19004 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19005 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19008 2012-09-05 David S. Miller <davem@davemloft.net>
19010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19012 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19013 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19014 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19015 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19018 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19020 * malloc/arena.c: Fold copyright years.
19021 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19023 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19025 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19027 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19029 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19031 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19033 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19034 change internal state upon failure.
19036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19038 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19039 * malloc/memusage.c (mmap): Likewise.
19040 (mmap64, mremap): Likewise. Adjust name in comment.
19042 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19044 * libio/fileops.c: Fix typos in comments.
19045 * libio/oldfileops.c: Likewise.
19046 * libio/wfileops.c: Likewise.
19048 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19051 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19052 (tst-malloc-usable-ENV): Set environment for test case.
19053 * malloc/hooks.c (malloc_check_get_size): New function to get
19055 * malloc/malloc.c (musable): Use malloc_check_get_size.
19056 * malloc/tst-malloc-usable.c: New test case.
19058 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19060 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19062 2012-09-05 Allan McRae <allan@archlinux.org>
19065 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19066 determine header location.
19067 * configure: Regenerated.
19069 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19071 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19073 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19074 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19076 (test): Regenerate.
19078 2012-09-04 David S. Miller <davem@davemloft.net>
19080 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19081 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19084 2012-09-04 Florian Weimer <fweimer@redhat.com>
19086 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19089 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19091 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19094 * libio/iogetdelim.c: Include <limits.h>.
19095 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19096 + len + 1 would overflow.
19098 2012-09-03 Andreas Jaeger <aj@suse.de>
19100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19101 * sysdeps/i386/fpu/libm-test-ulps: Update.
19103 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19105 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19106 Add s_sinf-sse2, s_conf-sse2.
19108 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19109 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19110 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19111 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19113 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19114 for using routine as __sinf_ia32.
19115 Use macro for function declaration and weak_alias.
19116 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19117 for using routine as __cosf_ia32.
19118 Use macro for function declaration and weak_alias.
19120 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19121 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19123 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19124 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19127 * math/libm-test.inc (cos_test): Add more test cases.
19128 (sin_test): Likewise.
19129 (sincos_test): Likewise.
19131 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19134 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19138 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19141 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19142 first element of the GOT.
19143 (elf_machine_load_address): Return the difference between
19144 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19146 2012-09-01 Allan McRae <allan@archlinux.org>
19149 * configure.in (AWK): Require gawk version 3.0 or later.
19150 * configure: Regenerated.
19152 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19154 * sysdeps/unix/sysv/linux/kernel-features.h
19155 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19157 [__NR_clock_getres]: Make code unconditional.
19158 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19159 (clock_getcpuclockid): Remove code left unreachable by removal of
19161 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19162 code unconditional.
19163 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19165 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19166 Make code unconditional.
19167 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19168 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19169 * sysdeps/unix/sysv/linux/clock_settime.c
19170 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19172 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19175 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19178 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19179 scripts/test-installation.pl.
19181 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19182 and $ld_so_version if it is set.
19184 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19188 failure if reading from procfs failed.
19189 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19191 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19193 * sysdeps/unix/sysv/linux/kernel-features.h
19194 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19195 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19196 Remove conditional code.
19197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19198 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19199 Remove conditional code.
19200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19201 * sysdeps/unix/sysv/linux/i386/fxstat.c
19202 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19204 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19205 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19207 * sysdeps/unix/sysv/linux/i386/lxstat.c
19208 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19210 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19211 Remove conditional code.
19212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19213 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19214 Remove conditional code.
19215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19216 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19217 <kernel-features.h>.
19218 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19220 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19221 Remove conditional code.
19222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19223 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19224 Remove conditional.
19226 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19229 * NEWS: Add fixed bug number.
19231 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19234 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19235 underflowing exponent in case of negative sign.
19236 * stdlib/tst-strtod-round-data: Add more tests.
19237 * stdlib/tst-strtod-round.c (tests): Regenerated.
19240 * stdlib/strtod_l.c (NDIG): Remove.
19241 (HEXNDIG): Likewise.
19242 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19243 smallest representable value.
19244 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19245 lie within an exact representation of 1/2 ulp of the result.
19246 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19248 (TENS_P9_IDX): Define unconditionally.
19249 (TENS_P9_SIZE): Likewise.
19250 (TENS_P10_IDX): Likewise.
19251 (TENS_P10_SIZE): Likewise.
19252 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19253 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19255 entries for 10^2^13 and 10^2^14.
19256 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19257 (TENS_P13_IDX): Define.
19258 (TENS_P13_SIZE): Likewise.
19259 (TENS_P14_IDX): Likewise.
19260 (TENS_P14_SIZE): Likewise.
19261 (_fpioconst_pow10): Change array size to
19262 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19264 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19265 1024]: Add entries for 10^2^13 and 10^2^14.
19266 [LAST_POW10 > _LAST_POW10]: Remove #error.
19267 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19268 (_fpioconst_pow10): Change array size to
19269 FPIOCONST_POW10_ARRAY_SIZE.
19270 * stdlib/gen-fpioconst.c: New file.
19271 * stdlib/gen-tst-strtod-round.c: Likewise.
19272 * stdlib/tst-strtod-round-data: Likewise.
19273 * stdlib/tst-strtod-round.c: Likewise.
19274 * stdlib/Makefile (tests): Add tst-strtod-round.
19277 * stdlib/strtod_l.c: Include <stdint.h>.
19278 (NDEBUG): Do not define.
19279 (round_and_return): Change EXPONENT parameter to type intmax_t.
19280 Rearrange calculations to avoid internal overflow possibilities.
19281 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19282 Rearrange calculations to avoid internal overflow possibilities.
19283 Assert that number fits inside MPNSIZE limbs.
19284 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19285 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19286 calculations and add assertions to avoid internal overflow
19287 possibilities. Add casts to avoid signed/unsigned operations.
19288 * stdlib/tst-strtod-overflow.c: New file.
19289 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19291 2012-08-25 Marek Polacek <polacek@redhat.com>
19293 * time/time.h: Fix some typos in comments.
19295 2012-08-23 Roland McGrath <roland@hack.frob.com>
19297 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19298 * posix/tst-rfc3484-2.c: Likewise.
19299 * posix/tst-rfc3484-3.c: Likewise.
19301 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19303 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19304 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19306 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19308 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19309 #include of fxstatat64.c.
19311 2012-08-22 Roland McGrath <roland@hack.frob.com>
19313 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19314 * shadow/getspent_r.c: Likewise.
19315 * shadow/getspnam.c: Likewise.
19316 * shadow/getspnam_r.c: Likewise.
19317 * gshadow/getsgent.c: Likewise.
19318 * gshadow/getsgent_r.c: Likewise.
19319 * gshadow/getsgnam.c: Likewise.
19320 * gshadow/getsgnam_r.c: Likewise.
19321 * inet/getnetbyad.c: Likewise.
19322 * inet/getnetbyad_r.c: Likewise.
19323 * inet/getnetbynm.c: Likewise.
19324 * inet/getnetbynm_r.c: Likewise.
19325 * inet/getnetent.c: Likewise.
19326 * inet/getnetent_r.c: Likewise.
19327 * inet/getproto.c: Likewise.
19328 * inet/getproto_r.c: Likewise.
19329 * inet/getprtent.c: Likewise.
19330 * inet/getprtent_r.c: Likewise.
19331 * inet/getprtname.c: Likewise.
19332 * inet/getprtname_r.c: Likewise.
19333 * inet/getrpcbyname.c: Likewise.
19334 * inet/getrpcbyname_r.c: Likewise.
19335 * inet/getrpcbynumber.c: Likewise.
19336 * inet/getrpcbynumber_r.c: Likewise.
19337 * inet/getrpcent.c: Likewise.
19338 * inet/getrpcent_r.c: Likewise.
19339 * inet/getaliasent.c: Likewise.
19340 * inet/getaliasent_r.c: Likewise.
19341 * inet/getaliasname.c: Likewise.
19342 * inet/getaliasname_r.c: Likewise.
19343 * nscd/getgrgid_r.c: Likewise.
19344 * nscd/getgrnam_r.c: Likewise.
19345 * nscd/gethstbyad_r.c: Likewise.
19346 * nscd/gethstbynm3_r.c: Likewise.
19347 * nscd/getpwnam_r.c: Likewise.
19348 * nscd/getpwuid_r.c: Likewise.
19349 * nscd/getsrvbynm_r.c: Likewise.
19350 * nscd/getsrvbypt_r.c: Likewise.
19351 * nscd/gai.c: Likewise.
19353 * configure.in (build_nscd): New substituted variable, set
19354 by --disable-build-nscd and defaults to $use_nscd.
19355 * configure: Regenerated.
19356 * config.make.in (build-nscd): New substituted variable.
19357 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19358 Change conditional to require [$(build-nscd) = yes] as well.
19359 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19362 * configure.in (use_nscd): New substituted variable, set by
19363 --disable-nscd. If enabled, define USE_NSCD.
19364 * configure: Regenerated.
19365 * config.h.in: Add USE_NSCD.
19366 * config.make.in (use-nscd): New substituted variable.
19367 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19368 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19369 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19370 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19371 (CFLAGS-getgrnam_r.c): Likewise.
19372 (CFLAGS-initgroups.c): Likewise.
19373 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19374 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19376 * inet/getnetgrent_r.c
19377 (nscd_setnetgrent): New function, broken out of ...
19378 (setnetgrent): ... here. Call it.
19379 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19380 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19381 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19382 * nscd/Makefile (routines, aux): Move definitions after include of
19383 Makeconfig. Conditionalize on [$(use-nscd) != no].
19384 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19385 Conditionalize on [USE_NSCD].
19386 (is_nscd, nscd_init_cb): Likewise.
19387 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19388 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19389 * nss/nss_db/db-init.c: Likewise.
19390 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19392 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19393 (make_request): Use it.
19394 (cache_valid_p): New function.
19395 (__check_pf): Use it.
19396 * NEWS: Add item for --disable-nscd.
19398 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19400 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19401 to support sed >= 4.2.1-20-ga9bf076.
19402 * configure: Regenerated.
19404 2012-08-22 Roland McGrath <roland@hack.frob.com>
19406 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19407 Conditionalize whole body on [IREL].
19409 2012-08-22 Jeff Law <law@redhat.com>
19412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19413 if the family is PF_UNSPEC.
19415 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19417 * Makerules (lib-version): Rename from V.
19418 (install-lib-nosubdir): Change V to lib-version.
19420 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19423 * powerpc32/power6/wcschr.c: New file.
19424 * powerpc32/power6/wcscpy.c: New file.
19425 * powerpc32/power6/wcsrchr.c: New file.
19426 * powerpc64/power6/wcschr.c: New file.
19427 * powerpc64/power6/wcscpy.c: New file.
19428 * powerpc64/power6/wcsrchr.c: New file.
19430 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19432 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19433 (two_way_short_needle): Use it.
19434 * string/strstr.c (AVAILABLE1_USES_J): Define.
19435 * string/strcasestr.c: Likewise.
19437 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19439 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19442 * NEWS: Add an entry.
19443 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19444 define their defaults.
19445 (two_way_short_needle): Detect end-of-string on-the-fly.
19446 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19447 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19448 * string/bug-strcasestr1.c: New test.
19449 * string/Makefile: Run it.
19451 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19454 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19455 the first character.
19457 2012-08-21 Roland McGrath <roland@hack.frob.com>
19459 * csu/elf-init.c (__libc_csu_irel): Function removed.
19460 * csu/libc-start.c (apply_irel): New function.
19461 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19463 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19465 * sysdeps/unix/sysv/linux/kernel-features.h
19466 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19467 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19468 <kernel-features.h>.
19469 [__NR_fadvise64_64]: Make code unconditional.
19470 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19471 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19472 !__NR_fadvise64_64)]: Likewise.
19473 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19474 !__NR_fadvise64_64))]: Likewise.
19475 [__NR_fadvise64]: Make code unconditional.
19476 [!__NR_fadvise64]: Remove conditional code.
19477 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19478 <kernel-features.h>.
19479 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19481 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19484 not include <kernel-features.h>.
19485 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19487 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19489 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19490 include <kernel-features.h>.
19491 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19493 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19496 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19499 slight instruction rearrangements per scrollpipe analysis.
19500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19502 2012-08-20 Roland McGrath <roland@hack.frob.com>
19504 * manual/syslog.texi (syslog; vsyslog, closelog):
19505 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19506 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19508 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19509 DSOCAPS to match condition on defining it.
19511 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19513 * sysdeps/unix/sysv/linux/kernel-features.h
19514 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19516 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19517 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19519 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19520 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19522 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19523 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19525 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19526 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19528 * sysdeps/unix/sysv/linux/kernel-features.h
19529 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19530 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19532 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19533 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19534 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19535 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19537 Make code unconditional.
19538 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19539 (__mmap64) [!__NR_mmap2]: Likewise.
19540 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19543 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19544 [__NR_mmap2]: Make code unconditional.
19545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19546 (__mmap64) [!__NR_mmap2]: Likewise.
19548 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19550 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19552 2012-08-18 Andreas Jaeger <aj@suse.de>
19554 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19556 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19558 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19559 * include/unistd.h (__have_sock_cloexec): Likewise.
19560 (__have_pipe2): Likewise.
19561 (__have_dup3): Likewise.
19563 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19566 * include/unistd.h (__have_pipe2): Change define into an extern int.
19567 (__have_dup3): Likewise.
19568 * socket/have_sock_cloexec.c: Include fcntl.h.
19569 (__have_pipe2): New variable.
19570 (__have_dup3): Likewise.
19572 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19574 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19576 2012-08-17 Marek Polacek <polacek@redhat.com>
19578 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19579 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19581 2012-08-17 Roland McGrath <roland@hack.frob.com>
19583 * configure.in: Add AC_SUBST for sysheaders.
19584 * configure: Regenerated.
19585 * config.make.in (sysheaders): New substituted variable.
19587 * sysdeps/unix/mkfifo.c: Moved ...
19588 * sysdeps/posix/mkfifo.c: ... here.
19589 * sysdeps/unix/mkfifoat.c: Moved ...
19590 * sysdeps/posix/mkfifoat.c: ... here.
19592 * sysdeps/unix/utime.c: Moved ...
19593 * sysdeps/posix/utime.c: ... here.
19595 * sysdeps/unix/time.c: Moved ...
19596 * sysdeps/posix/time.c: ... here.
19597 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19598 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19600 * sysdeps/unix/nice.c: Moved ...
19601 * sysdeps/posix/nice.c: ... here.
19603 * sysdeps/unix/alarm.c: Moved ...
19604 * sysdeps/posix/alarm.c: ... here.
19606 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19608 2012-08-17 Jeff Law <law@redhat.com>
19610 * intl/Makefile (codeset_mo): New variable.
19611 ($(codeset_mo)): New target.
19612 (tst-codeset.out): Depend on that. Remove explicit rule.
19613 (tst-gettext3.out, tst-gettext5.out): Likewise.
19614 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19615 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19616 * intl/tst-codeset.sh: Remove.
19617 * intl/tst-gettext3.sh: Likewise.
19618 * intl/tst-gettext5.sh: Likewise.
19620 2012-08-17 Roland McGrath <roland@hack.frob.com>
19622 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19623 * sysdeps/unix/syscalls.list: ... here.
19625 * sysdeps/posix/getaddrinfo.c
19626 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19627 (gaiconf_init, gaiconf_reload): Use them.
19628 [!_STATBUF_ST_NSEC]
19629 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19630 Define using time_t rather than struct timespec.
19632 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19633 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19635 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19637 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19638 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19641 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19642 __libc_cleanup_push argument.
19644 * bits/param.h: New file.
19645 * misc/sys/param.h: New file.
19646 * include/sys/param.h: New file.
19647 * misc/Makefile (headers): Add bits/param.h.
19648 * sysdeps/generic/sys/param.h: File removed.
19649 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19650 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19651 * sysdeps/mach/hurd/bits/param.h: New file.
19652 * sysdeps/mach/hurd/sys/param.h: File removed.
19654 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19657 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19659 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19660 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19663 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19664 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19665 rather than -D_IO_MTSAFE_IO conditionally.
19666 * stdio-common/Makefile (CPPFLAGS): Likewise.
19667 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19668 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19669 Use $(libio-mtsafe).
19670 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19671 of -D_IO_MTSAFE_IO.
19672 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19673 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19674 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19675 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19676 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19677 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19678 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19679 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19680 (CFLAGS-fread_u_chk.c): Likewise.
19681 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19682 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19683 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19684 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19685 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19686 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19687 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19688 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19689 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19691 * libio/Makefile: Test [$(libc-reentrant) = yes]
19692 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19695 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19696 * sysdeps/pthread/configure: File removed.
19697 * sysdeps/pthread/Makeconfig: New file.
19698 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19699 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19701 2012-08-16 Gary Benson <gbenson@redhat.com>
19703 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19704 unmapping the first object in a namespace.
19706 2012-08-16 Roland McGrath <roland@hack.frob.com>
19708 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19709 (__internal_setnetgrent): ... this. Add internal_function to
19710 definition. Add libc_hidden_def.
19711 (setnetgrent): Update caller.
19712 (internal_endnetgrent): Renamed to ...
19713 (__internal_endnetgrent): ... this. Add internal_function to
19714 definition. Add libc_hidden_def.
19715 (endnetgrent): Update caller.
19716 (internal_getnetgrent_r): Renamed to ...
19717 (__internal_getnetgrent_r): ... this. Add internal_function to
19718 definition. Add libc_hidden_def.
19719 (__getnetgrent_r): Update caller.
19720 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19722 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19724 * stdlib/longlong.h: Update from GCC.
19726 2012-08-16 Roland McGrath <roland@hack.frob.com>
19728 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19729 on _QL, which is set by umul_ppmm but never used.
19730 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19731 variables, which are set by GMP macros but never used.
19732 * stdio-common/_itowa.c (_itowa): Likewise.
19733 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19734 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19736 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19738 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19739 struct La_sh_regs is not constant.
19740 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19741 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19742 and struct La_sparc64_regs are not constant.
19744 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19746 * sysdeps/unix/sysv/linux/kernel-features.h
19747 (__ASSUME_POSIX_TIMERS): Remove.
19748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19750 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19751 Make code unconditional.
19752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19753 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19754 Make code unconditional.
19755 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19756 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19757 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19760 Make code unconditional.
19761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19762 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19763 (__libc_missing_posix_timers): Remove.
19765 2012-08-15 Roland McGrath <roland@hack.frob.com>
19767 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19768 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19770 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19772 * elf/dl-sym.c: Include <stdlib.h>.
19774 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19775 constants, which avoids warnings in 32-bit builds.
19777 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19778 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19780 * misc/lseek.c: File moved to ...
19781 * io/lseek.c: ... here.
19783 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19785 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19786 shifting LEN more than 31 bits at once.
19788 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19791 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19792 segmentation fault for a case of two empty input strings.
19793 * string/test-strncasecmp.c (check1): Renamed to...
19794 (bz12205): ...this.
19795 (bz14195): Add new testcase for two empty input strings and N > 0.
19796 (test_main): Call new testcase, adapt for renamed function.
19798 2012-08-15 Andreas Jaeger <aj@suse.de>
19801 * crypt/md5test2.c: New test, based on test supplied by Serge
19802 Belyshev <belyshev@depni.sinp.msu.ru>.
19803 * crypt/Makefile (xtests): Add md5test-giant..
19804 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19806 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19809 * crypt/md5.c (md5_process_block): Don't assume the buffer
19810 length is less than 2**32.
19811 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19812 length is less than 2**64.
19814 2012-08-15 Roland McGrath <roland@hack.frob.com>
19816 * string/str-two-way.h: Include <sys/param.h>.
19817 (MAX): Macro removed.
19819 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19820 Move #define and #undef of memmove to just before and after
19821 including <string.h>.
19823 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19824 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19825 and after including <string.h>. Move declarations of
19826 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19827 to before #include "string/memmove.c".
19829 * include/dirent.h: Declare __getdirentries.
19831 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19832 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19834 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19836 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19837 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19838 * sysdeps/i386/configure: Regenerated.
19839 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19840 STABS_CURRENT_FILE, and STABS_FUN.
19841 (END): Remove call to STABS_FUN_END.
19842 (STABS_CURRENT_FILE1): Delete.
19843 (STABS_CURRENT_FILE): Likewise.
19844 (STABS_FUN): Likewise.
19845 (STABS_FUN_END): Likewise.
19846 (STABS_FUN2): Likewise.
19847 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19848 * sysdeps/x86_64/configure: Regenerated.
19850 2012-08-14 Roland McGrath <roland@hack.frob.com>
19852 * elf/dl-open.c: Include <atomic.h>.
19853 * elf/dl-lookup.c: Likewise.
19855 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19857 * sysdeps/unix/sysv/linux/kernel-features.h
19858 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19859 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19861 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19863 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19864 condition on __ASSUME_CLONE_THREAD_FLAGS.
19866 2012-08-14 Andreas Jaeger <aj@suse.de>
19868 * sysdeps/i386/fpu/libm-test-ulps: Update.
19870 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19872 * include/atomic.h (atomic_exchange_and_add): Split into ...
19873 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19876 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19880 2012-08-13 Jeff Law <law@redhat.com>
19882 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19883 null byte in the output string.
19885 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19887 * sysdeps/unix/sysv/linux/kernel-features.h
19888 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19889 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19890 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19891 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19892 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19893 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19894 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19896 2012-08-09 Jeff Law <law@redhat.com>
19899 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19900 When avoid_arena is set, don't retry in the that arena. Pick the
19901 next one, whatever it might be.
19902 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19903 (arena_lock): Pass in new parameter to arena_get2.
19904 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19906 (__libc_malloc): Unify retrying after main arena failure with
19907 __libc_memalign version.
19908 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19910 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19913 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19914 to __redirect_strstr.
19915 (__strstr_sse42): Use typeof __redirect_strstr.
19916 (__strstr_ia32): Likewise.
19917 (__libc_strstr): New prototype.
19918 (strstr): Renamed to ...
19919 (__libc_strstr): This.
19920 (strstr): New strong alias of __libc_strstr.
19921 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19925 (__libc_time): New prototype.
19926 (time_ifunc): Replace time with __libc_time.
19927 (time): New strong alias and hidden definition of __libc_time.
19928 (__GI_time): Remove strong alias.
19929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19930 Include <stddef.h>.
19931 (memmove): Redefined to __redirect_memmove.
19932 (__memmove_sse2): Use typeof __redirect_memmove.
19933 (__memmove_ssse3): Likewise.
19934 (__memmove_ssse3_back): Likewise.
19935 (__libc_memmove): New prototype.
19936 (memmove): Renamed to ...
19937 (__libc_memmove): This.
19938 (memmove): New strong alias of __libc_memmove.
19940 2012-08-08 Mark Salter <msalter@redhat.com>
19943 (R_MN10300_TLS_GD): Define.
19944 (R_MN10300_TLS_LD): Likewise.
19945 (R_MN10300_TLS_LDO): Likewise.
19946 (R_MN10300_TLS_GOTIE): Likewise.
19947 (R_MN10300_TLS_IE): Likewise.
19948 (R_MN10300_TLS_LE): Likewise.
19949 (R_MN10300_TLS_DTPMOD): Likewise.
19950 (R_MN10300_TLS_DTPOFF): Likewise.
19951 (R_MN10300_TLS_TPOFF): Likewise.
19952 (R_MN10300_SYM_DIFF): Likewise.
19953 (R_MN10300_ALIGN): Likewise.
19954 (R_MN10300_NUM): Update.
19956 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19961 2012-08-08 Roland McGrath <roland@hack.frob.com>
19963 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19965 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19966 sysdeps/unix -> sysdeps/posix move.
19967 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19969 2012-08-07 Allan McRae <allan@archlinux.org>
19972 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19973 (SUNOS_CPP): Likewise.
19974 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19976 (open_input): Call CPP using execvp.
19978 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19980 * sysdeps/unix/sysv/linux/kernel-features.h
19981 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19982 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19983 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19984 (__ASSUME_WAITID_SYSCALL): Likewise.
19985 * sysdeps/unix/sysv/linux/dl-execstack.c
19986 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19987 code unconditional.
19988 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19991 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19992 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19994 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19996 [__ASSUME_WAITID_SYSCALL]: Likewise.
19997 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19999 2012-08-07 Roland McGrath <roland@hack.frob.com>
20001 * sysdeps/unix/closedir.c: Renamed to ...
20002 * sysdeps/posix/closedir.c: ... here.
20003 * sysdeps/unix/dirfd.c: Renamed to ...
20004 * sysdeps/posix/dirfd.c: ... here.
20005 * sysdeps/unix/dirstream.h: Renamed to ...
20006 * sysdeps/posix/dirstream.h: ... here.
20007 * sysdeps/unix/fdopendir.c: Renamed to ...
20008 * sysdeps/posix/fdopendir.c: ... here.
20009 * sysdeps/unix/opendir.c: Renamed to ...
20010 * sysdeps/posix/opendir.c: ... here.
20011 * sysdeps/unix/readdir.c: Renamed to ...
20012 * sysdeps/posix/readdir.c: ... here.
20013 * sysdeps/unix/readdir_r.c: Renamed to ...
20014 * sysdeps/posix/readdir_r.c: ... here.
20015 * sysdeps/unix/rewinddir.c: Renamed to ...
20016 * sysdeps/posix/rewinddir.c: ... here.
20017 * sysdeps/unix/seekdir.c: Renamed to ...
20018 * sysdeps/posix/seekdir.c: ... here.
20019 * sysdeps/unix/telldir.c: Renamed to ...
20020 * sysdeps/posix/telldir.c: ... here.
20021 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20022 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20023 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20024 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20026 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20027 * bits/fcntl.h: ... here.
20029 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20031 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20032 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20033 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20034 (struct flock): Move l_start, l_len to the beginning.
20035 Use __pid_t for l_pid.
20036 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20037 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20038 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20039 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20040 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20041 [__USE_LARGEFILE64] (struct flock64): New type.
20042 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20044 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20045 * bits/dirent.h: ... here.
20047 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20048 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20050 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20053 Change from 2.6.0 to 2.6.16.
20054 * sysdeps/unix/sysv/linux/configure: Regenerated.
20055 * sysdeps/unix/sysv/linux/kernel-features.h
20056 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20057 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20059 (__ASSUME_UTIMES): Likewise.
20060 (__ASSUME_CLONE_STOPPED): Remove.
20061 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20062 architectures, not kernel version.
20063 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20064 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20065 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20066 (__ASSUME_WAITID_SYSCALL): Likewise.
20067 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20068 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20069 * README: State 2.6.16 as minimum Linux kernel version. Do not
20070 refer to older versions.
20072 2012-08-06 Roland McGrath <roland@hack.frob.com>
20074 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20075 Define alphasort64 as an alias.
20076 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20077 Define versionsort64 as an alias.
20078 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20079 Define scandir64 as an alias.
20080 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20081 Define scandirat64 as an alias.
20082 * dirent/alphasort64.c (alphasort64):
20083 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20084 * dirent/versionsort64.c: Likewise.
20085 * dirent/scandir64.c: Likewise.
20086 * dirent/scandirat64.c: Likewise.
20087 * sysdeps/wordsize-64/alphasort.c: File removed.
20088 * sysdeps/wordsize-64/alphasort64.c: File removed.
20089 * sysdeps/wordsize-64/scandir.c: File removed.
20090 * sysdeps/wordsize-64/scandir64.c: File removed.
20091 * sysdeps/wordsize-64/scandirat.c: File removed.
20092 * sysdeps/wordsize-64/scandirat64.c: File removed.
20093 * sysdeps/wordsize-64/versionsort.c: File removed.
20094 * sysdeps/wordsize-64/versionsort64.c: File removed.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20104 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20106 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20108 [defined __arch64__ || defined __sparcv9]
20109 (__INO_T_MATCHES_INO64_T): New macro.
20110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20111 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20112 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20113 * sysdeps/unix/sysv/linux/bits/dirent.h
20114 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20115 (_DIRENT_MATCHES_DIRENT64): New macro.
20117 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20118 Define lockf64 as an alias.
20119 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20120 Define fseeko64 as an alias.
20121 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20122 Define ftello64 as an alias.
20123 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20124 Define _IO_fgetpos64 and fgetpos64 as aliases.
20125 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20126 Define _IO_fsetpos64 and fsetpos64 as aliases.
20127 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20128 Conditionalize body on this.
20129 * libio/fseeko64.c: Likewise.
20130 * libio/ftello64.c: Likewise.
20131 * libio/iofgetpos64.c: Likewise.
20132 * libio/iofsetpos64.c: Likewise.
20133 * sysdeps/wordsize-64/lockf.c: File removed.
20134 * sysdeps/wordsize-64/lockf64.c: File removed.
20135 * sysdeps/wordsize-64/fseeko.c: File removed.
20136 * sysdeps/wordsize-64/fseeko64.c: File removed.
20137 * sysdeps/wordsize-64/ftello.c: File removed.
20138 * sysdeps/wordsize-64/ftello64.c: File removed.
20139 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20140 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20141 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20142 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20145 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20147 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20149 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20154 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20156 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20158 [defined __arch64__ || defined __sparcv9]
20159 (__OFF_T_MATCHES_OFF64_T): New macro.
20160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20161 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20163 (__OFF_T_MATCHES_OFF64_T): New macro.
20165 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20167 * stdlib/secure-getenv.c (__secure_getenv): Replace
20168 GLIBC_2_16 with GLIBC_2_17.
20170 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20175 2012-08-03 David S. Miller <davem@davemloft.net>
20177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20179 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20183 (__ASSUME_CORRECT_SI_PID): Likewise.
20184 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20185 (__ASSUME_TMPFS_NAME): Likewise.
20186 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20187 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20188 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20189 (HAVE_AUX_SECURE): Make definition unconditional.
20190 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20191 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20193 2012-08-03 Roland McGrath <roland@hack.frob.com>
20195 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20196 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20197 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20199 __eloop_threshold instead of SYMLOOP_MAX.
20201 * sysdeps/generic/eloop-threshold.h: New file.
20202 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20204 * elf/chroot_canon.c (chroot_canon): Likewise.
20206 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20210 Change to 2.6.0 everywhere.
20211 * sysdeps/unix/sysv/linux/configure: Regenerated.
20212 * sysdeps/unix/sysv/linux/kernel-features.h
20213 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20214 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20216 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20217 (__ASSUME_FUTEX_REQUEUE): Remove.
20218 (__ASSUME_STATFS64): Define unconditionally.
20219 (__ASSUME_AT_SECURE): Likewise.
20220 (__ASSUME_CORRECT_SI_PID): Likewise.
20221 (__ASSUME_TGKILL): Define without depending on kernel version for
20223 (__ASSUME_UTIMES): Likewise.
20224 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20226 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20227 (__ASSUME_TMPFS_NAME): Likewise.
20228 * README: Update reference to Linux kernel versions.
20230 2012-08-02 Marek Polacek <polacek@redhat.com>
20233 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20234 libc_cv_asm_type_prefix with %.
20235 * configure: Regenerated.
20236 * include/libc-symbols.h: Remove comment about
20237 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20238 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20239 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20240 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20241 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20242 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20243 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20244 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20245 * elf/tst-unique2mod1.c: Likewise.
20246 * elf/tst-unique1mod2.c: Likewise.
20247 * elf/tst-unique1mod1.c: Likewise.
20248 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20249 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20250 Replace ASM_TYPE_DIRECTIVE with .type.
20251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20252 * sysdeps/i386/sysdep.h: Likewise.
20253 * sysdeps/x86_64/sysdep.h: Likewise.
20254 * sysdeps/sh/sysdep.h: Likewise.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20256 Do not define ASM_TYPE_DIRECTIVE.
20257 * sysdeps/powerpc/sysdep.h: Likewise.
20258 * sysdeps/powerpc/powerpc32/sysdep.h:
20259 Replace ASM_TYPE_DIRECTIVE with .type.
20260 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20262 * sysdeps/i386/fpu/e_powf.S: Likewise.
20263 * sysdeps/i386/fpu/e_expl.S: Likewise.
20264 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20265 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20266 * sysdeps/i386/fpu/e_pow.S: Likewise.
20267 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20269 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20270 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20271 * sysdeps/i386/fpu/e_log2.S: Likewise.
20272 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20274 * sysdeps/i386/fpu/e_powl.S: Likewise.
20275 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20276 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20277 * sysdeps/i386/fpu/e_logl.S: Likewise.
20278 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20279 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20280 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20282 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20283 * sysdeps/i386/fpu/e_log.S: Likewise.
20284 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20285 * sysdeps/i386/fpu/e_logf.S: Likewise.
20286 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20288 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20289 * sysdeps/i386/fpu/e_log10.S: Likewise.
20290 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20291 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20292 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20293 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20294 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20296 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20297 * sysdeps/i386/i686/strtok.S: Likewise.
20298 * sysdeps/i386/i386-mcount.S: Likewise.
20299 * sysdeps/i386/strtok.S: Likewise.
20300 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20304 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20305 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20306 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20307 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20308 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20309 * sysdeps/x86_64/_mcount.S: Likewise.
20310 * sysdeps/x86_64/strtok.S: Likewise.
20311 * sysdeps/sh/_mcount.S: Likewise.
20313 2012-08-01 Roland McGrath <roland@hack.frob.com>
20315 * libio/iofopen.c: Include <fcntl.h>.
20316 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20317 (_IO_fopen64, fopen64): Define as aliases.
20318 * libio/iofopen64.c: Include <fcntl.h>.
20319 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20320 Conditionalize body on this.
20321 * sysdeps/wordsize-64/iofopen.c: File removed.
20322 * sysdeps/wordsize-64/iofopen64.c: File removed.
20324 2012-08-01 Marek Polacek <polacek@redhat.com>
20326 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20327 Use dlfcn directly instead of a variable.
20328 (binfmt-subdir): Do not define.
20331 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20334 Remove all definitions.
20335 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20336 <kernel-features.h>.
20337 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20338 (miss_F_GETOWN_EX): Remove all definitions.
20339 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20341 [!__ASSUME_FCNTL64]: Remove conditional code.
20342 [__ASSUME_FCNTL64]: Make code unconditional.
20343 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20344 <kernel-features.h>.
20345 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20346 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20347 (lockf64) [__NR_fcntl64]: Make code unconditional.
20348 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20350 * sysdeps/unix/sysv/linux/kernel-features.h
20351 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20352 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20353 Make code unconditional.
20354 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20355 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20357 [__NR_vfork]: Make code unconditional.
20358 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20359 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20361 [__NR_vfork]: Make code unconditional.
20362 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20363 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20365 2012-08-01 Roland McGrath <roland@hack.frob.com>
20367 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20368 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20370 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20371 Define mkstemp64 as an alias.
20372 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20373 Define mkstemps64 as an alias.
20374 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20375 Define mkostemp64 as an alias.
20376 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20377 Define mkostemps64 as an alias.
20378 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20379 Conditionalize body on this.
20380 * misc/mkostemp64.c: Likewise.
20381 * misc/mkostemps64.c: Likewise.
20382 * misc/mkstemps64.c: Likewise.
20383 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20384 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20385 * sysdeps/wordsize-64/mkostemp.c: File removed.
20386 * sysdeps/wordsize-64/mkstemp.c: File removed.
20387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20393 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20394 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20395 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20396 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20398 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20399 compat_symbol macros from <shlib-compat.h> rather than the underlying
20400 default_symbol_version and symbol_version macros, so that DEFAULT
20401 lines in shlib-versions are respected.
20402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20404 2012-08-01 Florian Weimer <fweimer@redhat.com>
20406 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20407 Declare with warn_unused_result.
20408 (setgid, setregid, setegid, setresgid): Likewise.
20409 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20411 * WUR-REPORT: Remove set*id functions.
20413 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20415 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20417 2012-07-31 Roland McGrath <roland@hack.frob.com>
20420 * include/sys/socket.h (__libc_accept, __libc_accept4):
20421 Add attribute_hidden.
20422 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20424 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20426 * inet/getnetgrent_r.c (setup): Likewise.
20428 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20430 2012-07-31 David S. Miller <davem@davemloft.net>
20432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20434 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20437 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20438 value between 1.0 and 2.0 and smaller part has absolute value less
20440 * math/s_clog10.c (__clog10): Likewise.
20441 * math/s_clog10f.c (__clog10f): Likewise.
20442 * math/s_clog10l.c (__clog10l): Likewise.
20443 * math/s_clogf.c (__clogf): Likewise.
20444 * math/s_clogl.c (__clogl): Likewise.
20445 * math/libm-test.inc (clog_test): Add more tests.
20446 (clog10_test): Likewise.
20447 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20450 2012-07-31 Florian Weimer <fweimer@redhat.com>
20452 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20453 Exit with zero in case no suitable GID is found, and write a
20454 message to standard error.
20456 2012-07-30 Roland McGrath <roland@hack.frob.com>
20458 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20460 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20461 (MAXPATHLEN): Removed.
20462 (NOGROUP, NODEV): New macros.
20463 (setbit, clrbit, isset, isclr): New macros.
20464 (howmany, roundup, powerof2): New macros.
20465 (DEV_BSIZE): New macro.
20467 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20468 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20470 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20471 definition on [!__NO_LONG_DOUBLE_MATH].
20473 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20474 PTR_MANGLE and PTR_DEMANGLE.
20476 * socket/accept4.c (accept4): Rename to __libc_accept4.
20477 Define accept4 as a weak alias.
20479 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20480 on [_DIRENT_HAVE_D_TYPE].
20481 * io/ftw.c (ftw_dir): Likewise.
20483 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20485 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20487 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20488 Use the BSD numbers rather than the arbitrary ones we had.
20489 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20490 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20491 (SIGXCPU, SIGXFSZ): New macros.
20494 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20495 initializer on [_LIBC_REENTRANT].
20497 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20498 definitions inside [_POSIX_MAPPED_FILES].
20500 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20502 * dirent/opendir.c: Include <fcntl.h>.
20504 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20505 (__libc_getspecific): Likewise.
20506 (__libc_key_create): Likewise.
20508 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20509 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20510 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20511 (tmpfile64): Define as alias.
20512 * sysdeps/wordsize-64/tmpfile.c: File removed.
20513 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20514 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20517 * stdio-common/vfscanf.c: Include <stdbool.h>.
20518 * nss/makedb.c: Likewise.
20519 * stdio-common/_i18n_number.h: Likewise.
20520 * argp/argp-help.c: Likewise.
20521 * posix/wordexp.c: Likewise.
20522 * sysdeps/posix/spawni.c: Likewise.
20523 * nss/nss_files/files-initgroups.c: Likewise.
20524 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20525 * nss/nss_files/files-initgroups.c: Likewise.
20526 * nss/nss_db/db-netgrp.c: Likewise.
20527 * nss/nss_db/db-initgroups.c: Likewise.
20528 * io/fchmodat.c: Include <sys/stat.h>.
20530 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20531 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20533 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20536 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20537 Add multiple inclusion protection.
20539 2012-07-27 David S. Miller <davem@davemloft.net>
20541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20543 2012-07-27 Gary Benson <gbenson@redhat.com>
20546 * elf/rtld.c: Include <stap-probe.h>.
20547 (dl_main): Added static probes "init_start" and "init_complete".
20548 * elf/dl-load.c: Include <stap-probe.h>.
20549 (lose): Take new parameter "nsid".
20550 Added static probe "map_failed".
20551 (_dl_map_object_from_fd): Pass namespace id to lose.
20552 Added static probe "map_start".
20553 (open_verify): Pass namespace id to lose.
20554 * elf/dl-open.c: Include <stap-probe.h>.
20555 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20556 and "reloc_complete".
20557 * elf/dl-close.c: Include <stap-probe.h>.
20558 (_dl_close_worker): Added static probes "unmap_start" and
20560 * elf/rtld-debugger-interface.txt: New file documenting the above.
20562 2012-07-26 Roland McGrath <roland@hack.frob.com>
20564 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20565 rather than a string variable.
20566 * sunrpc/rpc_main.c (h_output): Likewise.
20567 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20569 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20571 * inet/check_native.c: New file.
20573 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20576 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20577 if larger part has absolute value 1.0.
20578 * math/s_clog10.c (__clog10): Likewise.
20579 * math/s_clog10f.c (__clog10f): Likewise.
20580 * math/s_clog10l.c (__clog10l): Likewise.
20581 * math/s_clogf.c (__clogf): Likewise.
20582 * math/s_clogl.c (__clogl): Likewise.
20583 * math/libm-test.inc (clog_test): Add more tests.
20584 (clog10_test): Likewise.
20585 * sysdeps/i386/fpu/libm-test-ulps: Update.
20586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20588 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20589 (pltexit): Likewise.
20590 (La_regs): Likewise.
20591 (La_retval): Likewise.
20592 (int_retval): Likewise.
20593 Update #error for removed macros to refer only to definitions in
20595 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20597 (pltexit): Likewise.
20598 (La_regs): Likewise.
20599 (La_retval): Likewise.
20600 (int_retval): Likewise.
20601 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20603 (pltexit): Likewise.
20604 (La_regs): Likewise.
20605 (La_retval): Likewise.
20606 (int_retval): Likewise.
20607 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20609 (pltexit): Likewise.
20610 (La_regs): Likewise.
20611 (La_retval): Likewise.
20612 (int_retval): Likewise.
20613 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20615 (pltexit): Likewise.
20616 (La_regs): Likewise.
20617 (La_retval): Likewise.
20618 (int_retval): Likewise.
20619 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20621 (pltexit): Likewise.
20622 (La_regs): Likewise.
20623 (La_retval): Likewise.
20624 (int_retval): Likewise.
20625 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20627 (pltexit): Likewise.
20628 (La_regs): Likewise.
20629 (La_retval): Likewise.
20630 (int_retval): Likewise.
20631 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20632 macro definitions in tst-audit.h.
20633 * sysdeps/i386/tst-audit.h: New file.
20634 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20635 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20636 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20637 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20638 * sysdeps/sh/tst-audit.h: Likewise.
20639 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20640 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20641 * sysdeps/x86_64/tst-audit.h: Likewise.
20643 2012-07-26 Andreas Jaeger <aj@suse.de>
20645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20648 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20649 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20650 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20652 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20653 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20654 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20656 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20659 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20661 (si_call_addr, si_syscall, si_arch): Define new macro.
20662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20664 (si_call_addr, si_syscall, si_arch): Define new marcro.
20665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20667 (si_call_addr, si_syscall, si_arch): Define new macro.
20668 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20670 (si_call_addr, si_syscall, si_arch): Define new macro.
20672 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20676 Change to 2.4.21 where previously 2.4.1.
20677 * sysdeps/unix/sysv/linux/configure: Regenerated.
20678 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20679 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20680 Linux kernel version.
20681 (__ASSUME_STD_AUXV): Remove.
20682 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20684 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20685 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20686 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20687 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20688 (__ASSUME_NETLINK_SUPPORT): Likewise.
20689 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20690 (__no_netlink_support): Remove conditional definition.
20691 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20693 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20694 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20696 (if_nameindex_ioctl): Remove.
20697 (if_nameindex_netlink): Do not handle __no_netlink_support.
20698 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20700 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20701 Remove conditional code.
20702 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20704 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20706 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20707 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20708 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20710 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20711 [!__ASSUME_STD_AUXV]: Remove conditional code.
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20713 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20714 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20716 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20719 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20721 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20722 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20724 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20729 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20732 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20733 code unconditional.
20734 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20736 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20738 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20741 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20743 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20746 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20747 code unconditional.
20748 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20750 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20752 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20755 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20756 code unconditional.
20757 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20759 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20761 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20764 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20766 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20767 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20768 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20769 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20770 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20771 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20772 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20773 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20774 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20775 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20776 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20777 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20778 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20779 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20782 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20784 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20786 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20787 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20790 2012-07-25 Florian Weimer <fweimer@redhat.com>
20792 * Versions.def: Add GLIBC_2.17.
20793 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20794 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20795 Introduce __libc_secure_getenv.
20796 * stdlib/Versions (2.17): Add secure_getenv
20797 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20798 * stdlib/secure-getenv.c: Rename __secure_getenv to
20799 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20800 symbol __secure_getenv for GLIBC_2.0.
20801 * stdlib/tst-secure-getenv.c: New.
20802 * stdlib/Makefile (tests): Add testcase.
20803 * manual/startup.texi (Environment Access): Document
20805 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20806 __libc_secure_getenv.
20807 * inet/ruserpass.c (ruserpass): Likewise.
20808 * malloc/mtrace.c (mtrace): Likewise.
20809 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20810 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20811 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20812 * sysdeps/posix/tempname.c: Likewise. Evaluate
20813 HAVE_SECURE_GETENV.
20814 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20815 __secure_getenv to __libc_secure_getenv.
20816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20829 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20831 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20832 (struct La_i86_retval): Likewise.
20833 (struct La_x86_64_regs): Likewise.
20834 (struct La_x86_64_retval): Likewise.
20835 (struct La_x32_regs): Likewise.
20836 (struct La_x32_retval): Likewise.
20837 (struct La_ppc32_regs): Likewise.
20838 (struct La_ppc32_retval): Likewise.
20839 (struct La_ppc64_regs): Likewise.
20840 (struct La_ppc64_retval): Likewise.
20841 (struct La_sh_regs): Likewise.
20842 (struct La_sh_retval): Likewise.
20843 (struct La_s390_32_regs): Likewise.
20844 (struct La_s390_32_retval): Likewise.
20845 (struct La_s390_64_regs): Likewise.
20846 (struct La_s390_64_retval): Likewise.
20847 (struct La_sparc32_regs): Likewise.
20848 (struct La_sparc32_retval): Likewise.
20849 (struct La_sparc64_regs): Likewise.
20850 (struct La_sparc64_retval): Likewise.
20851 (struct audit_ifaces): Remove architecture-specific pltenter and
20853 * sysdeps/i386/ldsodefs.h: New file.
20854 * sysdeps/powerpc/ldsodefs.h: Likewise.
20855 * sysdeps/s390/ldsodefs.h: Likewise.
20856 * sysdeps/sh/ldsodefs.h: Likewise.
20857 * sysdeps/sparc/ldsodefs.h: Likewise.
20858 * sysdeps/x86_64/ldsodefs.h: Likewise.
20860 2012-07-25 Marek Polacek <polacek@redhat.com>
20863 * math/libm-test.inc (yn_test): Add another test.
20864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20865 to ERANGE when the result is +-Inf.
20866 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20867 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20868 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20869 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20871 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20873 * conform/data/time.h-data (NULL): Use macro-constant. Require
20875 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20877 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20879 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20881 * configure.in <sysdeps resolving>: Correct printing
20883 * configure: Regenerate.
20885 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20887 * math/w_ilogb.c: Include <limits.h>.
20888 * math/w_ilogbl.c: Likewise.
20890 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20892 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20893 va_copy. Document allowing for unavailable va_copy only as
20894 pre-C99 compatibility.
20895 * manual/string.texi (Copying and Concatenation): Use va_copy
20896 instead of __va_copy in concat example.
20898 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20900 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20901 (__sendto): Use create_address_port. Initialize APORT and deallocate
20904 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20905 with O_NOLINK passed to __file_name_lookup.
20907 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20908 with O_NOLINK passed to __file_name_lookup.
20910 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20911 negative N or less than NGIDS.
20913 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20914 type to string_t. Set ERANGE as errno and return it if NAME is not big
20915 enough. Use memcpy instead of strncpy.
20917 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20919 * elf/Makefile (check-data): Remove.
20920 (localplt.data): New vpath directive.
20921 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20922 instead of $(check-data).
20923 * scripts/data/localplt-generic.data: Move to ...
20924 * sysdeps/generic/localplt.data: ... here.
20925 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20926 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20927 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20930 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20933 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20936 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20939 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20942 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20946 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20948 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20949 PPC32 and PPC64 files.
20950 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20951 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20953 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20955 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20956 __makecontext_ret to ...
20957 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20958 ... here and call exit if uc_link is NULL. New file.
20959 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20960 __makecontext_ret.S.
20961 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20962 __makecontext_ret to ...
20963 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20964 ... here and call exit if uc_link is NULL. New file.
20965 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20966 __makecontext_ret.S.
20968 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20970 * elf/elf.h (R_390_IRELATIVE): New definition.
20971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20972 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20973 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20975 (elf_machine_lazy_rel): Likewise.
20976 * sysdeps/s390/dl-irel.h: New file.
20977 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20978 * sysdeps/s390/s390-64/memset.S: New asm code.
20979 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20980 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20981 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20982 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20983 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20984 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20985 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20986 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20987 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20988 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20989 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20990 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20991 * sysdeps/s390/s390-32/memset.S: New asm code.
20992 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20994 2012-07-17 Marek Polacek <polacek@redhat.com>
20997 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20998 * sysdeps/s390/s390-64/configure.in: Likewise.
20999 * sysdeps/sparc/configure.in: Likewise.
21000 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21001 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21002 * sysdeps/i386/configure.in: Likewise.
21003 * sysdeps/x86_64/configure.in: Likewise.
21004 * sysdeps/sh/configure.in: Likewise.
21005 * sysdeps/s390/s390-32/configure: Regenerated.
21006 * sysdeps/s390/s390-64/configure: Likewise.
21007 * sysdeps/x86_64/configure: Likewise.
21008 * sysdeps/sh/configure: Likewise.
21009 * sysdeps/powerpc/powerpc64/configure: Likewise.
21010 * sysdeps/powerpc/powerpc32/configure: Likewise.
21011 * sysdeps/sparc/configure: Likwise.
21012 * sysdeps/i386/configure: Likewise.
21014 * elf/dl-open.c: Comment fixes.
21016 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21018 * Makefile [CXX] (check-data): Remove.
21019 [CXX] (c++-types.data): New vpath directive.
21020 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21021 vpath. Do not allow for C++ type data being missing.
21022 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21023 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21024 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21025 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21026 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21027 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21028 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21031 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21034 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21037 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21040 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21043 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21046 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21049 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21052 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21053 definitions to architecture-specific files.
21054 (TLS_IE): Likewise.
21055 (TLS_LD): Likewise.
21056 (TLS_GD): Likewise.
21057 * sysdeps/i386/tls-macros.h: New file.
21058 * sysdeps/powerpc/tls-macros.h: Likewise.
21059 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21060 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21061 * sysdeps/sh/tls-macros.h: Likewise.
21062 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21063 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21064 * sysdeps/x86_64/tls-macros.h: Likewise.
21066 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21069 zero value for regular exit case.
21071 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21072 (__start_context): Preserve zero value for regular exit case.
21074 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21075 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21077 * manual/setjmp.texi (setcontext): Clarify normal process
21078 termination when uc_link is the null pointer.
21079 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21082 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21084 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21085 preprocessor. Test for each exception mask separately.
21087 2012-07-16 Andreas Jaeger <aj@suse.de>
21089 * po/ru.po: Update from translation team.
21091 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21093 * conform/data/string.h-data (NULL): Use macro-constant. Require
21095 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21096 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21097 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21098 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21101 2012-07-13 Andreas Jaeger <aj@suse.de>
21103 * po/fr.po: Update from translation team.
21105 2012-07-12 Marek Polacek <polacek@redhat.com>
21108 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21112 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21116 Change to 2.4.1 where previously 2.4.0.
21117 * sysdeps/unix/sysv/linux/configure: Regenerated.
21118 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21119 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21121 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21122 (__ASSUME_AT_CLKTCK): Remove.
21123 (__ASSUME_AT_PAGESIZE): Likewise.
21124 (__ASSUME_AT_XID): Likewise.
21125 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21126 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21127 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21129 (HAVE_AUX_PAGESIZE): Likewise.
21130 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21131 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21132 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21134 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21138 the temporary buffer used to invoke __gethostbyname2_r,
21139 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21140 host_data / struct gaih_addrtuple.
21141 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21142 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21143 header file nss/nsswitch.h.
21144 * nss/nsswitch.h (global scope): Add definition of implementation
21145 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21146 resolv/nss_dns/dns-host.c).
21148 2012-07-11 Andreas Jaeger <aj@suse.de>
21150 * po/fr.po: Update from translation team.
21152 * po/sv.po: Update from translation team
21153 * po/fr.po: Another update from translation team.
21155 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21157 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21158 for subnormals or multiply small sinh result by itself.
21159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21162 2012-07-11 David S. Miller <davem@davemloft.net>
21164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21166 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21169 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21170 (INTERNAL_MARK): Shift it here.
21172 2012-07-10 Marek Polacek <polacek@redhat.com>
21175 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21176 libc_cv_asm_global_directive with .globl.
21177 * configure: Regenerated.
21178 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21180 * sysdeps/i386/configure: Regenerated.
21181 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21183 * sysdeps/x86_64/configure: Regenerated.
21184 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21185 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21186 * elf/tst-unique2mod2.c: Likewise.
21187 * elf/tst-unique2mod1.c: Likewise.
21188 * elf/tst-unique1mod2.c: Likewise.
21189 * elf/tst-unique1mod1.c: Likewise.
21190 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21191 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21194 * sysdeps/mach/sysdep.h: Likewise.
21195 * sysdeps/i386/sysdep.h: Likewise.
21196 * sysdeps/i386/i386-mcount.S: Likewise.
21197 * sysdeps/x86_64/_mcount.S: Likewise.
21198 * sysdeps/x86_64/sysdep.h: Likewise.
21199 * sysdeps/sh/_mcount.S: Likewise.
21200 * sysdeps/sh/sysdep.h: Likewise.
21201 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21202 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21205 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21206 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21208 * locale/localeinfo.h: Likewise.
21209 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21210 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21212 2012-07-09 Roland McGrath <roland@hack.frob.com>
21215 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21217 * manual/message.texi (The Uniforum approach): Likewise.
21218 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21219 (glibc iconv Implementation): Likewise.
21221 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21224 * math/s_clog.c (__clog): Avoid scaling a value down where that
21225 could result in underflow.
21226 * math/s_clog10.c (__clog10): Likewise.
21227 * math/s_clog10f.c (__clog10f): Likewise.
21228 * math/s_clog10l.c (__clog10l): Likewise.
21229 * math/s_clogf.c (__clogf): Likewise.
21230 * math/s_clogl.c (__clogl): Likewise.
21231 * math/libm-test.inc (clog_test): Add more tests.
21232 (clog10_test): Likewise.
21233 * sysdeps/i386/fpu/libm-test-ulps: Update.
21234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21236 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21240 by 7 not 8 to examine high bit of fractional part.
21243 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21244 for call to __mcount_internal.
21245 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21246 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21247 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21249 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21252 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21253 approximation for values within 0x1p-13f of an odd multiple of
21255 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21256 exception. Add more tests.
21257 * sysdeps/i386/fpu/libm-test-ulps: Update.
21260 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21261 inputs and return -1 for them. Do not check for +Inf in case not
21262 reachable for +Inf.
21263 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21264 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21266 and return -1 for them. Do not check for +Inf in case not
21267 reachable for +Inf.
21268 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21271 and return -1 for them. Do not check for +Inf in case not
21272 reachable for +Inf.
21273 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21274 spurious underflow.
21275 * sysdeps/i386/fpu/libm-test-ulps: Update.
21276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21278 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21280 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21282 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21286 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21287 could result in spurious underflow. Scale down values above
21288 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21289 * math/s_csqrtf.c (__csqrtf): Likewise.
21290 * math/s_csqrtl.c (__csqrtl): Likewise.
21291 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21292 spurious underflow.
21293 * sysdeps/i386/fpu/libm-test-ulps: Update.
21294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21296 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21298 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21300 * catgets/xopen-msg.awk: New file.
21301 * catgets/xopen-msg.sed: Removed.
21303 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21305 * intl/po2test.awk: New file.
21306 * intl/po2test.sed: Removed.
21308 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21311 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21312 or multiply small sinh result by itself.
21313 * math/s_ctanf.c (__ctanf): Likewise.
21314 * math/s_ctanh.c (__ctanh): Likewise.
21315 * math/s_ctanhf.c (__ctanhf): Likewise.
21316 * math/s_ctanhl.c (__ctanhl): Likewise.
21317 * math/s_ctanl.c (__ctanl): Likewise.
21318 * math/libm-test.inc (ctan_test_tonearest): New function.
21319 (ctan_test_towardzero): Likewise.
21320 (ctan_test_downward): Likewise.
21321 (ctan_test_upward): Likewise.
21322 (ctanh_test_tonearest): Likewise.
21323 (ctanh_test_towardzero): Likewise.
21324 (ctanh_test_downward): Likewise.
21325 (ctanh_test_upward): Likewise.
21326 (main): Call these new functions.
21327 * sysdeps/i386/fpu/libm-test-ulps: Update.
21328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21330 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21332 * .gitignore: Delete /ports entry.
21334 2012-07-03 Andreas Jaeger <aj@suse.de>
21336 * po/bg.po: Update from translation team.
21337 * po/cs.po: Likewise.
21338 * po/de.po: Likewise.
21339 * po/hr.po: Likewise.
21340 * po/nl.pl: Likewise.
21341 * po/pl.po: Likewise.
21342 * po/vi.po: Likewise.
21344 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21346 * Makeconfig [!+link] (+link-before-libc): New variable.
21347 [!+link] (+link-after-libc): Likewise.
21348 [!+link] (+link-tests): Likewise.
21349 [!+link] (+link): Define in terms of $(+link-before-libc) and
21350 $(+link-after-libc).
21351 [!+link-static] (+link-static-before-libc): New variable.
21352 [!+link-static] (+link-static-after-libc): Likewise.
21353 [!+link-static] (+link-static-tests): Likewise.
21354 [!+link-static] (+link-static): Define in terms of
21355 $(+link-static-before-libc) and $(+link-static-after-libc).
21356 [build-shared] (link-libc-before-gnulib): New variable.
21357 [build-shared] (link-libc-tests): Likewise.
21358 [build-shared] (link-libc): Define in terms of
21359 $(link-libc-before-gnulib).
21360 [!build-shared] (link-libc-tests): New variable.
21361 (link-libc-static-tests): New variable.
21362 [!gnulib] (gnulib-arch): New variable.
21363 [!gnulib] (gnulib-tests): Likewise.
21364 [!gnulib] (static-gnulib-arch): Likewise.
21365 [!gnulib] (static-gnulib-tests): Likewise.
21366 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21367 Define with "=" instead of ":=".
21368 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21369 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21370 * Rules (binaries-all-notests): New variable.
21371 (binaries-all-tests): Likewise.
21372 (binaries-static-notests): Likewise.
21373 (binaries-static-tests): Likewise.
21374 (binaries-all): Define using $(binaries-all-notests) and
21375 $(binaries-all-tests).
21376 (binaries-static): Define using $(binaries-static-notests) and
21377 $(binaries-static-tests).
21378 (binaries-shared-tests): New variable.
21379 (binaries-shared-notests): Likewise.
21380 (binaries-shared): Remove variable.
21381 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21382 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21383 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21384 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21385 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21386 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21387 * elf/Makefile (sln-modules): New variable.
21388 (extra-objs): Add $(sln-modules:=.o).
21389 (ldconfig-modules): Add static-stubs.
21390 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21391 * elf/static-stubs.c: New file.
21394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21395 by 7 not 8 to examine high bit of fractional part. Use volatile
21396 variables when splitting into final array of floats if
21397 __FLT_EVAL_METHOD__ != 0.
21398 * math/libm-test.inc (cos_test): Add another test.
21399 (sin_test): Likewise.
21400 * sysdeps/i386/fpu/libm-test-ulps: Update.
21403 * math/libm-test.inc (cosh_test): Add more tests.
21405 * version.h (RELEASE): Set to "development".
21406 (VERSION): Set to "2.16.90".
21408 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21410 * NEWS: Update copyright. Remove last-updated date.
21411 Mention math library bug fixes and timezone data changes.
21412 * README: Mention GNU/Hurd, x32, and HPPA support status.
21414 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21416 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21418 2012-06-27 Andreas Jaeger <aj@suse.de>
21420 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21422 2012-06-25 Andreas Jaeger <aj@suse.de>
21424 * sysdeps/s390/fpu/libm-test-ulps: Update.
21426 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21427 Thomas Schwinge <thomas@codesourcery.com>
21429 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21430 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21434 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21436 * sysdeps/mach/start.c: Remove file.
21437 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21438 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21439 * sysdeps/sh/init-first.c: Likewise.
21441 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21442 registers for frame unwinding purposes, add CFI directives.
21443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21445 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21449 __fortify_fail returning.
21450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21453 sysdeps/sh/____longjmp_chk.S.
21454 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21455 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21456 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21457 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21459 * sysdeps/sh/abort-instr.h: New file.
21460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21461 process in case exit returns.
21463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21464 initialize the GOT register before use.
21466 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21467 calculation of ARGC > 4.
21469 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21470 meaningful names to some local labels.
21472 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21473 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21475 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21476 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21477 (__arch_compare_and_exchange_val_16_acq): Likewise.
21478 (__arch_compare_and_exchange_val_32_acq): Likewise.
21479 (atomic_exchange_and_add): Fix gUSA sequence.
21480 (atomic_add): Likewise.
21481 (atomic_add_negative): Likewise.
21482 (atomic_add_zero): Likewise.
21483 (atomic_bit_test_set): Likewise.
21485 2012-06-22 Andreas Schwab <schwab@redhat.com>
21488 * include/link.h (struct link_map): Add l_free_initfini.
21489 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21491 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21492 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21493 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21496 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21498 * configure.in: Use AC_LANG_SOURCE.
21499 * configure: Regenerate.
21501 2012-06-22 Roland McGrath <roland@hack.frob.com>
21503 * configure.in (libc_cv_localstatedir): New substituted variable.
21504 * configure: Regenerated.
21505 * config.make.in (localstatedir): New variable, substituted from
21506 libc_cv_localstatedir.
21507 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21508 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21509 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21510 * sysdeps/gnu/configure: Regenerated.
21512 2012-06-21 Jeff Law <law@redhat.com>
21515 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21516 free. Simplify list management for _LIBC case.
21518 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21522 Clear sign bit of 64-bit integer value before comparing against
21525 * sysdeps/mach/configure: Regenerated.
21527 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21530 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21532 2012-06-21 Jeff Law <law@redhat.com>
21535 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21536 uint16_t for elements in the "seen" array to avoid char overflows.
21537 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21538 * elf/dl-open.c (dl_open_worker): Likewise.
21540 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21542 * scripts/list-sources.sh: Scan PORTS for translations.
21543 * po/libc.pot: Regenerated.
21545 2012-06-21 Andreas Jaeger <aj@suse.de>
21548 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21550 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21551 * bits/byteswap-16.h (__bswap_16): Likewise.
21552 * bits/byteswap.h (__bswap_constant_16): Likewise.
21554 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21557 * sysdeps/i386/fpu_control.h: Removed.
21558 * sysdeps/x86_64/fpu_control.h: Moved to ...
21559 * sysdeps/x86/fpu_control.h: Here.
21561 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21562 (_FPU_SETCW): Likewise.
21564 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21567 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21568 * sysdeps/x86/fpu/bits/mathinline.h: This.
21569 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21573 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21574 functions if __x86_64__ is defined.
21576 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21578 * string/endian.h: Add !__ASSEMBLER__ condition for including
21579 conversion interfaces.
21581 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21585 of ABS(x) in calculating zero to negative powers other than odd
21587 * math/libm-test.inc (pow_test): Add more tests.
21589 2012-06-15 Andreas Jaeger <aj@suse.de>
21591 * manual/contrib.texi (Contributors): Update entry of Liubov
21592 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21595 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21597 * string/string.h: Add __wur to GNU version of strerror_r.
21599 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21602 * string/Makefile (tests): Add tst-strtok_r.
21603 * string/tst-strtok_r.c: New file.
21604 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21605 RAX_LP/RDX_LP on SAVE_PTR.
21607 2012-06-14 Roland McGrath <roland@hack.frob.com>
21609 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21611 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21613 * libm_test.inc (csqrt_test): Allow more spurious underflow
21615 (j0_test): Likewise.
21616 (j1_test): Likewise.
21617 (y0_test): Likewise.
21618 (y1_test): Likewise.
21620 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21622 * po/Makefile (libc.pot): Use UTF-8 charset.
21624 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21627 Suppress sign-conversion warning from FD_SET.
21628 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21629 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21630 not unsigned long int.
21631 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21633 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21637 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21638 __extern_always_inline instead of __extern_inline.
21639 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21640 (__signbit): Likewise.
21641 (__signbitl): Support C++ namespace.
21642 (lrintf): New inline function.
21644 (llrintf): Likewise.
21645 (llrint): Likewise.
21655 (floorf): Likewise.
21656 (nearbyint): Likewise.
21657 (nearbyintf): Likewise.
21659 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21662 non-default versions.
21664 2012-06-11 Roland McGrath <roland@hack.frob.com>
21667 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21669 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21671 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21672 (FE_UPWARD, FE_DOWNWARD): Don't define.
21673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21678 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21679 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21681 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21683 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21686 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21688 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21691 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21692 * sysdeps/i386/fpu/Implies: New file.
21693 * sysdeps/x86_64/fpu/Implies: Likewise.
21694 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21695 * sysdeps/x86/fpu/bits/fenv.h: This.
21697 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21700 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21703 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21704 character 0xffff that matches the last element of the
21707 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21712 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21715 values higher than 25.6283.
21717 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21720 subnormal exponent extraction and add some __builtin_expect.
21721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21722 Fix for subnormal mantissa calculation.
21724 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21726 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21727 cpu2 is -1 and errno is not ENOSYS.
21729 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21732 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21733 * sysdeps/x86/bits/string.h: This.
21734 * sysdeps/x86_64/bits/string.h: Removed.
21736 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21737 if not compiling for x86-64, but compiling for >= i486.
21739 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21740 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21743 New macro from Linux kernel 3.4.0.
21744 (FP_XSTATE_MAGIC2): Likewise.
21745 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21746 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21747 (struct _fpx_sw_bytes): New struct.
21748 (struct _xsave_hdr): Likewise.
21749 (struct _ymmh_state): Likewise.
21750 (struct _xstate): Likewise.
21752 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21753 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21754 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21755 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21756 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21757 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21759 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21761 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21762 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21763 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21764 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21766 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21769 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21770 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21771 (sysdep_headers): Include sys/platform/ppc.h.
21772 * sysdeps/powerpc/test-gettimebase.c: Test for
21773 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21774 * manual/Makefile (appendices): Include platform.texi.
21775 * manual/contrib.texi (Contributors): Update @node pointers.
21776 * manual/maint.texi (Maintenance): Likewise.
21777 (Platform): New node.
21778 * manual/platform.texi: New file. Document the new features.
21780 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21781 Jakub Jelinek <jakub@redhat.com>
21784 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21785 where __builtin_expect is unavailable.
21787 2012-06-03 David S. Miller <davem@davemloft.net>
21789 * stdlib/longlong.h: Updated from GCC.
21791 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21794 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21795 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21798 (GLIBC_2.16): Likewise.
21800 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21802 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21804 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21807 (default-abi): New variable.
21808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21809 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21811 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21813 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21815 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21818 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21819 definition. Document in comment.
21821 2012-06-01 David S. Miller <davem@davemloft.net>
21823 * stdlib/longlong.h: Updated from GCC.
21825 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21828 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21829 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21830 sys/debugreg.h sys/io.h here.
21831 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21832 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21834 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21835 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21836 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21837 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21838 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21839 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21842 Define only if __x86_64__ is defined.
21844 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21848 Use int64_t for variable i.
21849 * math/libm-test.inc (fmod_test): Add more tests.
21851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21852 z computation is not scheduled after fetestexcept.
21853 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21854 Use math_force_eval instead of asm to ensure calculation scheduled
21855 before exception test.
21856 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21857 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21859 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21862 computation is not scheduled after fetestexcept.
21864 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21867 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21868 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21870 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21872 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21873 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21875 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21878 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21880 (__WCHAR_MIN): Support __WORDSIZE == 64.
21881 (__WCHAR_MAX): Likewise.
21883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21887 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21888 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21891 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21897 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21898 Defined to 1 if __x86_64__ isn't defined.
21899 (_STAT_VER_LINUX_OLD): New.
21900 (st_atime): Remove duplicate.
21901 (st_mtime): Likewise.
21902 (st_ctime): Likewise.
21904 2012-05-31 David S. Miller <davem@davemloft.net>
21906 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21909 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21911 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21915 * elf/dl-reloc.c: Include <_itoa.h>.
21916 (_dl_reloc_bad_type): Remove use of INTUSE.
21917 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21918 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21919 * stdio-common/psiginfo.c (psiginfo): Likewise.
21920 * stdio-common/psignal.c (psignal): Likewise.
21921 * string/strsignal.c (strsignal): Likewise.
21922 * include/signal.h (_sys_siglist): Declare hidden proto.
21923 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21924 INTVARDEF with libc_hidden_data_def.
21925 * stdio-common/itoa-udigits.c: Likewise.
21926 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21927 (_itoa_lower_digits_internal): Remove declaration.
21928 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21929 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21930 (_sys_sigabbrev_internal): Remove aliases.
21931 (_sys_siglist): Define hidden alias.
21933 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21938 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21941 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21942 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21944 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21945 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21946 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21947 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21949 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21951 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21953 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21955 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21963 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21965 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21967 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21968 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21970 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21971 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21972 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21975 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21977 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21978 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21984 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21985 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21987 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21989 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21990 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21991 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21993 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21995 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21997 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21999 * math/math.h (M_El): Use two more decimal places.
22000 (M_LOG2El): Likewise.
22001 (M_LOG10El): Likewise.
22002 (M_LN2l): Likewise.
22003 (M_LN10l): Likewise.
22005 (M_PI_2l): Likewise.
22006 (M_PI_4l): Likewise.
22007 (M_1_PIl): Likewise.
22008 (M_2_PIl): Likewise.
22009 (M_2_SQRTPIl): Likewise.
22010 (M_SQRT2l): Likewise.
22011 (M_SQRT1_2l): Likewise.
22013 2012-05-31 David S. Miller <davem@davemloft.net>
22015 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22016 values between float registers.
22017 * sysdeps/sparc/sparc64/memset.S: Likewise.
22018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22020 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22022 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22023 -D_FORTIFY_SOURCE=1.
22024 (CPPFLAGS-tst-longjmp_chk.c): Define.
22025 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22026 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22027 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22028 CFLAGS-tst-wchar-h.c.
22030 2012-05-31 Marek Polacek <polacek@redhat.com>
22033 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22034 __endmntent_internal): Remove declaration.
22035 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22036 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22037 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22039 2012-05-30 David S. Miller <davem@davemloft.net>
22041 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22042 (___Q_simulate_exceptions): Use real FP ops rather than writing
22044 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22047 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22050 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22051 * sysdeps/x86/bits/xtitypes.h: This.
22053 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22054 * sysdeps/x86/bits/wordsize.h: This.
22056 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22057 * sysdeps/x86/bits/huge_vall.h: This.
22059 * sysdeps/i386/bits/select.h: Removed.
22060 * sysdeps/x86_64/bits/select.h: Renamed to ...
22061 * sysdeps/x86/bits/select.h: This.
22063 * sysdeps/i386/bits/setjmp.h: Removed.
22064 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22065 * sysdeps/x86/bits/setjmp.h: This.
22067 * sysdeps/i386/bits/mathdef.h: Removed.
22068 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22069 * sysdeps/x86/bits/mathdef.h: This.
22071 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22074 * include/sys/socket.h (__connect_internal)
22075 (__libc_sa_len_internal): Remove declaration.
22076 (__connect, __libc_sa_len): Declare hidden_proto.
22077 (SA_LEN): Remove use of INTUSE.
22078 * socket/connect.c: Add libc_hidden_def.
22079 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22080 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22081 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22083 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22085 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22086 of adding _internal alias.
22088 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22091 * sysdeps/i386/bits/link.h: Removed.
22092 * sysdeps/i386/bits/linkmap.h: Likewise.
22093 * sysdeps/x86_64/bits/link.h: Renamed to ...
22094 * sysdeps/x86/bits/link.h: This.
22095 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22096 * sysdeps/x86/bits/linkmap.h: This.
22098 * sysdeps/i386/bits/endian.h: Removed.
22099 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22100 * sysdeps/x86/bits/endian.h: This.
22102 * sysdeps/i386/bits/byteswap.h: Removed.
22103 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22104 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22105 * sysdeps/x86/bits/byteswap.h: This.
22106 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22107 * sysdeps/x86/bits/byteswap-16.h: This.
22108 * sysdeps/i386/Implies: Add x86.
22109 * sysdeps/x86_64/Implies: Likewise.
22111 2012-05-30 David S. Miller <davem@davemloft.net>
22113 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22114 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22116 (FP_TRAPPING_EXCEPTIONS): Define.
22117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22118 (FP_TRAPPING_EXCEPTIONS): Define.
22119 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22120 subnormals only when inexact has been signalled or underflow
22121 exceptions are enabled.
22122 (_FP_PACK_CANONICAL): Likewise.
22124 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22128 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22130 2012-05-30 Richard Henderson <rth@twiddle.net>
22132 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22133 with #ifndef NOT_IN_libc.
22135 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22136 marked to avoid plt entry.
22138 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22141 * Makeconfig (default-abi): New macro.
22142 (abi-includes): Likewise.
22143 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22144 $(abi-$(default-abi)-lib-soname) for soname if defined.
22145 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22147 * Makefile (installed-stubs): Likewise.
22148 * include/stubs-biarch.h: Removed.
22149 * scripts/lib-names.awk: Only handle one library at a time.
22150 * scripts/soversions.awk: Remove WORDSIZE support.
22151 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22155 (syscall-list-default-condition): Likewise.
22156 (syscall-list-default-condition): Likewise.
22157 (syscall-list-includes): Likewise.
22158 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22159 syscall-list-* with abi-*. Handle undefined abi-variants.
22160 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22161 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22162 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22163 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22164 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22165 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22167 (syscall-list-32-options): Likewise.
22168 (syscall-list-32-condition): Likewise.
22169 (syscall-list-64-options): Likewise.
22170 (syscall-list-64-condition): Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22173 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22176 (abi-64-ld-soname): New macro.
22177 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22178 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22181 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22182 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22184 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22186 * sysdeps/unix/sysv/linux/kernel-features.h
22187 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22188 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22189 include <kernel-features.h>.
22190 [!__NR_ftruncate64]: Remove conditional code.
22191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22192 [__NR_ftruncate64]: Make code unconditional.
22193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22194 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22195 include <kernel-features.h>.
22196 [!__NR_ftruncate64]: Remove conditional code.
22197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22198 [__NR_ftruncate64]: Make code unconditional.
22199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22201 include <kernel-features.h>.
22202 [!__NR_ftruncate64]: Remove conditional code.
22203 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22204 [__NR_ftruncate64]: Make code unconditional.
22205 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22207 include <kernel-features.h>.
22208 [!__NR_ftruncate64]: Remove conditional code.
22209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22210 [__NR_ftruncate64]: Make code unconditional.
22211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22213 * configure.in (libc_cv_fpie): Weaken to a compile test using
22214 LIBC_TRY_CC_OPTION.
22215 * configure: Regenerated.
22217 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22232 2012-05-27 David S. Miller <davem@davemloft.net>
22234 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22236 (__Q_simulate_exceptions): Return void. Change to simulate
22237 exceptions by writing into the %fsr.
22238 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22239 (__Qp_handle_exceptions): Likewise.
22241 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22242 __Qp_handle_exceptions.
22243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22244 __Qp_handle_exceptions.
22245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22246 as unused and give dummy FP_RND_NEAREST initializer.
22247 (FP_INHIBIT_RESULTS): Define.
22248 (___Q_simulate_exceptions): Update declaration.
22249 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22252 as unused and give dummy FP_RND_NEAREST initializer.
22253 (__Qp_handle_exceptions): Update declaration.
22254 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22257 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22259 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22260 the temporary FPU control word.
22261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22262 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22264 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22265 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22267 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22269 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22270 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22273 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22275 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22278 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22280 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22281 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22282 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22283 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22285 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22286 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22289 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22291 * po/h.po: Update from translation team.
22293 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22295 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22298 handling of denormals.
22299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22300 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22302 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22308 2012-05-26 Marek Polacek <polacek@redhat.com>
22311 * math/libm-test.inc (fma_test): Don't always expect underflow
22314 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22317 * elf/tst-execstack.c: Include stackinfo.h.
22318 (do_test): Adjust test case to ensure that pthread_getattr_np
22319 behaviour remains the same after marking stack executable.
22321 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22323 * sysdeps/unix/sysv/linux/kernel-features.h
22324 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22325 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22327 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22328 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22329 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22331 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22332 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22334 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22336 * configure.in: Define the default includes to being none.
22337 * configure: Regenerated.
22339 2012-05-25 Roland McGrath <roland@hack.frob.com>
22341 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22342 * sysdeps/x86_64/setjmp.S: Likewise.
22343 * sysdeps/i386/bsd-setjmp.S: Likewise.
22344 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22345 * sysdeps/i386/setjmp.S: Likewise.
22346 * sysdeps/i386/__longjmp.S: Likewise.
22347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22348 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22350 * include/stap-probe.h: New file.
22351 * configure.in: Handle --enable-systemtap.
22352 * configure: Regenerated.
22353 * config.h.in (USE_STAP_PROBE): New #undef.
22354 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22355 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22356 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22358 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22362 to 2.4.0 where earlier.
22363 * sysdeps/unix/sysv/linux/configure: Regenerated.
22364 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22365 <kernel-features.h>.
22366 [__ASSUME_32BITUIDS]: Make code unconditional.
22367 [!__ASSUME_32BITUIDS]: Remove conditional code.
22368 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22369 <kernel-features.h>.
22370 [__ASSUME_32BITUIDS]: Make code unconditional.
22371 [!__ASSUME_32BITUIDS]: Remove conditional code.
22372 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22373 [__ASSUME_32BITUIDS]: Make code unconditional.
22374 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22375 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22376 <kernel-features.h>.
22377 [__ASSUME_32BITUIDS]: Make code unconditional.
22378 [!__ASSUME_32BITUIDS]: Remove conditional code.
22379 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22380 <kernel-features.h>.
22381 [__ASSUME_32BITUIDS]: Make code unconditional.
22382 [!__ASSUME_32BITUIDS]: Remove conditional code.
22383 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22384 <kernel-features.h>.
22385 [__ASSUME_32BITUIDS]: Make code unconditional.
22386 [!__ASSUME_32BITUIDS]: Remove conditional code.
22387 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22388 <kernel-features.h>.
22389 [__ASSUME_32BITUIDS]: Make code unconditional.
22390 [!__ASSUME_32BITUIDS]: Remove conditional code.
22391 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22392 <kernel-features.h>.
22393 [__ASSUME_32BITUIDS]: Make code unconditional.
22394 [!__ASSUME_32BITUIDS]: Remove conditional code.
22395 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22396 <kernel-features.h>.
22397 [__ASSUME_32BITUIDS]: Make code unconditional.
22398 [!__ASSUME_32BITUIDS]: Remove conditional code.
22399 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22400 <kernel-features.h>.
22401 [__ASSUME_32BITUIDS]: Make code unconditional.
22402 [!__ASSUME_32BITUIDS]: Remove conditional code.
22403 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22404 <kernel-features.h>.
22405 [__ASSUME_32BITUIDS]: Make code unconditional.
22406 [!__ASSUME_32BITUIDS]: Remove conditional code.
22407 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22408 <kernel-features.h>.
22409 [__ASSUME_32BITUIDS]: Make code unconditional.
22410 [!__ASSUME_32BITUIDS]: Remove conditional code.
22411 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22412 <kernel-features.h>.
22413 [__ASSUME_32BITUIDS]: Make code unconditional.
22414 [!__ASSUME_32BITUIDS]: Remove conditional code.
22415 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22416 <kernel-features.h>.
22417 [__NR_setresgid] (__setresgid): Do not declare.
22418 [__ASSUME_32BITUIDS]: Make code unconditional.
22419 [!__ASSUME_32BITUIDS]: Remove conditional code.
22420 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22421 <kernel-features.h>.
22422 [__NR_setresuid] (__setresuid): Do not declare.
22423 [__ASSUME_32BITUIDS]: Make code unconditional.
22424 [!__ASSUME_32BITUIDS]: Remove conditional code.
22425 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22426 <kernel-features.h>.
22427 [__ASSUME_32BITUIDS]: Make code unconditional.
22428 [!__ASSUME_32BITUIDS]: Remove conditional code.
22429 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22430 <kernel-features.h>.
22431 [__ASSUME_32BITUIDS]: Make code unconditional.
22432 [!__ASSUME_32BITUIDS]: Remove conditional code.
22433 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
22466 (__ASSUME_SETRESUID_SYSCALL): Remove.
22467 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22468 (__ASSUME_32BITUIDS): Likewise.
22469 (__ASSUME_LDT_WORKS): Likewise.
22470 (__ASSUME_O_DIRECTORY): Likewise.
22471 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22472 architecture but not kernel version.
22473 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22474 (__ASSUME_MMAP2_SYSCALL): Likewise.
22475 (__ASSUME_STAT64_SYSCALL): Likewise.
22476 (__ASSUME_IPC64): Likewise.
22477 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22478 <kernel-features.h>.
22479 [__ASSUME_32BITUIDS]: Make code unconditional.
22480 [!__ASSUME_32BITUIDS]: Remove conditional code.
22481 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22482 <kernel-features.h>.
22483 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22484 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22485 132096]: Remove conditional code.
22486 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22487 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
22496 <kernel-features.h>.
22497 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22499 (__setresgid): Do not declare.
22500 [__ASSUME_32BITUIDS]: Make code unconditional.
22501 [!__ASSUME_32BITUIDS]: Remove conditional code.
22502 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22503 <kernel-features.h>.
22504 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22506 (__setresuid): Do not declare.
22507 [__ASSUME_32BITUIDS]: Make code unconditional.
22508 [!__ASSUME_32BITUIDS]: Remove conditional code.
22509 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22510 <kernel-features.h>.
22511 [__ASSUME_32BITUIDS]: Make code unconditional.
22512 [!__ASSUME_32BITUIDS]: Remove conditional code.
22513 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22514 <kernel-features.h>.
22515 [__ASSUME_32BITUIDS]: Make code unconditional.
22516 [!__ASSUME_32BITUIDS]: Remove conditional code.
22518 2012-05-25 Richard Henderson <rth@twiddle.net>
22520 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22521 dl_hwcap to ifunc resolver.
22522 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22525 dl_hwcap to ifunc resolver.
22526 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22528 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22531 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22532 for |x| <= 2**-26, not 2**-57.
22533 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22536 2012-05-24 Jeff Law <law@redhat.com>
22538 * stdio-common/Makefile (tests): Add bug25.
22539 * stdio-common/bug25.c: New test.
22541 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22544 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22545 multiple of MALLOC_ALIGNMENT in size.
22546 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22548 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22550 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22552 (FILENAME_MAX): Use macro-int-constant.
22553 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22554 (_IOFBF): Use macro-int-constant.
22555 (_IOLBF): Likewise.
22556 (_IONBF): Likewise.
22557 (SEEK_CUR): Likewise.
22558 (SEEK_END): Likewise.
22559 (SEEK_SET): Likewise.
22560 (TMP_MAX): Likewise.
22561 (EOF): Use macro-int-constant. Require < 0.
22562 (NULL): Use macro-constant. Require == 0.
22563 (stdin): Require type to be FILE *.
22564 (stdout): Likewise.
22565 (stderr): Likewise.
22566 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22567 macro-int-constant.
22568 (EXIT_SUCCESS): Likewise.
22569 (NULL): Use macro-constant. Require == 0.
22570 (RAND_MAX): Use macro-int-constant.
22571 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22572 [C99-based standards] (strtof): Require function.
22573 [C99-based standards] (strtold): Likewise.
22574 [C99-based standards] (strtoll): Likewise.
22575 [C99-based standards] (strtoull): Likewise.
22576 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22577 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22578 [ISO || ISO99 || ISO11] (math.h): Likewise.
22579 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22580 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22583 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22586 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22587 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22588 * intl/dgettext.c (DCGETTEXT): Likewise.
22589 * intl/gettext.c (DCGETTEXT): Likewise.
22590 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22591 * posix/regex_internal.h (gettext): Likewise.
22592 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22593 Remove declaration.
22594 * include/argz.h (__argz_count_internal)
22595 (__argz_stringify_internal): Remove declaration.
22596 (__argz_count, __argz_stringify): Declare hidden proto.
22597 * intl/dcgettext.c: Remove use of INTDEF.
22598 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22599 * string/argz-stringify.c: Likewise.
22600 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22601 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22602 Declare hidden proto.
22603 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22604 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22605 Declare hidden proto.
22606 * include/stdio.h (__asprintf_internal): Don't declare.
22607 (__asprintf): Don't define as macro. Declare hidden proto.
22608 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22609 (__fsetlocking): Declare hidden proto.
22610 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22611 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22613 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22614 (_IO_setlinebuf): Remove use of INTUSE.
22615 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22616 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22617 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22618 Remove declaration.
22619 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22620 (_IO_do_flush): Remove use of INTUSE.
22621 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22622 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22623 (_IO_adjust_column, _IO_least_wmarker)
22624 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22625 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22626 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22627 (_IO_default_doallocate, _IO_wdefault_doallocate)
22628 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22629 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22630 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22631 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22632 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22633 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22634 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22635 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22636 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22637 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22638 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22639 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22640 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22642 (_IO_flush_all_internal, _IO_adjust_column_internal)
22643 (_IO_default_uflow_internal, _IO_default_finish_internal)
22644 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22645 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22646 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22647 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22648 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22649 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22650 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22651 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22652 (_IO_file_close_internal, _IO_file_close_it_internal)
22653 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22654 (_IO_file_init_internal, _IO_file_attach_internal)
22655 (_IO_file_fopen_internal, _IO_file_read_internal)
22656 (_IO_file_sync_internal, _IO_file_seek_internal)
22657 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22658 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22659 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22660 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22661 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22662 (_IO_list_all_internal, _IO_link_in_internal)
22663 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22664 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22665 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22666 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22667 (_IO_do_write_internal, _IO_padn_internal)
22668 (_IO_getline_info_internal, _IO_getline_internal)
22669 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22670 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22671 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22672 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22673 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22674 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22675 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22676 with libc_hidden_ver, remove use of INTUSE.
22677 * libio/genops.c: Likewise.
22678 * libio/freopen.c: Likewise.
22679 * libio/freopen64.c: Likewise.
22680 * libio/iofclose.c: Likewise.
22681 * libio/iofdopen.c: Likewise.
22682 * libio/iofflush.c: Likewise.
22683 * libio/iofflush_u.c: Likewise.
22684 * libio/iofgets.c: Likewise.
22685 * libio/iofgets_u.c: Likewise.
22686 * libio/iofopen.c: Likewise.
22687 * libio/iofopncook.c: Likewise.
22688 * libio/iofread.c: Likewise.
22689 * libio/iofread_u.c: Likewise.
22690 * libio/ioftell.c: Likewise.
22691 * libio/iofwrite.c: Likewise.
22692 * libio/iogetline.c: Likewise.
22693 * libio/iogets.c: Likewise.
22694 * libio/iogetwline.c: Likewise.
22695 * libio/iopadn.c: Likewise.
22696 * libio/iopopen.c: Likewise.
22697 * libio/ioseekoff.c: Likewise.
22698 * libio/ioseekpos.c: Likewise.
22699 * libio/iosetbuffer.c: Likewise.
22700 * libio/iosetvbuf.c: Likewise.
22701 * libio/ioungetc.c: Likewise.
22702 * libio/ioungetwc.c: Likewise.
22703 * libio/iovdprintf.c: Likewise.
22704 * libio/iovsprintf.c: Likewise.
22705 * libio/iovsscanf.c: Likewise.
22706 * libio/memstream.c: Likewise.
22707 * libio/obprintf.c: Likewise.
22708 * libio/oldfileops.c: Likewise.
22709 * libio/oldiofclose.c: Likewise.
22710 * libio/oldiofdopen.c: Likewise.
22711 * libio/oldiofopen.c: Likewise.
22712 * libio/oldiopopen.c: Likewise.
22713 * libio/oldstdfiles.c: Likewise.
22714 * libio/putc.c: Likewise.
22715 * libio/setbuf.c: Likewise.
22716 * libio/setlinebuf.c: Likewise.
22717 * libio/stdfiles.c: Likewise.
22718 * libio/strops.c: Likewise.
22719 * libio/vasprintf.c: Likewise.
22720 * libio/vscanf.c: Likewise.
22721 * libio/vsnprintf.c: Likewise.
22722 * libio/vswprintf.c: Likewise.
22723 * libio/wfiledoalloc.c: Likewise.
22724 * libio/wfileops.c: Likewise.
22725 * libio/wgenops.c: Likewise.
22726 * libio/wmemstream.c: Likewise.
22727 * libio/wstrops.c: Likewise.
22728 * libio/__fpurge.c: Likewise.
22729 * libio/__fsetlocking.c: Likewise.
22730 * assert/assert.c: Likewise.
22731 * debug/fgets_chk.c: Likewise.
22732 * debug/fgets_u_chk.c: Likewise.
22733 * debug/fread_chk.c: Likewise.
22734 * debug/fread_u_chk.c: Likewise.
22735 * debug/gets_chk.c: Likewise.
22736 * debug/obprintf_chk.c: Likewise.
22737 * debug/vasprintf_chk.c: Likewise.
22738 * debug/vdprintf_chk.c: Likewise.
22739 * debug/vsnprintf_chk.c: Likewise.
22740 * debug/vsprintf_chk.c: Likewise.
22741 * malloc/mtrace.c: Likewise.
22742 * misc/error.c: Likewise.
22743 * misc/syslog.c: Likewise.
22744 * stdio-common/asprintf.c: Likewise.
22745 * stdio-common/fxprintf.c: Likewise.
22746 * stdio-common/getw.c: Likewise.
22747 * stdio-common/isoc99_fscanf.c: Likewise.
22748 * stdio-common/isoc99_scanf.c: Likewise.
22749 * stdio-common/isoc99_vfscanf.c: Likewise.
22750 * stdio-common/isoc99_vscanf.c: Likewise.
22751 * stdio-common/isoc99_vsscanf.c: Likewise.
22752 * stdio-common/printf-prs.c: Likewise.
22753 * stdio-common/printf_fp.c: Likewise.
22754 * stdio-common/printf_fphex.c: Likewise.
22755 * stdio-common/printf_size.c: Likewise.
22756 * stdio-common/putw.c: Likewise.
22757 * stdio-common/scanf.c: Likewise.
22758 * stdio-common/sprintf.c: Likewise.
22759 * stdio-common/tmpfile.c: Likewise.
22760 * stdio-common/vfprintf.c: Likewise.
22761 * stdio-common/vfscanf.c: Likewise.
22762 * stdlib/strfmon_l.c: Likewise.
22763 * sunrpc/openchild.c: Likewise.
22764 * sunrpc/xdr_stdio.c: Likewise.
22765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22766 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22768 2012-05-24 Roland McGrath <roland@hack.frob.com>
22770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22772 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22773 in the third column, to generate for the shared library an IFUNC
22774 that uses _dl_vdso_vsym.
22775 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22776 * Makeconfig (object-suffixes-noshared): New variable.
22778 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22779 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22780 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22781 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22784 * include/sys/time.h (__gettimeofday): Remove macro.
22785 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22786 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22788 (__gettimeofday): Add libc_hidden_def.
22789 (gettimeofday): Add libc_hidden_weak.
22790 * sysdeps/mach/gettimeofday.c: Likewise.
22791 * sysdeps/posix/gettimeofday.c: Likewise.
22792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22793 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22795 (__gettimeofday_internal): Remove strong_alias.
22796 (__gettimeofday): Add libc_hidden_def.
22797 (gettimeofday): Add libc_hidden_weak.
22798 * sysdeps/unix/syscalls.list (gettimeofday):
22799 Remove __gettimeofday_internal alias.
22801 2012-05-24 Daniel Jacobowitz <drow@false.org>
22802 H.J. Lu <hongjiu.lu@intel.com>
22805 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22806 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22807 (largebin_index_32_big): New.
22808 (largebin_index): Use it for 16-byte alignment.
22809 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22810 correction with front_misalign.
22812 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22840 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22841 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22843 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22847 * math/libm-test.inc (exp_test): Add test from bug 14036.
22848 (pow_test): Add test from bug 10846.
22850 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22852 (special_function): Do not include flags in test name.
22853 (parse_args): Likewise.
22854 * sysdeps/i386/fpu/libm-test-ulps: Update.
22855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22860 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22862 * math/libm-test.inc ("Philosophy"): Update comment about
22864 (UNDERFLOW_EXCEPTION): New macro.
22865 (UNDERFLOW_EXCEPTION_OK): Likewise.
22866 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22867 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22868 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22869 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22870 (INVALID_EXCEPTION_OK): Update value.
22871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22872 (OVERFLOW_EXCEPTION_OK): Likewise.
22873 (IGNORE_ZERO_INF_SIGN): Likewise.
22874 (test_exceptions): Handle underflow exceptions.
22875 (acos_test): Update for underflow exception expectations.
22876 (cexp_test): Likewise.
22877 (clog_test): Likewise.
22878 (clog10_test): Likewise.
22879 (csqrt_test): Likewise.
22880 (ctan_test): Likewise.
22881 (ctanh_test): Likewise.
22882 (exp_test): Likewise.
22883 (exp10_test): Likewise.
22884 (exp2_test): Likewise.
22885 (expm1_test): Likewise.
22886 (fma_test): Likewise.
22887 (j0_test): Likewise.
22888 (jn_test): Likewise.
22889 (nexttoward_test): Likewise.
22890 (pow_test): Likewise.
22891 (scalbn_test): Likewise.
22892 (scalbln_test): Likewise.
22893 (tan_test): Likewise.
22894 (y1_test): Likewise.
22895 * sysdeps/i386/fpu/libm-test-ulps: Update.
22896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22898 2012-05-23 David S. Miller <davem@davemloft.net>
22900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22901 (__libc_sigaction): Remove unused local variables.
22903 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22905 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22907 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22909 mktime: avoid signed integer overflow
22910 * time/mktime.c (__mktime_internal): Do not mishandle the case
22911 where diff == INT_MIN.
22913 mktime: simplify computation of average
22914 * time/mktime.c (ranged_convert): Use new time_t_avg function
22915 instead of rolling our own (probably-slower) code.
22917 mktime: do not assume signed right shift propagates sign bit
22918 * time/mktime.c (isdst_differ): New static function.
22919 (__mktime_internal): No need to normalize tm_isdst now.
22920 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22923 mktime: merge another wrapv change from gnulib
22924 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22925 from some compilers.
22927 mktime: remove incorrect attempt at unusual arithmetics
22928 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22929 The code didn't really work on such machines anyway.
22930 (TYPE_MINIMUM): Assume two's complement.
22931 (twos_complement_arithmetic): Verify that long_int and time_t
22932 are two's complement (or unsigned, in the latter case).
22934 mktime: check signed shifts on long_int and time_t, too
22935 * time/mktime.c (SHR): Check that shifts work as desired
22936 on the types long_int and time_t too, as SHR is used on
22939 mktime: do not assume 'long' is wide enough
22940 * time/mktime.c (verify): Move decl up.
22941 (long_int): New type.
22942 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22943 to remove assumption in the code that 'long' is wide enough to
22944 store year values. This assumption is not true on x32 and on
22945 some non-glibc platforms.
22947 mktime: merge wrapv change from gnulib
22948 * time/mktime.c (WRAPV): New macro.
22949 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22950 (guess_time_tm, __mktime_internal): Do not assume that signed
22951 integer overflow wraps around; modern compilers generate code
22952 where this assumption is no longer valid.
22954 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22956 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22957 Replace "jmp L(pseudo_end)" with "ret".
22958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22961 2012-05-23 Andreas Jaeger <aj@suse.de>
22963 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22964 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22966 2012-05-23 Andreas Jaeger <aj@suse.de>
22967 Maximilian Attems <max@stro.at>
22969 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22972 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22975 code so that pseudo_end is just ret and the stack pointer is
22976 correct also for static library in error case.
22978 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22980 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22981 move to syscalls.list.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22987 * manual/install.texi (Running make install): Do not mention Linux
22988 kernel version for which pt_chown is not needed.
22989 (Linux): Do not mention problems with nscd with 2.0 kernels.
22990 * INSTALL: Regenerated.
22992 2012-05-23 Andreas Jaeger <aj@suse.de>
22994 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22995 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22997 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22999 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23001 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23007 * sysdeps/unix/sysv/linux/bits/in.h
23008 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23010 2012-05-22 Roland McGrath <roland@hack.frob.com>
23012 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23013 (PREPARE_VERSION): Just use assert instead, it will be elided
23014 under [NDEBUG] anyway.
23016 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23018 * sysdeps/unix/sysv/linux/Makefile: Include
23019 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23020 (sysdep_routines): Remove sysctl.
23021 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23022 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23024 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23025 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23027 2012-05-22 Andreas Jaeger <aj@suse.de>
23029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23030 that pseudo_end is just ret and the stack pointer is correct also
23031 for static library in error case.
23033 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23036 * nss/nsswitch.c (defconfig_entries): New variable.
23037 (__nss_database_lookup): Don't leak defconfig entries.
23038 (nss_parse_service_list): Don't leak on error paths.
23039 (free_database_entries): New function.
23040 (free_defconfig): New function.
23041 (free_mem): Move common code to free_database_entries.
23043 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23045 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23047 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23049 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23050 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23053 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23054 (INTERNAL_SYSCALL_TYPES): Likewise.
23055 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23056 (LOAD_REGS_TYPES_[1-6]): Likewise.
23057 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23058 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23060 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23063 copysignl for GLIBC_2_0.
23064 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23065 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23067 logbl for GLIBC_2_0.
23068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23071 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23076 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23079 * time/mktime.c: Update copyright years.
23081 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23083 mktime: merge comment-quoting-style change from gnulib
23084 * time/mktime.c: Quote 'like this' in comments.
23085 The GNU coding standards suggest that we no longer quote `like this',
23086 as "`" and "'" are typically rendered asymmetrically nowadays.
23087 The typical gnulib style is to quote 'like this' when quoting
23088 code, and "like this" when quoting English.
23090 * time/mktime.c (compile-command): Add "-I.".
23092 mktime: merge mktime-internal.h change from gnulib
23093 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23095 mktime: merge time_r change from gnulib
23096 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23098 mktime: merge DEBUG change from gnulib
23099 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23100 case system <time.h> has a #define.
23102 mktime: merge <sys/types.h> change from gnulib
23103 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23104 since <time.t> is now guaranteed to define time_t.
23106 mktime: merge HAVE_CONFIG_H change from gnulib
23107 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23109 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23114 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23116 (struct rusage): Use anonymous union to pad each field to
23119 2012-05-21 David S. Miller <davem@davemloft.net>
23121 * Makefules (o-iterator): Remove .s cases.
23122 (compile-command.s): Delete.
23123 (COMPILE.s): Delete.
23124 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23126 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23128 * configure.in (libc_cv_predef_stack_protector): Only consider
23129 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23130 * configure: Regenerated.
23132 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23135 New macro. Use R*LP on int and pointer.
23136 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23137 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23138 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23141 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23142 [__WORDSIZE_TIME64_COMPAT32] instead of
23143 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23144 (struct utmp): Likewise.
23145 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23146 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23148 (__WORDSIZE_TIME64_COMPAT32): This.
23149 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23150 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23151 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23152 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23153 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23154 (__WORDSIZE_TIME64_COMPAT32): New macro.
23156 2012-05-21 Andreas Jaeger <aj@suse.de>
23158 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23159 only if [SHARED]. Add prototype for __wcschr_ia32.
23161 2012-05-21 Roland McGrath <roland@hack.frob.com>
23163 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23164 of %rbp unmolested in the jmp_buf while mangling the low bits.
23165 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23166 unmolested high bits of %rbp while demangling the low bits.
23167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23169 2012-05-21 Andreas Jaeger <aj@suse.de>
23171 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23172 * sunrpc/svc_simple.c: Use it for registerrpc.
23173 * sunrpc/xcrypt.c: Use it for passwd2des.
23175 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23177 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23179 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23180 Don't define if [__SYSCALL_WORDSIZE != 32].
23181 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23184 2012-05-21 Bruno Haible <bruno@clisp.org>
23185 Andreas Jaeger <aj@suse.de>
23187 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23188 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23189 inptr and inend for must_buffer_ch.
23190 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23191 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23192 * stdio-common/Makefile (tests): Remove bug15.
23193 (bug15-ENV): Remove macro.
23194 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23197 2012-05-19 Andreas Jaeger <aj@suse.de>
23198 Roland McGrath <roland@hack.frob.com>
23200 * manual/contrib.texi: Completely rewritten. It contains now an
23201 alphabetical list of contributors and their contributions.
23203 2012-05-21 Richard Henderson <rth@twiddle.net>
23205 * misc/getauxval.c (__getauxval): Use unsigned long int.
23206 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23207 (getauxval): Use unsigned long int.
23209 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23213 2012-05-21 Roland McGrath <roland@hack.frob.com>
23215 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23216 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23217 __alignof__ (long double).
23219 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23223 2012-05-20 Richard Henderson <rth@twiddle.net>
23225 * misc/getauxval.c: New file.
23226 * misc/sys/auxv.h: New file.
23227 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23228 (routines): Add getauxval.
23229 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23231 * elf/dl-sysdep.c (_dl_auxv): Remove.
23232 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23233 * elf/dl-support.c (_dl_auxv): New variable.
23234 (_dl_aux_init): Initialize it.
23235 * manual/startup.texi (Auxiliary Vector): New node.
23236 * sysdeps/generic/bits/hwcap.h: New file.
23237 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23238 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23239 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23240 * sysdeps/sparc/sysdep.h: ... here. Include it.
23241 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23254 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23258 2012-05-19 David S. Miller <davem@davemloft.net>
23260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23262 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23265 * math/s_ccosh.c: Include <float.h>
23266 (__ccosh): Avoid internal overflow calculating sinh and cosh
23267 values before multiplying by sin and cos values.
23268 * math/s_ccoshf.c: Likewise.
23269 * math/s_ccoshl.c: Likewise.
23270 * math/s_csin.c: Likewise.
23271 * math/s_csinf.c: Likewise.
23272 * math/s_csinl.c: Likewise.
23273 * math/s_csinh.c: Likewise.
23274 * math/s_csinhf.c: Likewise.
23275 * math/s_csinhl.c: Likewise.
23276 * math/libm-test.inc (ccos_test): Add more tests.
23277 (ccosh_test): Likewise.
23278 (csin_test): Likewise.
23279 (csinh_test): Likewise.
23280 * sysdeps/i386/fpu/libm-test-ulps: Update.
23281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23283 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23285 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23286 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23288 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23290 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23292 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23293 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23294 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23295 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23296 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23297 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23298 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23299 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23300 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23301 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23302 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23303 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23304 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23305 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23306 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23307 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23308 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23309 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23310 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23311 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23312 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23313 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23314 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23315 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23316 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23317 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23318 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23319 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23320 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23321 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23322 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23324 2012-05-18 Andreas Jaeger <aj@suse.de>
23326 * csu/.gitignore: Delete.
23328 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23330 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23331 (timex): Use __syscall_slong_t.
23333 2012-05-18 Andreas Jaeger <aj@suse.de>
23334 Carlos O'Donell <carlos_odonell@mentor.com>
23336 * manual/install.texi (Configuring and compiling): Update
23337 description about files modified in the source directory.
23338 * INSTALL: Regenerated.
23340 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23342 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23343 value. Use "or" to set return value to -1.
23344 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23345 negate return value.
23347 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23349 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23350 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23351 failure if the compiler has Graphite support disabled.
23352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23354 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23355 CFLAGS-memmove.c): Likewise.
23356 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23359 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23361 * sysdeps/x86_64/x32/_itoa.h: New file.
23363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23364 getdents system call only if kernel and user dirents have the
23365 same d_ino and d_off.
23367 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23368 LLONG_MAX != LONG_MAX.
23369 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23370 (_fitoa_word): Likewise.
23372 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23375 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23379 include <bits/wordsize.h>. Check __x86_64__ instead of
23381 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23382 if __x86_64__ is defined. Use anonymous union on fpstate.
23384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23387 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23389 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23390 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23391 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23392 Refer to _rtld_local_ro instead of _rtld_global_ro.
23393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23395 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23397 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23399 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23400 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23401 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23403 * sysdeps/powerpc/powerpc32/dl-machine.c
23404 (__elf_machine_runtime_setup) [PROF]: Don't reference
23407 2012-05-18 Andreas Jaeger <aj@suse.de>
23409 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23410 function only available for GCCs before 3.4 since GCC 3.4
23411 introduced a builtin.
23413 (llrintf): Likewise.
23414 (llrint): Likewise.
23421 (nearbyint): Likewise.
23422 (nearbyintf): Likewise.
23426 (floorf): Likewise.
23428 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23430 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23431 on both fields and cast pointer to __syscall_ulong_t.
23433 * bits/types.h (__fsword_t): New type.
23434 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23435 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23437 (__FSWORD_T_TYPE): Likewise.
23438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23439 (__FSWORD_T_TYPE): Likewise.
23440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23441 (__FSWORD_T_TYPE): Likewise.
23442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23443 (__FSWORD_T_TYPE): Likewise.
23444 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23445 __SWORD_TYPE with __fsword_t.
23446 (statfs64): Likewise.
23448 2012-05-17 David S. Miller <davem@davemloft.net>
23450 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23452 2012-05-17 Andreas Jaeger <aj@suse.de>
23454 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23457 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23459 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23461 2012-05-17 Andreas Jaeger <aj@suse.de>
23463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23466 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23468 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23470 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23473 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23475 2012-05-17 Andreas Jaeger <aj@suse.de>
23476 Carlos O'Donell <carlos_odonell@mentor.com>
23479 * sysdeps/x86_64/multiarch/init-arch.h
23480 (bit_YMM_Usable): Rename to...
23481 (bit_AVX_Usable): ... this.
23482 (bit_FMA4_Usable): New macro.
23483 (bit_XMM_state): New macro.
23484 (bit_YMM_state): New macro.
23485 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23486 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23487 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23488 (CPUID_OSXSAVE): New macro.
23489 (CPUID_AVX): New macro.
23490 (CPUID_FMA4): New macro.
23491 (index_YMM_Usable): Rename to...
23492 (index_AVX_Usable): ... this.
23493 (HAS_AVX): Use HAS_ARCH_FEATURE.
23494 (HAS_FMA4): Likewise.
23495 (HAS_YMM_USABLE): Remove.
23496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23497 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23499 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23500 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23501 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23502 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23503 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23505 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23507 * math/libm-test.c: Support platforms without multiple rounding modes.
23508 * math/bug-nextafter.c: Support platforms without FP exceptions.
23509 * math/bug-nexttoward.c: Likewise.
23510 * math/test-fenv.c: Likewise.
23511 * math/test-misc.c: Likewise.
23512 * stdlib/bug-getcontext.c: Likewise.
23514 2012-05-17 Andreas Jaeger <aj@suse.de>
23516 * manual/examples/search.c (critter_cmp): Change signature to
23518 * manual/string.texi (Collation Functions): Likewise.
23520 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23522 * bits/types.h: Fold copyright years.
23523 * bits/typesizes.h: Likewise.
23524 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23528 * time/time.h: Likewise.
23530 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23533 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23534 in instead of returning them. Return void.
23535 (__libc_mallinfo): Accumulate over all arenas.
23536 (__malloc_stats): Adjust for change in int_mallinfo interface.
23538 2012-05-16 Roland McGrath <roland@hack.frob.com>
23541 * configure.in (NM): Add AC_CHECK_TOOL for it.
23542 (libc_extra_cflags): New substituted variable.
23543 Check for -fstack-protector being used implicitly.
23544 * configure: Regenerated.
23545 * config.make.in (config-extra-cflags): New variable,
23546 gets @libc_extra_cflags@.
23547 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23550 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23551 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23552 * configure: Regenerated.
23553 * config.make.in (CPPUNDEFS): New substituted variable.
23554 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23555 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23556 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23558 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23560 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23561 (mq_attr): Use __syscall_slong_t.
23563 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23565 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23566 Check __x86_64__ instead of __WORDSIZE.
23567 (_STAT_VER_LINUX): Likewise.
23568 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23569 __syscall_ulong_t and __syscall_slong_t.
23570 (stat64): Likewise.
23572 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23578 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23582 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23585 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23586 include <bits/wordsize.h>. Check __x86_64__ instead of
23588 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23590 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23593 include <bits/wordsize.h>. Check __x86_64__ instead of
23595 (user_regs_struct): Use "__extension__ unsigned long long"
23596 instead of "unsigned long" if __x86_64__ is defined.
23597 (user): Likewise. Pad after pointer field if __ILP32__ is
23600 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23602 * configure.in (makeinfo): Require version 4.5 or later. Allow
23604 * configure: Regenerated.
23605 * manual/install.texi (texinfo): Increase version requirement to
23607 * INSTALL: Regenerated.
23609 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23611 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23613 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23615 * sysdeps/x86_64/x32/ffs.c: New file.
23617 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23619 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23620 defined. Use __syscall_ulong_t.
23621 (shminfo): Use __syscall_ulong_t.
23622 (shm_info): Likewise.
23624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23627 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23629 (msgqnum_t): Use __syscall_ulong_t.
23630 (msglen_t): Likewise.
23631 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23634 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23637 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23639 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23640 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23642 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23645 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23646 include <bits/wordsize.h>. Check __x86_64__ instead of
23649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23650 "unsigned long long int" if __x86_64__ is defined.
23651 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23655 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23657 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23659 (GET_PC): Cast to uintptr_t first.
23660 (GET_FRAME): Likewise.
23661 (GET_STACK): Likewise.
23663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23667 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23669 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23671 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23684 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23690 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23693 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23695 * Makerules (+depfiles): Also collect depfiles from .oS in
23697 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23698 .oS, $(libnldbl-routines)).
23700 * Makerules (native-compile-mkdep-flags): Define.
23701 * sunrpc/Makefile (extra-objs): Add $(addprefix
23702 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23703 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23704 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23705 calling $(make-target-directory).
23707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23709 * bits/types.h (__snseconds_t): Removed.
23710 * time/time.h (struct timespec): Replace __snseconds_t with
23712 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23713 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23716 (__SNSECONDS_T_TYPE): Likewise.
23717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23718 (__SNSECONDS_T_TYPE): Likewise.
23719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23720 (__SNSECONDS_T_TYPE): Likewise.
23722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23724 * sysdeps/mach/hurd/bits/typesizes.h
23725 (__SYSCALL_SLONG_TYPE): New macro.
23726 (__SYSCALL_ULONG_TYPE): Likewise.
23728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23730 * bits/types.h (__syscall_slong_t): New type.
23731 (__syscall_ulong_t): Likewise.
23733 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23734 (__SYSCALL_ULONG_TYPE): Likewise.
23735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23736 (__SYSCALL_SLONG_TYPE): Likewise.
23737 (__SYSCALL_ULONG_TYPE): Likewise.
23738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23739 (__SYSCALL_SLONG_TYPE): Likewise.
23740 (__SYSCALL_ULONG_TYPE): Likewise.
23741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23742 (__SYSCALL_SLONG_TYPE): Likewise.
23743 (__SYSCALL_ULONG_TYPE): Likewise.
23745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23747 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23748 Add sigaltstack-offsets.sym.
23749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23750 <sigaltstack-offsets.h>.
23751 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23752 longjmp_msg pointer.
23753 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23754 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23756 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23758 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23760 * elf/stackguard-macros.h: Remove file.
23761 * sysdeps/generic/stackguard-macros.h: New file.
23762 * sysdeps/i386/stackguard-macros.h: Likewise.
23763 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23764 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23765 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23766 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23767 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23768 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23769 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23770 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23771 <elf/stackguard-macros.h>.
23774 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23775 __aligned__ in attribute.
23776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23777 (gregset_t): Likewise.
23779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23781 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23782 * sysdeps/x86_64/64/Implies-after: Here. New file.
23783 * sysdeps/x86_64/x32/Implies-after: New file.
23785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23787 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23788 and access return value for _dl_profile_fixup. Use R10_LP to
23791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23793 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23797 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23798 * sysdeps/x86_64/x32/sysdep.h: New file.
23800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23802 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23803 * sysdeps/x86_64/setjmp.S: Likewise.
23805 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23807 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23809 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23810 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23811 remove unused global constant.
23813 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23815 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23816 include of <not-cancel.h>.
23818 2012-05-15 Roland McGrath <roland@hack.frob.com>
23820 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23822 2012-05-15 Jeff Law <law@redhat.com>
23823 Andreas Jaeger <aj@suse.de>
23826 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23828 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23829 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23831 code changing __hst_map_handle.map.
23833 2012-05-15 Roland McGrath <roland@hack.frob.com>
23835 * configure.in (sysnames): Look for Implies-before and Implies-after
23837 * configure: Regenerated.
23839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23841 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23842 8-byte data alignment with LP_SIZE alignment.
23844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23846 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23855 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23856 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23864 (stackinfo_sub_sp): Likewise.
23866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23883 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23887 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23888 into R11_LP and load __x86_64_shared_cache_size_half into
23891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23896 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23905 powerpc32/power7/fpu/s_logb.c via #include.
23906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23907 powerpc32/power7/fpu/s_logbf.c via #include.
23908 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23909 powerpc32/power7/fpu/s_logbl.c via #include.
23911 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23913 * README.libm: Remove file.
23915 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23917 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23918 count for x32. Use R*_LP and omit operand-size suffix.
23920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23922 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23923 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23924 * sysdeps/x86_64/x32/shlib-versions: New file.
23926 2012-05-14 Roland McGrath <roland@hack.frob.com>
23928 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23929 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23930 Use _dl_fatal_printf instead.
23932 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23934 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23935 set if not set by the user. Do not allow for being unset.
23936 * sysdeps/unix/sysv/linux/configure: Regenerated.
23938 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23940 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23941 the `q' suffix from lea and replace .quad with ASM_ADDR.
23943 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23946 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23948 (PTR_DEMANGLE): Likewise.
23950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23952 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23954 (ASM_ADDR): Likewise.
23955 (RAX_LP): Likewise.
23956 (RBP_LP): Likewise.
23957 (RBX_LP): Likewise.
23958 (RCX_LP): Likewise.
23959 (RDI_LP): Likewise.
23960 (RSI_LP): Likewise.
23961 (RSP_LP): Likewise.
23964 (R10_LP): Likewise.
23965 (R10_LP): Likewise.
23966 (R11_LP): Likewise.
23967 (R12_LP): Likewise.
23968 (R13_LP): Likewise.
23969 (R14_LP): Likewise.
23970 (R15_LP): Likewise.
23972 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23974 * sysdeps/x86_64/x32/dl-machine.h: New file.
23976 2012-05-14 Andreas Jaeger <aj@suse.de>
23978 * manual/Makefile (subdir): Remove export of subdir.
23979 (all): Remove target.
23980 (.PHONY): Remove all from list.
23981 (mkinstalldirs): Remove.
23982 (.PHONY): Remove installdirs from list.
23983 ($(inst_infodir)/libc.info): Use make-target-directory.
23984 (installdirs): Remove.
23985 (subdir_%): Remove.
23986 (glibc-targets): Remove.
23989 ($(objpfx)stubs ../po/manual.pot): Remove.
23990 ($(objpfx)stamp%): Remove.
23991 (make-target-directory): Remove.
23992 (subdir_install): Remove.
23993 (routines): Remove.
24000 * manual/.gitignore: Remove, it's not needed anymore.
24001 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24003 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24005 (texis): Renamed to $(objpfx)texis.
24006 (texis-path): New, contains path to generated files.
24007 (chapters.%): Use texis-path for complete path, add extra argument
24009 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24010 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24011 (summary,texi, stamp-summary): Use complete path of
24012 files. Generate files in build dir.
24013 (dir-add.texi): Build in build dir.
24014 (libm-err.texi,stamp-libm-err): Likewise.
24015 (version.texi, stamp-version): Likewise.
24016 (.%c.texi): Likewise.
24017 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24018 (mostlyclean): Remove target.
24019 (realclean): Remove target.
24020 (generated): Add new variable with contents from mostlyclean and
24021 realclean, remove entries duplicated in common-mostlyclean, add
24022 stamp-libm-err and stamp-version.
24023 (generated-dirs): Add libc directory.
24024 ($(inst_infodir)/libc.info): Install files from build dir.
24026 * manual/install.texi (Configuring and compiling): Adjust since
24027 the info files are not part of the tar ball anymore.
24029 2012-05-14 Andreas Jaeger <aj@suse.de>
24031 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24034 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24038 to 2.2.0 where earlier.
24039 * sysdeps/unix/sysv/linux/configure: Regenerated.
24040 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24041 Remove conditional code.
24042 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24043 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24044 Remove conditional code.
24045 [!__NR_lchown]: Likewise.
24046 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24047 [__NR_lchown]: Likewise.
24048 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24049 comment referencing __ASSUME_LCHOWN_SYSCALL.
24050 * sysdeps/unix/sysv/linux/i386/sigaction.c
24051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24053 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24054 Remove conditional code.
24055 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24056 (__protocol_available): Remove #if 0 code.
24057 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24059 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24060 * sysdeps/unix/sysv/linux/kernel-features.h
24061 (__ASSUME_GETCWD_SYSCALL): Don't define.
24062 (__ASSUME_REALTIME_SIGNALS): Likewise.
24063 (__ASSUME_PREAD_SYSCALL): Likewise.
24064 (__ASSUME_PWRITE_SYSCALL): Likewise.
24065 (__ASSUME_POLL_SYSCALL): Likewise.
24066 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24067 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24069 (__ASSUME_SIOCGIFNAME): Don't define.
24070 (__ASSUME_MSG_NOSIGNAL): Likewise.
24071 (__ASSUME_SENDFILE): Define unconditionally.
24072 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24073 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24075 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24076 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24078 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24079 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24080 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24081 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24106 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24107 Remove conditional code.
24108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24109 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24110 Remove conditional code.
24111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24112 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24113 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24114 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24115 Remove conditional code.
24116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24117 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24118 Remove conditional code.
24119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24120 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24121 Remove conditional code.
24122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24123 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24124 Remove conditional code.
24125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24126 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24127 Remove conditional code.
24128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24132 * sysdeps/unix/sysv/linux/sigaction.c
24133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24135 * sysdeps/unix/sysv/linux/sigpending.c
24136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24138 * sysdeps/unix/sysv/linux/sigprocmask.c
24139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/sigsuspend.c
24142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24145 (__libc_missing_rt_sigs): Remove.
24146 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24147 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24148 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24149 Remove conditional code.
24150 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24151 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24154 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24155 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24156 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24158 2012-05-14 Andreas Jaeger <aj@suse.de>
24160 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24161 it's not used in glibc.
24162 (__coshm1): Likewise.
24163 (__acosh1p): Likewise.
24166 * manual/string.texi (Copying and Concatenation): Add missing
24167 variable in concat example.
24168 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24174 __builtin_clzl with __builtin_clzll.
24176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24179 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24182 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24184 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24185 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24186 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24187 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24189 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24191 * NEWS: Update ia64 info.
24193 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24195 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24198 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24200 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24201 * sysdeps/unix/syscalls.list (dup3): Likewise.
24202 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24203 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24205 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24207 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24208 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24210 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24212 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24214 (TLS_IE): Use mov/add instead of movq/addq to load thread
24216 (TLS_GD_PREFIX): New.
24219 2012-05-11 David S. Miller <davem@davemloft.net>
24221 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24222 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24223 (_FPU_SETCW): Likewise.
24225 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24227 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24228 is 32-byte aligned.
24230 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24233 * iconvdata/gb18030.c: Update tables.
24234 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24235 characters specially.
24236 (BODY for TO_LOOP): Add encoding of missing ranges.
24238 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24241 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24242 * sysdeps/mach/hurd/dup3.c: Likewise.
24243 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24244 * sysdeps/powerpc/memmove.c:: Likewise.
24246 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24249 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24251 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24253 * elf/elf.h (R_X86_64_RELATIVE64): New.
24254 (R_X86_64_NUM): Updated.
24255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24256 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24257 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24258 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24259 tst-quad1pie tst-quad2pie
24260 (modules-names): Add tst-quadmod1 tst-quadmod2.
24261 ($(objpfx)tst-quad1): New dependency.
24262 ($(objpfx)tst-quad2): Likewise.
24263 ($(objpfx)tst-quad1pie): Likewise.
24264 ($(objpfx)tst-quad2pie): Likewise.
24265 * sysdeps/x86_64/tst-quad1.c: New file.
24266 * sysdeps/x86_64/tst-quad1pie.c: New file.
24267 * sysdeps/x86_64/tst-quad2.c: Likewise.
24268 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24269 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24270 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24271 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24272 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24274 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24276 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24277 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24278 * streams/stropts.h (t_scalar_t): Define type.
24280 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24281 (_PATH_PRESERVE): Set to "/var/lib".
24282 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24284 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24287 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24288 if __dir_mkfile succeeded.
24290 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24291 checking for _hurd_dtablesize. Unlock it right after having
24292 finished _hurd_dtable allocation.
24294 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24296 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24297 * sysdeps/mach/hurd/configure: Regenerated.
24298 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24299 special-casing to...
24300 * sysdeps/gnu/configure.in: ... this new file.
24301 * sysdeps/unix/sysv/linux/configure: Regenerated.
24302 * sysdeps/gnu/configure: New generated file.
24304 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24305 for Linux: use nsec instead of usec, as well as:
24306 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24307 members of type struct timespec.
24308 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24310 (struct stat64): Likewise.
24311 (_STATBUF_ST_NSEC): New macro.
24312 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24314 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24315 __strtoul_internal rather than strtoul.
24317 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24319 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24324 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24325 which preserves existing values.
24326 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24328 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24330 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24331 TIMEOUT values. Return EINVAL for NFDS values either negative or
24332 greater than FD_SETSIZE.
24334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24336 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24337 allocated, call __vm_protect to finish enabling the existing space, and
24338 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24339 allocate the remainder.
24341 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24343 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24344 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24348 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24349 sysdeps/mach/hurd/readlink.c.
24351 * posix/tst-sysconf.c (posix_options): Only use
24352 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24353 _POSIX_SYNCHRONIZED_IO when they are defined
24354 * sysdeps/mach/hurd/bits/posix_opt.h:
24355 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24356 (_XOPEN_REALTIME): Undefine macro.
24357 (_XOPEN_REALTIME_THREADS): Undefine macro.
24358 (_XOPEN_SHM): Undefine macro.
24359 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24361 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24363 (_POSIX_ASYNC_IO): Undefine macro.
24364 (_POSIX_PRIORITIZED_IO): Undefine macro.
24365 (_POSIX_SPIN_LOCKS): Define macro to -1.
24367 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24368 SA_NODEFER, SA_RESETHAND.
24369 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24370 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24375 * elf/Makefile (pldd-modules): Define unconditionally.
24377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24379 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24383 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24384 Return ENOENT when name is empty.
24385 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24389 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24391 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24395 Fix mlock in all cases except non-readable pages.
24396 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24397 instead of VM_PROT_ALL as parameter to __vm_wire function.
24399 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24400 (__mkdir): When path is `/', just fail with EEXIST.
24401 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24405 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24406 <sys/uio.h> (for writev).
24407 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24408 and <sys/param.h> (for MIN).
24410 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24412 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24413 REQUESTED_TIME. Properly set the remaining time and return EINTR
24416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24419 Depend on against $(link-rpcuserlibs).
24421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24423 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24424 (__libc_stack_end): Do not use attribute_relro.
24425 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24426 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24427 to libthread-provided value.
24428 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24434 * bits/libc-lock.h (__libc_once_get): New macro.
24435 * sysdeps/mach/bits/libc-lock.h: Likewise.
24436 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24438 instead of using implementation details.
24440 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24441 * libio/freopen.c: Likewise.
24442 * libio/freopen64.c: Likewise.
24443 * misc/syslog.c: Likewise.
24444 * nscd/connections.c: Likewise.
24445 * nscd/netgroupcache.c: Likewise.
24446 * sysdeps/posix/getcwd.c: Likewise.
24448 2012-05-10 Roland McGrath <roland@hack.frob.com>
24450 * math/w_ilogbf.c: Add #include <limits.h>.
24452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24454 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24455 path instead of returning without unlocking.
24457 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24458 immediate-write ioctls.
24459 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24461 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24463 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24464 __builtin_frame_address instead of making assumptions about the
24465 location of the return address relative to DATA. Force early load of
24466 the return address.
24467 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24468 __builtin_frame_address.
24471 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24472 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24473 implement dup3 and do some further code clean-ups.
24474 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24475 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24479 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24481 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24482 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24483 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24484 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24485 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24488 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24489 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24490 when handler == SIG_ERR, not when handler != SIG_ERR.
24492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24494 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24495 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24498 accept4 for GNU Hurd.
24499 * include/sys/socket.h (__libc_accept4): New prototype.
24500 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24501 to implement __libc_accept4.
24502 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24506 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24507 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24508 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24509 signal-defines.sym.
24511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24513 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24515 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24517 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24518 assertion on O_CLOEXEC flag.
24519 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24520 * hurd/intern-fd.c: Likewise.
24521 * hurd/port2fd.c: Likewise.
24523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24526 * bits/in.h (IPV6_PKTINFO): Define new macro.
24527 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24529 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24536 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24537 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24539 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24540 * math/libm-test.inc (logb_test) : Additional logb tests.
24542 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24543 Andreas Jaeger <aj@suse.de>
24545 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24546 * configure: Regenerated.
24547 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24548 * config.make.in (link-obsolete-rpc): New substituted variable.
24549 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24550 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24551 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24552 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24553 so that libc.a contains the symbols.
24554 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24555 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24556 * sunrpc/auth_none.c: Likewise.
24557 * sunrpc/auth_unix.c: Likewise.
24558 * sunrpc/authdes_prot.c: Likewise.
24559 * sunrpc/authuxprot.c: Likewise.
24560 * sunrpc/clnt_gen.c: Likewise.
24561 * sunrpc/clnt_perr.c: Likewise.
24562 * sunrpc/clnt_raw.c: Likewise.
24563 * sunrpc/clnt_simp.c: Likewise.
24564 * sunrpc/clnt_tcp.c: Likewise.
24565 * sunrpc/clnt_udp.c: Likewise.
24566 * sunrpc/clnt_unix.c: Likewise.
24567 * sunrpc/des_crypt.c: Likewise.
24568 * sunrpc/des_soft.c: Likewise.
24569 * sunrpc/get_myaddr.c: Likewise.
24570 * sunrpc/key_call.c: Likewise.
24571 * sunrpc/key_prot.c: Likewise.
24572 * sunrpc/netname.c: Likewise.
24573 * sunrpc/pm_getmaps.c: Likewise.
24574 * sunrpc/pm_getport.c: Likewise.
24575 * sunrpc/pmap_clnt.c: Likewise.
24576 * sunrpc/pmap_prot.c: Likewise.
24577 * sunrpc/pmap_prot2.c: Likewise.
24578 * sunrpc/pmap_rmt.c: Likewise.
24579 * sunrpc/publickey.c: Likewise.
24580 * sunrpc/rpc_cmsg.c: Likewise.
24581 * sunrpc/rpc_common.c: Likewise.
24582 * sunrpc/rpc_dtable.c: Likewise.
24583 * sunrpc/rpc_prot.c: Likewise.
24584 * sunrpc/rpc_thread.c: Likewise.
24585 * sunrpc/rtime.c: Likewise.
24586 * sunrpc/svc.c: Likewise.
24587 * sunrpc/svc_auth.c: Likewise.
24588 * sunrpc/svc_raw.c: Likewise.
24589 * sunrpc/svc_run.c: Likewise.
24590 * sunrpc/svc_tcp.c: Likewise.
24591 * sunrpc/svc_udp.c: Likewise.
24592 * sunrpc/svc_unix.c: Likewise.
24593 * sunrpc/svcauth_des.c: Likewise.
24594 * sunrpc/xcrypt.c: Likewise.
24595 * sunrpc/xdr.c: Likewise.
24596 * sunrpc/xdr_array.c: Likewise.
24597 * sunrpc/xdr_float.c: Likewise.
24598 * sunrpc/xdr_intXX_t.c: Likewise.
24599 * sunrpc/xdr_mem.c: Likewise.
24600 * sunrpc/xdr_rec.c: Likewise.
24601 * sunrpc/xdr_ref.c: Likewise.
24602 * sunrpc/xdr_sizeof.c: Likewise.
24603 * sunrpc/xdr_stdio.c: Likewise.
24605 2012-05-10 Roland McGrath <roland@hack.frob.com>
24607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24608 change. Update copyright years.
24610 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24612 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24614 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24615 Joseph Myers <joseph@codesourcery.com>
24616 Paul Pluzhnikov <ppluzhnikov@google.com>
24619 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24621 [cross-compiling] (extra-libs): Likewise.
24622 [cross-compiling] (extra-libs-others): Likewise.
24623 [cross-compiling] (librpcsvc-routines): Likewise.
24624 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24625 [cross-compiling] (omit-deps): Likewise.
24626 (sunrpc-CPPFLAGS): New variable.
24627 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24628 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24629 (cross-rpcgen-objs): New variable.
24630 (extra-objs): Append $(cross-rpcgen-objs).
24631 ($(cross-rpcgen-objs)): New rule.
24632 ($(objpfx)cross-rpcgen): Likewise.
24633 (rpcgen-cmd): Define to use $(built-program-file). Expand
24635 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24636 ($(objpfx)x%.stmp): Likewise.
24637 * sunrpc/proto.h [IS_IN_build] (_): Define.
24638 [IS_IN_build] (_libc_intl_domainname): Likewise.
24640 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24643 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24644 and R_X86_64_TPOFF64.
24646 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24648 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24649 sysdeps/unix/sysv/syscalls.list.
24652 * sysdeps/unix/sysv/syscalls.list: Remove file.
24654 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24657 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24658 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24659 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24660 (__LC_IDENTIFICATION): Make these macros useful in #if
24661 expressions, as required by C99.
24663 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24665 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24666 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24669 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24671 * stdlib/longlong.h: Updated from GCC.
24673 2012-05-09 Andreas Jaeger <aj@suse.de>
24675 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24676 default is first entry.
24677 (run_mode): Set type.
24678 (main): Remove informal message about syslog.
24679 (options): Fix typo.
24682 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24685 (llrintf): Likewise.
24686 (llrint): Likewise.
24689 (nearbyint): Likewise.
24690 (nearbyintf): Likewise.
24692 2012-05-09 Andreas Jaeger <aj@suse.de>
24693 Pedro Alves <palves@redhat.com>
24695 * nscd/nscd.c (run_mode): Use enum.
24696 (main): Cleanup coding style issue.
24698 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24699 Andreas Jaeger <aj@suse.de>
24701 * nscd/nscd.c (go_background): Replaced with...
24702 (run_mode): ... this.
24703 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24704 (options): Add -F --foreground.
24705 (main): Implement it.
24706 (parse_opt): Parse it.
24708 2012-05-09 Andreas Jaeger <aj@suse.de>
24711 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24712 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24713 -Wconversion warning.
24714 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24717 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24719 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24721 (LC_ALL): Use macro-int-constant.
24722 (LC_COLLATE): Likewise.
24723 (LC_CTYPE): Likewise.
24724 (LC_MESSAGES): Likewise.
24725 (LC_MONETARY): Likewise.
24726 (LC_NUMERIC): Likewise.
24727 (LC_TIME): Likewise.
24728 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24729 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24731 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24733 [C99-based standards] (float_t): Expect type.
24734 [C99-based standards] (double_t): Expect type.
24735 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24737 [C99-based standards] (HUGE_VALL): Likewise.
24738 [C99-based standards] (INFINITY): Likewise.
24739 [C99-based standards] (NAN): Likewise.
24740 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24741 [C99-based standards] (FP_NAN): Likewise.
24742 [C99-based standards] (FP_NORMAL): Likewise.
24743 [C99-based standards] (FP_SUBNORMAL): Likewise.
24744 [C99-based standards] (FP_ZERO): Likewise.
24745 [C99-based standards] (FP_FAST_FMA): Use
24746 optional-macro-int-constant. Specify type. Require == 1.
24747 [C99-based standards] (FP_FAST_FMAF): Likewise.
24748 [C99-based standards] (FP_FAST_FMAL): Likewise.
24749 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24750 [C99-based standards] (FP_ILOGBNAN): Likewise.
24751 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24753 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24754 [C99-based standards] (math_errhandling): Specify type.
24755 [ISO99 || ISO11] (signgam): Do not allow.
24756 [non-C99-based standards] (copysignf): Do not allow.
24757 [non-C99-based standards] (exp2f): Likewise.
24758 [non-C99-based standards] (log2f): Likewise.
24759 [non-C99-based standards] (modff): Allow.
24760 [non-C99-based standards] (erff): Do not allow.
24761 [non-C99-based standards] (erfcf): Likewise.
24762 [non-C99-based standards] (gammaf): Likewise.
24763 [non-C99-based standards] (hypotf): Likewise.
24764 [non-C99-based standards] (j0f): Likewise.
24765 [non-C99-based standards] (j1f): Likewise.
24766 [non-C99-based standards] (jnf): Likewise.
24767 [non-C99-based standards] (lgammaf): Likewise.
24768 [non-C99-based standards] (tgammaf): Likewise.
24769 [non-C99-based standards] (y0f): Likewise.
24770 [non-C99-based standards] (y1f): Likewise.
24771 [non-C99-based standards] (ynf): Likewise.
24772 [non-C99-based standards] (isnanf): Likewise.
24773 [non-C99-based standards] (acoshf): Likewise.
24774 [non-C99-based standards] (asinhf): Likewise.
24775 [non-C99-based standards] (atanhf): Likewise.
24776 [non-C99-based standards] (cbrtf): Likewise.
24777 [non-C99-based standards] (expm1f): Likewise.
24778 [non-C99-based standards] (ilogbf): Likewise.
24779 [non-C99-based standards] (log1pf): Likewise.
24780 [non-C99-based standards] (logbf): Likewise.
24781 [non-C99-based standards] (nextafterf): Likewise.
24782 [non-C99-based standards] (remainderf): Likewise.
24783 [non-C99-based standards] (rintf): Likewise.
24784 [non-C99-based standards] (scalbf): Likewise.
24785 [non-C99-based standards] (copysignl): Likewise.
24786 [non-C99-based standards] (exp2l): Likewise.
24787 [non-C99-based standards] (log2l): Likewise.
24788 [non-C99-based standards] (modfl): Allow.
24789 [non-C99-based standards] (erfl): Do not allow.
24790 [non-C99-based standards] (erfcl): Likewise.
24791 [non-C99-based standards] (gammal): Likewise.
24792 [non-C99-based standards] (hypotl): Likewise.
24793 [non-C99-based standards] (j0l): Likewise.
24794 [non-C99-based standards] (j1l): Likewise.
24795 [non-C99-based standards] (jnl): Likewise.
24796 [non-C99-based standards] (lgammal): Likewise.
24797 [non-C99-based standards] (tgammal): Likewise.
24798 [non-C99-based standards] (y0l): Likewise.
24799 [non-C99-based standards] (y1l): Likewise.
24800 [non-C99-based standards] (ynl): Likewise.
24801 [non-C99-based standards] (isnanl): Likewise.
24802 [non-C99-based standards] (acoshl): Likewise.
24803 [non-C99-based standards] (asinhl): Likewise.
24804 [non-C99-based standards] (atanhl): Likewise.
24805 [non-C99-based standards] (cbrtl): Likewise.
24806 [non-C99-based standards] (expm1l): Likewise.
24807 [non-C99-based standards] (ilogbl): Likewise.
24808 [non-C99-based standards] (log1pl): Likewise.
24809 [non-C99-based standards] (logbl): Likewise.
24810 [non-C99-based standards] (nextafterl): Likewise.
24811 [non-C99-based standards] (remainderl): Likewise.
24812 [non-C99-based standards] (rintl): Likewise.
24813 [non-C99-based standards] (scalbl): Likewise.
24814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24815 [non-C99-based standards] (FP_*): Do not allow.
24816 [C99-based standards] (FP_*): Change to
24817 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24818 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24820 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24821 (SIG_ERR): Likewise.
24822 [X/Open-based standards] (SIG_HOLD): Likewise.
24823 (SIG_IGN): Likewise.
24824 (SIGABRT): Use macro-int-constant. Specify type. Require
24826 (SIGFPE): Likewise.
24827 (SIGILL): Likewise.
24828 (SIGINT): Likewise.
24829 (SIGSEGV): Likewise.
24830 (SIGTER): Likewise.
24831 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24834 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24835 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24836 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24837 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24838 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24839 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24846 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24847 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24849 [X/Open-based standards] (SIGTRAP): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24851 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24852 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24853 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24854 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24857 2012-05-08 Ian Wienand <ianw@vmware.com>
24860 * time/tzset.c (__tzset_parse_tz): Update default rules for
24861 daylight time changes in the Energy Policy Act of 2005.
24863 2012-05-09 Andreas Jaeger <aj@suse.de>
24866 * elf/ldconfig.c (parse_conf): Change string to make clear that
24867 ldconfig only issued a warning if ld.so.conf does not exist.
24869 2012-05-08 David S. Miller <davem@davemloft.net>
24871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24872 movxtod instead of popping the value on the stack.
24874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24876 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24878 * config.h.in: Add HAVE_ARM_PCS_VFP.
24880 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24883 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24884 checking but the checks are disabled for any reason.
24886 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24888 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24889 and ELF64_R_TYPE with ELFW(R_TYPE).
24891 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24893 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24894 (ulimit): Likewise.
24896 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24897 (settimeofday): Likewise.
24899 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24901 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24902 a struct th_u2 inside the union, and move tu_block/tu_code into
24903 a new th_u3 union of tu_block/tu_code inside of that. Move
24904 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24905 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24906 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24907 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24908 (th_stuff): Change to th_u1.tu_stuff.
24910 (th_msg): Change to th_u1.th_u2.tu_data.
24912 2012-05-07 David S. Miller <davem@davemloft.net>
24914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24917 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24918 (SETUP_PIC_REG): Use it.
24919 (SETUP_PIC_REG_LEAF): Use it.
24921 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24927 (EXPL_FINITE): Likewise.
24928 (FLDLOG): Likewise.
24929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24930 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24934 (EXPL_FINITE): Likewise.
24935 (FLDLOG): Likewise.
24936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24937 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24939 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24940 test of -max_value argument for long double.
24941 * sysdeps/i386/fpu/libm-test-ulps: Update.
24942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944 2012-05-06 David S. Miller <davem@davemloft.net>
24946 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24947 quad soft-float symbols whose references which are compiler
24949 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24951 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24957 (EXPL_FINITE): Likewise.
24958 (FLDLOG): Likewise.
24961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24962 Adjust comments for base varying.
24963 (__expl_finite): Change alias to EXPL_FINITE.
24964 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24966 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24967 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24969 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24972 (EXPL_FINITE): Likewise.
24973 (FLDLOG): Likewise.
24976 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24977 Adjust comments for base varying.
24978 (__expl_finite): Change alias to EXPL_FINITE.
24979 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24984 * math/libm-test.inc (check_float_internal): Correct ulp
24985 calculation for subnormal expected results.
24987 2012-05-06 Andreas Jaeger <aj@suse.de>
24989 * Makeconfig (+math-flags): New, set to -frounding-math.
24990 (+cflags): Add +math-flags so that all of glibc gets compiled with
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24995 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24997 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25003 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25004 (__ieee754_expl): Allow for and saturate large arguments.
25005 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25006 (u_threshold): Likewise.
25007 (__exp): Call __ieee754_exp before checking for overflow and
25009 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25010 (u_threshold): Likewise.
25011 (__expf): Call __ieee754_expf before checking for overflow and
25013 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25014 (u_threshold): Likewise.
25015 (__expl): Call __ieee754_expl before checking for overflow and
25017 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25018 (__ieee754_expl): Allow for and saturate large arguments.
25019 * math/libm-test.inc (exp_test): Add another test. Do not allow
25020 missing overflow exception on overflow.
25021 (expm1_test): Do not allow missing overflow exception on overflow.
25023 * sysdeps/i386/fpu/e_expl.c: Move to ...
25024 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25025 rather than using inline asm.
25026 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25027 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25028 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25030 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25033 (signal): Likewise.
25037 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25039 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25040 sysdeps/unix/common/syscalls.list.
25041 (fchmod): Likewise.
25042 (fchown): Likewise.
25043 (ftruncate): Likewise.
25044 (getrusage): Likewise.
25045 (gettimeofday): Likewise.
25046 (setpgid): Likewise.
25047 (setregid): Likewise.
25048 (setreuid): Likewise.
25049 (sigaction): Likewise.
25050 (truncate): Likewise.
25051 (vhangup): Likewise.
25052 * sysdeps/unix/common/syscalls.list: Remove file.
25053 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25054 * sysdeps/unix/sysv/linux/Implies: Likewise.
25056 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25064 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25067 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25070 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25076 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25082 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25090 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25093 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25097 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25101 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25103 * sysdeps/unix/common/bits/dirent.h: Remove file.
25104 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25106 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25107 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25108 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25109 * sysdeps/unix/bsd/isatty.c: Likewise.
25110 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25111 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25112 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25114 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25118 long double comparison inaccuracies.
25119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25122 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25124 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25127 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25131 nonzero digits before rounding a hex value.
25132 * stdlib/tst-strtod.c (tests): Add another test.
25134 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25136 * sysdeps/s390/fpu/libm-test-ulps: Update.
25138 2012-05-03 Andreas Jaeger <aj@suse.de>
25140 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25141 does not get optimized out.
25142 (malloc_opt_barrier): New.
25144 2012-05-03 Andreas Jaeger <aj@suse.de>
25145 Roland McGrath <roland@hack.frob.com>
25147 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25148 intermediate file deletion.
25149 (generated): Add .symlist files.
25151 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25154 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25155 Redirect under this condition.
25156 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25157 [__USE_GNU] (__dprintf_chk): Not under this condition.
25158 [__USE_GNU] (__vdprintf_chk): Likewise.
25159 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25160 under this condition.
25161 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25162 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25163 [__USE_XOPEN2K8] (vdprintf): Likewise.
25164 [__USE_GNU] (__dprintf_chk): Not under this condition.
25165 [__USE_GNU] (__vdprintf_chk): Likewise.
25166 [__USE_GNU] (dprintf): Likewise.
25167 [__USE_GNU] (vdprintf): Likewise.
25169 2012-05-03 Roland McGrath <roland@hack.frob.com>
25171 * elf/Makefile (common-generated): Set this instead of generated for
25172 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25173 $(all-built-dso)-derived lists.
25175 2012-05-03 Andreas Jaeger <aj@suse.de>
25177 * sysdeps/i386/fpu/libm-test-ulps: Update.
25180 * FAQ.in: Likewise.
25181 * scripts/gen-FAQ.pl: Likewise.
25182 * manual/install.texi (Installation): Point to online location of
25184 * Makefile (files-for-dist): Remove FAQ.
25187 2012-05-02 Allan McRae <allan@archlinux.org>
25189 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25190 (LDFLAGS-reldepmod5.so): Likewise.
25191 (LDFLAGS-reldep6mod1.so): Likewise.
25192 (LDFLAGS-reldep6mod4.so): Likewise.
25193 (LDFLAGS-reldep8mod3.so): Likewise.
25194 (LDFLAGS-unload4mod1.so): Likewise.
25195 (LDFLAGS-unload4mod2.so): Likewise.
25196 (LDFLAGS-tst-initorder): Likewise.
25197 (LDFLAGS-tst-initordera2.so): Likewise.
25198 (LDFLAGS-tst-initordera3.so): Likewise.
25199 (LDFLAGS-tst-initordera4.so): Likewise.
25200 (LDFLAGS-tst-initorderb2.so): Likewise.
25201 (LDFLAGS-noload): Likewise.
25202 (LDFLAGS-next): Likewise.
25203 (LDFLAGS-order2mod1.so): Likewise.
25204 (LDFLAGS-order2mod2.so): Likewise.
25205 (LDFLAGS-tst-initorder2): Likewise.
25206 (LDFLAGS-tst-initorder2a.so): Likewise.
25207 (LDFLAGS-tst-initorder2b.so): Likewise.
25208 (LDFLAGS-tst-initorder2c.so): Likewise.
25209 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25211 2012-05-02 David S. Miller <davem@davemloft.net>
25213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25215 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25218 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25220 2012-05-02 Andreas Jaeger <aj@suse.de>
25222 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25223 since we manipulate rounding mode.
25224 (CPPFLAGS-test-idouble.c): Likewise.
25225 (CPPFLAGS-test-ifloat.c): Likewise.
25226 (CFLAGS-test-ldouble.c): Likewise.
25227 (CFLAGS-test-double.c): Likewise.
25228 (CFLAGS-test-float.c): Likewise.
25229 (CFLAGS-test-misc.c): Likewise.
25230 (CFLAGS-test-test-fenv.c): Likewise.
25232 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25237 comparisons to determine direction to adjust input.
25239 2012-05-01 Roland McGrath <roland@hack.frob.com>
25241 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25242 output to the target.
25244 * scripts/localplt.awk: New file.
25245 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25246 (check-localplt-CFLAGS): Variable removed.
25247 ($(all-built-dso:=.jmprel)): New static pattern rule.
25248 (generated): Add those targets.
25249 (localplt-built-dso): New variable.
25250 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25252 * elf/check-localplt.c: File removed.
25254 * scripts/check-execstack.awk: New file.
25255 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25256 (check-execstack-CFLAGS): Variable removed.
25257 ($(objpfx)check-execstack.h): Target removed.
25258 ($(objpfx)execstack-default): New target.
25259 (generated): Add that instead of check-execstack.h.
25260 ($(all-built-dso:=.phdr)): New static pattern rule.
25261 (generated): Add those targets.
25262 * elf/check-execstack.c: File removed.
25264 * scripts/check-textrel.awk: New file.
25265 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25266 (check-textrel-CFLAGS): Variable removed.
25267 (all-built-dso): Use := to define.o
25268 ($(all-built-dso:=.dyn)): New static pattern rule.
25269 (generated): Add those targets.
25270 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25271 * config.make.in (READELF): New substituted variable.
25272 * elf/check-textrel.c: File removed.
25274 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25276 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25278 * conform/data/ctype.h-data [C99-based standards] (isblank):
25280 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25281 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25283 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25284 Specify type. Require positive value.
25285 (EILSEQ): Likewise.
25286 (ERANGE): Likewise.
25287 [ISO || POSIX] (EILSEQ): Do not expect.
25288 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25289 Specify type. Require positive value.
25290 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25330 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25364 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25365 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25366 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25368 (FLT_ROUNDS): Expect as macro, not constant.
25369 (FLT_MANT_DIG): Use macro-int-constant.
25370 (DBL_MANT_DIG): Likewise.
25371 (LDBL_MANT_DIG): Likewise.
25372 (FLT_DIG): Likewise.
25373 (DBL_DIG): Likewise.
25374 (LDBL_DIG): Likewise.
25375 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25376 (DBL_MIN_EXP): Likewise.
25377 (LDBL_MIN_EXP): Likewise.
25378 (FLT_MAX_EXP): Use macro-int-constant.
25379 (DBL_MAX_EXP): Likewise.
25380 (LDBL_MAX_EXP): Likewise.
25381 (FLT_MAX_10_EXP): Likewise.
25382 (DBL_MAX_10_EXP): Likewise.
25383 (LDBL_MAX_10_EXP): Likewise.
25384 (FLT_MAX): Use macro-constant.
25385 (DBL_MAX): Likewise.
25386 (LDBL_MAX): Likewise.
25387 (FLT_EPSILON): Use macro-constant. Give upper bound.
25388 (DBL_EPSILON): Likewise.
25389 (LDBL_EPSILON): Likewise.
25390 (FLT_MIN): Likewise.
25391 (DBL_MIN): Likewise.
25392 (LDBL_MIN): Likewise.
25393 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25394 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25395 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25396 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25397 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25398 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25399 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25400 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25401 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25402 [ISO11] (FLT_TRUE_MIN): Likewise.
25403 [ISO11] (LDBL_TRUE_MIN): Likewise.
25404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25405 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25406 (SCHAR_MIN): Use macro-int-constant. Specify type.
25407 (SCHAR_MAX): Likewise.
25408 (UCHAR_MAX): Likewise.
25409 (CHAR_MIN): Likewise.
25410 (CHAR_MAX): Likewise.
25411 (MB_LEN_MAX): Use macro-int-constant.
25412 (SHRT_MIN): Use macro-int-constant. Specify type.
25413 (SHRT_MAX): Likewise.
25414 (USHRT_MAX): Likewise.
25415 (INT_MAX): Likewise.
25416 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25418 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25420 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25422 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25423 bound negative. Suffix upper bound with "L".
25424 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25426 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25428 [C99-based standards] (LLONG_MAX): Likewise.
25429 [C99-based standards] (ULLONG_MAX): Likewise.
25430 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25432 [ISO11] (max_align_t): Require type.
25433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25435 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25436 from $CFLAGS, without defining away __attribute__ calls.
25437 (checknamespace): Use $CFLAGS_namespace.
25439 * conform/conformtest.pl (@keywords): Only include C99 keywords
25440 for standards based on C99 or C11.
25442 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25444 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25447 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25448 usability of symbols in #if.
25450 * conform/conformtest.pl: If macro or constant types start
25451 "promoted:", expect the symbol to be of the following type
25452 promoted by the integer promotions.
25454 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25455 in one place. Also handle "macro-constant".
25457 * conform/conformtest.pl: Only accept expected macro values with
25458 "==". Parse all "macro" lines in one place.
25459 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25461 * conform/conformtest.pl: Handle braced types on "constant" lines
25462 instead of handling "typed-constant".
25463 * conform/data/signal.h-data: Use "constant" instead of
25466 * conform/conformtest.pl: Handle "optional-" at start of lines in
25467 one place rather than duplicating several cases. Handle each
25468 format of "macro" line with initial "optional-".
25470 * conform/conformtest.pl: Only accept expected constant or
25471 optional-constant values with "==". Parse all "constant" lines in
25472 one place. Parse all "optional-constant" lines in one place.
25473 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25474 * conform/data/fmtmsg.h-data: Likewise.
25475 * conform/data/netinet/in.h-data: Likewise.
25476 * conform/data/tar.h-data: Likewise.
25477 * conform/data/limits.h-data: Use "==" form on "constant" and
25478 "optional-constant" lines.
25480 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25481 Use -std=c99 for XOPEN2K.
25482 (@knownproblems): Remove.
25483 (newtoken): Don't check %isknown.
25485 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25486 Do not expect macro.
25487 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25488 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25489 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25490 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25491 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25492 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25493 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25494 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25495 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25496 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25497 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25499 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25500 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25508 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25516 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25517 [XPG3] (acosh): Likewise.
25518 [XPG3] (asinh): Likewise.
25519 [XPG3] (atanh): Likewise.
25520 [XPG3] (cbrt): Likewise.
25521 [XPG3] (expm1): Likewise.
25522 [XPG3] (ilogb): Likewise.
25523 [XPG3] (log1p): Likewise.
25524 [XPG3] (logb): Likewise.
25525 [XPG3] (nextafter): Likewise.
25526 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25527 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25528 [XPG3] (remainder): Likewise.
25529 [XPG3] (rint): Likewise.
25530 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25531 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25533 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25534 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25535 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25536 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25537 [UNIX98 || XOPEN2K] (scalb): Expect.
25538 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25539 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25676 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25677 _XOPEN_SOURCE_EXTENDED for XPG4.
25679 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25681 * Makeconfig (localtime): Remove variable.
25682 (inst_localtime-file): Likewise.
25684 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25705 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25709 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25710 comparisons to determine direction to adjust input.
25711 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25712 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25722 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25724 * math/libm-test.inc (nexttoward_test): Add more tests.
25726 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25730 in version GLIBC_2.1, not GLIBC_2.0.
25731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25734 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25737 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25739 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25740 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25741 * math/libm-test.inc (acos_test): Add more tests.
25742 (asin_test): Likewise.
25743 * sysdeps/i386/fpu/libm-test-ulps: Update.
25744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25747 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25749 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25750 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25751 * math/libm-test.inc (acos_test_tonearest): New function.
25752 (acos_test_towardzero): Likewise.
25753 (acos_test_downward): Likewise.
25754 (acos_test_upward): Likewise.
25755 (asin_test_tonearest): Likewise.
25756 (asin_test_towardzero): Likewise.
25757 (asin_test_downward): Likewise.
25758 (asin_test_upward): Likewise.
25759 (main): Call the new functions.
25760 * sysdeps/i386/fpu/libm-test-ulps: Update.
25761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25765 * math/e_exp10.c: Include <float.h>.
25766 (__ieee754_exp10): Handle underflow here rather than multiplying
25767 large negative argument by M_LN10.
25768 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25770 * math/e_exp10l.c: Include <float.h>.
25771 (__ieee754_exp10l): Handle underflow here rather than multiplying
25772 large negative argument by M_LN10l.
25773 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25774 spurious overflow exception on underflow.
25776 2012-04-29 Marek Polacek <polacek@redhat.com>
25778 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25779 (__fortify_function): New macro.
25780 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25781 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25782 __extern_always_inline.
25783 * libio/bits/stdio2.h: Likewise.
25784 * libio/bits/stdio.h: Likewise.
25785 * string/string.h: Likewise.
25786 * string/bits/string3.h: Likewise.
25787 * include/stdio.h: Likewise.
25788 * stdlib/bits/stdlib.h: Likewise.
25789 * stdlib/stdlib.h: Likewise.
25790 * rt/bits/mqueue2.h: Likewise.
25791 * rt/mqueue.h: Likewise.
25792 * posix/bits/unistd.h: Likewise.
25793 * posix/unistd.h: Likewise.
25794 * io/bits/poll2.h: Likewise.
25795 * io/bits/fcntl2.h: Likewise.
25796 * io/fcntl.h: Likewise.
25797 * io/sys/poll.h: Likewise.
25798 * misc/bits/syslog.h: Likewise.
25799 * misc/bits/syslog-ldbl.h: Likewise.
25800 * misc/sys/syslog.h: Likewise.
25801 * socket/bits/socket2.h: Likewise.
25802 * socket/sys/socket.h: Likewise.
25803 * debug/tst-chk1.c: Likewise.
25804 * wcsmbs/bits/wchar2.h: Likewise.
25805 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25806 * wcsmbs/wchar.h: Likewise.
25808 2012-04-29 Andreas Jaeger <aj@suse.de>
25810 * Makerules (tests): Remove enable-check-abi protection.
25811 (check-abi-warn): Remove.
25812 (check-abi-%): Remove check-abi-warn usage.
25814 * configure.in: Remove check-abi configure option.
25815 * configure: Regenerated.
25816 * config.make.in (enable-check-abi): Remove.
25818 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25821 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25822 double functions to double *_finite functions.
25825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25826 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25828 * stdio-common/Makefile (tests): Add tst-sprintf3.
25829 * stdio-common/tst-sprintf3.c: New file.
25831 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25832 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25834 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25836 * conform/conformtest.pl: Remove duplicate typed-constant
25839 2012-04-28 David S. Miller <davem@davemloft.net>
25841 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25842 (check-abi-%): Remove AWK script prerequisite and explicit
25844 (check-abi): Rewrite to just diff the symlist with the abilist.
25845 (config-tls, config-abi-config): Delete, no longer used.
25846 (update-abi-%): Remove AWK script and explicit abilist directory.
25847 (update-abi): Rewrite to simply compare and conditionally copy the
25848 symlist and the sysdep abilist file. Remove update-abi-config
25850 * abilist/ld.abilist: Remove.
25851 * abilist/libBrokenLocale.abilist: Remove.
25852 * abilist/libanl.abilist: Remove.
25853 * abilist/libcrypt.abilist: Remove.
25854 * abilist/libdl.abilist: Remove.
25855 * abilist/librt.abilist: Remove.
25856 * abilist/libthread_db.abilist: Remove.
25857 * abilist/libutil.abilist: Remove.
25858 * scripts/extract-abilist.awk: Remove.
25859 * scripts/merge-abilist.awk: Remove.
25860 * sysdeps/generic/libcidn.abilist: New file.
25861 * sysdeps/generic/libnss_compat.abilist: New file.
25862 * sysdeps/generic/libnss_db.abilist: New file.
25863 * sysdeps/generic/libnss_dns.abilist: New file.
25864 * sysdeps/generic/libnss_files.abilist: New file.
25865 * sysdeps/generic/libnss_hesiod.abilist: New file.
25866 * sysdeps/generic/libnss_nis.abilist: New file.
25867 * sysdeps/generic/libnss_nisplus.abilist: New file.
25868 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25869 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25870 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25873 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25874 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25875 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25876 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25877 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25878 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25879 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25880 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25882 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25883 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25884 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25885 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25887 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25888 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25889 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25890 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25891 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25892 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25895 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25896 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25898 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26001 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26002 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26003 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26006 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26007 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26008 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26009 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26010 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26011 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26013 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26014 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26066 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26068 * conform/conformtest.pl: Fix typo in handling typed-constant from
26071 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26073 * README: Cut down references to pre-2.6 Linux kernels and
26074 Linuxthreads. Update lists of configurations in libc and ports
26075 and sort alphabetically. Say "or newer" with Linux kernel version
26078 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26080 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26083 * math/libm-test.inc (logb_test_downward): New test to expose
26084 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26087 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26090 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26092 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26093 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26095 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26097 * sysdeps/unix/i386/brk.S: Remove file.
26098 * sysdeps/unix/i386/dl-brk.S: Likewise.
26099 * sysdeps/unix/i386/pipe.S: Likewise.
26100 * sysdeps/unix/i386/sigreturn.S: Likewise.
26101 * sysdeps/unix/i386/syscall.S: Likewise.
26102 * sysdeps/unix/i386/vfork.S: Likewise.
26103 * sysdeps/unix/i386/wait.S: Likewise.
26105 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26106 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26108 * configure.in (arm*-none*): Do not allow without
26109 --enable-hacker-mode.
26110 (netbsd*): Remove case setting base_os.
26111 (386bsd*): Likewise.
26112 (freebsd*): Likewise.
26115 (sunos*): Likewise.
26116 (ultrix*): Likewise.
26117 (newsos*): Likewise.
26118 (dynix*): Likewise.
26124 (minix*): Likewise.
26125 (irix4*): Likewise.
26126 (irix6*): Likewise.
26127 (solaris[2-9]*): Likewise.
26129 * configure: Regenerated.
26131 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26135 overflow or cancellation in calculating denominator.
26136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26138 down expression to avoid unexpected rounding in newer GCCs.
26139 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26141 2012-04-26 David S. Miller <davem@davemloft.net>
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26144 long-double compat symbols.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26159 2012-04-25 David S. Miller <davem@davemloft.net>
26161 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26162 HWCAP_* values only after the memory barriers have been defined.
26163 (atomic_full_barrier): Define.
26164 (atomic_read_barrier): Define.
26165 (atomic_write_barrier): Define.
26167 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26169 * shlib-versions: Add libgcc_s version information.
26170 * sysdeps/generic/libgcc_s.h: Remove.
26171 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26173 * sysdeps/gnu/unwind-resume.c: Likewise.
26174 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26176 2012-04-25 David S. Miller <davem@davemloft.net>
26178 * sysdeps/unix/sparc/brk.S: Delete.
26179 * sysdeps/unix/sparc/dl-brk.S: Delete.
26180 * sysdeps/unix/sparc/pipe.S: Delete.
26181 * sysdeps/unix/sparc/sysdep.S: Delete.
26182 * sysdeps/unix/sparc/sysdep.h: Delete.
26183 * sysdeps/unix/sparc/vfork.S: Delete.
26184 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26185 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26187 ret_ERRVAL, r0, r1, MOVE): Define.
26188 (JUMPTARGET): Remove.
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26190 sysdeps/unix/sparc/sysdep.h
26191 (ENTRY, END): Remove.
26192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26194 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26196 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26197 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26200 * timezone/README: Update upstream location and email address for
26202 * timezone/zdump.c: Update from tzcode 2012b.
26203 * timezone/zic.c: Likewise.
26205 * configure.in (libc_cv_as_needed): Remove test.
26206 * configure: Regenerated.
26207 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26208 conditional definition.
26209 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26210 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26211 * config.make.in (have-as-needed): Remove variable.
26213 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26214 Paul Pluzhnikov <ppluzhnikov@google.com>
26216 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26219 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26221 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26222 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26223 * sysdeps/sh/strlen.S: Likewise.
26225 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26227 * sysdeps/unix/fork.S: Remove file.
26228 * sysdeps/unix/i386/fork.S: Likewise.
26229 * sysdeps/unix/sparc/fork.S: Likewise.
26231 * sysdeps/unix/system.c: Remove file.
26232 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26234 * sysdeps/unix/getegid.S: Remove file.
26235 * sysdeps/unix/geteuid.S: Likewise.
26237 2012-04-24 Roland McGrath <roland@hack.frob.com>
26239 * scripts/check-localplt.awk: New file.
26240 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26242 * scripts/data/localplt-generic.data: Add a comment.
26244 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26245 NODE when __dir_mkfile failed.
26246 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26247 Reported by Ludovic Courtès <ludo@gnu.org>.
26249 2012-04-24 Andreas Jaeger <aj@suse.de>
26251 * Makerules (common-clean): Also remove gen-as-const-headers
26254 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26256 * Makerules (native-compile): Do not change working directory for
26257 build. Use $(OUTPUT_OPTION) in command.
26258 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26260 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26263 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26264 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26265 * math/libm-test.inc (floor_test): Add more tests.
26266 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26268 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26270 * sysdeps/unix/getdents.c: Remove file.
26271 * sysdeps/unix/sysv/getdents.c: Likewise.
26272 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26274 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26275 sysdeps/unix/mman/syscalls.list.
26277 (mprotect): Likewise.
26279 (munmap): Likewise.
26280 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26281 * sysdeps/unix/mman/syscalls.list: Remove.
26282 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26284 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26285 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26286 * configure: Regenerated.
26287 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26288 $(libgcc_s_suffix).
26289 * config.make.in (libgcc_s_suffix): Remove variable.
26291 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26293 * sysdeps/unix/sysv/gethostname.c: Move to ...
26294 * sysdeps/posix/gethostname.c: ... here.
26296 * sysdeps/unix/execve.S: Remove file.
26298 * sysdeps/unix/_exit.S: Remove file.
26300 2012-04-23 Andreas Jaeger <aj@suse.de>
26303 * manual/Makefile: Remove make dist support, there's no
26304 need for a stand-alone documentation tar ball.
26305 (TEXI2DVI): Define always, it's not in Makeconfig.
26308 (edition): Removed.
26309 (glibc-doc-$(edition).tar): Removed
26313 (ETAGS): Remove, it's in Makeconfig.
26314 (move-if-change): Remove, it's in Makeconfig.
26316 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26319 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26320 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26321 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26322 (strtod_l, strtof_l, strtold_l): Remove __wur.
26323 It is not necessarily an error to ignore strtol's return value.
26324 One can reliably look at the stored endptr to decide whether
26325 the number had valid syntax.
26327 2012-04-21 Andreas Jaeger <aj@suse.de>
26330 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26332 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26335 * sysdeps/unix/sysv/Versions: Remove file.
26337 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26342 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26346 version from __vm86.
26348 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26350 * sysdeps/unix/common/lxstat.c: Remove file.
26351 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26353 * sysdeps/unix/sysv/Makefile: Remove file.
26355 * sysdeps/unix/sysv/direct.h: Remove file.
26357 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26358 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26359 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26360 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26361 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26362 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26363 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26365 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26367 * sysdeps/unix/xmknod.c: Remove file.
26368 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26370 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26372 * sysdeps/unix/sysv/i386/time.S: Remove file.
26374 * sysdeps/unix/fxstat.c: Remove file.
26375 * sysdeps/unix/xstat.c: Likewise.
26376 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26378 * sysdeps/unix/sysv/sigaction.c: Remove file.
26380 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26381 (sysdep_headers): Remove variable.
26382 [termio.h not in sysdep_headers] (generated): Likewise.
26383 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26384 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26385 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26386 * sysdeps/unix/sysv/tcflow.c: Likewise.
26387 * sysdeps/unix/sysv/tcflush.c: Likewise.
26388 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26389 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26390 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26391 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26392 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26394 * sysdeps/unix/siglist.c: Remove file.
26396 * sysdeps/unix/getppid.S: Remove file.
26398 * sysdeps/unix/mkdir.c: Remove file.
26399 * sysdeps/unix/rmdir.c: Likewise.
26401 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26403 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26405 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26406 errlist-compat value.
26408 2012-04-18 David S. Miller <davem@davemloft.net>
26410 * sysdeps/generic/memcopy.h (reg_char): Delete.
26411 * debug/strcat_chk.c: Use char, not reg_char.
26412 * debug/strcpy_chk.c: Likewise.
26413 * debug/strncat_chk.c: Likewise.
26414 * debug/strncpy_chk.c: Likewise.
26415 * string/memchr.c: Likewise.
26416 * string/memrchr.c: Likewise.
26417 * string/rawmemchr.c: Likewise.
26418 * string/strcat.c: Likewise.
26419 * string/strchr.c: Likewise.
26420 * string/strchrnul.c: Likewise.
26421 * string/strcmp.c: Likewise.
26422 * string/strcpy.c: Likewise.
26423 * string/strncat.c: Likewise.
26424 * string/strncmp.c: Likewise.
26425 * string/strncpy.c: Likewise.
26427 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26429 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26430 __builtin_memcopy is called when src and dest ranges are known to not
26433 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26436 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26437 fwd_align_merge macro call.
26438 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26439 bwd_align_merge macro call.
26440 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26442 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26445 bwd_align_merge macros.
26446 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26447 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26448 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26450 2012-04-18 David S. Miller <davem@davemloft.net>
26452 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26454 2012-04-18 Andreas Jaeger <aj@suse.de>
26457 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26458 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26462 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26463 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26465 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26466 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26467 Adjust for changed ldbl-128 files.
26469 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26470 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26471 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26473 2012-04-17 David S. Miller <davem@davemloft.net>
26475 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26477 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26479 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26480 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26481 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26482 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26483 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26484 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26486 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26489 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26490 * math/libm-test.inc: Add ilogb errno and exception tests.
26491 * math/w_ilogb.c: New file: ilogb wrapper.
26492 * math/w_ilogbf.c: New file: ilogbf wrapper.
26493 * math/w_ilogbl.c: New file: ilogbl wrapper.
26494 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26495 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26496 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26497 exception being thrown with 0.0 as argument.
26498 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26499 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26500 exception being thrown with 0.0 as argument.
26501 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26502 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26503 exception being thrown with 0.0 as argument.
26504 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26505 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26506 exception being thrown with 0.0 as argument.
26507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26508 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26510 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26511 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26512 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26513 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26514 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26515 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26517 2012-04-17 Petr Baudis <pasky@ucw.cz>
26519 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26522 2012-04-16 Marek Polacek <polacek@redhat.com>
26524 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26526 2012-04-16 Marek Polacek <polacek@redhat.com>
26528 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26529 operands of fdivp instruction.
26531 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26533 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26534 * elf/tst-auditmod3b.c: Likewise.
26535 * elf/tst-auditmod4b.c: Likewise.
26536 * elf/tst-auditmod5b.c: Likewise.
26537 * elf/tst-auditmod6b.c: Likewise.
26538 * elf/tst-auditmod6c.c: Likewise.
26539 * elf/tst-auditmod7b.c: Likewise.
26540 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26541 * sysdeps/x86_64/preconfigure.in: Likewise.
26542 * sysdeps/x86_64/preconfigure: Regenerated.
26544 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26546 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26549 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26552 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26554 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26557 * locale/iso-639.def: Fix gl language name. Spotted by
26560 2012-04-12 Roland McGrath <roland@hack.frob.com>
26563 * libio/libio.h (__io_write_fn): Update comment.
26565 2012-04-12 Petr Baudis <pasky@ucw.cz>
26568 * stdio.texi (Hook Functions): The user provided writer function
26569 is not allowed to return -1.
26571 2012-04-11 David S. Miller <davem@davemloft.net>
26573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26575 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26577 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26578 Add a leading slash to rtkaio.
26580 2012-04-11 Jim Meyering <meyering@redhat.com>
26583 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26584 It is not necessarily an error to ignore fwrite's return
26585 value. One can reliably use ferror to test for errors after
26588 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26590 * bits/types.h (__snseconds_t): New type.
26591 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26593 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26595 (__SNSECONDS_T_TYPE): Likewise.
26596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26597 (__SNSECONDS_T_TYPE): Likewise.
26598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26599 (__SNSECONDS_T_TYPE): Likewise.
26601 2012-04-10 Andreas Jaeger <aj@suse.de>
26604 * manual/time.texi (Processor Time): Return type of times is
26605 elapsed real time since an arbitrary point in the past.
26606 (CPU Time): Move CLK_TCK from here...
26607 (Processor Time): ...to here. Correct description.
26608 * manual/conf.texi (Constants for Sysconf): Correct description of
26611 2012-04-10 David S. Miller <davem@davemloft.net>
26614 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26615 where the is a gap between DT_REL(A) and DT_JMPREL.
26617 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26619 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26620 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26621 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26623 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26625 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26626 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26627 (dl_main): Handle --inhibit-cache.
26628 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26630 * elf/dl-load.c (_dl_map_object): Use it.
26631 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26633 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26636 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26637 (__ieee754_powl): Saturate large exponents rather than testing for
26638 overflow of y*log2(x).
26639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26640 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26644 * math/s_ctan.c: Include <float.h>.
26645 (__ctan): Avoid internal overflow or cancellation in calculating
26647 * math/s_ctanf.c: Likewise.
26648 * math/s_ctanl.c: Likewise.
26649 * math/s_ctanh.c: Likewise.
26650 * math/s_ctanhf.c: Likewise.
26651 * math/s_ctanhl.c: Likewise.
26652 * math/libm-test.inc (ctan_test): Add more tests.
26653 (ctanh_test): Likewise.
26654 * sysdeps/i386/fpu/libm-test-ulps: Update.
26655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657 2012-04-09 Andreas Jaeger <aj@suse.de>
26660 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26661 is an optional BSD extension.
26664 * manual/stdio.texi (Opening Streams): Document additional fopen
26667 2012-04-09 Roland McGrath <roland@hack.frob.com>
26669 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26670 %eax without telling the compiler.
26672 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26675 * manual/install.texi: Use sourceware.org.
26677 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26680 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26681 (__ieee754_pow): Generate overflow and underflow using huge*huge
26682 and tiny*tiny rather than just returning constant infinity or zero
26683 for large exponents.
26684 * math/libm-test.inc (pow_test): Require overflow exceptions for
26685 applicable cases of large exponents.
26688 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26689 (__ieee754_pow): Use iterative multiplication algorithm only for
26690 integer exponents with absolute value below 1024. Check for odd
26691 integer exponents when using algorithm for real exponents.
26692 * math/libm-test.inc (pow_test): Add more tests.
26693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26695 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26698 * math/libm-test.inc (exp_test): Do not allow overflow exception
26701 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26704 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26705 instead of __kernel_standard_f.
26707 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26709 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26710 * sysdeps/x86_64/memset_chk.S: Likewise.
26712 2012-04-08 Andreas Jaeger <aj@suse.de>
26715 * manual/startup.texi (Environment Access): Describe return value
26716 for putenv and setenv.
26719 * manual/filesys.texi (Directory Entries): Add description for
26723 * manual/filesys.texi (Directory Entries): Clarify that it's file
26724 system not operating system in the description of DT_UNKNOWN.
26727 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26729 2012-04-08 Stephen Compall <s11@member.fsf.org>
26732 * manual/llio.texi (Opening and Closing Files): Add cross
26733 reference to explain mode argument.
26735 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26737 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26738 * sysdeps/x86_64/memset_chk.S: Likewise.
26740 2012-04-07 David S. Miller <davem@davemloft.net>
26742 * elf/elf.h (R_SPARC_WDISP10): Define.
26743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26746 R_SPARC_SIZE64 and R_SPARC_H34.
26748 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26751 conditions and remove no longer applicable assertion.
26753 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26755 * bits/byteswap.h: Include <features.h>.
26756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26759 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26761 * bits/byteswap.h (__bswap_16): Removed.
26762 Include <bits/byteswap-16.h> to get __bswap_16.
26763 * sysdeps/i386/bits/byteswap.h: Likewise.
26764 * sysdeps/s390/bits/byteswap.h: Likewise.
26765 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26766 * bits/byteswap-16.h: New file.
26767 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26768 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26769 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26770 * string/Makefile (headers): Add bits/byteswap-16.h.
26772 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26775 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26777 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26778 * nss/tst-nss-static.c: New.
26780 2012-04-06 Robert Millan <rmh@gnu.org>
26783 * manual/llio.texi (File Position Primitive): lseek
26784 refers to WHENCE when it really means OFFSET.
26786 2012-04-06 Andreas Jaeger <aj@suse.de>
26788 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26789 strncmp declarations.
26791 * abilist/libc.abilist: Add __poll and __ppoll.
26793 2012-04-05 David S. Miller <davem@davemloft.net>
26795 * scripts/check-local-headers.sh: Accept a host triplet in the
26796 path matched by the exclude regexp.
26798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26800 * sysdeps/powerpc/powerpc32/dl-machine.h
26801 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26802 * sysdeps/s390/s390-32/dl-machine.h
26803 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26804 * sysdeps/sparc/sparc32/dl-machine.h
26805 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26806 * sysdeps/sparc/sparc64/dl-machine.h
26807 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26809 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26811 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26812 undefined symbol errors.
26814 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26817 2012-04-05 Michael Matz <matz@suse.de>
26820 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26822 2012-04-05 Andreas Jaeger <aj@suse.de>
26825 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26828 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26831 which ROUND is no valid rounding mode.
26833 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26835 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26837 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26839 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26841 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26842 an exception using FPU order intentionally.
26844 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26846 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26847 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26848 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26849 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26851 2012-04-05 Simon Josefsson <simon@josefsson.org>
26854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26855 EINVAL when BUFLEN is too smal.
26857 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26860 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26861 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26863 2012-04-03 Andreas Jaeger <aj@suse.de>
26866 * manual/setjmp.texi (System V contexts): Fix sentence.
26869 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26870 New macro for this case.
26871 [!__GNUC__] (__bswap_64): New inline function for this case.
26872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26873 * bits/byteswap.h: Likewise.
26874 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26875 ull, guard with __GLIBC_HAVE_LONG_LONG.
26877 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26878 __GLIBC_HAVE_LONG_LONG.
26880 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26881 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26883 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26887 inptr and inend, rather than using last_ch.
26889 2012-04-02 David S. Miller <davem@davemloft.net>
26891 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26892 * stdio-common/printf-parse.h (read_int): Change return type to
26893 'int', return -1 on INT_MAX overflow.
26894 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26895 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26896 overflows INT_MAX. Check for overflow of in-format-string precision
26897 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26898 SIZE_MAX not INT_MAX for integer overflow test.
26899 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26900 skip the construct in the format string but do not record anything.
26901 * stdio-common/bug22.c: Adjust to test both width/prevision
26902 INT_MAX overflow as well as total length INT_MAX overflow. Check
26903 explicitly for proper errno values.
26905 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26907 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26909 * string/test-strcmp.c [! WIDE]: Likewise.
26910 * time/tst-mktime2.c: Likewise for INT_MAX.
26911 * string/test-string.h: #include <sys/param.h> for MIN.
26913 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26914 * sysdeps/i386/init-first.c (init): Likewise.
26915 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26916 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26917 * sysdeps/sh/init-first.c (init): Likewise.
26919 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26921 * po/ru.po: Update from translation team.
26922 * po/vi.po: Likewise.
26924 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26926 * resolv/nss_dns/dns-host.c: Merge copyright years.
26928 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26931 Optimize memcpy with prefetch if
26932 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26933 src, dst pointers have unequal 16 byte alignments.
26935 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26938 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26939 from a CNAME entry and return the minimum ttl for the query.
26940 (gaih_getanswer_slice): Likewise.
26942 2012-03-30 Jeff Law <law@redhat.com>
26944 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26946 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26947 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26949 * resolv/nss_dns/dns-host.c: Update copyright year.
26951 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26953 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26954 requests to save a system call. Fix check that all bytes are sent.
26956 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26957 comments for sendmmsg.
26959 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26963 with only 1 character between 0x0041 and 0x01b0.
26964 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26965 * wcsmbs/tst-mbsnrtowcs.c: New file.
26967 2012-03-29 David S. Miller <davem@davemloft.net>
26969 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26970 small copies by hand.
26972 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26975 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26976 _nss_compat_initgroups_dyn): Fall back to malloc/free
26977 for large group memberships.
26979 2012-03-28 David S. Miller <davem@davemloft.net>
26981 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26982 that branches into memcpy.
26983 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26986 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26989 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26990 implementation too.
26991 * sysdeps/sparc/mempcpy.S: New file.
26993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26994 the IFUNC routine in the libc case.
26995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26997 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26999 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27000 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27001 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27002 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27003 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27004 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27006 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27007 loop to 256 bytes instead of 64 bytes and fix test signedness.
27009 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27010 * sysdeps/sparc/sparc32/Makefile: rather than here...
27011 * sysdeps/sparc/sparc64/Makefile: and here.
27013 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27015 * malloc/mallocbug.c: Avoid warnings about unused variables.
27017 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27020 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27021 in the right place. Discard and retry query if response is
27022 larger than input buffer size.
27024 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27030 x for large integer exponent.
27031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27033 sign of result as needed afterwards.
27034 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27035 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27036 result for underflowing pow the same as for overflow.
27037 (__kernel_standard_l): Handle powl overflow and underflow here
27038 rather than calling __kernel_standard.
27039 * math/libm-test.inc (pow_test): Add more tests.
27054 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27055 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27056 (__kernel_standard_l): New function.
27057 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27059 * math/w_acosl.c (__acosl): Likewise.
27060 * math/w_asinl.c (__asinl): Likewise.
27061 * math/w_atan2l.c (__atan2l): Likewise.
27062 * math/w_atanhl.c (__atanhl): Likewise.
27063 * math/w_coshl.c (__coshl): Likewise.
27064 * math/w_exp10l.c (__exp10l): Likewise.
27065 * math/w_exp2l.c (__exp2l): Likewise.
27066 * math/w_fmodl.c (__fmodl): Likewise.
27067 * math/w_hypotl.c (__hypotl): Likewise.
27068 * math/w_j0l.c (__j0l, __y0l): Likewise.
27069 * math/w_j1l.c (__j1l, __y1l): Likewise.
27070 * math/w_jnl.c (__jnl, __ynl): Likewise.
27071 * math/w_lgammal.c (__lgammal): Likewise.
27072 * math/w_log10l.c (__log10l): Likewise.
27073 * math/w_log2l.c (__log2l): Likewise.
27074 * math/w_logl.c (__logl): Likewise.
27075 * math/w_powl.c (__powl): Likewise.
27076 * math/w_remainderl.c (__remainderl): Likewise.
27077 * math/w_scalbl.c (sysv_scalbl): Likewise.
27078 * math/w_sinhl.c (__sinhl): Likewise.
27079 * math/w_sqrtl.c (__sqrtl): Likewise.
27080 * math/w_tgammal.c (__tgammal): Likewise.
27081 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27082 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27083 * math/libm-test.inc (acos_test): Add more tests.
27084 (acosh_test): Likewise.
27085 (asin_test): Likewise.
27086 (atanh_test): Likewise.
27087 (exp_test): Likewise.
27088 (exp10_test): Likewise.
27089 (exp2_test): Likewise.
27090 (expm1_test): Likewise.
27091 (lgamma_test): Likewise.
27092 (log_test): Likewise.
27093 (log10_test): Likewise.
27094 (log1p_test): Likewise.
27095 (log2_test): Likewise.
27096 (pow_test): Do not allow some spurious overflow exceptions.
27097 (sqrt_test): Add more tests.
27098 (tgamma_test): Likewise.
27099 (y0_test): Likewise.
27100 (y1_test): Likewise.
27101 (yn_test): Likewise.
27103 2012-03-27 Anton Blanchard <anton@samba.org>
27105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27111 2012-03-27 David S. Miller <davem@davemloft.net>
27113 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27115 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27116 have-as-vis3 check.
27118 2012-03-27 Andreas Jaeger <aj@suse.de>
27120 * sysdeps/x86_64/elf/configure.in: Moved to ...
27121 * sysdeps/x86_64/configure.in: ... here.
27122 * sysdeps/x86_64/elf/start.S: Moved to ...
27123 * sysdeps/x86_64/start.S: ... here.
27124 * sysdeps/x86_64/elf/configure: Delete.
27126 * sysdeps/x86_64/configure.in: Merge contents from
27127 sysdeps/i386/configure.in (without i686 check).
27129 * sysdeps/i386/elf/Versions: Merge into ...
27130 * sysdeps/i386/Versions: ... this.
27131 * sysdeps/i386/elf/Versions: Delete file.
27132 * sysdeps/i386/elf/start.S: Moved to ...
27133 * sysdeps/i386/start.S: ...here.
27134 * sysdeps/i386/elf/configure.in: Merge into...
27135 * sysdeps/i386/configure.in: ...here.
27136 * sysdeps/i386/elf/configure.in: Delete file.
27137 * sysdeps/i386/elf/configure: Delete file.
27139 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27140 * debug/backtracesyms.c: ... here.
27141 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27142 * debug/backtracesymsfd.c: ... here.
27143 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27144 * sysdeps/generic/ifunc-sel.h: ... here.
27146 * sysdeps/unix/i386/start.c: Delete file.
27147 * sysdeps/unix/sparc/start.c: Delete file.
27148 * sysdeps/unix/start.c: Delete file.
27150 * sysdeps/sh/elf/configure.in: Moved to ...
27151 * sysdeps/sh/configure.in: ... here.
27152 * sysdeps/sh/elf/start.S: Moved to ...
27153 * sysdeps/sh/start.S: ... here.
27154 * sysdeps/sh/elf/configure: Delete file.
27156 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27157 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27158 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27159 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27160 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27161 * sysdeps/powerpc/powerpc64/start.S: here.
27162 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27163 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27164 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27165 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27166 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27168 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27169 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27170 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27171 * sysdeps/powerpc/powerpc32/start.S: ... here.
27172 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27173 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27174 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27176 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27177 * sysdeps/powerpc/ifunc-sel.h: ... here.
27178 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27179 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27181 * sysdeps/sparc/elf/configure.in: Moved to ...
27182 * sysdeps/sparc/configure.in: ... here.
27183 * sysdeps/sparc/elf/configure: Delete file.
27184 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27185 * sysdeps/sparc/sparc32/start.S: ... here.
27186 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27187 * sysdeps/sparc/sparc64/start.S: ... here.
27188 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27189 * sysdeps/sparc/sparc32/Makefile: ... this.
27190 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27191 * sysdeps/sparc/sparc64/Makefile: ... this.
27193 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27194 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27195 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27196 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27197 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27198 * sysdeps/s390/s390-32/setjmp.S: ... here.
27199 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27200 * sysdeps/s390/s390-32/configure.in: ... here.
27201 * sysdeps/s390/s390-32/elf/configure: Delete file.
27202 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27203 * sysdeps/s390/s390-32/start.S: ... here.
27205 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27206 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27207 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27208 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27209 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27210 * sysdeps/s390/s390-64/setjmp.S: ... here.
27211 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27212 * sysdeps/s390/s390-64/configure.in: ... here
27213 * sysdeps/s390/s390-64/elf/configure: Delete file.
27214 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27215 * sysdeps/s390/s390-64/start.S: ... here.
27216 * sysdeps/s390/s390-64/elf/configure: Delete.
27218 * configure.in: Remove support for elf directories in sysdeps.
27220 * configure: Regenerated.
27221 * sysdeps/i386/configure: Regenerated.
27222 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27223 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27224 * sysdeps/s390/s390-32/configure: Regenerated.
27225 * sysdeps/s390/s390-64/configure: Regenerated.
27226 * sysdeps/sh/configure: Regenerated.
27227 * sysdeps/sparc/configure: Regenerated.
27228 * sysdeps/x86_64/configure: Regenerated.
27230 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27235 denormal result into account.
27237 2012-03-25 Roland McGrath <roland@hack.frob.com>
27239 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27240 Reported by Allan McRae <allan@archlinux.org>.
27242 2012-03-23 Jeff Law <law@redhat.com>
27244 * nss/getnssent.c (__nss_getent): Fix typo.
27246 2012-03-23 David S. Miller <davem@davemloft.net>
27248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27250 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27252 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27253 to pad to uint64_t for each field.
27254 (dl_tls_index): Replace unsigned long with uint64_t.
27256 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27257 Paul Pluzhnikov <ppluzhnikov@google.com>
27260 * grp/Makefile (otherlibs): Don't set it.
27261 * inet/Makefile (otherlibs): Likewise.
27262 * login/Makefile (otherlibs): Likewise.
27263 * nscd/Makefile (otherlibs): Likewise.
27264 * posix/Makefile (otherlibs): Likewise.
27265 * pwd/Makefile (otherlibs): Likewise.
27266 * rt/Makefile (otherlibs): Likewise.
27267 * sunrpc/Makefile (otherlibs): Likewise.
27268 * nss/Makefile (otherlibs): Likewise.
27269 Add libnss_files to routines and static-only-routines.
27270 ($(objpfx)getent): Remove rule.
27271 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27272 static-only-routines.
27274 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27277 * math/s_cexp.c: Include <float.h>.
27278 (__cexp): Handle exp result overflowing not necessarily
27279 overflowing both real and imaginary parts of result.
27280 * math/s_cexpf.c: Likewise.
27281 * math/s_cexpl.c: Likewise.
27282 * math/libm-test.inc (cexp_test): Add more tests.
27283 * sysdeps/i386/fpu/libm-test-ulps: Update.
27284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27286 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27288 * include/link.h (ELFW): New macro.
27289 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27290 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27292 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27294 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27297 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27299 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27301 (struct La_x32_retval): Likewise.
27303 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27305 * sysdeps/x86_64/preconfigure.in: New file.
27306 * sysdeps/x86_64/preconfigure: New generated file.
27308 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27311 * math/e_exp2l.c: Include <float.h>.
27312 (__ieee754_exp2l): Handle overflow and underflow cases
27313 separately. Only pass fractional part of argument to
27315 * math/libm-test.inc (exp2_test): Add more tests.
27317 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27318 negating x to take absolute value.
27319 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27321 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27322 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27324 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27325 computing low part if x was negated.
27326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27328 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27330 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27331 la_x32_gnu_pltexit.
27332 (pltexit): Cast int_retval to ptrdiff_t.
27333 * elf/tst-auditmod3b.c: Likewise.
27334 * elf/tst-auditmod4b.c: Likewise.
27335 * elf/tst-auditmod5b.c: Likewise.
27336 * elf/tst-auditmod6b.c: Likewise.
27337 * elf/tst-auditmod6c.c: Likewise.
27338 * elf/tst-auditmod7b.c: Likewise.
27340 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27341 and x32_gnu_pltexit.
27343 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27344 __ELF_NATIVE_CLASS.
27345 (La_x32_regs): New macro.
27346 (La_x32_retval): Likewise.
27347 (la_x32_gnu_pltenter): New function prototype.
27348 (la_x32_gnu_pltexit): Likewise.
27350 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27357 * configure.in (libc_cv_cc_nofma): Check for option to disable
27358 generation of FMA instructions.
27359 * configure: Regenerate.
27360 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27361 * sysdeps/ieee754/dbl-64/Makefile: New file.
27362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27363 Remove brandred-fma4.
27364 (CFLAGS-brandred-fma4.c): Remove.
27365 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27366 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27371 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27373 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27374 LLONG_MAX != LONG_MAX.
27375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27376 (_fitoa_word): Likewise.
27377 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27378 LLONG_MAX != LONG_MAX.
27379 * stdio-common/_itowa.h: Include <_itoa.h>.
27380 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27381 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27382 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27383 only if not defined.
27384 (_ITOA_WORD_TYPE): Likewise.
27385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27386 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27388 2012-03-21 David S. Miller <davem@davemloft.net>
27390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27392 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27395 of x86_64 when setting libc_cv_slibdir, libdir and
27397 * sysdeps/unix/sysv/linux/configure: Regenerated.
27399 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27401 * manual/lang.texi (Old Varargs): Remove section.
27402 (How Variadic): Update menu.
27403 (va_start): Do not mention varargs.h.
27405 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27406 Joseph Myers <joseph@codesourcery.com>
27408 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27410 * configure: Regenerated.
27412 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27414 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27415 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27418 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27421 * Makefile (files-for-dist): Remove NOTES.
27422 (NOTES): Remove rule.
27423 * README: Don't refer to NOTES.
27424 * manual/creature.texi: Don't include macros.texi.
27425 * manual/intro.texi (creature.texi): Remove comment referring to
27428 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27429 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27430 * configure: Regenerated.
27431 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27432 LIBC_TRY_CC_OPTION.
27433 (libc_cv_as_i686): Likewise.
27434 (libc_cv_cc_avx): Likewise.
27435 (libc_cv_cc_sse2avx): Likewise.
27436 (libc_cv_cc_fma4): Likewise.
27437 (libc_cv_cc_novzeroupper): Likewise.
27438 * sysdeps/i386/configure: Regenerated.
27441 * sysdeps/i386/fpu/s_cexp.S: Remove.
27442 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27443 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27444 * math/libm-test.inc (cexp_test): Add more tests.
27445 * sysdeps/i386/fpu/libm-test-ulps: Update.
27446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27448 2012-03-21 Allan McRae <allan@archlinux.org>
27450 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27452 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27455 * math/w_exp2.c: Do not include <float.h>.
27456 (o_threshold, u_threshold): Remove.
27457 (__exp2): Calculate result before checking finiteness and calling
27459 * math/w_exp2f.c: Likewise.
27460 * math/w_exp2l.c: Likewise.
27461 * math/libm-test.inc (exp2_test): Require overflow exception for
27465 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27466 range of signed 64-bit integers before using fistpll. Remove
27467 checks for whether integers fit in mantissa bits.
27468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27469 the range of signed 32-bit integers before using fistpl. Remove
27470 checks for whether integers fit in mantissa bits.
27471 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27472 (__ieee754_powl): Test for y outside the range of signed 64-bit
27473 integers before using fistpll. Reduce 64-bit values to 63-bit
27475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27476 divide-by-zero is raised for zero to large negative powers.
27477 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27478 (__ieee754_powl): Test for y outside the range of signed 64-bit
27479 integers before using fistpll. Reduce 64-bit values to 63-bit
27481 * math/libm-test.inc (pow_test): Add more tests.
27483 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27485 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27486 <stdio-common/_itoa.h>.
27487 * debug/segfault.c: Likewise.
27488 * elf/dl-cache.c: Likewise.
27489 * elf/dl-minimal.c: Likewise.
27490 * elf/dl-misc.c: Likewise.
27491 * elf/dl-sysdep.c: Likewise.
27492 * elf/dl-version.c: Likewise.
27493 * elf/rtld.c: Likewise.
27494 * hurd/hurdsock.c: Likewise.
27495 * hurd/lookup-retry.c: Likewise.
27496 * malloc/malloc.c: Likewise.
27497 * malloc/mtrace.c: Likewise.
27498 * nscd/nscd_getgr_r.c: Likewise.
27499 * nscd/nscd_getpw_r.c: Likewise.
27500 * nscd/nscd_getserv_r.c: Likewise.
27501 * posix/getopt_init.c: Likewise.
27502 * posix/wordexp.c: Likewise.
27503 * stdio-common/_itoa.c: Likewise.
27504 * stdio-common/printf_fphex.c: Likewise.
27505 * stdio-common/vfprintf.c: Likewise.
27506 * string/_strerror.c: Likewise.
27507 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27508 * sysdeps/i386/i686/hp-timing.h: Likewise.
27509 * sysdeps/mach/_strerror.c: Likewise.
27510 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27511 * sysdeps/mach/hurd/sethostid.c: Likewise.
27512 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27513 * sysdeps/mach/xpg-strerror.c: Likewise.
27514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27516 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27517 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27519 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27521 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27522 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27523 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27524 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27525 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27526 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27527 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27528 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27529 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27530 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27532 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27533 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27534 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27536 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27538 * stdio-common/_itoa.h: Moved to ...
27539 * sysdeps/generic/_itoa.h: Here.
27541 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27543 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27544 instead of "_itoa.h" and "_itowa.h".
27545 * stdio-common/vfprintf.: Likewise.
27547 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27549 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27551 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27552 (__signbit): Likwise.
27553 (llrintf): Likwise.
27556 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27558 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27561 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27563 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27564 OVERFLOW_EXCEPTION_OK.
27565 * math/libm-test.inc ("Philosophy"): Update comment about
27567 (OVERFLOW_EXCEPTION): Define.
27568 (OVERFLOW_EXCEPTION_OK): Likewise.
27569 (INVALID_EXCEPTION_OK): Renumber.
27570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27571 (IGNORE_ZERO_INF_SIGN): Likewise.
27572 (test_exceptions): Handle FE_OVERFLOW.
27573 (exp10_test): Expect overflow exceptions.
27574 (exp2_test): Likewise.
27575 (expm1_test): Likewise.
27576 (nextafter_test): Likewise.
27577 (pow_test): Likewise.
27578 (scalbn_test): Likewise.
27579 (scalbln_test): Likewise.
27581 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27583 * sysdeps/x86_64/bits/atomic.h
27584 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27586 (atomic_exchange_acq): Likewise.
27587 (__arch_exchange_and_add_body): Likewise.
27588 (__arch_add_body): Likewise.
27589 (atomic_add_negative): Likewise.
27590 (atomic_add_zero): Likewise.
27592 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27594 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27595 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27597 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27599 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27600 Check __x86_64__ instead of __WORDSIZE.
27602 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27604 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27606 2012-03-19 David S. Miller <davem@davemloft.net>
27608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27610 * sysdeps/sparc/fpu/fenv_private.h: New file.
27611 * sysdeps/sparc/fpu/math_private.h: Use it.
27612 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27614 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27615 (libc_feholdexcept_setroundl): Remove.
27616 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27618 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27619 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27621 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27623 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27624 int64_t instead of long int.
27625 (INSERT_WORDS64): Likwise.
27627 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27629 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27630 _Unwind_GetCFA return to _Unwind_Ptr first.
27632 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27635 * math/s_clog.c: Include <float.h>.
27636 (__clog): Scale large or subnormal inputs.
27637 * math/s_clogf.c: Likewise.
27638 * math/s_clogl.c: Likewise.
27639 * math/s_clog10.c: Include <float.h>.
27640 (M_LOG10_2): Define.
27641 (__clog10): Scale large or subnormal inputs.
27642 * math/s_clog10f.c: Likewise.
27643 * math/s_clog10l.c: Likewise.
27644 * math/libm-test.inc (clog_test): Add more tests.
27645 (clog10_test): Likewise.
27646 * sysdeps/i386/fpu/libm-test-ulps: Update.
27647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27650 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27652 * math/libm-test.inc (atan2_test): Add another test.
27654 * Makerules (common-objdir-compile): Remove.
27655 * sysdeps/unix/Makefile (config-generated): Do not add
27656 $(unix-generated) to variable.
27657 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27658 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27660 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27662 [generic bits/local_lim.h] (before-compile): Do not append to
27664 [generic bits/local_lim.h] (common-generated): Likewise.
27665 [generic sys/param.h] (before-compile): Do not append to variable.
27666 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27667 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27668 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27671 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27672 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27673 [generic sys/param.h] ($(addprefix
27674 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27675 [generic sys/param.h] (common-generated): Do not append to
27677 [generic sys/param.h] (sysdep_headers): Likewise.
27678 [generic bits/errno.h] (before-compile): Do not append to
27680 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27682 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27683 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27684 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27685 [generic bits/errno.h] (common-generated): Do not append to
27687 [generic bits/ioctls.h] (before-compile): Do not append to
27689 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27691 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27692 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27693 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27695 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27696 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27697 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27698 [generic bits/ioctls.h] (common-generated): Do not append to
27700 [generic sys/syscall.h] (syscall.h): Remove variable.
27701 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27703 [generic sys/syscall.h] (before-compile): Do not append to
27705 [generic sys/syscall.h] (common-generated): Likewise.
27706 * sysdeps/unix/errnos-tmpl.c: Remove file.
27707 * sysdeps/unix/errnos.awk: Likewise.
27708 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27709 * sysdeps/unix/ioctls.awk: Likewise.
27710 * sysdeps/unix/mk-local_lim.c: Likewise.
27711 * sysdeps/unix/snarf-ioctls: Likewise.
27713 2012-03-19 Richard Henderson <rth@twiddle.net>
27715 * sysdeps/i386/fpu/fenv_private.h: New file.
27716 * sysdeps/i386/fpu/math_private.h: Use it.
27717 (math_opt_barrier, math_force_eval): Remove.
27718 (libc_feholdexcept_setround_53bit): Remove.
27719 (libc_feupdateenv_53bit): Remove.
27720 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27721 (math_opt_barrier, math_force_eval): Remove.
27722 (libc_feholdexcept): Remove.
27723 (libc_feholdexcept_setround): Remove.
27724 (libc_fetestexcept, libc_fesetenv): Remove.
27725 (libc_feupdateenv_test): Remove.
27726 (libc_feupdateenv, libc_feholdsetround): Remove.
27727 (libc_feresetround): Remove.
27729 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27730 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27732 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27733 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27734 (libc_feupdateenv_testl): New.
27735 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27736 (libc_feupdateenv_testf): New.
27737 (libc_feupdateenv): Use libc_feupdateenv_test.
27738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27741 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27742 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27743 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27744 (libc_feresetround_noex): New.
27745 (libc_feresetround_noexf): New.
27746 (libc_feresetround_noexl): New.
27747 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27748 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27749 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27750 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27755 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27757 SET_RESTORE_ROUND_NOEX.
27758 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27759 SET_RESTORE_ROUND_NOEXF.
27760 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27761 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27762 (libc_feholdsetroundf): New.
27763 (libc_feresetround, libc_feresetroundf): New.
27765 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27766 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27767 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27769 * sysdeps/generic/math_private.h: Include <fenv.h>.
27770 (default_libc_feholdexcept): New.
27771 (default_libc_feholdexcept_setround): New.
27772 (default_libc_fesetenv, default_libc_feupdateenv): New.
27773 (libc_feholdexcept): Only define if undefined.
27774 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27775 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27776 (libc_feholdexcept_setroundl): Likewise.
27777 (libc_feholdexcept_setround_53bit): Likewise.
27778 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27779 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27780 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27781 (libc_feupdateenv_53bit): Likewise.
27782 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27783 (libc_feholdexcept): Convert from macro to inline function.
27784 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27785 (libc_fesetenv, libc_feupdateenv): Likewise.
27787 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27788 not previously defined.
27789 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27790 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27791 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27792 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27793 * sysdeps/ieee754/flt-32/math_private.h: New file.
27794 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27795 math_private.h below SET_FLOAT_WORD.
27796 (__isnan, __isinf_ns, __finite): Remove.
27797 (__isnanf, __isinf_nsf, __finitef): Remove.
27799 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27803 2012-03-17 David S. Miller <davem@davemloft.net>
27806 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27809 2012-03-16 David S. Miller <davem@davemloft.net>
27811 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27815 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27817 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27818 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27819 sysdep_routines when subdir is sysvipc.
27820 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27821 __getshmlba helper.
27823 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27825 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27827 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27830 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27832 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27833 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27834 (__lround): Renamed to ...
27835 (__llround): This. Replace long int with long long int.
27836 Define lround functions as aliases of llround functions.
27837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27839 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27841 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27842 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27843 adresses to uintptr_t. Replace "long int" and "unsigned long
27844 int" with "greg_t" on va_arg.
27846 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27848 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27849 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27851 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27852 Move e_machine check before EI_CLASS check. Handle x32
27853 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27854 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27855 SKIP_EM_IA_64 and include
27856 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27858 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27859 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27860 (add_system_dir): New macro.
27862 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27863 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27865 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27876 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27878 * math/w_j0f.c (j0f): Likewise.
27880 * math/w_j0l.c (__j0l): Likewise.
27882 * math/w_j1.c (j1): Likewise.
27884 * math/w_j1f.c (j1f): Likewise.
27886 * math/w_j1l.c (__j1l): Likewise.
27888 * math/w_jn.c (jn): Likewise.
27890 * math/w_jnf.c (jnf): Likewise.
27892 * math/w_jnl.c (__jnl): Likewise.
27894 * math/libm-test.inc (j0_test): Add more tests.
27895 (j1_test): Likewise.
27896 (jn_test): Likewise. Add trailing semicolon to existing test.
27897 (y0_test): Likewise.
27898 (y1_test): Likewise.
27899 * sysdeps/i386/fpu/libm-test-ulps: Update.
27900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27905 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27906 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27908 (__tanl): Set errno for infinite argument.
27909 * sysdeps/i386/fpu/mptan.c: Remove.
27910 * sysdeps/i386/fpu/s_tan.S: Likewise.
27911 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27912 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27913 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27914 * math/libm-test.inc (tan_test): Add more tests and enable more
27915 tests for double and long double.
27916 * sysdeps/i386/fpu/libm-test-ulps: Update.
27917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27919 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27921 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27922 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27924 2012-03-16 Roland McGrath <roland@hack.frob.com>
27926 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27927 * configure.in: Use it for both main tree and add-ons.
27928 * configure: Regenerated.
27930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27932 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27934 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27936 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27940 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27941 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27942 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27946 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27948 != 0 for prec == 2.
27949 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27950 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27951 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27952 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27953 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27954 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27955 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27956 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27957 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27958 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27959 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27960 * math/libm-test.inc (cos_test): Add more tests and enable more
27961 tests for long double.
27962 (sin_test): Likewise.
27963 (sincos_test): Likewise.
27964 * sysdeps/i386/fpu/libm-test-ulps: Update.
27965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27967 2012-03-16 David S. Miller <davem@davemloft.net>
27969 * sysdeps/sparc/fpu/math_private.h: New file.
27971 2012-03-15 David S. Miller <davem@davemloft.net>
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27987 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27988 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27990 * sysdeps/sparc/sparc-ifunc.h: New file.
27991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28036 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28038 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28042 2012-03-15 Andreas Jaeger <aj@suse.de>
28045 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28046 ieee754/flt-32 implementation for sin, cos and sincos.
28047 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28048 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28049 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28050 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28051 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28052 ieee754/flt-32 implementation for tan.
28054 * math/libm-test.inc (cos_test): Enable some large input tests for
28056 (sin_test): Likewise.
28057 (sincos_test): Likewise.
28058 (tan_test): Add tests for large input.
28060 * sysdeps/i386/fpu/libm-test-ulps: Update.
28062 2012-03-15 Andreas Jaeger <aj@suse.de>
28065 * math/libm-test.inc (cos_test): Add more test cases.
28066 (sin_test): Likewise.
28067 (sincos_test): Likewise.
28069 2012-03-15 Andreas Jaeger <aj@suse.de>
28072 * math/libm-test.inc (cos_test): Add a test case for large input
28074 (sin_test): Likewise.
28075 (sincos_test): Likewise.
28077 2012-03-15 Andreas Jaeger <aj@suse.de>,
28078 Joseph Myers <joseph@codesourcery.com>
28081 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28082 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28083 * sysdeps/i386/fpu/branred.c: Likewise.
28084 * sysdeps/i386/fpu/dosincos.c: Likewise.
28085 * sysdeps/i386/fpu/mpa.c: Likewise.
28086 * sysdeps/i386/fpu/s_cos.S: Likewise.
28087 * sysdeps/i386/fpu/s_sin.S: Likewise.
28088 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28089 * sysdeps/i386/fpu/sincos32.c: Likewise.
28091 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28093 (libc_feupdateenv_53bit): Define.
28094 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28096 (libc_feupdateenv_53bit): Define.
28098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28099 53 bit (without extend i386 double precision).
28101 * math/libm-test.inc (sincos_test): Add tests for large input.
28105 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28107 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28111 2012-03-15 David S. Miller <davem@davemloft.net>
28113 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28114 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28115 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28116 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28141 fmin/fmax sysdep routines.
28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28144 2012-03-14 David S. Miller <davem@davemloft.net>
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28218 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28223 * sysdeps/sparc/configure.in: New file.
28224 * sysdeps/sparc/configure: Generate.
28225 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28226 * configure: Regenerate.
28227 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28228 * config.make.in (have-as-vis3): New.
28229 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28230 available use -Av9d instead of -Av9a.
28231 * sysdeps/sparc/sparc64/Makefile: Likewise.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28247 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28248 fzeros/fnegs to load 0x80000000 into a float register instead of
28250 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28252 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28256 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28257 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28258 ($(inst_includedir)/bits/syscall.h): Remove rule.
28259 ($(objpfx)bits/syscall.d): Include instead of
28260 $(objpfx)syscall-list.d.
28261 (generated): Change syscall-list.h and syscall-list.d to
28262 bits/syscall.h and bits/syscall.d.
28264 2012-03-14 Roland McGrath <roland@hack.frob.com>
28267 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28269 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28272 * math/s_csqrt.c: Include <float.h>.
28273 (__csqrt): Scale large or subnormal inputs.
28274 * math/s_csqrtf.c: Likewise.
28275 * math/s_csqrtl.c: Likewise.
28276 * math/libm-test.inc (csqrt_test): Add more tests.
28277 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28281 * math/libm-test.inc (hypot_test): Add more tests.
28283 2012-03-13 David S. Miller <davem@davemloft.net>
28286 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28287 double-precision for the calculation instead of scaling.
28289 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28292 manipulate bits before adding and subtracting TWO52[sx].
28293 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28294 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28296 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28298 2012-03-13 David S. Miller <davem@davemloft.net>
28300 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28301 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28303 rtld-global-offsets.h
28304 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28306 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28309 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28311 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28312 'err' in the ifdef scope in which it is actually used.
28314 * nss/nss_db/db-init.c: Include string.h
28316 2012-03-12 David S. Miller <davem@davemloft.net>
28318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28319 masking out of the most significant byte of random value used.
28320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28321 Fix coding style in previous change.
28323 * sysdeps/unix/sysv/linux/kernel-features.h
28324 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28325 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28327 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28330 2012-03-11 David S. Miller <davem@davemloft.net>
28332 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28333 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28335 for 'resultvar' otherwise things get truncated on 64-bit.
28337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28338 Fix masking out of the most significant byte of random value used.
28340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28342 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28346 2012-03-09 David S. Miller <davem@davemloft.net>
28348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28349 variables with appropriate CPP guards.
28350 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28351 frame pointer, not the stack pointer. Correct layout comments. Fix test
28352 on resulting framesize and the management of the outregs buffer for pltexit.
28353 Preserve floating point return values across _dl_call_pltexit call.
28354 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28355 framesize and the management of the outregs buffer for pltexit.
28356 Preserve floating point return values across _dl_call_pltexit
28358 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28359 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28360 (print_exit): Fix format string for return register value.
28362 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28364 * sunrpc/Makefile (others): Add rpcgen.
28365 ($(objpfx)rpcgen): Remove special build rule and dependency on
28367 * sunrpc/rpcgen.c: New file.
28369 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28372 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28373 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28374 * sysdeps/i386/crti.S: Likewise.
28375 * sysdeps/i386/crtn.S: Likewise.
28376 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28377 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28378 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28379 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28380 * sysdeps/sh/crti.S: Likewise.
28381 * sysdeps/sh/crtn.S: Likewise.
28382 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28385 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28387 * locale/programs/locfile-kw.gperf: Likewise.
28388 * locale/programs/charmap-kw.h: Regenerated.
28389 * locale/programs/locfile-kw.h: Likewise.
28392 * intl/plural.y: Replace FSF snail mail address with URL.
28393 * intl/plural.c: Regenerated.
28395 2012-03-09 Richard Henderson <rth@twiddle.net>
28397 * include/math_private.h: Remove file.
28398 * math/math_private.h: Move file ...
28399 * sysdeps/generic/math_private.h: ... here.
28401 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28402 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28403 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28405 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28406 and <math_private.h>.
28407 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28408 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28409 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28410 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28411 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28495 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28498 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28500 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28501 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28512 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28514 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28519 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28521 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28524 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28525 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28526 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28533 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28534 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28536 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28537 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28538 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28540 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28543 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28552 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28553 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28556 * sysdeps/ieee754/k_standard.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28717 * sysdeps/ieee754/s_lib_version.c: Likewise.
28718 * sysdeps/ieee754/s_matherr.c: Likewise.
28719 * sysdeps/ieee754/s_signgam.c: Likewise.
28720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28723 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28725 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28726 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28727 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28728 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28729 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28730 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28731 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28732 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28733 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28734 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28736 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28742 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28744 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28745 * sunrpc/rpc_main.c: Likewise.
28746 * sunrpc/rpc_svcout.c: Likewise.
28748 2012-03-09 David S. Miller <davem@davemloft.net>
28750 * include/math_private.h: New file.
28752 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28754 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28755 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28756 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28757 from <bits/socket_type.h>.
28758 (enum __socket_type): Don't define here.
28759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28761 bits/socket_type.h.
28764 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28765 checking __USE_GNU.
28767 * Makerules ($(inst_includedir)/%.h): New rule.
28768 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28769 (install-others): Remove variable setting.
28770 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28772 2012-03-08 Richard Henderson <rth@twiddle.net>
28774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28775 from macro to inline function; merge with the
28776 !__LIBC_INTERNAL_MATH_INLINES version.
28777 (__ieee754_sqrtf): Likewise.
28779 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28780 to inline function.
28781 (__rintf, __floor, __floorf): Likewise.
28783 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28784 macro to inline function.
28785 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28788 not <math/math_private.h>.
28790 2012-03-08 David S. Miller <davem@davemloft.net>
28792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28794 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28796 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28798 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28800 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28801 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28803 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28805 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28806 be defined individually, they must be defined as a block. Define
28807 S for printing a string instead of hidint the different by using a
28808 macro for adding the 'l'.
28809 * stdio-common/tst-fphex-wide.c: Adjust.
28811 2012-03-07 Marek Polacek <polacek@redhat.com>
28813 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28815 2012-03-08 Marek Polacek <polacek@redhat.com>
28818 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28819 * stdio-common/tst-fphex.c: Define a few macros to make the
28820 test reusable. Use them.
28821 * stdio-common/tst-fphex-wide.c: New file.
28823 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28826 * manual/macros.texi (gnusystems): New macro.
28827 (nongnusystems): Likewise.
28828 (gnulinuxhurdsystems): Likewise.
28829 (gnuhurdsystems): Likewise..
28830 (gnulinuxsystems): Likewise.
28831 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28832 variants of the GNU system, not "GNU system".
28833 * manual/conf.texi: Likewise.
28834 * manual/errno.texi: Likewise. Update example of errno macro
28836 * manual/filesys.texi: Likewise.
28837 (getumask): Document as specific to GNU/Hurd.
28838 * manual/install.texi: Likewise. Reword some references to
28840 * manual/intro.texi: Likewise.
28841 * manual/io.texi: Likewise.
28842 (File Name Portability): Detail which constraints are inapplicable
28843 to all GNU systems and which are only inapplicable to GNU/Hurd.
28844 * manual/job.texi: Likewise.
28845 * manual/llio.texi: Likewise.
28846 (O_NOCTTY): Document as present on GNU/Linux.
28847 * manual/maint.texi: Likewise.
28848 * manual/memory.texi: Likewise.
28849 * manual/pattern.texi: Likewise.
28850 * manual/pipe.texi: Likewise.
28851 * manual/process.texi: Likewise.
28852 * manual/resource.texi: Likewise.
28853 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28855 * manual/setjmp.texi: Likewise.
28856 * manual/signal.texi: Likewise.
28857 * manual/startup.texi: Likewise.
28858 * manual/stdio.texi: Likewise.
28859 * manual/terminal.texi: Likewise.
28860 (ONLCR): Document as POSIX.
28861 (OXTABS): Document availability on GNU/Linux as XTABS.
28862 (ONOEOT): Document availability separately from other bits.
28863 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28864 * manual/time.texi: Likewise.
28865 * manual/users.texi: Likewise.
28866 * INSTALL: Regenerated.
28867 * sysdeps/gnu/errlist.c: Regenerated.
28869 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28870 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28871 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28873 * configure: Regenerated.
28875 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28877 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28878 default includes instead of AC_HEADER_CHECK.
28879 * sysdeps/i386/configure: Regenerated.
28882 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28883 * math/s_cacoshf.c (__cacoshf): Likewise.
28884 * math/s_cacoshl.c (__cacoshl): Likewise.
28885 * math/s_casinh.c (__casinh): Set signs of result from argument.
28886 * math/s_casinhf.c (__casinhf): Likewise.
28887 * math/s_casinhl.c (__casinhl): Likewise.
28888 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28889 (casinh_test): Add more tests.
28890 * sysdeps/i386/fpu/libm-test-ulps: Update.
28891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28893 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28895 * po/zh_TW.po: Update from translation team.
28897 * login/Makefile (distribute): Remove variable.
28898 * catgets/Makefile: Likewise.
28899 * mach/Makefile: Likewise.
28900 * malloc/Makefile: Likewise.
28901 * misc/Makefile: Likewise.
28902 * iconv/Makefile: Likewise.
28903 * nscd/Makefile: Likewise.
28904 * hurd/Makefile: Likewise.
28905 * manual/Makefile: Likewise.
28906 * locale/Makefile: Likewise.
28907 * intl/Makefile: Likewise.
28908 * conform/Makefile: Likewise.
28909 * nss/Makefile: Likewise.
28910 * time/Makefile: Likewise.
28911 * soft-fp/Makefile: Likewise.
28912 * dirent/Makefile: Likewise.
28913 * gmon/Makefile: Likewise.
28914 * po/Makefile: Likewise.
28915 * rt/Makefile: Likewise.
28916 * socket/Makefile: Likewise.
28917 * math/Makefile: Likewise.
28918 * signal/Makefile: Likewise.
28919 * debug/Makefile: Likewise.
28920 * elf/Makefile: Likewise.
28921 * timezone/Makefile: Likewise.
28922 * stdlib/Makefile: Likewise.
28923 * iconvdata/Makefile: Likewise.
28924 * sunrpc/Makefile: Likewise.
28925 * io/Makefile: Likewise.
28926 * argp/Makefile: Likewise.
28927 * inet/Makefile: Likewise.
28928 * hesiod/Makefile: Likewise.
28929 * grp/Makefile: Likewise.
28930 * csu/Makefile: Likewise.
28931 * wctype/Makefile: Likewise.
28932 * crypt/Makefile: Likewise.
28933 * libio/Makefile: Likewise.
28934 * string/Makefile: Likewise.
28935 * nis/Makefile: Likewise.
28936 * resolv/Makefile: Likewise.
28937 * stdio-common/Makefile: Likewise.
28938 * wcsmbs/Makefile: Likewise.
28939 * dlfcn/Makefile: Likewise.
28940 * posix/Makefile: Likewise.
28943 * timezone/Makefile: Don't install timezone files, just the programs
28946 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28948 * nss/databases.def: Add missing gshadow entry.
28950 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28952 2012-03-06 Marek Polacek <polacek@redhat.com>
28955 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28956 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28957 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28958 * stdio-common/tst-long-dbl-fphex.c: New file.
28960 2012-03-06 David S. Miller <davem@davemloft.net>
28962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28963 (set_obp_int): New function.
28964 (get_obp_int): New function.
28965 (__get_clockfreq_via_dev_openprom): Likewise.
28966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28967 Avoid unused variable warnings on 'val' and use builtin_expect.
28968 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28970 (INLINE_CLONE_SYSCALL): Likewise.
28972 2012-03-05 David S. Miller <davem@davemloft.net>
28974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28976 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28981 only for |x| >= 40.
28982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28984 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28987 Replace gettimeofday with __vdso_gettimeofday.
28989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28990 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28991 __vdso_clock_gettime and __vdso_getcpu.
28993 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28994 time with __vdso_time.
28996 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28998 * manual/lang.texi (size_t): Note types to which size_t may be
28999 equivalent with the GNU C Library, but do not describe when
29000 differences between them are significant.
29002 2012-03-05 Andreas Jaeger <aj@suse.de>
29004 * sysdeps/i386/fpu/libm-test-ulps: Update.
29006 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29010 (__ieee754_pow): Save and restore rounding mode and use
29011 round-to-nearest for main computations.
29012 * math/libm-test.inc (pow_test_tonearest): New function.
29013 (pow_test_towardzero): Likewise.
29014 (pow_test_downward): Likewise.
29015 (pow_test_upward): Likewise.
29016 (main): Call the new functions.
29017 * sysdeps/i386/fpu/libm-test-ulps: Update.
29018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021 * math/libm-test.inc (cosh_test_tonearest): New function.
29022 (cosh_test_towardzero): Likewise.
29023 (cosh_test_downward): Likewise.
29024 (cosh_test_upward): Likewise.
29025 (sinh_test_tonearest): Likewise.
29026 (sinh_test_towardzero): Likewise.
29027 (sinh_test_downward): Likewise.
29028 (sinh_test_upward): Likewise.
29029 (main): Call the new functions.
29030 * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033 2012-03-05 Tom de Vries <tom@codesourcery.com>
29035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29036 default stack guard is set in last bytes.
29037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29039 2012-03-05 Kees Cook <keescook@chromium.org>
29041 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29044 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29045 possibly allocate from heap instead of stack.
29046 * stdio-common/bug-vfprintf-nargs.c: New file.
29047 * stdio-common/Makefile (tests): Add nargs overflow test.
29049 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29053 2012-03-03 Marek Polacek <polacek@redhat.com>
29055 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29056 * math/math_private.h: Likewise.
29057 * stdlib/tst-strtod.c: Likewise.
29058 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29059 * sysdeps/x86_64/bits/atomic.h: Likewise.
29061 2012-03-02 David S. Miller <davem@davemloft.net>
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29067 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29068 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29069 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29070 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29072 2012-03-02 Roland McGrath <roland@hack.frob.com>
29075 * manual/examples/README: New file, says the example source files
29076 can be used under GPL>=2.
29077 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29078 line containing just "*/".
29079 * manual/examples/add.c: Add copyright header (GPL>=2).
29080 * manual/examples/argp-ex1.c: Likewise.
29081 * manual/examples/argp-ex2.c: Likewise.
29082 * manual/examples/argp-ex3.c: Likewise.
29083 * manual/examples/argp-ex4.c: Likewise.
29084 * manual/examples/atexit.c: Likewise.
29085 * manual/examples/db.c: Likewise.
29086 * manual/examples/dir.c: Likewise.
29087 * manual/examples/dir2.c: Likewise.
29088 * manual/examples/execinfo.c: Likewise.
29089 * manual/examples/filecli.c: Likewise.
29090 * manual/examples/filesrv.c: Likewise.
29091 * manual/examples/fmtmsgexpl.c: Likewise.
29092 * manual/examples/genpass.c: Likewise.
29093 * manual/examples/inetcli.c: Likewise.
29094 * manual/examples/inetsrv.c: Likewise.
29095 * manual/examples/isockad.c: Likewise.
29096 * manual/examples/longopt.c: Likewise.
29097 * manual/examples/memopen.c: Likewise.
29098 * manual/examples/memstrm.c: Likewise.
29099 * manual/examples/mkfsock.c: Likewise.
29100 * manual/examples/mkisock.c: Likewise.
29101 * manual/examples/mygetpass.c: Likewise.
29102 * manual/examples/pipe.c: Likewise.
29103 * manual/examples/popen.c: Likewise.
29104 * manual/examples/rprintf.c: Likewise.
29105 * manual/examples/search.c: Likewise.
29106 * manual/examples/select.c: Likewise.
29107 * manual/examples/setjmp.c: Likewise.
29108 * manual/examples/sigh1.c: Likewise.
29109 * manual/examples/sigusr.c: Likewise.
29110 * manual/examples/stpcpy.c: Likewise.
29111 * manual/examples/strdupa.c: Likewise.
29112 * manual/examples/strftim.c: Likewise.
29113 * manual/examples/strncat.c: Likewise.
29114 * manual/examples/subopt.c: Likewise.
29115 * manual/examples/swapcontext.c: Likewise.
29116 * manual/examples/termios.c: Likewise.
29117 * manual/examples/testopt.c: Likewise.
29118 * manual/examples/testpass.c: Likewise.
29119 * manual/examples/timeval_subtract.c: Likewise.
29122 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29124 * manual/timeval_subtract.c.texi: ... here, new file.
29126 2012-03-02 David S. Miller <davem@davemloft.net>
29128 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29130 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29133 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29134 (__sin): Save and restore rounding mode and use round-to-nearest
29135 for all computations.
29136 (__cos): Save and restore rounding mode and use round-to-nearest
29137 for all computations.
29138 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29140 (tan): Save and restore rounding mode and use round-to-nearest for
29142 * math/libm-test.inc (cos_test_tonearest): New function.
29143 (cos_test_towardzero): Likewise.
29144 (cos_test_downward): Likewise.
29145 (cos_test_upward): Likewise.
29146 (sin_test_tonearest): Likewise.
29147 (sin_test_towardzero): Likewise.
29148 (sin_test_downward): Likewise.
29149 (sin_test_upward): Likewise.
29150 (tan_test_tonearest): Likewise.
29151 (tan_test_towardzero): Likewise.
29152 (tan_test_downward): Likewise.
29153 (tan_test_upward): Likewise.
29154 (main): Call the new functions.
29155 * sysdeps/i386/fpu/libm-test-ulps: Update.
29156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29160 small n, then large n, before computing and testing k+n.
29161 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29166 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29167 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29173 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29174 * math/libm-test.inc (scalbn_test): Add more tests.
29175 (scalbln_test): Likewise.
29177 * manual/filesys.texi (mode_t): Describe constraints on size and
29178 signedness, not exact equivalence to a particular type.
29180 (ino64_t): Likewise.
29182 (nlink_t): Likewise.
29183 (blkcnt_t): Likewise.
29184 (blkcnt64_t): Likewise.
29185 * manual/llio.texi (off_t): Likewise.
29188 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29189 (__ieee754_exp): Save and restore rounding mode and use
29190 round-to-nearest for all computations.
29191 * math/libm-test.inc (exp_test_tonearest): New function.
29192 (exp_test_towardzero): Likewise.
29193 (exp_test_downward): Likewise.
29194 (exp_test_upward): Likewise.
29195 (main): Call the new functions.
29196 * sysdeps/i386/fpu/libm-test-ulps: Update.
29197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29199 2012-03-01 Chris Demetriou <cgd@google.com>
29201 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29202 have predictable order.
29204 2012-03-01 David S. Miller <davem@davemloft.net>
29206 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29208 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29209 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29210 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29211 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29213 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29214 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29215 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29217 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29218 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29219 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29220 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29221 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29226 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29229 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29232 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29233 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29236 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29238 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29239 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29245 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29246 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29247 * sysdeps/sparc/elf/configure: Regenerated.
29249 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29251 * configure.in (AS, LD): Require binutils 2.20 or later.
29252 * configure: Regenerated.
29253 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29254 as required minimum version.
29255 * INSTALL: Regenerated.
29259 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29260 before squaring exponent.
29261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29262 bottom long double and 27 bits of top long double before squaring
29264 * math/libm-test.inc (erfc_test): Add more tests.
29265 * sysdeps/i386/fpu/libm-test-ulps: Update.
29266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29269 2012-03-01 Kai Tietz <ktietz@redhat.com>
29271 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29272 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29273 containing bit-fields.
29274 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29275 * soft-fp/single.h (_FP_UNION_S): Likewise.
29276 * soft-fp/double.h (_FP_UNION_D): Likewise.
29278 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29281 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29282 not include ../strcmp.S.
29283 [USE_AS_STRNCASECMP_L]: Likewise.
29284 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29285 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29286 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29287 (__strncasecmp_l_ia32): Define as alias to
29288 __strncasecmp_l_nonascii.
29291 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29292 * sysdeps/i386/fpu/libm-test-ulps: Update.
29293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298 2012-02-29 Jeff Law <law@redhat.com>
29300 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29301 out of bounds read.
29303 2012-02-29 Marek Polacek <polacek@redhat.com>
29306 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29307 * elf/Makefile: Add rules to run tst-unused-dep.out.
29309 2012-02-28 David S. Miller <davem@davemloft.net>
29311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29315 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29316 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29318 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29320 * math/libm-test.inc (llround_test): Move one test from
29321 lround_test. Use TEST_f_L in moved test.
29322 (lround_test): Move misplaced test to llround_test. Add testcase
29325 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29327 * sysdeps/x86_64/fpu/e_expf.S: New file.
29328 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29330 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29333 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29334 of remain_len that may cause incomplete multi-byte character and
29336 * posix/bug-regex33.c: New file.
29337 * posix/Makefile (tests): Add bug-regex33.
29339 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29341 * manual/macros.texi: New file.
29342 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29343 * manual/libc.texinfo: Include macros.texi.
29344 * manual/creatute.texi: Likewise.
29345 * manual/install.texi: Likewise.
29346 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29347 @glibcadj{} in references to the GNU C Library.
29348 * manual/charset.texi: Likewise.
29349 * manual/conf.texi: Likewise.
29350 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29351 when not using those macros.
29352 * manual/creature.texi: Likewise.
29353 * manual/crypt.texi: Likewise.
29354 * manual/errno.texi: Likewise.
29355 * manual/filesys.texi: Likewise.
29356 * manual/header.texi: Likewise.
29357 * manual/install.texi: Likewise.
29358 * manual/intro.texi: Likewise.
29359 * manual/io.texi: Likewise.
29360 * manual/job.texi: Likewise.
29361 * manual/lang.texi: Likewise.
29362 * manual/libc.texiinfo: Likewise.
29363 * manual/llio.texi: Likewise.
29364 * manual/locale.texi: Likewise.
29365 * manual/maint.texi: Likewise.
29366 * manual/math.texi: Likewise.
29367 * manual/memory.texi: Likewise.
29368 * manual/message.texi: Likewise.
29369 * manual/nss.texi: Likewise.
29370 * manual/pattern.texi: Likewise.
29371 * manual/process.texi: Likewise.
29372 * manual/resource.texi: Likewise.
29373 * manual/search.texi: Likewise.
29374 * manual/setjmp.texi: Likewise.
29375 * manual/signal.texi: Likewise.
29376 * manual/socket.texi: Likewise.
29377 * manual/startup.texi: Likewise.
29378 * manual/stdio.texi: Likewise.
29379 * manual/string.texi: Likewise.
29380 * manual/sysinfo.texi: Likewise.
29381 * manual/syslog.texi: Likewise.
29382 * manual/terminal.texi: Likewise.
29383 * manual/time.texi: Likewise.
29384 * manual/users.texi: Likewise.
29385 * INSTALL: Regenerated.
29386 * NOTES: Regenerated.
29387 * sysdeps/gnu/errlist.c: Regenerated.
29389 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29391 * include/dirent.h: Include <dirstream.h> before
29394 2012-02-28 David S. Miller <davem@davemloft.net>
29396 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29397 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29398 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29401 2012-02-27 David S. Miller <davem@davemloft.net>
29403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29405 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29406 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29409 frame pointer instead of stack pointer relative arg slot.
29410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29414 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29417 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29419 2012-02-27 David S. Miller <davem@davemloft.net>
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29427 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29428 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29430 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29432 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29433 later. Allow versions 5-9.
29434 * configure: Regenerated.
29435 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29436 required minimum version and 4.6 as recommended version. Do not
29437 mention bugs in GCC 2.7 and 2.8.
29438 * INSTALL: Regenerated.
29440 2012-02-27 David S. Miller <davem@davemloft.net>
29442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29448 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29452 manipulate bits before adding and subtracting TWO112[sx].
29453 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29455 2012-02-27 Roland McGrath <roland@hack.frob.com>
29458 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29459 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29460 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29461 being in POSIX, because they are in 1003.1-2008.
29463 * rt/tst-aio.c: Include <fcntl.h>.
29464 * rt/tst-aio7.c: Likewise.
29465 * rt/tst-aio64.c: Likewise.
29467 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29469 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29471 * manual/install.texi (--with-headers): Describe headers as
29472 interface headers, not private headers.
29473 (Specific advice for GNU/Linux systems): Describe use of headers
29474 from "make headers_install", not private headers from older
29476 * INSTALL: Regenerated.
29477 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29479 * sysdeps/unix/sysv/linux/configure: Regenerated.
29481 * manual/llio.texi (fclean): Remove documentation.
29483 * manual/Makefile (libc-texi-generated): New variable. Include
29485 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29486 $(libc-texi-generated), not duplicated list of files.
29487 (version.texi, stamp-version): New rules.
29488 (realclean): Remove $(libc-texi-generated), not individual files
29489 from that list. Do not remove dir-add.texinfo.
29490 * manual/libc.texinfo: Comment out uses of edition numbers and
29491 references to printed manual. Remove last-updated dates.
29492 (EDITION): Comment out.
29494 (VERSION, UPDATED): Remove.
29495 (version.texi): Include.
29497 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29499 * sysdeps/posix/spawni.c: Include <signal.h>.
29500 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29501 * sysdeps/pthread/aio_fsync.c: Likewise.
29503 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29505 * conform/Makefile (tests): Run only when not cross-compiling and
29506 when fast-check is not defined.
29508 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29509 * conform/data/limits.h-data: Fixes for POSIX2008.
29510 * conform/run-conformtest.sh: Run all tests.
29511 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29513 * include/bits/dlfcn.h: Likewise.
29514 * include/langinfo.h: Likewise.
29515 * include/monetary.h: Likewise.
29516 * include/sys/poll.h: Likewise.
29518 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29520 * posix/spawn.h: Define __need_sigset_t.
29521 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29522 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29523 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29524 to get sigevent_t only.
29525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29526 only for __USE_GNU.
29527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29528 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29529 process_vm_writev only for __USE_GNU.
29530 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29532 * conform/Makefile: For now ignore errors from run-conformtest.
29533 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29534 POSIX to avoid namespace pollution. Don't prepend headers.
29535 * conform/data/aio.h-data: Fixes for POSIX testing.
29536 * conform/data/fcntl.h-data: Likewise.
29537 * conform/data/glob.h-data: Likewise.
29538 * conform/data/grp.h-data: Likewise.
29539 * conform/data/pthread.h-data: Likewise.
29540 * conform/data/pwd.h-data: Likewise.
29541 * conform/data/signal.h-data: Likewise.
29542 * conform/data/spawn.h-data: Likewise.
29543 * conform/data/stdio.h-data: Likewise.
29544 * conform/data/stdlib.h-data: Likewise.
29545 * conform/data/stropts.h-data: Likewise.
29546 * conform/data/sys/mman.h-data: Likewise.
29547 * conform/data/sys/stat.h-data: Likewise.
29548 * conform/data/sys/types.h-data: Likewise.
29549 * conform/data/sys/wait.h-data: Likewise.
29550 * conform/data/time.h-data: Likewise.
29551 * conform/data/unistd.h-data: Likewise.
29552 * conform/data/utime.h-data: Likewise.
29554 * io/sys/stat.h: fchmod was always in POSIX.
29555 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29556 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29557 * rt/aio.h: Define __need_timespec before including <time.h>.
29558 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29559 struct. Add forward declaration of pthread_attr_t and use it in
29561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29563 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29564 always remove CLK_TCK definition.
29566 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29568 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29570 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29572 * conform/run-conformtest.sh: New file.
29573 * conform/Makefile: Run run-conformtest for tests.
29574 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29577 * conform/data/uchar.h-data: New file.
29578 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29579 * conform/data/arpa/inet.h-data: Likewise.
29580 * conform/data/assert.h-data: Likewise.
29581 * conform/data/complex.h-data: Likewise.
29582 * conform/data/cpio.h-data: Likewise.
29583 * conform/data/ctype.h-data: Likewise.
29584 * conform/data/dirent.h-data: Likewise.
29585 * conform/data/dlfcn.h-data: Likewise.
29586 * conform/data/errno.h-data: Likewise.
29587 * conform/data/fcntl.h-data: Likewise.
29588 * conform/data/float.h-data: Likewise.
29589 * conform/data/fmtmsg.h-data: Likewise.
29590 * conform/data/fnmatch.h-data: Likewise.
29591 * conform/data/ftw.h-data: Likewise.
29592 * conform/data/glob.h-data: Likewise.
29593 * conform/data/grp.h-data: Likewise.
29594 * conform/data/iconv.h-data: Likewise.
29595 * conform/data/inttypes.h-data: Likewise.
29596 * conform/data/langinfo.h-data: Likewise.
29597 * conform/data/libgen.h-data: Likewise.
29598 * conform/data/limits.h-data: Likewise.
29599 * conform/data/locale.h-data: Likewise.
29600 * conform/data/math.h-data: Likewise.
29601 * conform/data/monetary.h-data: Likewise.
29602 * conform/data/mqueue.h-data: Likewise.
29603 * conform/data/ndbm.h-data: Likewise.
29604 * conform/data/net/if.h-data: Likewise.
29605 * conform/data/netdb.h-data: Likewise.
29606 * conform/data/netinet/in.h-data: Likewise.
29607 * conform/data/nl_types.h-data: Likewise.
29608 * conform/data/poll.h-data: Likewise.
29609 * conform/data/pthread.h-data: Likewise.
29610 * conform/data/pwd.h-data: Likewise.
29611 * conform/data/regex.h-data: Likewise.
29612 * conform/data/sched.h-data: Likewise.
29613 * conform/data/search.h-data: Likewise.
29614 * conform/data/semaphore.h-data: Likewise.
29615 * conform/data/setjmp.h-data: Likewise.
29616 * conform/data/signal.h-data: Likewise.
29617 * conform/data/spawn.h-data: Likewise.
29618 * conform/data/stdarg.h-data: Likewise.
29619 * conform/data/stdio.h-data: Likewise.
29620 * conform/data/stdlib.h-data: Likewise.
29621 * conform/data/string.h-data: Likewise.
29622 * conform/data/strings.h-data: Likewise.
29623 * conform/data/stropts.h-data: Likewise.
29624 * conform/data/sys/ipc.h-data: Likewise.
29625 * conform/data/sys/mman.h-data: Likewise.
29626 * conform/data/sys/msg.h-data: Likewise.
29627 * conform/data/sys/resource.h-data: Likewise.
29628 * conform/data/sys/select.h-data: Likewise.
29629 * conform/data/sys/sem.h-data: Likewise.
29630 * conform/data/sys/shm.h-data: Likewise.
29631 * conform/data/sys/socket.h-data: Likewise.
29632 * conform/data/sys/stat.h-data: Likewise.
29633 * conform/data/sys/statvfs.h-data: Likewise.
29634 * conform/data/sys/time.h-data: Likewise.
29635 * conform/data/sys/timeb.h-data: Likewise.
29636 * conform/data/sys/times.h-data: Likewise.
29637 * conform/data/sys/types.h-data: Likewise.
29638 * conform/data/sys/uio.h-data: Likewise.
29639 * conform/data/sys/un.h-data: Likewise.
29640 * conform/data/sys/utsname.h-data: Likewise.
29641 * conform/data/sys/wait.h-data: Likewise.
29642 * conform/data/syslog.h-data: Likewise.
29643 * conform/data/tar.h-data: Likewise.
29644 * conform/data/termios.h-data: Likewise.
29645 * conform/data/utime.h-data: Likewise.
29646 * conform/data/utmpx.h-data: Likewise.
29647 * conform/data/varargs.h-data: Likewise.
29648 * conform/data/wchar.h-data: Likewise.
29649 * conform/data/wctype.h-data: Likewise.
29650 * conform/data/wordexp.h-data: Likewise.
29652 * include/stropts.h: New file.
29653 * include/uchar.h: New file.
29654 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29655 * include/assert.h: Likewise.
29656 * include/ctype.h: Likewise.
29657 * include/dirent.h: Likewise.
29658 * include/dlfcn.h: Likewise.
29659 * include/fcntl.h: Likewise.
29660 * include/fnmatch.h: Likewise.
29661 * include/glob.h: Likewise.
29662 * include/grp.h: Likewise.
29663 * include/libio.h: Likewise.
29664 * include/locale.h: Likewise.
29665 * include/math.h: Likewise.
29666 * include/net/if.h: Likewise.
29667 * include/netdb.h: Likewise.
29668 * include/netinet/in.h: Likewise.
29669 * include/pthread.h: Likewise.
29670 * include/pwd.h: Likewise.
29671 * include/regex.h: Likewise.
29672 * include/sched.h: Likewise.
29673 * include/search.h: Likewise.
29674 * include/setjmp.h: Likewise.
29675 * include/signal.h: Likewise.
29676 * include/stdio.h: Likewise.
29677 * include/stdlib.h: Likewise.
29678 * include/string.h: Likewise.
29679 * include/sys/cdefs.h: Likewise.
29680 * include/sys/mman.h: Likewise.
29681 * include/sys/msg.h: Likewise.
29682 * include/sys/resource.h: Likewise.
29683 * include/sys/select.h: Likewise.
29684 * include/sys/socket.h: Likewise.
29685 * include/sys/stat.h: Likewise.
29686 * include/sys/statvfs.h: Likewise.
29687 * include/sys/time.h: Likewise.
29688 * include/sys/times.h: Likewise.
29689 * include/sys/uio.h: Likewise.
29690 * include/sys/utsname.h: Likewise.
29691 * include/sys/wait.h: Likewise.
29692 * include/termios.h: Likewise.
29693 * include/time.h: Likewise.
29694 * include/ulimit.h: Likewise.
29695 * include/unistd.h: Likewise.
29696 * include/utime.h: Likewise.
29697 * include/wchar.h: Likewise.
29698 * include/wctype.h: Likewise.
29699 * include/wordexp.h: Likewise.
29701 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29703 * time/time.h: TIME_UTC must be a macro.
29704 Make timespec_get available for ISO C11 only as well.
29706 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29708 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29709 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29711 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29713 * configure.in: Use -o not -a in test for unsupported multi-arch.
29715 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29717 * manual/texinfo.tex: Update to version 2012-01-19.16.
29719 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29721 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29723 2012-02-24 Roland McGrath <roland@hack.frob.com>
29726 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29727 * manual/fdl-1.3.texi: New file.
29728 * manual/fdl-1.1.texi: File removed.
29731 * manual/libc.texinfo (FDL_VERSION): New @set.
29732 Use it for mention of FDL in cover text.
29733 (Documentation License): Use it in @include file name.
29735 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29736 Roland McGrath <roland@hack.frob.com>
29739 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29740 not LONG_LONG_MAX and LONG_LONG_MIN.
29741 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29742 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29744 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29746 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29751 manipulate bits before adding and subtracting TWO23[sx].
29752 * math/libm-test.inc (nearbyint_test): Add more tests.
29754 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29757 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29758 bits before adding and subtracting TWO23[sx].
29759 * math/libm-test.inc (rint_test): Add more tests.
29760 (rint_test_tonearest): Likewise.
29761 (rint_test_towardzero): Likewise.
29762 (rint_test_downward): Likewise.
29763 (rint_test_upward: Likewise.
29765 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29768 * include/stdc-predef.h: New file. Extracted from features.h.
29769 * include/features.h: Include stdc-predef.h.
29770 * Makefile (headers): Add stdc-predef.h.
29771 * CONFORMANCE (Compiler limitations): Update.
29773 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29775 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29777 2012-02-21 David S. Miller <davem@davemloft.net>
29779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29782 2012-02-20 David S. Miller <davem@davemloft.net>
29784 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29785 using a normal save/restore sequence, rather than allocating a
29786 dummy stack frame just to store a frame pointer and restore.
29787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29789 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29791 * manual/install.texi: Fix stray word in line-wrapped comment.
29793 2012-02-20 David S. Miller <davem@davemloft.net>
29795 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29796 both binutils and gcc support GOTDATA.
29798 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29799 "rd %pc" in the PIC register setup sequences.
29801 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29802 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29803 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29804 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29810 (SYSCALL_ERROR_HANDLER): Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29814 (SYSCALL_ERROR_HANDLER): Likewise.
29816 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29817 (HAVE_GCC_GOTDATA): New.
29818 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29819 relocation support in both binutils and gcc.
29820 * sysdeps/sparc/elf/configure: Regenerate.
29822 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29823 * sysdeps/sparc/sparc32/elf/configure: Delete.
29824 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29825 * sysdeps/sparc/sparc64/elf/configure: Delete.
29826 * sysdeps/sparc/elf/configure.in: New file.
29827 * sysdeps/sparc/elf/configure: Generate.
29829 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29830 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29832 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29833 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29835 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29837 * manual/install.texi: Do not mention specific glibc version
29839 * manual/libc.texinfo (VERSION, UPDATED): Update.
29840 (@copying): Use @copyright{} and range of years.
29842 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29845 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29846 [crti.S not in sysdirs] (generated): Do not append.
29847 [crti.S not in sysdirs] (omit-deps): Likewise.
29848 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29849 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29850 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29851 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29852 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29854 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29855 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29856 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29857 * csu/defs.awk: Remove file.
29858 * sysdeps/generic/initfini.c: Likewise.
29859 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29861 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29864 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29866 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29868 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29871 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29873 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29874 (__EPOLL_PACKED): Define to empty if not defined by
29876 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29880 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29882 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29883 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29885 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29887 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29891 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29893 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29900 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29903 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29905 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29907 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29908 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29910 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29912 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29915 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29917 * math/w_acos.c: Use non-signaling floating-point comparisons.
29918 * math/w_acosf.c: Likewise.
29919 * math/w_acosh.c: Likewise.
29920 * math/w_acoshf.c: Likewise.
29921 * math/w_acoshl.c: Likewise.
29922 * math/w_acosl.c: Likewise.
29923 * math/w_asin.c: Likewise.
29924 * math/w_asinf.c: Likewise.
29925 * math/w_asinl.c: Likewise.
29926 * math/w_atanh.c: Likewise.
29927 * math/w_atanhf.c: Likewise.
29928 * math/w_atanhl.c: Likewise.
29929 * math/w_exp2.c: Likewise.
29930 * math/w_exp2f.c: Likewise.
29931 * math/w_exp2l.c: Likewise.
29932 * math/w_j0.c: Likewise.
29933 * math/w_j0f.c: Likewise.
29934 * math/w_j0l.c: Likewise.
29935 * math/w_j1.c: Likewise.
29936 * math/w_j1f.c: Likewise.
29937 * math/w_j1l.c: Likewise.
29938 * math/w_jn.c: Likewise.
29939 * math/w_jnf.c: Likewise.
29940 * math/w_log.c: Likewise.
29941 * math/w_log10.c: Likewise.
29942 * math/w_log10f.c: Likewise.
29943 * math/w_log10l.c: Likewise.
29944 * math/w_log2.c: Likewise.
29945 * math/w_log2f.c: Likewise.
29946 * math/w_log2l.c: Likewise.
29947 * math/w_logf.c: Likewise.
29948 * math/w_logl.c: Likewise.
29949 * math/w_sqrt.c: Likewise.
29950 * math/w_sqrtf.c: Likewise.
29951 * math/w_sqrtl.c: Likewise.
29952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29953 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29955 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29956 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29958 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29961 * manual/string.texi (strnlen): Use correct parameter name in
29962 equivalent expression.
29964 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29967 * manual/users.texi (seteuid): Consistently use neweuid for
29970 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29973 * manual/nss.texi (Services in the NSS configuration): Correct
29974 list of services in example configuration file.
29976 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29979 * manual/arith.texi: Remove statements about negative zero
29980 behaving identically to zero.
29982 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29985 * manual/install.texi: Do not document upgrading from libc5.
29987 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29990 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29992 2012-02-18 David S. Miller <davem@davemloft.net>
29994 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29995 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29996 %o7 across the call.
29997 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30000 SETUP_PIC_REG_LEAF.
30001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30002 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30003 * sysdeps/sparc/crtn.S: Likewise.
30005 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30007 * aout/Makefile: Remove.
30009 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30012 * manual/examples/argp-ex1.c (main): Format definition in GNU
30014 * manual/examples/argp-ex2.c (main): Likewise.
30015 * manual/examples/argp-ex3.c (main): Likewise.
30016 * manual/examples/argp-ex4.c (main): Likewise.
30017 * manual/examples/longopt.c (main): Use new-style prototype
30019 * manual/examples/strncat.c (main): Specify return type and use
30020 (void) for arguments.
30021 * manual/examples/subopt.c (main): Use char **argv argument.
30023 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30026 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30029 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30032 * manual/string.texi (strchr): Change when strchrnul is
30035 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30038 * manual/locale.texi (setlocale): Document LOCPATH.
30040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30043 * manual/process.texi (execle): Move @dots{} before last argument.
30045 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30048 * manual/charset.texi (Generic Charset Conversion): Fix typo
30049 (LC_TYPE -> LC_CTYPE).
30051 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30054 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30055 (scalbnf): Likewise.
30056 (scalbnl): Likewise.
30057 (scalbln): Likewise.
30058 (scalblnf): Likewise.
30059 (scalblnl): Likewise.
30060 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30061 (vwarnx): Likewise.
30064 * manual/filesys.texi (telldir): Use braces around return type.
30065 * manual/llio.texi (mmap): Add space after comma.
30066 (mmap64): Likewise.
30067 * manual/math.texi (jn): Use @var{} on parameter names.
30073 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30075 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30077 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30078 (sched_get_priority_max): Likewise.
30079 * manual/signal.texi (sigvec): Add space after comma.
30080 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30082 (if_indextoname): Likewise.
30083 (if_freenameindex): Likewise.
30084 (sendto): Use ',' instead of '.' in prototype.
30085 * manual/startup.texi (syscall): Use @dots{} instead of literal
30087 * manual/stdio.texi (__fpending): Separate initial words of
30088 paragraph from @deftypefun line.
30089 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30091 (vsyslog): Use @var{} on parameter names.
30092 * manual/terminal.texi (stty): Use @var{} on parameter names.
30093 * manual/users.texi (getutmp): Use @var{} on parameter names.
30094 (getutmpx): Likewise.
30096 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30099 * manual/stdio.texi (fopen): Fix typos in description of
30102 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30105 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30106 get clock_id definition.
30108 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30111 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30112 (madvise): Cast every argument to void on its own.
30114 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30117 * manual/startup.texi (Exit Status): Fix typo.
30119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30122 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30123 * manual/examples/argp-ex2.c: Likewise.
30124 * manual/examples/argp-ex3.c: Likewise.
30126 2012-02-16 Richard Henderson <rth@redhat.com>
30128 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30129 * sysdeps/s390/s390-32/initfini.c: Remove.
30130 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30131 * sysdeps/s390/s390-64/initfini.c: Remove.
30133 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30135 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30136 compiler output for sysdeps/generic/initfini.c.
30137 * sysdeps/sh/elf/initfini.c: Remove file.
30139 2012-02-16 David S. Miller <davem@davemloft.net>
30142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30144 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30145 * sysdeps/sparc/crti.S: New file.
30146 * sysdeps/sparc/crtn.S: New file.
30147 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30148 * sysdeps/sparc/sparc64/Makefile: Likewise.
30150 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30153 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30155 2012-02-15 Roland McGrath <roland@hack.frob.com>
30158 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30160 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30161 (write, read, close): Likewise.
30162 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30164 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30166 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30167 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30168 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30169 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30171 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30175 2012-02-14 Marek Polacek <polacek@redhat.com>
30177 * sysdeps/x86_64/crti.S: New file.
30178 * sysdeps/x86_64/crtn.S: New file.
30179 * sysdeps/x86_64/elf/initfini.c: Remove file.
30181 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30183 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30184 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30185 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30186 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30188 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30192 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30194 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30195 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30196 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30197 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30199 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30203 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30205 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30206 __feraiseexcept instead of feraiseexcept.
30208 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30209 nanosleep invocations.
30210 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30211 strings, and add error checking for a nanosleep invocations.
30213 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30215 Replace FSF snail mail address with URLs, as per GNU coding standards.
30216 Most of the snail mail addresses were wrong anyway, and omitting
30217 them makes the source code easier to maintain. Almost all of the
30218 changes are to license notices and to locale LC_IDENTIFICATION
30219 addresses, except for this one:
30220 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30221 not its snail mail address.
30223 2012-02-09 Richard Henderson <rth@twiddle.net>
30225 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30226 of kernel-features.h.
30228 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30230 2012-02-08 Marek Polacek <polacek@redhat.com>
30232 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30233 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30234 * sysdeps/gnu/_G_config.h: Likewise.
30235 * sysdeps/generic/_G_config.h: Likewise.
30237 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30239 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30243 * sysdeps/powerpc/powerpc32/crti.S: New file.
30244 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30245 * sysdeps/powerpc/powerpc64/crti.S: New file.
30246 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30248 * Makeconfig (have-initfini): Don't set.
30249 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30250 * configure.in (nopic_initfini): Don't substitute.
30251 * config.h.in (HAVE_INITFINI): Don't #undef.
30252 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30253 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30255 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30257 Support crti.S and crtn.S provided directly by architectures.
30258 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30259 [crti.S in sysdirs] (omit-deps): Likewise.
30260 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30261 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30262 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30263 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30264 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30265 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30266 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30267 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30268 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30269 compiler output for sysdeps/generic/initfini.c.
30270 * sysdeps/i386/elf/Makefile: Remove file.
30271 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30273 2012-02-07 Marek Polacek <polacek@redhat.com>
30275 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30276 * sysdeps/gnu/_G_config.h: Likewise.
30277 * sysdeps/mach/hurd/_G_config.h: Likewise.
30279 2012-02-07 Marek Polacek <polacek@redhat.com>
30281 * math/Makefile (tests): Add tst-CMPLX2.
30282 * math/tst-CMPLX2.c: New file.
30284 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30286 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30288 * math/libm-test.inc (jn_test): Add missing L suffix.
30290 2012-02-06 Marek Polacek <polacek@redhat.com>
30292 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30293 * sysdeps/i386/fpu/e_powf.S: Likewise.
30294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30295 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30296 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30297 * sysdeps/i386/fpu/e_pow.S: Likewise.
30298 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30299 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30300 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30301 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30302 * sysdeps/i386/fpu/e_log2.S: Likewise.
30303 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30304 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30305 * sysdeps/i386/fpu/e_powl.S: Likewise.
30306 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30309 * sysdeps/i386/fpu/e_logl.S: Likewise.
30310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30311 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30312 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30313 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30314 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30316 * sysdeps/i386/fpu/e_log.S: Likewise.
30317 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30319 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30320 * sysdeps/i386/fpu/e_logf.S: Likewise.
30321 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30322 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30323 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30324 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30326 * sysdeps/i386/fpu/e_log10.S: Likewise.
30327 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30328 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30329 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30330 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30332 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30333 * sysdeps/i386/asm-syntax.h: Likewise.
30334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30337 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30338 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30340 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30341 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30343 * sysdeps/powerpc/sysdep.h: Likewise.
30344 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30347 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30350 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30352 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30354 * sysdeps/i386/sysdep.h: Include <features.h>.
30355 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30358 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30362 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30365 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30367 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30368 (SETUP_PIC_REG): Use GET_PC_THUNK.
30369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30372 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30375 for non-PIC compilation.
30376 (SETUP_PIC_REG): Add .p2align directive.
30377 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30378 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30385 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30386 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30387 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30388 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30392 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30393 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30419 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30421 * math/tst-CMPLX.c: Include <stdio.h>.
30423 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30428 * sysdeps/sparc/bits/mathdef.h: Likewise.
30430 2012-01-31 Marek Polacek <polacek@redhat.com>
30432 * libio/libio.h: Don't define _PARAMS.
30433 * locale/programs/config.h: Don't define PARAMS.
30434 * stdlib/strtol_l.c: Likewise.
30435 (__strtol_l): Remove PARAMS from the prototype.
30437 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30439 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30440 names. Just use the correct names. Remove unnecessary wrapper
30442 * malloc/arena.c: Likewise.
30443 * malloc/hooks.c: Likewise.
30445 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30446 ARENA_TEST says not to. Simplify test for creation of a new arena.
30447 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30449 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30451 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30453 (update_get_addr): New function.
30454 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30455 GET_ADDR_MODULE parameter.
30457 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30459 * crypt/cert.c: Remove __STDC__ conditionals.
30460 * crypt/crypt-entry.c: Likewise.
30461 * crypt/crypt_util.c: Likewise.
30462 * libio/filedoalloc.c: Likewise.
30463 * libio/fileops.c: Likewise.
30464 * libio/genops.c: Likewise.
30465 * libio/iofclose.c: Likewise.
30466 * libio/iofdopen.c: Likewise.
30467 * libio/iofopen.c: Likewise.
30468 * libio/iofopen64.c: Likewise.
30469 * libio/iogetdelim.c: Likewise.
30470 * libio/iopopen.c: Likewise.
30471 * libio/obprintf.c: Likewise.
30472 * libio/oldfileops.c: Likewise.
30473 * libio/oldiofclose.c: Likewise.
30474 * libio/oldiofdopen.c: Likewise.
30475 * libio/oldiofopen.c: Likewise.
30476 * libio/oldiopopen.c: Likewise.
30477 * libio/wfiledoalloc.c: Likewise.
30478 * libio/wgenops.c: Likewise.
30479 * locale/programs/xmalloc.c: Likewise.
30480 * misc/syslog.c: Likewise.
30481 * stdio-common/xbug.c: Likewise.
30482 * string/memchr.c: Likewise.
30483 * string/memcmp.c: Likewise.
30484 * string/memrchr.c: Likewise.
30485 * string/rawmemchr.c: Likewise.
30486 * sysdeps/posix/getcwd.c: Likewise.
30487 * time/strftime_l.c: Likewise.
30489 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30491 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30492 * config.make.in (config-cflags-sse2avx): Define.
30493 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30496 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30498 * scripts/config.guess: Update from upstream config git repository.
30499 * scripts/config.sub: Likewise.
30501 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30503 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30505 (R_TILEPRO_*, R_TILEGX_*): New macros.
30507 * scripts/firstversions.awk: Fix bug in version range handling.
30509 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30511 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30513 * include/sys/epoll.h: New file.
30514 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30517 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30519 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30520 Avoid unnecessary __WORDSIZE == 64 test.
30521 (fmaxf): Use VEX format if possible.
30526 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30527 * math/math_private.h: Remove libc_fegetround* and
30529 * sysdeps/i386/configure.in: Check for -msse2avx.
30530 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30531 also if SSE2AVX is defined.
30532 Remove libc_fegetround* and libc_fesetround*.
30533 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30534 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30543 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30545 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30551 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30554 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30556 * Makeconfig (libm): Define.
30557 * elf/Makefile: Add rules to build and run tst-relsort1.
30558 * elf/tst-relsort1.c: New file.
30559 * elf/tst-relsort1mod1.c: New file.
30560 * elf/tst-relsort1mod2.c: New file.
30562 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30564 * math/s_ldexp.c: Remove __STDC__ conditionals.
30565 * math/s_ldexpf.c: Likewise.
30566 * math/s_ldexpl.c: Likewise.
30567 * math/s_nextafter.c: Likewise.
30568 * math/s_nexttowardf.c: Likewise.
30569 * math/s_significand.c: Likewise.
30570 * math/s_significandf.c: Likewise.
30571 * math/s_significandl.c: Likewise.
30572 * math/w_jnl.c: Likewise.
30573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30595 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30597 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30600 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30601 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30605 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30613 * sysdeps/ieee754/k_standard.c: Likewise.
30614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30693 * sysdeps/ieee754/s_matherr.c: Likewise.
30694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30699 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30701 * crypt/md5.h: Remove __STDC__ conditionals.
30702 * libio/libioP.h: Likewise.
30703 * locale/programs/config.h: Likewise.
30704 * sysdeps/generic/sysdep.h: Likewise.
30705 * sysdeps/i386/asm-syntax.h: Likewise.
30706 * sysdeps/s390/asm-syntax.h: Likewise.
30707 * sysdeps/unix/sysdep.h: Likewise.
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30711 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30713 * libio/libio.h: Remove __STDC__ conditionals.
30714 * malloc/obstack.h: Likewise.
30715 * math/complex.h: Likewise.
30716 * math/math.h: Likewise.
30717 * sysdeps/generic/_G_config.h: Likewise.
30718 * sysdeps/gnu/_G_config.h: Likewise.
30719 * sysdeps/mach/hurd/_G_config.h: Likewise.
30720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30722 * sysdeps/sparc/bits/mathdef.h: Likewise.
30724 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30728 Clean up HAS_* macros.
30729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30730 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30740 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30742 * elf/tst-unique3.cc (gets): Remove declaration.
30743 * elf/tst-unique3lib.cc (gets): Likewise.
30744 * elf/tst-unique3lib2.cc (gets): Likewise.
30745 * elf/tst-unique4.cc (gets): Likewise.
30747 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30749 * include/stdio.h: Add C++ protection. Add gets declarations and
30751 * debug/tst-chk1.c: Don't declare gets here.
30752 * stdio-common/tst-gets.c: Likewise.
30754 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30756 * posix/glob: Remove directory.
30758 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30760 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30762 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30764 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30765 of the non-standard EPFNOSUPPORT.
30767 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30769 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30770 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30771 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30773 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30775 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30777 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30779 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30781 * nscd/grpcache.c (cache_addgr): Likewise.
30782 * nscd/hstcache.c (cache_addhst): Likewise.
30783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30784 * nscd/pwdcache.c (cache_addpw): Likewise.
30785 * nscd/servicescache.c (cache_addserv): Likewise.
30787 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30789 * malloc/malloc.c: Various cleanups.
30790 * malloc/hooks.c: Likewise.
30792 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30793 * stdlib/bug-fmtmsg1.c: New file.
30795 * stdlib/fmtmsg.c (init): Add missing unlock.
30796 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30798 2012-01-12 Marek Polacek <polacek@redhat.com>
30800 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30803 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30805 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30806 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30807 macro to ensure uniqueness of label name.
30808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30811 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30816 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30820 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30822 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30824 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30825 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30828 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30831 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30835 * math/bits/math-finite.h: Add ldexp support.
30837 2012-01-10 Marek Polacek <polacek@redhat.com>
30839 * locale/programs/localedef.h (show_archive_content): Add noreturn
30842 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30844 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30846 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30848 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30850 * io/Makefile (headers): Add bits/poll2.h.
30852 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30855 typo #include statement.
30857 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30859 * include/sys/cdefs.h: Define __attribute_alloc_size.
30860 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30861 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30862 * elf/pldd.c: Likewise.
30863 * iconv/iconv_charmap.c: Likewise.
30864 * iconv/iconvconfig.c: Likewise.
30865 * iconv/strtab.c: Likewise.
30866 * locale/programs/locale.c: Likewise.
30867 * locale/programs/localedef.h: Likewise.
30868 * locale/programs/simple-hash.c: Likewise.
30869 * nscd/nscd.h: Likewise.
30870 * nss/makedb.c: Likewise.
30871 * sysdeps/generic/ldconfig.h: Likewise.
30872 * locale/programs/localedef.c: Remove xmalloc prototype.
30873 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30875 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30880 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30882 * math/Makefile (tests): Add tst-CMPLX.
30883 * math/tst-CMPLX.c: New file.
30885 * math/complex.h (CMPLXL): Fix typo.
30887 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30888 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30890 * debug/tst-chk1.c: Add poll and ppoll tests.
30891 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30892 * include/sys/poll.h: Add hidden proto for ppoll.
30893 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30894 * sysdeps/mach/hurd/ppoll.c: Likewise.
30895 * io/ppoll.c: Likewise.
30896 * debug/poll_chk.c: New file.
30897 * debug/ppoll_chk.c: New file.
30898 * include/bits/poll2.h: New file.
30899 * io/bits/poll2.h: New file.
30902 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30904 * configure.in: static is always set to yes. Remove.
30905 * config.make.in: Don't set build-static.
30906 * Makeconfig: Remove use of build-static.
30907 * dlfcn/Makefile: Likewise.
30908 * elf/Makefile: Likewise.
30909 * math/Makefile: Likewise.
30910 * misc/Makefile: Likewise.
30911 * nptl/Makefile: Likewise.
30912 * sysdeps/mach/hurd/Makefile: Likewise.
30914 * configure.in: PWD_P is not used anymore.
30915 * config.make.in: Remove PWD_P entry.
30917 * configure.in: Remove last remnants of RANLIB.
30918 No need to check for signed size_t anymore.
30919 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30921 Remove __builtin_expect test because we require at least gcc 3.4.
30922 * aclocal.m4: Likewise.
30924 * wcsmbs/mbrtoc16.c: Implement using towc function.
30925 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30926 * wcsmbs/wcsmbsload.c: Likewise.
30927 * iconv/gconv_simple.c: Likewise.
30928 * iconv/gconv_int.h: Likewise.
30929 * iconv/gconv_builtin.h: Likewise.
30930 * iconv/iconv_prog.c: Remove CHAR16 handling.
30932 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30934 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30936 * configure.in: Remove --with-elf and --enable-bounded options.
30937 Dont set base_machine for ia64. More non-ELF conditions removed.
30938 Remove testing and setting of leading underscore information.
30939 * config.make.in (build-bounded): Set to no.
30940 * config.h.in: Remove NO_UNDERSCORES entry.
30941 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30943 * csu/start.c: Remove !NO_UNDERSCORE code.
30944 * locale/localeinfo.h: Likewise.
30945 * sysdeps/generic/machine-gmon.h: Likewise.
30946 * sysdeps/generic/sysdep.h: Likewise.
30947 * sysdeps/i386/sysdep.h: Likewise.
30948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30949 * sysdeps/mach/sysdep.h: Likewise.
30950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30952 * sysdeps/sh/sysdep.h: Likewise.
30953 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30954 * sysdeps/unix/i386/sysdep.S: Likewise.
30955 * sysdeps/unix/sparc/start.c: Likewise.
30956 * sysdeps/unix/sparc/sysdep.S: Likewise.
30957 * sysdeps/unix/sparc/sysdep.h: Likewise.
30958 * sysdeps/unix/start.c: Likewise.
30959 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30960 * sysdeps/x86_64/sysdep.h: Likewise.
30962 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30965 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30967 * argp/argp-fmtstream.h: Use const instead __const.
30968 * argp/argp.h: Likewise.
30969 * assert/assert.h: Likewise.
30970 * bits/fenv.h: Likewise.
30971 * bits/sched.h: Likewise.
30972 * bits/sigset.h: Likewise.
30973 * bits/sigthread.h: Likewise.
30974 * catgets/nl_types.h: Likewise.
30975 * conform/data/pthread.h-data: Likewise.
30976 * crypt/crypt-private.h: Likewise.
30977 * crypt/crypt.h: Likewise.
30978 * crypt/crypt_util.c: Likewise.
30979 * ctype/ctype.h: Likewise.
30980 * debug/execinfo.h: Likewise.
30981 * debug/mbsnrtowcs_chk.c: Likewise.
30982 * debug/mbsrtowcs_chk.c: Likewise.
30983 * debug/wcsnrtombs_chk.c: Likewise.
30984 * debug/wcsrtombs_chk.c: Likewise.
30985 * debug/wcstombs_chk.c: Likewise.
30986 * dirent/dirent.h: Likewise.
30987 * dlfcn/dlfcn.h: Likewise.
30988 * elf/neededtest4.c: Likewise.
30989 * grp/grp.h: Likewise.
30990 * gshadow/gshadow.h: Likewise.
30991 * iconv/gconv.h: Likewise.
30992 * iconv/gconv_int.h: Likewise.
30993 * iconv/gconv_simple.c: Likewise.
30994 * iconv/iconv.h: Likewise.
30995 * iconv/loop.c: Likewise.
30996 * iconv/skeleton.c: Likewise.
30997 * include/aio.h: Likewise.
30998 * include/aliases.h: Likewise.
30999 * include/argz.h: Likewise.
31000 * include/arpa/inet.h: Likewise.
31001 * include/assert.h: Likewise.
31002 * include/dirent.h: Likewise.
31003 * include/dlfcn.h: Likewise.
31004 * include/execinfo.h: Likewise.
31005 * include/fcntl.h: Likewise.
31006 * include/fenv.h: Likewise.
31007 * include/glob.h: Likewise.
31008 * include/grp.h: Likewise.
31009 * include/libintl.h: Likewise.
31010 * include/mntent.h: Likewise.
31011 * include/netdb.h: Likewise.
31012 * include/pwd.h: Likewise.
31013 * include/rpc/netdb.h: Likewise.
31014 * include/sched.h: Likewise.
31015 * include/search.h: Likewise.
31016 * include/shadow.h: Likewise.
31017 * include/signal.h: Likewise.
31018 * include/stdio.h: Likewise.
31019 * include/stdlib.h: Likewise.
31020 * include/string.h: Likewise.
31021 * include/sys/socket.h: Likewise.
31022 * include/sys/stat.h: Likewise.
31023 * include/sys/statfs.h: Likewise.
31024 * include/sys/statvfs.h: Likewise.
31025 * include/sys/syslog.h: Likewise.
31026 * include/sys/time.h: Likewise.
31027 * include/sys/uio.h: Likewise.
31028 * include/time.h: Likewise.
31029 * include/unistd.h: Likewise.
31030 * include/utmp.h: Likewise.
31031 * include/wchar.h: Likewise.
31032 * include/wctype.h: Likewise.
31033 * inet/aliases.h: Likewise.
31034 * inet/arpa/inet.h: Likewise.
31035 * inet/netinet/ether.h: Likewise.
31036 * inet/netinet/in.h: Likewise.
31037 * intl/libintl.h: Likewise.
31038 * io/bits/fcntl2.h: Likewise.
31039 * io/fcntl.h: Likewise.
31040 * io/ftw.h: Likewise.
31041 * io/sys/poll.h: Likewise.
31042 * io/sys/stat.h: Likewise.
31043 * io/sys/statfs.h: Likewise.
31044 * io/sys/statvfs.h: Likewise.
31045 * io/utime.h: Likewise.
31046 * libio/bits/stdio.h: Likewise.
31047 * libio/bits/stdio2.h: Likewise.
31048 * libio/libio.h: Likewise.
31049 * libio/libioP.h: Likewise.
31050 * libio/stdio.h: Likewise.
31051 * locale/lc-ctype.c: Likewise.
31052 * locale/locale.h: Likewise.
31053 * login/utmp.h: Likewise.
31054 * malloc/arena.c: Likewise.
31055 * malloc/malloc.c: Likewise.
31056 * malloc/malloc.h: Likewise.
31057 * malloc/mcheck.c: Likewise.
31058 * malloc/mtrace.c: Likewise.
31059 * math/bits/mathcalls.h: Likewise.
31060 * math/fenv.h: Likewise.
31061 * math/math_private.h: Likewise.
31062 * misc/bits/error.h: Likewise.
31063 * misc/bits/syslog.h: Likewise.
31064 * misc/err.h: Likewise.
31065 * misc/error.h: Likewise.
31066 * misc/fstab.h: Likewise.
31067 * misc/mntent.h: Likewise.
31068 * misc/regexp.h: Likewise.
31069 * misc/search.h: Likewise.
31070 * misc/sgtty.h: Likewise.
31071 * misc/sys/mman.h: Likewise.
31072 * misc/sys/syslog.h: Likewise.
31073 * misc/sys/uio.h: Likewise.
31074 * misc/sys/xattr.h: Likewise.
31075 * misc/ttyent.h: Likewise.
31076 * nis/rpcsvc/ypclnt.h: Likewise.
31077 * nss/nss.h: Likewise.
31078 * posix/bits/unistd.h: Likewise.
31079 * posix/fnmatch.h: Likewise.
31080 * posix/glob.h: Likewise.
31081 * posix/sched.h: Likewise.
31082 * posix/spawn.h: Likewise.
31083 * posix/sys/wait.h: Likewise.
31084 * posix/unistd.h: Likewise.
31085 * posix/wordexp.h: Likewise.
31086 * pwd/pwd.h: Likewise.
31087 * resolv/netdb.h: Likewise.
31088 * resource/sys/resource.h: Likewise.
31089 * rt/aio.h: Likewise.
31090 * rt/bits/mqueue2.h: Likewise.
31091 * rt/mqueue.h: Likewise.
31092 * shadow/shadow.h: Likewise.
31093 * signal/signal.h: Likewise.
31094 * socket/send.c: Likewise.
31095 * socket/sendto.c: Likewise.
31096 * socket/sys/socket.h: Likewise.
31097 * stdio-common/printf.h: Likewise.
31098 * stdlib/bits/stdlib.h: Likewise.
31099 * stdlib/fmtmsg.h: Likewise.
31100 * stdlib/monetary.h: Likewise.
31101 * stdlib/stdlib.h: Likewise.
31102 * stdlib/ucontext.h: Likewise.
31103 * streams/stropts.h: Likewise.
31104 * string/argz.h: Likewise.
31105 * string/bits/string2.h: Likewise.
31106 * string/string.h: Likewise.
31107 * string/strings.h: Likewise.
31108 * sunrpc/rpc/auth.h: Likewise.
31109 * sunrpc/rpc/auth_des.h: Likewise.
31110 * sunrpc/rpc/clnt.h: Likewise.
31111 * sunrpc/rpc/netdb.h: Likewise.
31112 * sunrpc/rpc/pmap_clnt.h: Likewise.
31113 * sunrpc/rpc/xdr.h: Likewise.
31114 * sysdeps/generic/inttypes.h: Likewise.
31115 * sysdeps/generic/net/if.h: Likewise.
31116 * sysdeps/generic/sys/swap.h: Likewise.
31117 * sysdeps/gnu/net/if.h: Likewise.
31118 * sysdeps/gnu/utmpx.h: Likewise.
31119 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31120 * sysdeps/i386/i486/bits/string.h: Likewise.
31121 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31122 * sysdeps/s390/bits/string.h: Likewise.
31123 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31124 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31125 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31126 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31127 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31128 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31129 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31130 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31131 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31132 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31133 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31134 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31135 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31136 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31137 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31138 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31139 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31144 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31145 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31146 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31147 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31148 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31149 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31151 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31153 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31154 * sysvipc/sys/ipc.h: Likewise.
31155 * sysvipc/sys/msg.h: Likewise.
31156 * sysvipc/sys/sem.h: Likewise.
31157 * sysvipc/sys/shm.h: Likewise.
31158 * termios/termios.h: Likewise.
31159 * time/sys/time.h: Likewise.
31160 * time/time.h: Likewise.
31161 * wcsmbs/bits/wchar2.h: Likewise.
31162 * wcsmbs/uchar.h: Likewise.
31163 * wcsmbs/wchar.h: Likewise.
31164 * wctype/wctype.h: Likewise.
31167 * Makeconfig: Remove all but ELF support including AIX support.
31168 * Makerules: Likewise.
31169 * config.h.in: Likewise.
31170 * config.make.in: Likewise.
31171 * configure: Likewise.
31172 * configure.in: Likewise.
31173 * csu/Makefile: Likewise.
31174 * csu/version.c: Likewise.
31175 * debug/Makefile: Likewise.
31176 * dlfcn/Makefile: Likewise.
31177 * elf/Makefile: Likewise.
31178 * extra-lib.mk: Likewise.
31179 * iconv/Makefile: Likewise.
31180 * include/libc-symbols.h: Likewise.
31181 * include/shlib-compat.h: Likewise.
31182 * resolv/Makefile: Likewise.
31183 * resolv/res_libc.c: Likewise.
31184 * rt/Makefile: Likewise.
31185 * sysdeps/i386/asm-syntax.h: Likewise.
31186 * sysdeps/i386/sysdep.h: Likewise.
31187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31188 * sysdeps/mach/sysdep.h: Likewise.
31189 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31190 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31191 * sysdeps/s390/asm-syntax.h: Likewise.
31192 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31194 * sysdeps/sh/sysdep.h: Likewise.
31195 * sysdeps/unix/sparc/sysdep.h: Likewise.
31196 * sysdeps/wordsize-32/divdi3.c: Likewise.
31197 * sysdeps/x86_64/sysdep.h: Likewise.
31199 * argp/Versions: Remove _argp_unlock_xxx.
31202 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31203 * abilist/libBrokenLocale.abilist: Likewise.
31204 * abilist/libanl.abilist: Likewise.
31205 * abilist/libc.abilist: Likewise.
31206 * abilist/libcrypt.abilist: Likewise.
31207 * abilist/libdl.abilist: Likewise.
31208 * abilist/libm.abilist: Likewise.
31209 * abilist/libnsl.abilist: Likewise.
31210 * abilist/libpthread.abilist: Likewise.
31211 * abilist/libresolv.abilist: Likewise.
31212 * abilist/librt.abilist: Likewise.
31213 * abilist/libthread_db.abilist: Likewise.
31214 * abilist/libutil.abilist: Likewise.
31215 * abilist/libnss_db.abilist: New file.
31217 * scripts/abilist.awk: Add support for indirect functions.
31219 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31221 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31223 * shlib-versions: Remove entries for ports architectures.
31225 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31227 * elf/stackguard-macros.h: Remove support for IA-64.
31228 * elf/tst-auditmod1.c: Likewise.
31229 * sysdeps/generic/ldsodefs.h: Likewise.
31231 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31232 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31236 * configure.in: Remove --enable-omitfp support.
31238 * config.make.in: Likewise.
31239 * Makeconfig: Likewise.
31240 * manual/install.texi: Likewise.
31242 In case anyone cares, the IA-64 architecture could move to ports.
31243 * sysdeps/ia64/*: Removed.
31244 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31245 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31248 * configure.in: Remove entries for unsupported architectures.
31251 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31252 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31254 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31255 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31256 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31257 fall back to using wcrtomb.
31258 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31259 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31261 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31262 * wcsmbs/tst-c16c32-1.c: New file.
31264 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31267 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31269 * elf/tst-unique3.cc: Add explicit declaration of gets.
31270 * elf/tst-unique3lib.cc: Likewise.
31271 * elf/tst-unique3lib2.cc: Likewise.
31272 * elf/tst-unique4.cc: Likewise.
31274 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31276 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31279 * assert/assert.h (static_assert): Don't define for C++.
31280 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31281 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31283 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31285 * iconv/loop.c (single loop): Fix assertion in storing of
31288 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31290 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31292 * posix/getconf.c: Update copyright year.
31293 * nss/getent.c: Likewise.
31294 * nss/makedb.c: Likewise.
31295 * iconv/iconvconfig.c: Likewise.
31296 * iconv/iconv_prog.c: Likewise.
31297 * elf/ldconfig.c: Likewise.
31298 * elf/pldd.c: Likewise.
31299 * elf/sotruss.ksh: Likewise.
31300 * catgets/gencat.c: Likewise.
31301 * csu/version.c: Likewise.
31302 * elf/ldd.bash.in: Likewise.
31303 * elf/sprof.c (print_version): Likewise.
31304 * locale/programs/locale.c: Likewise.
31305 * locale/programs/localedef.c: Likewise.
31306 * login/programs/pt_chown.c: Likewise.
31307 * nscd/nscd.c (print_version): Likewise.
31308 * debug/xtrace.sh: Likewise.
31309 * malloc/memusage.sh: Likewise.
31310 * malloc/mtrace.pl: Likewise.
31311 * debug/catchsegv.sh: Likewise.
31313 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31315 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31318 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31321 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31322 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31324 * iconv/gconv_int.h: Likewise.
31325 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31326 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31327 from libc for GLIBC_2.16.
31328 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31329 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31330 * wcsmbs/uchar.h: Really define mbstate_t.
31331 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31332 * wcsmbs/c16rtomb.c: New file.
31333 * wcsmbs/mbrtoc16.c: New file.
31334 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31335 for C/POSIX locale.
31336 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31337 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31339 * wcsmbs/wchar.h: Add missing __restrict.
31341 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31344 * time/Makefile (routines): Add timespec_get.
31345 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31346 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31347 timespec for ISO C11.
31348 * time/timespec_get.c: New file.
31349 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31350 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31353 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31354 * stdlib/stdlib.h: Declare aligned_alloc.
31355 * Versions.def: Add GLIBC_2.16 for libc.
31356 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31359 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31362 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31366 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31369 * assert/assert.h (static_assert): Define.
31371 * version.h: Update for 2.16 development version.
31374 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31377 * version.h (RELEASE): Bump for 2.15 release.
31378 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31380 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31381 Patch by Marek Polacek <mpolacek@redhat.com>.
31383 * bits/byteswap.h: Protect long long constants with __extension__.
31384 * sysdeps/i386/bits/byteswap.h: Likewise.
31385 * sysdeps/ia64/bits/byteswap.h: Likewise.
31386 * sysdeps/s390/bits/byteswap.h: Likewise.
31387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31389 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31393 destination buffer.
31394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31396 2011-12-23 Marek Polacek <polacek@redhat.com>
31398 * elf/dl-addr.c (determine_info): Add inline keyword.
31399 * elf/tst-auditmod4b.c (check_avx): Likewise.
31400 * elf/tst-auditmod6b.c (check_avx): Likewise.
31401 * elf/tst-auditmod6c.c (check_avx): Likewise.
31402 * elf/tst-auditmod7b.c (check_avx): Likewise.
31404 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31406 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31409 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31413 processing for last bytes.
31415 2011-08-06 Bruno Haible <bruno@clisp.org>
31418 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31419 U+0385, not to U+1FEE.
31422 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31423 entry for U+00A5 U+0301.
31425 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31428 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31429 buffer for the output is too small.
31431 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31435 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31436 SSE flags if possible.
31438 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31442 processing for last bytes.
31444 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31446 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31447 (syscall-list-default-options, syscall-list-default-condition)
31448 (syscall-list-includes): Define.
31449 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31450 list of ABIs and options and #if conditions for each ABI. Do not
31451 handle common syscalls between ABIs specially.
31452 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31454 (syscall-list-variants, syscall-list-32bit-options)
31455 (syscall-list-32bit-condition, syscall-list-64bit-options)
31456 (syscall-list-64bit-condition): Define.
31457 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31458 (syscall-list-variants, syscall-list-32bit-options)
31459 (syscall-list-32bit-condition, syscall-list-64bit-options)
31460 (syscall-list-64bit-condition): Define.
31461 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31463 (syscall-list-variants, syscall-list-32bit-options)
31464 (syscall-list-32bit-condition, syscall-list-64bit-options)
31465 (syscall-list-64bit-condition): Define.
31466 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31468 (syscall-list-variants, syscall-list-32bit-options)
31469 (syscall-list-32bit-condition, syscall-list-64bit-options)
31470 (syscall-list-64bit-condition): Define.
31472 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31474 * locale/iso-639.def: Add brx entry.
31477 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31478 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31480 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31481 __feraiseexcept_renamed.
31483 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31486 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31487 EPOLLET with unsigned values.
31488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31491 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31492 to large cancellation.
31493 * math/s_cacoshf.c: Likewise.
31494 * math/s_cacoshl.c: Likewise.
31496 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31500 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31501 * math/s_cacoshf.c: Likewise.
31502 * math/s_cacoshl.c: Likewise.
31504 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31507 * iconv/gconv.h: Define __GCONV_SWAP.
31508 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31509 * iconvdata/utf-16.c: Likewise.
31510 * iconvdata/utf-32.c: Likewise.
31512 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31516 numerator after shifting it by one limb.
31518 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31521 under [__USE_EXTERN_INLINES].
31523 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31526 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31528 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31530 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31531 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31533 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31535 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31536 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31537 for strncasecmp/strncasecmp_l compilation.
31538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31539 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31541 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31544 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31547 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31550 * time/tzfile.c (__tzfile_read): Check values from file header.
31552 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31554 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31555 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31556 * powerpc/powerpc32/dl-start.S: Likewise.
31557 * powerpc/powerpc32/elf/start.S: Likewise.
31558 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31559 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31560 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31561 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31562 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31563 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31564 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31565 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31566 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31567 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31568 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31569 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31570 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31571 * powerpc/powerpc32/memset.S: Likewise.
31572 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31573 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31574 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31575 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31576 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31577 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31578 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31579 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31580 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31581 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31582 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31583 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31584 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31586 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31588 * math/libm-test.inc: Added more nearbyint tests.
31589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31594 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31596 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31599 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31601 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31602 Add wcscpy-ssse3 wcscpy-c.
31603 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31604 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31605 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31606 * sysdeps/x86_64/wcschr.S: New file.
31607 * sysdeps/x86_64/wcsrchr.S: New file.
31608 * string/test-strcmp.c: Remove checking of wcscmp function for
31610 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31611 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31612 wcsrchr-sse2 wcsrchr-c.
31613 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31614 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31615 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31616 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31617 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31618 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31619 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31620 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31621 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31622 * wcsmbc/wcschr.c (WCSCHR): New macro.
31624 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31626 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31627 * wcsmbs/test-wcsrchr.c: New file.
31628 * string/test-strrchr.c: Add wcsrchr support.
31630 * wcsmbs/test-wcscpy.c: New file.
31631 * string/test-strcpy.c: Add wcscpy support.
31634 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31639 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31642 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31644 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31647 Minor optimizations.
31649 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31650 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31651 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31653 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31655 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31656 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31657 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31658 for gcc to avoid warnings.
31659 * inet/Makefile (tests): Add tst-checks.
31660 * inet/tst-checks.c: New file.
31662 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31665 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31668 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31669 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31671 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31673 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31678 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31680 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31683 conditional on GCC version.
31684 (__arch_compare_and_exchange_val_8_acq)
31685 (__arch_compare_and_exchange_val_16_acq)
31686 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31687 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31688 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31690 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31692 * sysdeps/sh/backtrace.c: New file.
31694 2011-12-02 Andreas Schwab <schwab@redhat.com>
31696 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31699 2011-12-01 Andreas Schwab <schwab@redhat.com>
31701 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31702 falling back to utime.
31704 2011-11-30 Andreas Schwab <schwab@redhat.com>
31706 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31707 expectations for float.
31709 2011-11-29 Andreas Schwab <schwab@redhat.com>
31711 * locale/weight.h (findidx): Add parameter len.
31712 * locale/weightwc.h (findidx): Likewise.
31713 * posix/fnmatch_loop.c (FCT): Adjust caller.
31714 * posix/regcomp.c (build_equiv_class): Likewise.
31715 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31716 * posix/regexec.c (check_node_accept_bytes): Likewise.
31717 * string/strcoll_l.c (STRCOLL): Likewise.
31718 * string/strxfrm_l.c (STRXFRM): Likewise.
31720 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31722 * Makefile.in: Remove CVSOPT handling.
31723 * configure.in: Remove use of AC_REVISION.
31724 * iconvdata/Makefile (distribute): No need to filter out CVS.
31725 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31728 2011-11-16 Andreas Schwab <schwab@redhat.com>
31730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31731 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31732 [USE_AS_STRNCASECMP_L]: Likewise.
31733 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31734 NO_TLS_DIRECT_SEG_REFS.
31735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31736 Fix argument offsets for non-PIC.
31737 [USE_AS_STRNCASECMP_L]: Likewise.
31738 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31739 NO_TLS_DIRECT_SEG_REFS.
31741 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31743 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31745 * locale/loadlocale.c (_nl_load_locale): Likewise.
31747 2011-11-15 Andreas Schwab <schwab@redhat.com>
31749 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31750 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31752 (SYSCALL_GETTIME): Set errno on error.
31754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31755 count references to noai6ai_cached.
31757 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31759 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31761 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31762 FD_CLOEXEC for /proc/self/maps.
31764 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31765 FD_CLOEXEC for /proc/meminfo.
31767 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31770 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31771 FD_CLOEXEC for given file.
31773 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31775 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31776 FD_CLOEXEC for /etc/hosts.
31777 (_gethtent): Likewise.
31779 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31781 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31782 cancellation and set FD_CLOEXEC for /etc/netgroup.
31784 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31785 reading /etc/publickey.
31787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31788 allow cancellation when reading /etc/group.
31790 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31792 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31794 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31795 when using data file.
31797 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31799 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31800 (write_nis_obj): Use "c" and "e" in fopen.
31802 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31804 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31806 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31808 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31810 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31813 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31815 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31817 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31819 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31820 file parsing and set FD_CLOEXEC.
31822 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31824 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31826 2011-11-14 Andreas Schwab <schwab@redhat.com>
31828 * malloc/arena.c (arena_get2): Don't call reused_arena when
31829 _int_new_arena failed.
31831 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31834 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31839 to compile strcasecmp and strncasecmp.
31840 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31841 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31845 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31848 locale-defines.sym to gen-as-const-headers.
31849 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31850 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31852 to compile strcasecmp and strncasecmp.
31853 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31854 strcasecmp_l and strncasecmp_l.
31855 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31856 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31857 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31858 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31859 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31860 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31861 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31862 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31863 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31864 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31865 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31867 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31869 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31870 result of SYSDEP_GETTIME_CPU to retval.
31871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31872 parameter list to macro. Remove trailing semicolon. Adjust users.
31874 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31882 from unused variable.
31884 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31886 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31889 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31892 * sunrpc/rpc_prot.c (rejected): Fix case value.
31894 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31895 unsigned long long int to avoid warnings in shift.
31897 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31899 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31902 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31903 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31906 * nis/nis_table.c (nis_list): Use variable of correct type for
31907 result of __follow_path call.
31909 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31911 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31912 of math functions ceil, trunc, floor, round, and sqrt, when
31913 avaliable on the platform.
31914 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31920 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31922 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31925 2011-11-11 Roland McGrath <roland@hack.frob.com>
31927 * include/unistd.h: Fix __readlink return type.
31928 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31930 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31932 * stdlib/ucontext.h: Undo last change for makecontext.
31934 2011-11-11 Andreas Schwab <schwab@redhat.com>
31936 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31938 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31939 * setjmp/setjmp.h: Mark functions as non-leaf.
31940 * setjmp/bits/setjmp2.h: Likewise.
31941 * stdlib/ucontext.h: Likewise.
31943 2011-11-10 Andreas Schwab <schwab@redhat.com>
31945 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31946 (reused_arena): Don't check arena limit.
31947 (arena_get2): Atomically check arena limit.
31949 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31951 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31952 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31957 2011-11-07 Andreas Schwab <schwab@redhat.com>
31959 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31960 handler when locking.
31962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31963 Fix size of allocated buffer.
31965 2011-11-04 Andreas Schwab <schwab@redhat.com>
31968 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31969 declarations for long double functions.
31970 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31972 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31974 2011-11-03 Andreas Schwab <schwab@redhat.com>
31976 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31979 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31982 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31984 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31986 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31988 * include/alloca.h (stackinfo_alloca_round): Define.
31989 (extend_alloca): Use it.
31990 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31991 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31994 * scripts/check-local-headers.sh: Ignore libaudit.h.
31996 * nscd/Makefile (extra-objs): Make recursively expanded.
31998 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32000 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32003 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32004 * posix/tst-rfc3484-2.c: Likewise.
32005 * posix/tst-rfc3484-3.c: Likewise.
32007 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32009 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32011 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32012 process_vm_writev from libc using GLIBC_2.15 version.
32014 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32016 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32018 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32021 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32024 * nss/getent.c (initgroups_keys): Show error message in case no group
32027 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32028 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32029 __bump_nl_timestamp.
32030 * nscd/connections (nscd_init): When host database is served open
32031 netlink socket and request notification about configuration changes.
32032 (main_loop_poll): Track netlink file descriptor and bump timestamp
32033 in case data becomes available.
32034 (main_loop_epoll): Likewise.
32035 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32036 (database_pers_head): Add extra_data fileds.
32037 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32039 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32042 in6ai data, call __free_in6ai.
32043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32044 Add -DHAVE_NETLINK.
32045 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32046 interface information. Reuse previous data if netlink timestamp
32048 (__bump_nl_timestamp): New function.
32049 (__free_in6ai): New function.
32051 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32054 close_not_cancel_no_status here.
32055 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32057 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32060 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32063 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32064 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32065 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32067 2011-07-03 Andreas Jaeger <aj@suse.de>
32070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32071 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32072 * math/libm-test.inc (sin_test): Add test case.
32074 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32077 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32078 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32080 * elf/chroot_canon.c (chroot_canon): Cleanups.
32082 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32085 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32086 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32088 * string/test-strchr.c: Make usable for strchrnul testing.
32089 * string/test-strchrnul.c: New file.
32090 * string/Makefile (strop-tests): Add strchrnul.
32092 * po/it.po: Update from translation team.
32093 * po/es.po: Likewise.
32095 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32098 the three constants needed as parameters. Drop the others.
32099 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32100 __m128i_strloadu_tolower.
32101 Create and initialize variable zero and use it in all the places
32102 where _mm_setzero_si128 was used.
32104 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32105 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32106 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32109 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32112 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32114 __mpranred, __mptan.
32115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32119 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32120 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32121 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32122 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32125 2011-10-28 Andreas Schwab <schwab@redhat.com>
32127 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32128 redefine if SHARED.
32129 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32132 wide char related routines to wcsmbs subdir.
32134 2011-10-27 Andreas Schwab <schwab@redhat.com>
32137 * misc/sys/cdefs.h (__THROWNL): Define.
32138 * posix/unistd.h: Use __THREADNL instead of __THREAD
32139 for memory synchronization functions.
32141 2011-10-26 Roland McGrath <roland@hack.frob.com>
32144 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32146 * manual/stdio.texi (Obstack Streams): Node removed.
32148 2011-10-26 Andreas Schwab <schwab@redhat.com>
32150 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32154 * math/math_private.h (math_force_eval): Allow non-addressable
32156 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32158 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32161 file is not needed.
32163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32170 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32172 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32174 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32175 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32176 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32177 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32178 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32179 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32182 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32183 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32189 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32192 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32193 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32196 place. Use VEX encoding when compiling for AVX.
32198 2011-10-25 Andreas Schwab <schwab@redhat.com>
32200 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32201 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32203 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32205 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32207 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32208 useless if() expression.
32209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32219 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32223 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32229 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32231 2011-10-25 Andreas Schwab <schwab@redhat.com>
32233 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32237 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32239 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32240 .text section. Avoid duplicate constants.
32241 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32251 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32253 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32255 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32258 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32273 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32274 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32275 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32276 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32277 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32279 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32283 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32284 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32285 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32287 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32289 * sysdeps/x86_64/dla.h: Move to ...
32290 * sysdeps/x86_64/fpu/dla.h: ...here.
32291 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32292 situations. Use __builtin_fma only for gcc 4.6 and up.
32294 * config.make.in: Add have-mfma4 entry.
32295 * configure.in: Substitute libc_cv_cc_fma4.
32296 * math/Makefile (dbl-only-routines): Add sincostab.
32297 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32298 Use __sincostab not sincos.
32299 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32306 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32307 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32308 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32309 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32312 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32314 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32315 define aliases when function name is a macro.
32316 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32317 sysdeps/ieee754/dbl-64/sincos.tbl.
32318 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32319 fma4-enabled routines.
32320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32325 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32347 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32348 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32349 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32351 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32362 2011-10-24 Andreas Schwab <schwab@redhat.com>
32364 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32366 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32374 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32375 Remove unused variable magic_bits.
32376 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32378 * string/strnlen.c: Define and use STRNLEN macro.
32379 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32380 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32382 * wcsmbs/wcslen.c: Define and use WCSLEN.
32383 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32384 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32385 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32386 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32387 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32388 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32391 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32394 strnlen-sse2-no-bsf.
32395 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32397 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32398 Add strnlen support.
32399 (USE_AS_STRNLEN): New macro.
32400 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32402 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32403 * sysdeps/x86_64/wcslen.S: New file.
32405 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32408 XMM-moves are used for copying on small sizes.
32410 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32412 * wcsmbs/Makefile (strop-tests): Add wcschr.
32413 * wcsmbs/test-wcschr.c: New file.
32414 * string/test-strchr.c: Update.
32415 Add wcschr support.
32418 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32420 * wcsmbs/Makefile (strop-tests): Add wcslen.
32421 * wcsmbs/test-wcslen.c: New file.
32422 * string/test-strlen.c: Update.
32423 Add wcslen support.
32426 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32428 * po/it.po: Update from translation team.
32430 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32432 * sysdeps/x86_64/wcscmp.S: Update.
32433 Fix wrong comparison semantics.
32434 wcscmp shall use signed comparison not unsigned.
32435 Don't use substraction to avoid overflow bug.
32436 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32437 * wcsmbc/wcscmp.c: Likewise.
32438 * string/test-strcmp.c: Likewise.
32439 Add new tests to check cases with negative values.
32441 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32443 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32444 * sysdeps/x86_64/dla.h: ...here. New file.
32445 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32455 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32458 __ynl_finite aliases.
32460 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32464 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32466 [DLA_FMA] (EMULV): Use DLA_FMA.
32467 [DLA_FMA] (MUL12): Use EMULV.
32468 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32469 that are not needed.
32470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32478 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32480 * math/s_nan.c: Undef __nan.
32481 * math/s_nanf.c: Undef __nanf.
32482 * math/s_nanl.c: Undef __nanl.
32483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32486 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32488 * math/s_catan.c: Add branch predictions.
32489 * math/s_catanf.c: Likewise.
32490 * math/s_catanh.c: Likewise.
32491 * math/s_catanhf.c: Likewise.
32492 * math/s_catanhl.c: Likewise.
32493 * math/s_catanl.c: Likewise.
32494 * math/s_cexp.c: Likewise.
32495 * math/s_cexpf.c: Likewise.
32496 * math/s_cexpl.c: Likewise.
32497 * math/s_clog.c: Likewise.
32498 * math/s_clog10.c: Likewise.
32499 * math/s_clog10f.c: Likewise.
32500 * math/s_clog10l.c: Likewise.
32501 * math/s_clogf.c: Likewise.
32502 * math/s_clogl.c: Likewise.
32503 * math/s_csqrt.c: Likewise.
32504 * math/s_csqrtf.c: Likewise.
32505 * math/s_csqrtl.c: Likewise.
32506 * math/s_ctanf.c: Likewise.
32507 * math/s_ctanh.c: Likewise.
32508 * math/s_ctanhf.c: Likewise.
32509 * math/s_ctanhl.c: Likewise.
32510 * math/s_ctanl.c: Likewise.
32512 * math/math_private.h: Define __nan, __nanf, __nanl.
32513 * math/s_cacosh.c: Include <math_private.h>.
32514 * math/s_cacoshl.c: Likewise.
32515 * math/s_casinh.c: Likewise.
32516 * math/s_casinhf.c: Likewise.
32517 * math/s_casinhl.c: Likewise.
32518 * math/s_ccos.c: Rely entire on ccosh.
32519 * math/s_ccosf.c: Rely entire on ccoshf.
32520 * math/s_ccosl.c: Rely entirely on ccoshl.
32521 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32522 Remove tests for FE_INVALID.
32523 * math/s_ccoshf.c: Likewise.
32524 * math/s_ccoshl.c: Likewise.
32525 * math/s_csin.c: Likewise.
32526 * math/s_csinf.c: Likewise.
32527 * math/s_csinh.c Likewise.
32528 * math/s_csinhf.c: Likewise.
32529 * math/s_csinhl.c: Likewise.
32530 * math/s_csinl.c: Likewise.
32531 * math/s_ctan.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32533 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32534 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32536 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32539 compilation problems.
32541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32544 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32546 * sysdeps/i386/configure.in: Test for -mfma4 option.
32547 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32548 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32549 COMMON_CPUID_INDEX_80000001.
32550 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32551 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32552 use it if FMA3 is not supported.
32553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32555 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32558 2011-10-20 Andreas Schwab <schwab@redhat.com>
32561 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32562 it would create a cycle with a link time dependency.
32564 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32566 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32568 * string/Makefile (strop-tests): Add rawmemchr.
32569 * string/test-rawmemchr.c: New file.
32571 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32573 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32574 when compiling str{,n}casecmp and when AVX is available. Hook up
32575 new optimized code in initializers.
32577 2011-10-19 Andreas Schwab <schwab@redhat.com>
32579 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32580 __feraiseexcept instead of feraiseexcept.
32582 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32584 * math/math_private.h: Define defaults for libc_fetestexcept and
32586 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32587 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32589 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32592 libc_fetestexcept and libc_feupdateenv.
32594 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32595 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32596 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32597 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32598 libc_feholdexcept_setround.
32600 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32601 Add s_nearbyint-c and s_nearbyintf-c.
32602 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32603 nearbyintf inlines.
32604 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32609 * math/math_private.h: Define defaults for libc_fegetround,
32610 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32611 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32612 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32614 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32615 standard functions.
32616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32617 Remove comments and hacks for old compiler versions.
32618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32619 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32620 libc_feholdexceptl.
32622 2011-10-18 Andreas Schwab <schwab@redhat.com>
32624 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32625 (__feraiseexcept_renamed): Add __NTH.
32626 (feraiseexcept): Add __NTH. Rename local variables to fix
32627 namespace violations.
32629 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32635 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32636 recently added interfaces.
32637 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32639 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32640 about macro parameter expansion.
32642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32643 __NO_MATH_INLINES is defined. Cleanups.
32645 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32646 and __floorf is target has SSE4.1.
32647 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32648 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32652 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32654 (floorf): Likewise.
32656 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32658 2011-10-17 Andreas Schwab <schwab@redhat.com>
32660 * misc/sys/cdefs.h: Fix last change.
32662 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32665 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32667 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32669 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32675 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32678 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32679 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32680 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32681 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32682 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32683 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32684 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32685 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32686 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32687 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32688 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32689 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32690 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32693 ceil, ceilf, floor, floorf.
32695 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32696 Perform IRELATIVE relocations last.
32698 * elf/do-rel.h: Add another parameter nrelative, replacing the
32699 local variable with the same name. Change name of the function
32700 to end in Rel or Rela (uppercase).
32701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32702 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32703 elf_dynamic_do_##reloc function.
32705 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32707 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32708 is sufficient, at least on modern CPUs.
32710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32712 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32715 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32717 * math/bits/math-finite.h: Add entries for exp.
32718 * math/e_expl.c: Add __*_finite alias.
32719 * sysdeps/i386/fpu/e_exp.S: Likewise.
32720 * sysdeps/i386/fpu/e_expf.S: Likewise.
32721 * sysdeps/i386/fpu/e_expl.c: Likewise.
32722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32727 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32728 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32730 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32731 is sufficient, at least on modern CPUs.
32733 * ctype/ctype-info.c (__ctype_init): Define.
32734 * include/ctype.h (__ctype_init): Declare.
32735 (__ctype_b_loc): The variable is always initialized.
32736 (__ctype_toupper_loc): Likewise.
32737 (__ctype_tolower_loc): Likewise.
32738 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32739 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32741 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32743 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32745 * configure.in: Also look in $cxxmachine/include for C++ system
32748 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32750 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32751 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32752 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32753 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32755 (USE_AS_WMEMCMP): New macro.
32757 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32758 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32759 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32760 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32762 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32763 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32764 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32765 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32766 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32768 (USE_AS_WMEMCMP): New macro.
32769 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32770 * sysdeps/string/test-memcmp.c: Update.
32771 Fix simple_wmemcmp.
32773 * wcsmbs/wmemcmp.c: Update.
32774 (WMEMCMP): New macro.
32777 2011-10-12 Andreas Jaeger <aj@suse.de>
32780 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32782 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32784 * libio/iofwide.c (do_length): Avoid warning.
32786 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32788 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32790 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32792 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32793 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32794 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32795 * sysdeps/i386/i686/fpu/e_log.S: New file.
32796 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32797 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32799 * ctype/ctype.h: Add support for inlined isXXX functions when
32800 compiling C++ code.
32802 2011-10-14 Andreas Schwab <schwab@redhat.com>
32804 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32808 2011-10-13 Roland McGrath <roland@hack.frob.com>
32811 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32813 2011-10-13 Andreas Schwab <schwab@redhat.com>
32815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32816 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32819 * sysdeps/x86_64/memrchr.S: Check for zero size.
32821 * string/stratcliff.c: Add memrchr tests.
32823 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32826 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32827 rawmemchr-sse2 rawmemchr-sse2-bsf.
32828 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32829 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32830 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32831 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32832 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32833 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32834 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32835 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32836 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32838 * string/memrchr.c (MEMRCHR): New macro.
32840 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32842 Add integration with gcc's -ffinite-math-only and optimize wrapper
32844 * Versions.def: Define GLIBC_2.15 version for libm.
32845 * math/Makefile (headers): Add bits/math-finite.h.
32846 * math/bits/math-finite.h: New file.
32847 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32848 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32849 * math/e_acoshl.c: Add __*_finite alias.
32850 * math/e_acosl.c: Likewise.
32851 * math/e_asinl.c: Likewise.
32852 * math/e_atan2l.c: Likewise.
32853 * math/e_atanhl.c: Likewise.
32854 * math/e_coshl.c: Likewise.
32855 * math/e_exp10.c: Likewise.
32856 * math/e_exp10f.c: Likewise.
32857 * math/e_exp10l.c: Likewise.
32858 * math/e_exp2l.c: Likewise.
32859 * math/e_fmodl.c: Likewise.
32860 * math/e_gammal_r.c: Likewise.
32861 * math/e_hypotl.c: Likewise.
32862 * math/e_j0l.c: Likewise.
32863 * math/e_j1l.c: Likewise.
32864 * math/e_jnl.c: Likewise.
32865 * math/e_lgammal_r.c: Likewise.
32866 * math/e_log10l.c: Likewise.
32867 * math/e_log2l.c: Likewise.
32868 * math/e_logl.c: Likewise.
32869 * math/e_powl.c: Likewise.
32870 * math/e_sinhl.c: Likewise.
32871 * math/e_sqrtl.c: Likewise.
32872 * math/e_scalb.c: Completely rewritten and optimized.
32873 * math/e_scalbf.c: Likewise.
32874 * math/e_scalbl.c: Likewise.
32875 * math/w_acos.c: Likewise.
32876 * math/w_acosf.c: Likewise.
32877 * math/w_acosl.c: Likewise.
32878 * math/w_acosh.c: Likewise.
32879 * math/w_acoshf.c: Likewise.
32880 * math/w_acoshl.c: Likewise.
32881 * math/w_asin.c: Likewise.
32882 * math/w_asinf.c: Likewise.
32883 * math/w_asinl.c: Likewise.
32884 * math/w_atan2.c: Likewise.
32885 * math/w_atan2f.c: Likewise.
32886 * math/w_atan2l.c: Likewise.
32887 * math/w_atanh.c: Likewise.
32888 * math/w_atanhf.c: Likewise.
32889 * math/w_atanhl.c: Likewise.
32890 * math/w_exp10.c: Likewise.
32891 * math/w_exp10f.c: Likewise.
32892 * math/w_exp10l.c: Likewise.
32893 * math/w_fmod.c: Likewise.
32894 * math/w_fmodf.c: Likewise.
32895 * math/w_fmodl.c: Likewise.
32896 * math/w_j0.c: Likewise.
32897 * math/w_j0f.c: Likewise.
32898 * math/w_j0l.c: Likewise.
32899 * math/w_j1.c: Likewise.
32900 * math/w_j1f.c: Likewise.
32901 * math/w_j1l.c: Likewise.
32902 * math/w_jn.c: Likewise.
32903 * math/w_jnf.c: Likewise.
32904 * math/w_log.c: Likewise.
32905 * math/w_logf.c: Likewise.
32906 * math/w_logl.c: Likewise.
32907 * math/w_log10.c: Likewise.
32908 * math/w_log10f.c: Likewise.
32909 * math/w_log10l.c: Likewise.
32910 * math/w_log2.c: Likewise.
32911 * math/w_log2f.c: Likewise.
32912 * math/w_log2l.c: Likewise.
32913 * math/w_pow.c: Likewise.
32914 * math/w_powf.c: Likewise.
32915 * math/w_powl.c: Likewise.
32916 * math/w_remainder.c: Likewise.
32917 * math/w_remainderf.c: Likewise.
32918 * math/w_remainderl.c: Likewise.
32919 * math/w_scalb.c: Likewise.
32920 * math/w_scalbf.c: Likewise.
32921 * math/w_scalbl.c: Likewise.
32922 * math/w_sqrt.c: Likewise.
32923 * math/w_sqrtf.c: Likewise.
32924 * math/w_sqrtl.c: Likewise.
32925 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32926 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32928 * math/math_private.h: Declare __kernel_standard_f.
32929 * math/w_cosh.c: Remove cruft and optimize a bit.
32930 * math/w_coshf.c: Likewise.
32931 * math/w_coshl.c: Likewise.
32932 * math/w_exp2.c: Likewise.
32933 * math/w_exp2f.c: Likewise.
32934 * math/w_exp2l.c: Likewise.
32935 * math/w_hypot.c: Likewise.
32936 * math/w_hypotf.c: Likewise.
32937 * math/w_hypotl.c: Likewise.
32938 * math/w_lgamma.c: Likewise.
32939 * math/w_lgamma_r.c: Likewise.
32940 * math/w_lgammaf.c: Likewise.
32941 * math/w_lgammaf_r.c: Likewise.
32942 * math/w_lgammal.c: Likewise.
32943 * math/w_lgammal_r.c: Likewise.
32944 * math/w_sinh.c: Likewise.
32945 * math/w_sinhf.c: Likewise.
32946 * math/w_sinhl.c: Likewise.
32947 * math/w_tgamma.c: Likewise.
32948 * math/w_tgammaf.c: Likewise.
32949 * math/w_tgammal.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32952 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32953 Minor optimizations. Pretty printing. Remove cruft.
32954 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32956 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32958 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32959 * sysdeps/i386/fpu/e_asin.S: Likewise.
32960 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32961 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32962 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32963 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32967 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32968 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32969 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32970 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32971 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32972 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32973 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32974 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32975 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32976 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32977 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32978 * sysdeps/i386/fpu/e_log.S: Likewise.
32979 * sysdeps/i386/fpu/e_log10.S: Likewise.
32980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32982 * sysdeps/i386/fpu/e_log2.S: Likewise.
32983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32984 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32985 * sysdeps/i386/fpu/e_logf.S: Likewise.
32986 * sysdeps/i386/fpu/e_logl.S: Likewise.
32987 * sysdeps/i386/fpu/e_pow.S: Likewise.
32988 * sysdeps/i386/fpu/e_powf.S: Likewise.
32989 * sysdeps/i386/fpu/e_powl.S: Likewise.
32990 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32991 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32992 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32996 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32997 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32998 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33020 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33026 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33040 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33079 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33094 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33095 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33096 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33097 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33098 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33099 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33100 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33101 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33102 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33107 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33109 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33110 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33111 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33112 (__isnanf): Likewise.
33113 (__isinf_ns): Likewise.
33114 (__isinf_nsf): Likewise.
33115 (__finite): Likewise.
33116 (__finitef): Likewise.
33117 (__ieee754_sqrt): Define as macro.
33118 (__ieee754_sqrtf): Define as macro.
33119 (__ieee754_sqrtl): Define as macro.
33120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33122 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33123 __FINITE_MATH_ONLY__ consistent.
33124 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33126 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33128 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33133 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33135 * po/ja.po: Update from translation team.
33137 2011-10-08 Roland McGrath <roland@hack.frob.com>
33139 * locale/programs/locarchive.c (prepare_address_space): New function.
33140 (create_archive, enlarge_archive, open_archive): Use it.
33142 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33143 inside [SHARED], where it is used.
33145 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33147 * nss/getent.c (netgroup_keys): Remove unused variable.
33148 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33150 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33152 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33153 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33155 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33156 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33158 * math/Makefile (libm-calls): Add s_isinf_ns.
33159 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33160 * math/multc3.c: Likewise.
33161 * math/s_casin.c: Likewise.
33162 * math/s_casinf.c: Likewise.
33163 * math/s_casinl.c: Likewise.
33164 * math/s_ccos.c: Likewise.
33165 * math/s_ccosf.c: Likewise.
33166 * math/s_ccosl.c: Likewise.
33167 * math/s_ctan.c: Likewise.
33168 * math/s_ctanf.c: Likewise.
33169 * math/s_ctanh.c: Likewise.
33170 * math/s_ctanhf.c: Likewise.
33171 * math/s_ctanhl.c: Likewise.
33172 * math/s_ctanl.c: Likewise.
33173 * math/w_fmod.c: Likewise.
33174 * math/w_fmodf.c: Likewise.
33175 * math/w_fmodl.c: Likewise.
33176 * math/w_remainder.c: Likewise.
33177 * math/w_remainderf.c: Likewise.
33178 * math/w_remainderl.c: Likewise.
33179 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33180 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33183 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33184 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33185 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33186 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33188 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33190 * stdio-common/printf_fphex.c: Likewise.
33191 * stdio-common/printf_size.c: Likewise.
33193 * math/e_exp10.c: Include math_private.h using <...> not "...".
33194 * math/e_exp10f.c: Likewise.
33195 * math/e_exp10l.c: Likewise.
33196 * math/e_exp2l.c: Likewise.
33197 * math/e_j0l.c: Likewise.
33198 * math/e_j1l.c: Likewise.
33199 * math/e_jnl.c: Likewise.
33200 * math/e_lgammal_r.c: Likewise.
33201 * math/e_rem_pio2l.c: Likewise.
33202 * math/e_scalb.c: Likewise.
33203 * math/e_scalbf.c: Likewise.
33204 * math/e_scalbl.c: Likewise.
33205 * math/k_cosl.c: Likewise.
33206 * math/k_sinl.c: Likewise.
33207 * math/k_tanl.c: Likewise.
33208 * math/s_cacoshf.c: Likewise.
33209 * math/s_catan.c: Likewise.
33210 * math/s_catanf.c: Likewise.
33211 * math/s_catanh.c: Likewise.
33212 * math/s_catanhf.c: Likewise.
33213 * math/s_catanhl.c: Likewise.
33214 * math/s_catanl.c: Likewise.
33215 * math/s_ccosh.c: Likewise.
33216 * math/s_ccoshf.c: Likewise.
33217 * math/s_ccoshl.c: Likewise.
33218 * math/s_cexp.c: Likewise.
33219 * math/s_cexpf.c: Likewise.
33220 * math/s_cexpl.c: Likewise.
33221 * math/s_clog.c: Likewise.
33222 * math/s_clog10.c: Likewise.
33223 * math/s_clog10f.c: Likewise.
33224 * math/s_clog10l.c: Likewise.
33225 * math/s_clogf.c: Likewise.
33226 * math/s_clogl.c: Likewise.
33227 * math/s_csin.c: Likewise.
33228 * math/s_csinf.c: Likewise.
33229 * math/s_csinh.c: Likewise.
33230 * math/s_csinhf.c: Likewise.
33231 * math/s_csinhl.c: Likewise.
33232 * math/s_csinl.c: Likewise.
33233 * math/s_csqrt.c: Likewise.
33234 * math/s_csqrtf.c: Likewise.
33235 * math/s_csqrtl.c: Likewise.
33236 * math/s_ctan.c: Likewise.
33237 * math/s_ctanf.c: Likewise.
33238 * math/s_ctanh.c: Likewise.
33239 * math/s_ctanhf.c: Likewise.
33240 * math/s_ctanhl.c: Likewise.
33241 * math/s_ctanl.c: Likewise.
33242 * math/s_ldexp.c: Likewise.
33243 * math/s_ldexpf.c: Likewise.
33244 * math/s_ldexpl.c: Likewise.
33245 * math/s_significand.c: Likewise.
33246 * math/s_significandf.c: Likewise.
33247 * math/s_significandl.c: Likewise.
33248 * math/w_acos.c: Likewise.
33249 * math/w_acosf.c: Likewise.
33250 * math/w_acosh.c: Likewise.
33251 * math/w_acoshf.c: Likewise.
33252 * math/w_acoshl.c: Likewise.
33253 * math/w_acosl.c: Likewise.
33254 * math/w_asin.c: Likewise.
33255 * math/w_asinf.c: Likewise.
33256 * math/w_asinl.c: Likewise.
33257 * math/w_atan2.c: Likewise.
33258 * math/w_atan2f.c: Likewise.
33259 * math/w_atan2l.c: Likewise.
33260 * math/w_atanh.c: Likewise.
33261 * math/w_atanhf.c: Likewise.
33262 * math/w_atanhl.c: Likewise.
33263 * math/w_cosh.c: Likewise.
33264 * math/w_coshf.c: Likewise.
33265 * math/w_coshl.c: Likewise.
33266 * math/w_dremf.c: Likewise.
33267 * math/w_exp10.c: Likewise.
33268 * math/w_exp10f.c: Likewise.
33269 * math/w_exp10l.c: Likewise.
33270 * math/w_exp2.c: Likewise.
33271 * math/w_exp2f.c: Likewise.
33272 * math/w_fmod.c: Likewise.
33273 * math/w_fmodf.c: Likewise.
33274 * math/w_fmodl.c: Likewise.
33275 * math/w_hypot.c: Likewise.
33276 * math/w_hypotf.c: Likewise.
33277 * math/w_hypotl.c: Likewise.
33278 * math/w_j0.c: Likewise.
33279 * math/w_j0f.c: Likewise.
33280 * math/w_j0l.c: Likewise.
33281 * math/w_j1.c: Likewise.
33282 * math/w_j1f.c: Likewise.
33283 * math/w_j1l.c: Likewise.
33284 * math/w_jn.c: Likewise.
33285 * math/w_jnf.c: Likewise.
33286 * math/w_jnl.c: Likewise.
33287 * math/w_lgamma.c: Likewise.
33288 * math/w_lgamma_r.c: Likewise.
33289 * math/w_lgammaf.c: Likewise.
33290 * math/w_lgammaf_r.c: Likewise.
33291 * math/w_lgammal.c: Likewise.
33292 * math/w_lgammal_r.c: Likewise.
33293 * math/w_log.c: Likewise.
33294 * math/w_log10.c: Likewise.
33295 * math/w_log10f.c: Likewise.
33296 * math/w_log10l.c: Likewise.
33297 * math/w_log2.c: Likewise.
33298 * math/w_log2f.c: Likewise.
33299 * math/w_log2l.c: Likewise.
33300 * math/w_logf.c: Likewise.
33301 * math/w_logl.c: Likewise.
33302 * math/w_pow.c: Likewise.
33303 * math/w_powf.c: Likewise.
33304 * math/w_powl.c: Likewise.
33305 * math/w_remainder.c: Likewise.
33306 * math/w_remainderf.c: Likewise.
33307 * math/w_remainderl.c: Likewise.
33308 * math/w_scalb.c: Likewise.
33309 * math/w_scalbf.c: Likewise.
33310 * math/w_scalbl.c: Likewise.
33311 * math/w_sinh.c: Likewise.
33312 * math/w_sinhf.c: Likewise.
33313 * math/w_sinhl.c: Likewise.
33314 * math/w_sqrt.c: Likewise.
33315 * math/w_sqrtf.c: Likewise.
33316 * math/w_sqrtl.c: Likewise.
33317 * math/w_tgamma.c: Likewise.
33318 * math/w_tgammaf.c: Likewise.
33319 * math/w_tgammal.c: Likewise.
33321 * po/ja.po: Update from translation team.
33323 2011-09-29 Andreas Jaeger <aj@suse.de>
33326 * sunrpc/netname.c (netname2host): Fix logic.
33330 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33332 * math/w_remainder.c (__remainder): Likewise.
33333 * math/w_remainderf.c (__remainderf): Likewise.
33334 * math/libm-test.inc (remainder_test): Add test cases.
33336 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33338 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33341 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33343 * string/test-memcmp.c: Avoid unncessary #defines.
33344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33346 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33348 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33349 Use new sse2 version for core i3 - i7 as it's faster
33350 than sse42 version.
33351 (bit_Prefer_PMINUB_for_stringop): New.
33352 * sysdeps/x86_64/rawmemchr.S: Update.
33353 Replace with faster SSE2 version.
33354 * sysdeps/x86_64/memrchr.S: New file.
33355 * sysdeps/x86_64/memchr.S: Update.
33356 Replace with faster SSE2 version.
33358 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33360 * elf/dl-load.c (lose): Add cast to avoid warning.
33362 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33364 * po/ca.po: Update from translation team.
33366 * inet/getnetgrent_r.c: Hook up nscd.
33367 * nscd/Makefile (routines): Add nscd_netgroup.
33368 (nscd-modules): Add netgroupcache.
33369 (CFLAGS-netgroupcache.c): Define.
33370 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33371 (cache_search): Add const to second parameter.
33372 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33374 (dbs): Add netgrdb entry.
33375 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33376 (verify_persistent_db): Handle netgrdb.
33377 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33378 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33380 (netgroup_response_header): Define.
33381 (innetgroup_response_header): Define.
33382 (datahead): Add netgroup_response_header and innetgroup_response_header
33384 * nscd/nscd.conf: Add entries for netgroup cache.
33385 * nscd/nscd.h (dbtype): Add netgrdb.
33386 (_PATH_NSCD_NETGROUP_DB): Define.
33387 (netgroup_iov_disabled): Declare.
33388 (xmalloc, xcalloc, xrealloc): Move declarations here.
33389 (cache_search): Adjust prototype.
33390 Add netgroup-related prototypes.
33391 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33392 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33393 (__nscd_innetgr): Declare.
33394 * nscd/selinux.c (perms): Use access_vector_t as element type and
33395 add netgroup-related initializers.
33396 * nscd/netgroupcache.c: New file.
33397 * nscd/nscd_netgroup.c: New file.
33398 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33399 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33400 For four parameters use innetgr.
33401 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33402 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33403 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33404 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33406 * nscd/connections.c (register_traced_file): Don't register file
33407 for disabled databases.
33409 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33411 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33413 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33414 from tree and freeing node.
33416 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33418 * nss/nsswitch.c (__nss_database_lookup): Handle
33419 nss_parse_service_list out of memory case.
33421 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33423 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33424 out of memory case.
33426 2011-10-04 Andreas Schwab <schwab@redhat.com>
33428 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33429 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33431 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33432 elf_machine_rela, elf_machine_lazy_rel.
33433 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33434 (ELF_DYNAMIC_DO_REL): Likewise.
33435 (ELF_DYNAMIC_DO_RELA): Likewise.
33436 (ELF_DYNAMIC_RELOCATE): Likewise.
33437 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33438 to ELF_DYNAMIC_DO_REL.
33439 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33440 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33441 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33444 skip_ifunc, don't call ifunc function if non-zero.
33445 (elf_machine_rela): Likewise.
33446 (elf_machine_lazy_rel): Likewise.
33447 (elf_machine_lazy_rela): Likewise.
33448 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33449 (elf_machine_lazy_rel): Likewise.
33450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33452 (elf_machine_lazy_rel): Likewise.
33453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33455 (elf_machine_lazy_rel): Likewise.
33456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33457 (elf_machine_lazy_rel): Likewise.
33458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33459 (elf_machine_lazy_rel): Likewise.
33460 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33461 (elf_machine_lazy_rel): Likewise.
33462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33463 (elf_machine_lazy_rel): Likewise.
33464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33465 (elf_machine_lazy_rel): Likewise.
33466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33467 (elf_machine_lazy_rel): Likewise.
33469 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33471 * nss/nss_files/files-init.c (_nss_files_init): Use static
33472 initialization for all the *_traced_file variables.
33474 2011-09-28 Andreas Schwab <schwab@redhat.com>
33476 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33478 2011-09-27 Roland McGrath <roland@hack.frob.com>
33481 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33483 2011-09-27 Andreas Schwab <schwab@redhat.com>
33485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33486 Reread the line before reparsing it.
33488 2011-09-26 Andreas Schwab <schwab@redhat.com>
33490 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33492 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33493 Maxim Kuvyrkov <maxim@codesourcery.com>
33494 Joseph Myers <joseph@codesourcery.com>
33496 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33497 if needed for __stack_chk_guard.
33499 2011-09-19 Roland McGrath <roland@hack.frob.com>
33501 * sysdeps/posix/spawni.c (script_execute): Always define it.
33502 It will be optimized away if unused.
33503 (maybe_script_execute): New function.
33504 (__spawni): Call it.
33506 * Makerules: Don't include tls.make.
33507 (config-tls): Always set to thread.
33508 * tls.make.c: File removed.
33510 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33512 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33513 * config.make.in (CPPFLAGS-config): New substituted variable.
33515 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33520 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33521 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33523 2011-09-15 Roland McGrath <roland@hack.frob.com>
33525 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33526 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33528 (CALL_FAIL): Likewise.
33529 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33530 (CALL_FAIL): Macro removed.
33531 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33533 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33535 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33536 for __FINITE_MATH_ONLY__ == 1.
33538 2011-09-15 Andreas Schwab <schwab@redhat.com>
33540 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33541 __ieee754_sqrt instead of sqrt.
33542 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33543 __ieee754_sqrtf instead of sqrtf.
33544 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33545 __floorf instead of floorf.
33546 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33547 __floorf, __truncf instead of floorf, truncf.
33549 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33551 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33553 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33554 __extern_always_inline.
33555 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33558 2011-09-14 Andreas Schwab <schwab@redhat.com>
33560 * elf/rtld.c (dl_main): Also relocate in dependency order when
33561 doing symbol dependency testing.
33563 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33566 Always define `refsym'.
33568 2011-09-13 Andreas Schwab <schwab@redhat.com>
33570 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33571 (__FD_ELT): Renamed from __FDELT.
33572 * misc/bits/select2.h (__FD_ELT): Likewise.
33573 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33574 __FD_MASK instead of __FDELT, __FDMASK.
33575 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33577 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33580 * elf/Makefile (gen-ldd): Fix pattern.
33582 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33583 (init_tls): Likewise.
33585 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33589 2011-09-12 Andreas Schwab <schwab@redhat.com>
33591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33592 `struct cmsghdr *' instead of `void *'.
33593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33596 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33598 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33600 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33601 ldd_rewrite_script.
33603 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33605 * configure.in: Remove --with-tls option.
33606 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33607 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33608 out in case it is missing.
33609 * sysdeps/ia64/elf/configure.in: Likewise.
33610 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33611 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33612 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33613 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33614 * sysdeps/sh/elf/configure.in: Likewise.
33615 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33616 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33617 * sysdeps/x86_64/elf/configure.in: Likewise.
33618 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33619 * sysdeps/mach/hurd/tls.h: Likewise.
33622 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33625 * configure.in: Fix use of AC_INIT.
33627 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33629 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33631 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33633 * malloc/hooks.c: Likewise.
33636 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33637 variables statically.
33638 (narenas): Initialize.
33639 (list_lock): Initialize.
33640 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33641 initializtion of main_arena and list_lock. Small cleanups.
33642 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33643 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33644 Add initializers to main_arena and mp_.
33645 (malloc_state): Remove pagesize member. Change all users to use
33648 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33649 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33650 is always initialized.
33652 * malloc/malloc.c: Removed unused configurations and dead code.
33653 * malloc/arena.c: Likewise.
33654 * malloc/hooks.c: Likewise.
33655 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33657 * include/tls.h: Removed. USE___THREAD must always be defined.
33658 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33659 * elf/dl-libc.c: Likewise.
33660 * elf/dl-tsd.c: Likewise.
33661 * include/errno.h: Likewise.
33662 * include/netdb.h: Likewise.
33663 * include/resolv.h: Likewise.
33664 * inet/herrno-loc.c: Likewise.
33665 * inet/herrno.c: Likewise.
33666 * malloc/arena.c: Likewise.
33667 * malloc/hooks.c: Likewise.
33668 * malloc/malloc.c: Likewise.
33669 * resolv/res-state.c: Likewise.
33670 * resolv/res_libc.c: Likewise.
33671 * sysdeps/i386/dl-machine.h: Likewise.
33672 * sysdeps/ia64/dl-machine.h: Likewise.
33673 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33674 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33675 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33676 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33677 * sysdeps/sh/dl-machine.h: Likewise.
33678 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33679 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33680 * sysdeps/unix/i386/sysdep.S: Likewise.
33681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33682 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33687 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33692 * sysdeps/x86_64/dl-machine.h: Likewise.
33693 * tls.make.c: Likewise.
33695 * configure.in: Remove --with-__thread option. Make tests for
33696 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33697 tls_model attribute fail if no support is available. Remove
33699 * Makeconfig: Adjust for dropped configure option. All features are
33701 * Makerules: Likewise.
33702 * Versions.def: Likewise.
33703 * argp/argp-fmtstream.c: Likewise.
33704 * argp/argp-fmtstream.h: Likewise.
33705 * argp/argp-help.c: Likewise.
33706 * assert/assert.c: Likewise.
33707 * config.h.in: Likewise.
33708 * config.make.in: Likewise.
33709 * configure: Likewise.
33710 * configure.in: Likewise.
33711 * csu/Versions: Likewise.
33712 * csu/init.c: Likewise.
33713 * elf/tst-audit2.c: Likewise.
33714 * elf/tst-tls10.c: Likewise.
33715 * elf/tst-tls10.h: Likewise.
33716 * elf/tst-tls11.c: Likewise.
33717 * elf/tst-tls12.c: Likewise.
33718 * elf/tst-tls14.c: Likewise.
33719 * elf/tst-tlsmod11.c: Likewise.
33720 * elf/tst-tlsmod12.c: Likewise.
33721 * elf/tst-tlsmod13.c: Likewise.
33722 * elf/tst-tlsmod13a.c: Likewise.
33723 * elf/tst-tlsmod14a.c: Likewise.
33724 * elf/tst-tlsmod15b.c: Likewise.
33725 * elf/tst-tlsmod16a.c: Likewise.
33726 * elf/tst-tlsmod16b.c: Likewise.
33727 * elf/tst-tlsmod7.c: Likewise.
33728 * elf/tst-tlsmod8.c: Likewise.
33729 * elf/tst-tlsmod9.c: Likewise.
33730 * gmon/gmon.c: Likewise.
33731 * grp/fgetgrent_r.c: Likewise.
33732 * grp/putgrent.c: Likewise.
33733 * hurd/fopenport.c: Likewise.
33734 * include/libc-symbols.h: Likewise.
33735 * include/tls.h: Likewise.
33736 * intl/gettextP.h: Likewise.
33737 * intl/loadinfo.h: Likewise.
33738 * locale/global-locale.c: Likewise.
33739 * locale/localeinfo.h: Likewise.
33740 * mach/devstream.c: Likewise.
33741 * malloc/arena.c: Likewise.
33742 * malloc/set-freeres.c: Likewise.
33743 * misc/err.c: Likewise.
33744 * misc/getttyent.c: Likewise.
33745 * misc/mntent_r.c: Likewise.
33746 * posix/getopt.c: Likewise.
33747 * posix/wordexp.c: Likewise.
33748 * pwd/fgetpwent_r.c: Likewise.
33749 * resolv/Versions: Likewise.
33750 * resolv/res_hconf.c: Likewise.
33751 * shadow/fgetspent_r.c: Likewise.
33752 * shadow/putspent.c: Likewise.
33753 * stdio-common/printf_fphex.c: Likewise.
33754 * stdio-common/tmpfile.c: Likewise.
33755 * stdlib/abort.c: Likewise.
33756 * stdlib/fmtmsg.c: Likewise.
33757 * sunrpc/auth_unix.c: Likewise.
33758 * sunrpc/clnt_perr.c: Likewise.
33759 * sunrpc/clnt_tcp.c: Likewise.
33760 * sunrpc/clnt_udp.c: Likewise.
33761 * sunrpc/clnt_unix.c: Likewise.
33762 * sunrpc/openchild.c: Likewise.
33763 * sunrpc/svc_simple.c: Likewise.
33764 * sunrpc/svc_tcp.c: Likewise.
33765 * sunrpc/svc_udp.c: Likewise.
33766 * sunrpc/svc_unix.c: Likewise.
33767 * sunrpc/xdr.c: Likewise.
33768 * sunrpc/xdr_array.c: Likewise.
33769 * sunrpc/xdr_rec.c: Likewise.
33770 * sunrpc/xdr_ref.c: Likewise.
33771 * sunrpc/xdr_stdio.c: Likewise.
33773 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33775 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33777 2011-07-03 Andreas Jaeger <aj@suse.de>
33779 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33780 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33781 regenerate with gen-libm-tests.pl.
33783 2010-05-12 Petr Baudis <pasky@suse.cz>
33786 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33787 around j0() zero points by switching to j1().
33788 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33793 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33795 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33800 Patch in part by Pavel Roskin <proski@gnu.org>.
33803 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33805 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33806 Free memory block if necessary.
33809 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33810 be NULL. Don't lock in this case.
33812 2011-09-09 Roland McGrath <roland@hack.frob.com>
33814 * elf/elf.h (ELFOSABI_GNU): New macro.
33815 (ELFOSABI_LINUX): Define to that.
33817 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33819 * string/strncat.c (strncat): Undef the symbol in case it has been
33820 defined in bits/string.h.
33822 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33824 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33826 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33829 2011-08-17 Andreas Jaeger <aj@suse.de>
33831 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33833 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33834 Ian Lance Taylor <iant@google.com>
33836 * math/libm-test.inc (lround_test): New testcase.
33837 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33839 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33841 * Makefile: Remove support for automatic cvs check-ins.
33842 * Makerules: Likewise.
33843 * config.make.in: Likewise.
33844 * configure.in: Likewise.
33845 * intl/Makefile: Likewise.
33846 * locale/Makefile: Likewise.
33847 * po/Makefile: Likewise.
33848 * posix/Makefile: Likewise.
33849 * sysdeps/gnu/Makefile: Likewise.
33850 * sysdeps/mach/hurd/Makefile: Likewise.
33851 * sysdeps/sparc/sparc32/Makefile: Likewise.
33854 * posix/Makefile (bug-regex32-ENV): Define.
33855 Patch by John Stanley <jpsinthemix@verizon.net>.
33857 * misc/Makefile (headers): Add bits/select2.h.
33858 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33859 * misc/bits/select2.h: New file.
33860 * include/bits/select2.h: New file.
33861 * debug/Makefile (routines): Add fdelt_chk.
33862 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33863 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33865 * debug/fdelt_chk.c: New file.
33867 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33868 * wcsmbs/test-wmemcmp.c: Likewise.
33869 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33870 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33872 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33874 * string/Makefile (strop-tests): Add memcmp.
33875 * string/test-wmemcmp.c: New file.
33876 * string/test-memcmp.c: Add wmemcmp support.
33878 2011-09-08 Roland McGrath <roland@hack.frob.com>
33881 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33884 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33885 garbage value in a __mach_port_mod_refs call in the cases of the
33886 task-self and thread-self ports.
33888 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33890 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33892 2011-09-08 Andreas Schwab <schwab@redhat.com>
33894 * elf/dl-load.c (lose): Check for non-null L.
33896 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33898 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33900 * elf/dl-libc.c (dlerror_run): Pass back error code from
33904 * elf/dl-load.c (lose): Free l_origin if it is valid.
33906 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33912 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33913 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33915 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33917 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33918 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33919 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33921 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33922 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33923 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33924 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33925 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33926 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33928 2011-08-15 Alan Modra <amodra@gmail.com>
33931 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33932 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33933 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33934 ppc_mcount to static-only-routines.
33935 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33937 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33938 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33940 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33942 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33943 for finite and infinity parameters.
33945 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33948 and add nop instructions for throughput optimization.
33949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33951 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33954 aligned copy for power7 with vector-scalar instructions.
33955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33957 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33962 2011-09-07 Andreas Schwab <schwab@redhat.com>
33965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33968 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33970 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33971 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33972 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33976 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33979 Forgot to demangle the pointer.
33981 * sysdeps/i386/sysdep.h: Define atom_text_section.
33982 * sysdeps/x86_64/sysdep.h: Likewise.
33983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33984 section with atom_text_section.
33985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33987 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33993 already be defined. Change to take two parameters and don't assign
33994 result to variable. Adjust all users.
33995 Define INTERNAL_GETTIME if not already defined.
33996 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33999 HAVE_CLOCK_GETTIME_VSYSCALL.
34000 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34003 gettimeofday vsyscall, just use time.
34005 2011-09-06 Andreas Schwab <schwab@redhat.com>
34007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34010 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34012 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34016 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34018 syscall if possible.
34020 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34022 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34023 e_ident. Don't pass to find_mapsXX.
34024 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34026 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34029 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34030 * sysdeps/x86_64/multiarch/strchr.S: Update.
34031 Check bit_slow_BSF bit.
34032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34036 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34039 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34041 (tryshell): Define.
34042 (__spawni): Change last parameter to be flag. Test
34043 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34044 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34045 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34046 * posix/spawni.c: Likewise.
34047 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34048 * posix/spawnp.c: Likewise. Change normal version to use
34049 SPAWN_XFLAGS_USE_PATH.
34050 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34051 SPAWN_XFLAGS_TRY_SHELL.
34054 * posix/glob.h: Remove gcc 1.x support.
34057 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34059 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34062 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34064 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34065 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34067 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34071 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34073 * sysdeps/x86_64/wcscmp.S: New file.
34075 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34076 wcscmp-c wcscmp-sse2
34077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34078 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34080 * wcsmbs/wcscmp.c: Allow renaming.
34082 2011-09-05 David S. Miller <davem@davemloft.net>
34084 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34085 stack slot, rather than the struct return pointer slot.
34086 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34087 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34091 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34093 * po/ja.po: Update from translation team.
34096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34097 kernel in 64-bit binaries.
34099 2011-09-01 David S. Miller <davem@davemloft.net>
34101 * elf/elf.h (HWCAP_SPARC_*): Move to..
34102 * sysdeps/sparc/sysdep.h: this new file and add new values.
34103 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34104 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34105 _DL_HWCAP_COUNT to 24.
34106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34108 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34109 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34110 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34112 instead of magic constants.
34113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34115 2011-08-31 David S. Miller <davem@davemloft.net>
34117 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34119 Reimplement to do errno handling inline.
34120 (SYSCALL_ERROR_HANDLER): New macro.
34121 (__SYSCALL_STRING): Do not do errno handling in asm.
34122 (__CLONE_SYSCALL_STRING): Delete.
34123 (__INTERNAL_SYSCALL_STRING): Delete.
34124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34125 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34126 (PSEUDO): Reimplement to do errno handling inline.
34127 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34128 (SYSCALL_ERROR_HANDLER): New macro.
34129 (__SYSCALL_STRING): Do not do errno handling in asm.
34130 (__CLONE_SYSCALL_STRING): Delete.
34131 (__INTERNAL_SYSCALL_STRING): Delete.
34132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34133 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34135 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34136 (inline_syscall*): Add 'err' argument.
34137 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34138 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34139 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34140 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34142 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34143 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34145 2011-08-30 Andreas Schwab <schwab@redhat.com>
34147 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34149 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34151 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34154 2011-08-24 David S. Miller <davem@davemloft.net>
34156 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34158 2011-08-24 Andreas Schwab <schwab@redhat.com>
34160 * elf/Makefile: Add rules to build and run unload8 test.
34161 * elf/unload8.c: New file.
34162 * elf/unload8mod1.c: New file.
34163 * elf/unload8mod1x.c: New file.
34164 * elf/unload8mod2.c: New file.
34165 * elf/unload8mod3.c: New file.
34167 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34170 2011-08-23 David S. Miller <davem@davemloft.net>
34172 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34173 subtract stack bias.
34174 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34175 %sp not %fp in calculations.
34176 (_JMPBUF_UNWINDS_ADJ): Likewise.
34178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34179 (aio_suspend): Call it to force an exception region around the
34180 AIO_MISC_WAIT() invocation.
34182 2011-08-23 Andreas Schwab <schwab@redhat.com>
34184 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34187 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34189 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34191 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34192 and <dl-machine.h>.
34193 (Elf64_FuncDesc): Remove.
34195 2011-08-22 David S. Miller <davem@davemloft.net>
34197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34198 sigaltstack check, add missing cfi directives.
34199 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34200 missing cfi directives, and sigaltstack handling.
34202 2011-08-16 Andreas Schwab <schwab@redhat.com>
34205 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34206 object is seen twice.
34207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34209 * elf/Makefile (distribute): Add tst-initorder2.c.
34210 (tests): Add tst-initorder2.
34211 (modules-names): Add tst-initorder2a tst-initorder2b
34212 tst-initorder2c tst-initorder2d. Add rules to build them.
34213 ($(objpfx)tst-initorder2.out): New rule.
34214 * elf/tst-initorder2.c: New file.
34215 * elf/tst-initorder2.exp: New file.
34217 2011-08-22 Andreas Schwab <schwab@redhat.com>
34219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34221 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34222 dependencies back to end of function.
34224 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34225 $(elfobjdir)/ld.so.
34227 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34230 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34232 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34233 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34234 of __vdso_gettimeofday.
34235 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34236 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34238 (_libc_vdso_platform_setup): Remove initialization of
34239 __vdso_gettimeofday and __vdso_time.
34241 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34243 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34244 and fgetc_unlocked.
34245 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34248 * elf/dl-open.c (add_to_global): Report additions to the global scope
34249 for LD_DEBUG=scopes.
34250 (dl_open_worker): Also print scope of newly loaded dependencies.
34251 (_dl_show_scope): Indicate if there is no scope.
34254 * stdio-common/Makefile (tests): Add bug24.
34255 * stdio-common/bug24.c: New file.
34257 2011-08-19 Andreas Jaeger <aj@suse.de>
34260 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34261 non-existant file when using close-on-exec mode.
34263 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34266 the very first instruction.
34268 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34269 the CFI state in the end.
34270 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34271 inclusion of dl-trampoline.h.
34272 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34274 2011-08-19 Andreas Schwab <schwab@redhat.com>
34276 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34277 expectations for long double.
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34280 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34282 2011-08-14 David S. Miller <davem@davemloft.net>
34284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34285 artificual limit depends upon the system page size.
34287 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34289 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34290 * resolv/Makefile: Define CFLAGS-libresolv.
34292 2011-08-17 Andreas Schwab <schwab@redhat.com>
34294 * nss/makedb.c (compute_tables): Make variables used in nested
34297 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34299 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34300 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34301 if buffer was too small.
34303 * elf/pldd.c (main): Attach to all threads in the process.
34304 Rewrite /proc handling to use *at functions.
34306 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34308 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34309 specifies first scope to show.
34310 (dl_open_worker): Update callers. Move printing scope of new
34311 object to before the relocation.
34312 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34313 * sysdeps/generic/ldsodefs.h: Update declaration.
34315 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34316 string for the scope number.
34318 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34320 * nscd/servicescache.c (cache_addserv): Make sure written is always
34323 2011-08-14 Roland McGrath <roland@hack.frob.com>
34325 * sysdeps/i386/i486/bits/atomic.h
34326 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34327 statement expression, so as to suppress "set but not used" warning.
34328 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34330 * string/strncat.c (STRNCAT): Use prototype definition.
34332 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34333 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34335 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34336 (localedef-modules): Add localedef.
34337 (locale-modules): Add locale.
34339 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34340 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34341 to avoid a warning.
34343 2011-08-14 David S. Miller <davem@davemloft.net>
34345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34346 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34348 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34350 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34351 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34352 * elf/rtld.c (dl_main): Set l_name of vDSO.
34353 Call _dl_show_scope when DL_DEBUG_SCOPES.
34354 (process_dl_debug): Recognize scopes flag and also set it for all.
34355 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34356 Declare _dl_show_scope.
34358 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34359 (do_dlopen): Pass caller_dlopen to dl_open.
34360 (__libc_dlopen_mode): Initialize caller_dlopen.
34362 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34363 of libc. Make tolower call locale-independent. Optimize a bit by
34364 using isdigit instead of isalnum.
34365 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34367 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34369 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34370 was a dependency or dynamically loaded.
34372 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34374 * intl/l10nflist.c: Allow architecture-specific pop function.
34375 * sysdeps/x86_64/l10nflist.c: New file.
34377 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34380 2011-08-10 Andreas Schwab <schwab@redhat.com>
34382 * include/dirent.h: Add libc_hidden_proto for scandirat and
34383 scandirat64. Don't declare __scandirat64.
34384 * dirent/scandirat.c: Add libc_hidden_def.
34385 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34386 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34388 2011-08-10 David S. Miller <davem@davemloft.net>
34390 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34396 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34398 * Versions.def [libc]: Add GLIBC_2.15.
34399 * dirent/Makefile (routines): Add scandirat and scandirat64.
34400 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34402 * dirent/dirent.h: Declare scandirat and scandirat64.
34403 * dirent/scandirat.c: New file.
34404 * dirent/scandirat64.c: New file.
34405 * sysdeps/wordsize-64/scandirat.c: New file.
34406 * sysdeps/wordsize-64/scandirat64.c: New file.
34407 * dirent/opendir.c: Define opendirat.
34408 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34410 * dirent/scandir64.c: Adjust for scandir.c change.
34411 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34412 __scandirat64, and __scandir_cancel_handler.
34413 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34414 additional parameter and use openat instead of open (outside of ld.so).
34415 Add new __opendir as wrapper around __opendirat.
34416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34417 here without requiring old scandirat implementation.
34419 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34421 * dirent/scandir.c (cancel_handler): Renamed to
34422 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34423 defined. Adjust users.
34424 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34427 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34429 * string/test-string.h (IMPL): Use __STRING to expand name and then
34432 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34435 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34437 * string/Makefile: Update.
34438 (strop-tests): Append strncat.
34439 * string/test-wcscmp.c: New file.
34440 New comprehensive test for wcscmp.
34441 * string/test-strcmp.c: Update.
34442 (WIDE): New define.
34444 2011-07-22 Andreas Schwab <schwab@redhat.com>
34446 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34449 2011-07-26 Andreas Schwab <schwab@redhat.com>
34451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34452 encoding to ACE if AI_IDN.
34454 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34457 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34459 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34462 Fix overflow bug in strncat.
34463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34465 * string/test-strncat.c: Update.
34466 Add new tests for checking overflow bugs.
34468 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34471 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34472 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34473 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34475 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34476 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34477 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34478 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34481 (USE_AS_STRCAT): Define.
34482 Add strcat and strncat support.
34483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34485 2011-07-25 Andreas Schwab <schwab@redhat.com>
34487 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34488 __n bigger than INT_MAX+1.
34489 (__strncmp_g): Likewise.
34491 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34493 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34494 * libio/stido.h: Likewise.
34496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34501 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34508 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34513 (_dl_x86_64_save_sse): Likewise.
34515 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34519 (_dl_x86_64_save_sse): Likewise.
34521 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34523 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34525 2011-07-21 Andreas Schwab <schwab@redhat.com>
34527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34529 (_dl_x86_64_save_sse): Use correct AVX check.
34531 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34534 bug in strncpy/strncat.
34535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34537 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34539 * string/tester.c (test_strcat): Add tests for different alignments
34540 of source and destination.
34541 (test_strncat): Likewise.
34543 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34546 * posix/glob.c (glob): Check passed in values before using them in
34547 expressions to avoid some overflows.
34548 (glob_in_dir): Likewise.
34551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34552 check for AVX enablement so that we don't crash with old kernels and
34554 * elf/tst-audit4.c: Add same checks here.
34555 * elf/tst-audit6.c: Likewise.
34557 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34559 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34561 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34563 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34565 * po/cs.po: Update from translation team.
34566 * po/bg.po: Likewise.
34568 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34570 * misc/sys/cdefs.h: Add support for const attribute.
34571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34572 to gnu_dev_{major,minor,makedev} functions.
34574 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34576 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34578 2011-07-20 Andreas Schwab <schwab@redhat.com>
34580 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34583 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34586 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34587 register in order to avoid conflicts with the soft frame pointer
34588 being held in r11 when necessary.
34589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34590 (INTERNAL_VSYSCALL_NCS): Likewise.
34592 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34594 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34595 * elf/dl-fini.c (_dl_fini): Adjust caller.
34596 * elf/dl-close.c (_dl_close_worker): Likewise.
34597 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34599 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34601 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34602 "aux_cache->nlibs < 0".
34604 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34605 in the reload-count case.
34607 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34610 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34611 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34612 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34613 * sysdeps/x86_64/multiarch/strcat.S: New file.
34614 * sysdeps/x86_64/multiarch/strncat.S: New file.
34615 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34617 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34618 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34620 (USE_AS_STRCAT): Define.
34621 Add strcat and strncat support.
34622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34624 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34625 * string/strncat.c: Update.
34626 (USE_AS_STRNCAT): Define.
34627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34628 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34630 * sysdeps/x86_64/multiarch/init-arch.h
34631 (bit_Prefer_PMINUB_for_stringop): New.
34632 (index_Prefer_PMINUB_for_stringop): Likewise.
34633 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34634 bit_Prefer_PMINUB_for_stringop.
34636 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34638 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34640 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34641 of casting of buffer.
34642 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34643 buffer32 and buffer64.
34644 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34645 writes instead of casting of buffer.
34646 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34648 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34651 2011-07-19 Andreas Schwab <schwab@redhat.com>
34653 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34655 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34657 * nscd/nscd.c (termination_handler): Don't do anything for a database
34658 if it has not yet been initialized.
34660 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34662 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34664 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34666 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34668 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34670 * po/nl.po: Update from translation team.
34671 * po/sv.po: Likewise.
34673 2011-07-16 Roland McGrath <roland@hack.frob.com>
34675 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34676 now disallowed by GCC.
34678 * configure.in (use-default-link): Default to yes if a test -shared
34679 link meets our qualifications.
34680 * configure: Regenerated.
34682 * config.make.in (output-format): New variable.
34683 * configure.in: Check for ld --print-output-format support.
34684 * configure: Regenerated.
34685 * Makerules ($(common-objpfx)format.lds)
34686 [$(output-format) != unknown]: Just use $(output-format),
34687 instead of the linker-script munging.
34689 2011-07-14 Roland McGrath <roland@hack.frob.com>
34691 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34692 of $(common-objpfx)shlib.lds.
34693 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34695 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34696 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34698 * configure.in (-z relro check): Adjust test code to add a large
34699 writable data section after it.
34700 * configure: Regenerated.
34702 2011-07-11 Roland McGrath <roland@hack.frob.com>
34704 * configure.in (-z relro check): Fix test code to make the variable
34706 * configure: Regenerated.
34708 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34710 * nscd/nscd.h (struct traced_file): Define.
34711 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34712 elements. Add traced_files.
34713 (inotify_fd): Declare.
34714 (register_traced_file): Declare.
34715 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34716 (inotify_fd): Export.
34717 (resolv_conf_descr): Remove.
34718 (nscd_init): Move inotify descriptor creation to main.
34719 Don't register files for notification here.
34720 (register_traced_file): New function.
34721 (invalidate_cache): Don't use reset_res to determine whether to call
34722 res_init, go through the list of registered files.
34723 (main_loop_poll): The inotify descriptors are now stored in the
34724 structures for the traced files.
34725 (main_loop_epoll): Likewise
34726 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34727 to __nss_disable_nscd.
34728 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34729 for a database anymore. Check the records for all the registered
34731 * nss/Makefile (libnss_files-routines): Add files-init.
34732 (libnss_db-routines): Add db-init.
34733 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34734 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34735 * nss/nss_db/db-init.c: New file.
34736 * nss/nss_files/files-init.c: New file.
34737 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34738 __nss_lookup_function.
34739 (__nss_lookup_function): Call nss_load_library.
34740 (nss_load_all_libraries): New function.
34741 (__nss_disable_nscd): Take parameter with callback function for files
34742 to register. Set is_nscd. Load all the DSOs for the NSS modules
34743 used for the cached services.
34744 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34745 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34746 options for features to all the files in nscd.
34748 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34750 2011-07-10 Roland McGrath <roland@hack.frob.com>
34752 * csu/elf-init.c (__libc_csu_init): Comment typo.
34754 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34756 * po/pl.po: Update from translation team.
34757 * po/ja.po: Likewise.
34758 * po/ru.po: Likewise.
34759 * po/ko.po: Likewise.
34760 * po/fr.po: Likewise.
34762 2011-07-09 Roland McGrath <roland@hack.frob.com>
34764 * configure.in (.ctors/.dtors header and trailer check):
34765 Use an empirical test on a built program.
34766 * configure: Regenerated.
34768 * configure.in (-z relro check): Use an empirical test on a built DSO.
34769 Detect, but do not require, on ia64.
34770 * configure: Regenerated.
34772 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34773 Update tests that use readelf to use $READELF instead.
34774 * configure: Regenerated.
34776 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34778 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34779 if the result is not used.
34781 2011-07-05 Andreas Jaeger <aj@suse.de>
34784 * stdlib/tst-strtod.c: Add testcase.
34786 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34788 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34789 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34790 The latter has a higher limit. Take additional parameter to pass to
34792 (__pathconf): Pass file to __statfs_link_max.
34793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34795 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34799 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34803 (__statfs_filesize_max): Likewise.
34804 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34806 2011-07-05 Andreas Jaeger <aj@suse.de>
34808 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34810 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34812 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34814 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34817 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34819 * Makefile (strop-tests): Add strncat.
34820 * string/test-strncat.c: New file.
34822 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34824 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34826 2011-06-21 Andreas Jaeger <aj@suse.de>
34828 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34829 Copy rule from iconvdata/Makefile.
34831 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34834 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34835 but no long options are defined, just return 'W'.
34837 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34840 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34842 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34844 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34846 (innetgr): Likewise.
34848 2011-07-05 Roland McGrath <roland@hack.frob.com>
34850 * config.make.in (install_root): Default to $(DESTDIR).
34852 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34854 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34856 2011-07-02 Roland McGrath <roland@hack.frob.com>
34858 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34860 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34861 containing directory rather than embedding absolute directory names.
34863 * scripts/check-local-headers.sh: Rewritten using awk.
34864 Match by word, not by line. Print error messages for matches.
34865 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34867 * Makerules [shlib-lds-flags empty]:
34868 ($(common-objpfx)libc_pic.opts): New target.
34869 ($(common-objpfx)libc_pic.os.clean): New target.
34870 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34872 * config.make.in (OBJCOPY): New variable.
34873 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34874 * configure: Regenerated.
34876 * config.make.in (use-default-link): New variable.
34877 * configure.in (use_default_link): Grok --with-default-link to set it.
34878 * configure: Regenerated.
34879 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34880 (shlib-lds, shlib-lds-flags): Define to empty.
34882 * Makerules (shlib-lds): New variable.
34883 (shlib-lds-flags): New variable.
34884 (build-shlib, build-moduile, build-module-asneeded): Use it.
34885 ($(common-objpfx)libc.so): Use $(shlib-lds).
34886 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34887 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34889 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34890 DT_FLAGS/DT_FLAGS_1 with zero flags.
34892 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34893 linker script munging.
34895 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34897 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34899 * crypt/sha512.c (sha512_process_block): Perform total addition using
34900 128-bit if possible.
34901 (__sha512_finish_ctx): Likewise.
34902 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34904 * crypt/sha256.c (SWAP64): Define.
34905 (sha256_process_block): Perform total addition using 64-bit if
34907 (__sha256_finish_ctx): Likewise.
34909 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34911 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34913 * nscd/hstcache.c (cache_addhst): Likewise.
34914 * nscd/grpcache.c (cache_addgr): Likewise.
34915 * nscd/aicache.c (addhstaiX): Likewise
34916 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34918 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34920 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34922 * nscd/hstcache.c (cache_addhst): Likewise.
34923 * nscd/grpcache.c (cache_addgr): Likewise.
34924 * nscd/aicache.c (addhstaiX): Likewise
34926 2011-07-01 Andreas Schwab <schwab@redhat.com>
34928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34929 domain only when needed.
34931 2011-06-30 Andreas Schwab <schwab@redhat.com>
34933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34934 is always restored.
34936 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34938 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34939 are re-adding the entry.
34940 * nscd/servicescache.c (cache_addserv): Likewise.
34942 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34944 * sysdeps/generic/dl-irel.h: fix protection against multiple
34946 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34948 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34951 * malloc/memusage.sh: Fix quoting in message.
34952 * debug/xtrace.sh: Likewise.
34954 * configure.in: Remove support for --experimental-malloc option, make
34956 * config.make.in: Likewise.
34957 * malloc/Makefile: Likewise.
34959 2011-06-27 Andreas Schwab <schwab@redhat.com>
34961 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34962 two-byte characters.
34964 2011-06-27 Roland McGrath <roland@hack.frob.com>
34966 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34967 AC_CACHE_CHECK invocation.
34968 * configure: Regenerated.
34970 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34972 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34975 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34976 bit from old_res_options.
34978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34980 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34981 value type for setfct.
34983 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34986 __gettimeofday instead of gettimeofday.
34988 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34990 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34992 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34999 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35002 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35003 strcpy-sse2-unaligned strncpy-sse2-unaligned
35004 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35005 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35006 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35007 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35008 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35011 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35012 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35013 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35014 (STRCPY): Support SSE2 and SSSE3 versions.
35016 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35019 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35020 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35021 kernels which artificially limit size of requests.
35023 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35026 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35027 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35028 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35029 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35030 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35031 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35032 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35035 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35036 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35037 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35038 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35039 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35041 Enable unaligned load optimization for Intel Core i3, i5 and i7
35043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35045 (index_Fast_Unaligned_Load): Define.
35046 (HAS_FAST_UNALIGNED_LOAD): Define.
35048 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35050 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35052 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35056 until it is clear that the information is realy needed.
35057 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35059 2011-06-22 Andreas Schwab <schwab@redhat.com>
35061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35063 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35066 /sys/devices/system/cpu/online if it is usable.
35068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35069 reading the information from the /proc filesystem to once a second.
35071 2011-06-21 Andreas Jaeger <aj@suse.de>
35073 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35074 NULL after inclusion of kernel headers.
35076 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35078 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35079 calls to internal_setent.
35082 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35083 addresses using gethostbyname4_r ignore IPv4 addresses.
35085 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35086 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35088 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35090 2011-06-20 David S. Miller <davem@davemloft.net>
35092 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35094 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35096 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35097 (elf_irel): Use it.
35098 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35099 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35100 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35101 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35102 * sysdeps/x86_64/dl-irel.h: Likewise.
35104 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35105 * elf/dl-sym.c: Likewise.
35107 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35109 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35110 need to dereference resplen2.
35112 2011-06-14 Andreas Schwab <schwab@redhat.com>
35114 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35116 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35118 * Makeconfig: Define vardbdir and inst_vardbdir.
35119 * nss/Makefile: Add rules to install db-Makefile.
35121 * nss/nss_db/db-XXX.c: Cleanup.
35123 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35124 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35126 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35127 * nss/makedb.c: Implement -g option to specify that value strings
35128 are generated and should not be added to table iterated over for
35130 * nss/nss_db/db-initgroups.c: New file.
35132 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35135 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35136 (internal_getgrouplist): Adjust to name change.
35137 Update use_initgroups_entry if this is not the first call.
35138 * nss/databases.def: Add initgroups entry.
35140 * nss/makedb.c (compute_tables): Check result of multiple hash table
35141 sizes to minimize maximum chain length.
35143 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35145 * Versions.def: Add entry for libnss_db.
35146 * shlib-versions: Likewise.
35147 * nss/Makefile: Add rules to build libnss_db.
35148 * nss/Versions: Add libnss_db information. Organize libnss_files
35150 * nss/db-Makefile: Add gshadow support. Change rules for the new
35151 makedb progra. Some minor improvements to generate smaller files.
35152 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35154 * nss/makedb.c: ...here.
35155 Improve database format to be smaller and require less memory at
35157 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35159 * nss/nss_db/db-netgrp.c: Likewise.
35160 * nss/nss_db/db-open.c: Likewise.
35161 * nss/nss_files/flies-XXX.x: Adjust comments.
35162 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35163 * nss/nss_files/files-grp.c: Likewise.
35164 * nss/nss_files/files-hosts.c: Likewise.
35165 * nss/nss_files/files-network.c: Likewise.
35166 * nss/nss_files/files-proto.c: Likewise.
35167 * nss/nss_files/files-pwd.c: Likewise.
35168 * nss/nss_files/files-rpc.c: Likewise.
35169 * nss/nss_files/files-service.c: Likewise.
35170 * nss/nss_files/files-sgrp.c: Likewise.
35171 * nss/nss_files/files-spwd.c: Likewise.
35172 * nss/nss_db/db-alias.c: Removed.
35173 * nss/nss_db/dummy-db.h: Removed.
35175 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35177 * nss/makedb.c: Rewritten to not use database library.
35178 * nss/Makefile: Update to build new makedb program.
35180 2011-06-14 Andreas Jaeger <aj@suse.de>
35182 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35183 memset declaration.
35185 2011-06-10 Andreas Schwab <schwab@redhat.com>
35187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35190 2011-06-10 Roland McGrath <roland@hack.frob.com>
35192 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35193 * elf/Makefile ($(objpfx)ld.so): Likewise.
35195 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35196 Don't list ld.so twice in dependencies.
35198 * posix/bug-regex31.c: Include <stdlib.h>.
35200 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35202 * nis/nss_compat/compat-spwd.c
35203 (getspent_next_nss_netgr): Remove unused variable.
35204 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35206 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35207 nonmembers" output to use the right array.
35209 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35211 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35213 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35214 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35215 * catgets/gencat.c (read_input_file): Likewise.
35216 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35218 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35219 variable definition inside #if's controlling its use.
35221 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35225 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35227 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35230 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35232 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35233 * configure: Regenerated.
35235 * Makerules: Revert last change.
35236 * elf/Makefile: Likewise.
35238 2011-06-09 Roland McGrath <roland@hack.frob.com>
35240 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35241 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35242 (reloc-link): Likewise.
35244 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35246 * elf/Makefile: Add rules to build pldd.
35247 * elf/pldd.c: New file.
35248 * elf/pldd-xx.c: New file.
35250 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35252 * version.h: Update for 2.15 development version.
35254 2011-06-07 David S. Miller <davem@davemloft.net>
35256 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35259 elf_machine_lazy_rel): Likewise.
35260 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35262 elf_machine_lazy_rel): Likewise.
35263 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35264 dl_hwcap via passed in argument.
35265 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35268 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35270 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35272 2011-06-06 Roland McGrath <roland@hack.frob.com>
35275 * manual/fdl-1.1.texi: New file, verbatim from:
35276 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35277 * manual/lgpl-2.1.texi: New file, verbatim from:
35278 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35279 * manual/Makefile (licenses): New variable, list those new file names.
35281 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35283 * manual/fdl.texi: File removed.
35284 * manual/lesser.texi: File removed.
35285 * manual/libc.texinfo (Copying, Documentation License):
35286 Use new @include file names, put @appendix directive before @include.
35288 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35291 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35292 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35293 (mq_open): Add __NTH.
35295 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35298 Assume Intel Core i3/i5/i7 processor if AVX is available.
35300 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35305 2011-05-31 Andreas Schwab <schwab@redhat.com>
35307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35308 memory. Use alloca_account. Fix memory leak when retrying.
35310 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35312 * version.h (RELEASE): Bump for 2.14 release.
35313 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35315 * config.make.in (RANLIB): Remove entry.
35317 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35319 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35320 (libc.pot): Work around missing support for .ksh extension in xgettext.
35323 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35324 if both request failed.
35325 (send_dg): In case of server errors clear resplen or *resplen2.
35328 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35329 when there are multiple maps.
35330 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35331 (_dl_fini): Remove test here.
35333 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35335 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35338 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35339 bit from old_res_options.
35340 (gaih_inet): Likewise.
35343 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35346 * resolv/res_init.c (res_setoptions): Make the code more compact.
35349 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35353 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35355 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35358 * malloc/malloc.h: Declare malloc hook variables as volatile.
35360 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35364 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35365 raise in the comment.
35366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35368 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35370 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35373 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35374 grow the buffers more if it already has to be sufficient.
35375 (build_wcs_upper_buffer): Likewise.
35376 * posix/regexec.c (check_matching): Likewise.
35377 (clean_state_log_if_needed): Likewise.
35378 (extend_buffers): Don't enlarge buffers beyond size of the input
35380 Patches mostly by Emil Wojak <emil@wojak.eu>.
35381 * posix/bug-regex32.c: New file.
35382 * posix/Makefile (tests): Add bug-regex32.
35384 * locale/findlocale.c (_nl_find_locale): Return right away if
35385 _nl_explode_name failed.
35386 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35390 * debug/xtrace.sh: Unify messages.
35391 * malloc/memusage.sh: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35395 time symbol from vDSO. Substitute with vsyscall if not available.
35396 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35399 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35400 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35401 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35402 Add sendmmsg and internal_sendmmsg.
35403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35404 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35407 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35408 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35411 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35415 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35421 * iconvdata/Makefile (tests): Add bug-iconv9.
35422 * iconvdata/bug-iconv9.c: New file.
35424 2011-05-27 Andreas Schwab <schwab@redhat.com>
35427 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35429 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35432 (struct user_regs_struct): Change intcs field back to cs.
35434 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35436 * po/ja.po: Update from translation team.
35438 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35444 2011-05-20 Andreas Schwab <schwab@redhat.com>
35446 * stdlib/longlong.h: Update from GCC.
35448 2011-05-23 Andreas Schwab <schwab@redhat.com>
35450 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35452 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35453 Add parameter name.
35454 (__sysconf): Pass it down.
35456 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35459 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35462 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35463 add in in __libc_use_alloca calls. Adjust callers.
35464 (glob): Use malloc in some situations.
35466 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35467 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35470 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35472 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35473 and CLOCK_BOOTTIME_ALARM.
35476 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35479 * string/_strerror.c (__strerror_r): Print negative errors as signed
35483 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35484 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35485 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35487 * configure.in: Fix typo in redirection and correct removal of test
35488 files in two cases.
35491 * locale/setlocale.c (new_composite_name): Fix test to check for
35492 identical name of all categories.
35495 * libio/filedoalloc.c (local_isatty): New function.
35496 (_IO_file_doallocate): Use local_isatty.
35497 * stdio-common/perror.c (perror): In case a new stream is used
35498 forward the stream error.
35499 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35502 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35507 * include/alloca.h (extend_alloca_account): Define.
35510 * posix/regex.h: Fix comments with documentation of user-accessible
35511 fields after compilation and describe correct free'ing of pattern
35512 after re_compile_pattern.
35513 Patch by Reuben Thomas <rrt@sc3d.org>.
35515 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35517 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35518 and -mno-altivec to prevent the compiler from using Altivec and/or
35519 VSX instructions when the corresponding registers are not available.
35521 2011-05-19 Andreas Schwab <schwab@redhat.com>
35523 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35525 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35527 * libio/freopen.c (freopen): Use __dup2, not dup2.
35528 * libio/freopen64.c (freopen64): Likewise.
35530 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35533 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35534 * math/Makefile (tests): Add test-powl.
35535 (CFLAGS-test-powl.c): Define.
35536 * math/test-powl.c: New file.
35538 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35540 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35542 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35545 * iconvdata/gb18030.c: Update to GB18020-2005.
35547 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35549 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35550 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35551 Patch by Aharon Robbins <arnold@skeeve.com>.
35554 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35558 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35559 through underflows.
35562 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35563 point to strings before performing equality test for error_one_per_line
35567 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35571 (struct user_fpregs_struct): Avoid __uint*_t types.
35574 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35575 symbol info. Use it instead of calling _dl_addr locally.
35576 (lock_and_info): New function.
35577 (tr_freehook): Call lock_and_info and pass symbol info as additional
35578 parameter to tr_where.
35579 (tr_mallochook): Likewise.
35580 (tr_reallochook): Likewise.
35581 (tr_memalignhook): Likewise.
35583 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35584 used and couldn't be at all thread-safe.
35586 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35588 * libio/freopen.c (freopen): Don't close old file descriptor
35589 before the new one is opened. Instead dup the new file descriptor
35590 to the old one after the new stream is created.
35591 * libio/freopen64.c (freopen64): Likewise.
35592 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35593 * libio/fileops.c (_IO_new_file_close_it): Handle new
35594 _IO_FLAGS2_NOCLOSE flag.
35595 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35596 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35597 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35598 _IO_FLAGS2_NOCLOSE flag.
35599 * include/unistd.h: Add hidden_proto for dup3.
35600 Define __have_dup3.
35601 * io/dup3.c: Define hidden symbol.
35602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35605 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35606 when an incomplete long option is used.
35607 * posix/tst-getopt_long1.c: New file.
35608 * posix/Makefile (tests): Add tst-getopt_long1.
35611 * scripts/config.guess: Update from autoconf-2.68.
35612 * scripts/config.sub: Likewise.
35615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35617 (has_cpuclock): ...this. New function.
35618 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35619 macro here based on has_cpuclock code.
35622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35623 First byte (not low byte) is now always NUL.
35624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35627 Use non-cancelable interfaces.
35630 * locale/iso-639.def: Add entry for Sorani.
35633 * include/stdlib.h: Move include protection to the right place.
35634 Define abort_msg_s. Declare __abort_msg with it.
35635 * stdlib/abort.c (__abort_msg): Adjust type.
35636 * assert/assert.c (__assert_fail_base): New function. Majority
35637 of code from __assert_fail. Allocate memory for __abort_msg with
35639 (__assert_fail): Now call __assert_fail_base.
35640 * assert/assert-perr.c: Remove bulk of implementation. Use
35641 __assert_fail_base.
35642 * include/assert.hL Declare __assert_fail_base.
35643 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35645 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35647 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35651 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35652 until all modules are registered in the DTV.
35653 * elf/Makefile: Add rules to build and run tst-tls19.
35654 * elf/tst-tls19.c: New file.
35655 * elf/tst-tls19mod1.c: New file.
35656 * elf/tst-tls19mod2.c: New file.
35657 * elf/tst-tls19mod3.c: New file.
35658 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35661 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35665 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35666 two-byte sequence errors.
35667 * iconvdata/Makefile (tests): Add bug-iconv8.
35668 * iconvdata/bug-iconv8.c: New file.
35671 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35674 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35677 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35678 (dummy_getcfa): New function.
35679 (init): Get _Unwind_GetCFA address, use dummy if not found.
35680 (backtrace_helper): In recursion check, also check whether CFA changes.
35681 (__backtrace): Completely initialize arg.
35683 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35684 storing incomplete byte sequence in state object. Avoid testing for
35685 guaranteed too small input if we know there is enough data available.
35687 2011-05-11 Andreas Schwab <schwab@redhat.com>
35689 * Makeconfig (+link-pie): Indent.
35690 * Rules (binaries-pie): Define if $(have-fpie) and
35692 (binaries-shared): Also filter out $(binaries-pie).
35693 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35694 * nscd/Makefile (others-pie): Add nscd.
35695 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35696 ($(objpfx)nscd): Remove command override.
35697 * login/Makefile (others-pie): Add pt_chown.
35698 ($(objpfx)pt_chown): Remove command override.
35699 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35700 remove command overrides.
35702 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35704 * libio/tst_putwc.c: Fix error messages.
35707 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35708 currently writing and seek to current position when not.
35709 * libio/Makefile (tests): Add bug-fclose1.
35710 * libio/bug-fclose1.c: New file.
35712 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35715 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35716 don't set DF_1_NODELETE here.
35717 (do_lookup_x): When entering new entry test for copy relocation
35718 and if necessary set DF_1_NODELETE flag.
35719 * elf/tst-unique4.cc: New file.
35720 * elf/tst-unique4.h: New file.
35721 * elf/tst-unique4lib.cc: New file.
35722 * elf/Makefile: Add rules to build and run tst-unique4.
35723 Patch by Piotr Bury <pbury@goahead.com>.
35725 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35728 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35731 * misc/mntent_r.c (addmntent): Flush the stream after the output
35734 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35735 (is_trusted_path_normalize): Skip initial colon. Append slash
35736 to empty buffer. Duplicate is_trusted_path code but allow
35737 constructed patch to be prefix.
35738 (is_dst): Allow $ORIGIN followed by /.
35739 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35740 Correct testing of result of is_trusted_path_normalize
35741 (decompose_rpath): Fix warning.
35743 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35746 * grp/initgroups.c (internal_getgrouplist): When we found the service
35747 list through the initgroups entry in nsswitch.conf do not always
35748 continue on a successful lookup. Don't always use the
35749 __nss_group_database value if it is set.
35750 * nss/nsswitch.conf (initgroups): Change action for successful db
35751 lookup to continue for compatibility.
35753 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35756 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35758 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35760 * iconvdata/tst-tables.sh: Likewise.
35761 * iconvdata/cp770.c: New file.
35762 * iconvdata/cp771.c: New file.
35763 * iconvdata/cp772.c: New file.
35764 * iconvdata/cp773.c: New file.
35765 * iconvdata/cp774.c: New file.
35766 * iconvdata/testdata/CP770: New file.
35767 * iconvdata/testdata/CP770..UTF8: New file.
35768 * iconvdata/testdata/CP771: New file.
35769 * iconvdata/testdata/CP771..UTF8: New file.
35770 * iconvdata/testdata/CP772: New file.
35771 * iconvdata/testdata/CP772..UTF8: New file.
35772 * iconvdata/testdata/CP773: New file.
35773 * iconvdata/testdata/CP773..UTF8: New file.
35774 * iconvdata/testdata/CP774: New file.
35775 * iconvdata/testdata/CP774..UTF8: New file.
35777 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35779 * iconvdata/gen-8bit-gap.sh: Likewise.
35780 * iconvdata/gen-8bit.sh: Likewise.
35782 * locale/iso-639.def: Add ary entry.
35785 * locale/C-translit.h.in: Add U20A1 transliteration.
35788 * locale/iso-639.def: Add wae entry.
35789 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35792 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35796 * locale/C-translit.h.in: Add entry for U20B9.
35797 Patch by pravin.d.s@gmail.com.
35799 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35802 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35803 ENAMETOOLONG use generic getcwd.
35804 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35805 in rtld. Use *stat64.
35806 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35807 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35808 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35809 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35810 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35811 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35812 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35813 __fstatat64 macros.
35814 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35815 * dirent/rewinddir.c: Add libc_hidden_def.
35816 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35817 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35819 * include/dirent.h (__alloc_dir): Add flags parameter.
35820 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35821 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35823 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35824 from fdopendir if O_CLOEXEC is already set.
35826 2011-03-15 Alan Modra <amodra@gmail.com>
35828 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35829 l_tls_firstbyte_offset non-zero. Save padding offset in
35830 l_tls_firstbyte_offset for later use.
35831 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35832 freeing static tls block.
35834 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35836 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35837 where #ifdef was intended. The intent is to prevent ARG_MAX from
35838 being defined by the kernel headers.
35840 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35843 * resolv/resolv.h: Define RES_NOTLDQUERY.
35844 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35845 no-tld-query and set RES_NOTLDQUERY.
35846 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35847 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35848 modern BIND to search name as TLD unless forbidden.
35850 2011-05-07 Petr Baudis <pasky@suse.cz>
35851 Ulrich Drepper <drepper@gmail.com>
35854 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35855 (is_trusted_path): ...to here.
35856 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35857 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35858 using is_trusted_path_normalize() in setuid scripts.
35860 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35862 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35863 __BEGIN/__END_DECLS.
35865 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35868 NSS_STATUS_NOTFOUND if no record was found.
35870 2011-05-05 Andreas Schwab <schwab@redhat.com>
35872 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35873 (headers-not-in-tirpc): Remove rpc/netdb.h
35874 * resolv/netdb.h: Revert last change.
35876 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35878 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35879 circular dependency between libgcc.a and libc.a.
35881 2011-05-05 Andreas Schwab <schwab@redhat.com>
35883 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35884 * nis/Makefile: Don't install rpcsvc/*.
35885 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35886 instead of <rpc/types.h>.
35887 (MAXHOSTNAMELEN): Define.
35889 2011-05-03 Andreas Schwab <schwab@redhat.com>
35891 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35893 2011-04-28 Maciej Babinski <mbabinski@google.com>
35896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35897 gethostbyname4_r when IPv6 results are possible.
35899 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35903 _PC_PIPE_BUF handling.
35905 2011-04-30 Bruno Haible <bruno@clisp.org>
35908 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35909 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35911 * inet/getnameinfo.c (getnameinfo): Likewise.
35913 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35915 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35916 to groups setting in database lookup.
35917 * nss/nsswitch.conf: Add initgroups entry.
35919 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35922 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35924 Patch by Eric Blake <eblake@redhat.com>.
35926 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35928 * sunrpc/Makefile (need-export-routines): Add svc_run.
35929 (routines): Remove svc_run.
35930 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35931 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35932 * sunrpc/svc_run.c (svc_run): Likewise.
35933 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35935 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35938 problem in reallocation in last patch.
35940 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35942 * sunrpc/Makefile: Move inclusion of Rules.
35944 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35946 * nss/nss_files/files-initgroups.c: New file.
35947 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35948 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35949 _nss_files_initgroups_dyn.
35951 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35953 * elf/elf.h (R_ARM_IRELATIVE): Define.
35955 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35957 * po/ru.po: Update from translation team.
35959 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35961 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35964 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35968 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35973 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35981 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35984 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35986 * stdlib/bug-getcontext.c: New file.
35987 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35989 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35991 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35992 instructions into .machine "z9-109".
35993 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35994 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35996 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35998 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35999 between environment variables and auxiliary vector.
36001 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36003 * Makefile: Add rules to build linkobj/libc.so.
36004 * include/libc-symbols.h: Define libc_hidden_nolink.
36005 * include/rpc/auth.h: Mark functions which are to be hidden.
36006 * include/rpc/auth_des.h: Likewise.
36007 * include/rpc/auth_unix.h: Likewise.
36008 * include/rpc/clnt.h: Likewise.
36009 * include/rpc/des_crypt.h: Likewise.
36010 * include/rpc/key_prot.h: Likewise.
36011 * include/rpc/pmap_clnt.h: Likewise.
36012 * include/rpc/pmap_prot.h: Likewise.
36013 * include/rpc/pmap_rmt.h: Likewise.
36014 * include/rpc/rpc_msg.h: Likewise.
36015 * include/rpc/svc.h: Likewise.
36016 * include/rpc/svc_auth.h: Likewise.
36017 * include/rpc/xdr.h: Likewise.
36018 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36019 * nss/Makefile: Likewise.
36020 * sunrpc/Makefile: Don't install headers. Build library with normal
36021 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36022 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36023 for the compat linking library. Remove use of INTDEF/INTUSE.
36024 * sunrpc/auth_none.c: Likewise.
36025 * sunrpc/auth_unix.c: Likewise.
36026 * sunrpc/authdes_prot.c: Likewise.
36027 * sunrpc/authuxprot.c: Likewise.
36028 * sunrpc/clnt_gen.c: Likewise.
36029 * sunrpc/clnt_perr.c: Likewise.
36030 * sunrpc/clnt_raw.c: Likewise.
36031 * sunrpc/clnt_simp.c: Likewise.
36032 * sunrpc/clnt_tcp.c: Likewise.
36033 * sunrpc/clnt_udp.c: Likewise.
36034 * sunrpc/clnt_unix.c: Likewise.
36035 * sunrpc/des_crypt.c: Likewise.
36036 * sunrpc/des_soft.c: Likewise.
36037 * sunrpc/get_myaddr.c: Likewise.
36038 * sunrpc/key_call.c: Likewise.
36039 * sunrpc/key_prot.c: Likewise.
36040 * sunrpc/netname.c: Likewise.
36041 * sunrpc/pm_getmaps.c: Likewise.
36042 * sunrpc/pm_getport.c: Likewise.
36043 * sunrpc/pmap_clnt.c: Likewise.
36044 * sunrpc/pmap_prot.c: Likewise.
36045 * sunrpc/pmap_prot2.c: Likewise.
36046 * sunrpc/pmap_rmt.c: Likewise.
36047 * sunrpc/publickey.c: Likewise.
36048 * sunrpc/rpc_cmsg.c: Likewise.
36049 * sunrpc/rpc_common.c: Likewise.
36050 * sunrpc/rpc_dtable.c: Likewise.
36051 * sunrpc/rpc_prot.c: Likewise.
36052 * sunrpc/rpc_thread.c: Likewise.
36053 * sunrpc/rtime.c: Likewise.
36054 * sunrpc/svc.c: Likewise.
36055 * sunrpc/svc_auth.c: Likewise.
36056 * sunrpc/svc_authux.c: Likewise.
36057 * sunrpc/svc_raw.c: Likewise.
36058 * sunrpc/svc_run.c: Likewise.
36059 * sunrpc/svc_simple.c: Likewise.
36060 * sunrpc/svc_tcp.c: Likewise.
36061 * sunrpc/svc_udp.c: Likewise.
36062 * sunrpc/svc_unix.c: Likewise.
36063 * sunrpc/svcauth_des.c: Likewise.
36064 * sunrpc/xcrypt.c: Likewise.
36065 * sunrpc/xdr.c: Likewise.
36066 * sunrpc/xdr_array.c: Likewise.
36067 * sunrpc/xdr_float.c: Likewise.
36068 * sunrpc/xdr_intXX_t.c: Likewise.
36069 * sunrpc/xdr_mem.c: Likewise.
36070 * sunrpc/xdr_rec.c: Likewise.
36071 * sunrpc/xdr_ref.c: Likewise.
36072 * sunrpc/xdr_sizeof.c: Likewise.
36073 * sunrpc/xdr_stdio.c: Likewise.
36075 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36078 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36079 * sysdeps/ia64/dl-tls.h: Likewise.
36080 * sysdeps/powerpc/dl-tls.h: Likewise.
36081 * sysdeps/s390/dl-tls.h: Likewise.
36082 * sysdeps/sh/dl-tls.h: Likewise.
36083 * sysdeps/sparc/dl-tls.h: Likewise.
36084 * sysdeps/x86_64/dl-tls.h: Likewise.
36085 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36087 2011-03-14 Andreas Schwab <schwab@redhat.com>
36089 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36090 rpath element also skip the following colon.
36091 (expand_dynamic_string_token): Add is_path parameter and pass
36092 down to DL_DST_REQUIRED and _dl_dst_substitute.
36093 (decompose_rpath): Call expand_dynamic_string_token with
36094 non-zero is_path. Ignore empty rpaths.
36095 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36098 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36103 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36106 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36107 Patch by Filipe David Manana <fdmanana@apache.org>.
36109 2011-04-07 Andreas Schwab <schwab@redhat.com>
36111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36112 Maintain aligned stack.
36113 (CHECK_RSP): Remove unused macro.
36115 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36117 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36120 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36122 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36124 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36126 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36129 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36130 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36131 * sysdeps/x86_64/memmove.c: New file.
36132 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36133 (memcpy): Renamed to ...
36134 (__new_memcpy): This.
36135 (memcpy): Provide GLIBC_2_14 memcpy.
36136 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36137 (memcpy): Provide GLIBC_2_2_5 memcpy.
36139 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36142 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36144 2011-03-30 Andreas Schwab <schwab@redhat.com>
36146 * misc/syncfs.c: New file.
36147 * misc/Makefile (routines): Add syncfs.
36148 * posix/unistd.h: Declare syncfs.
36149 * sysdeps/unix/syscalls.list: Add syncfs.
36151 2011-04-01 Andreas Schwab <schwab@redhat.com>
36153 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36160 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36163 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36173 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36174 sync_file_range.c with -fexceptions.
36175 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36176 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36177 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36178 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36179 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36180 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36182 sync_file_range as cancellation point
36183 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36184 now a wrapper around __call_sync_file_range with cancellation handling.
36185 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36186 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36187 function name to __call_sync_file_range.
36188 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36189 Add call_sync_file_range.
36191 2011-04-01 Andreas Schwab <schwab@redhat.com>
36193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36196 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36198 * iconv/iconv.h: Fix typo in comment.
36199 * io/fcntl.h: Likewise.
36200 * libio/stdio.h: Likewise.
36201 * posix/spawn.h: Likewise.
36202 * posix/unistd.h: Likewise.
36203 * stdlib/stdlib.h: Likewise.
36204 * time/time.h: Likewise.
36205 * wcsmbs/wchar.h: Likewise.
36207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36208 open_by_handle): Add.
36209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36210 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36211 Augment a few comments.
36212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36217 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36220 * io/fcntl.h (AT_EMPTY_PATH): Define.
36222 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36224 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36225 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36226 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36228 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36229 * Versions.def: Add GLIBC_2.14.
36230 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36233 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36237 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36239 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36242 * string/test-strncmp.c (do_page_test): New function.
36243 (check2): Likewise.
36244 (test_main): Call check2.
36245 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36247 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36251 Handle cache information in CPU leaf 4.
36252 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36254 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36257 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36258 character representation.
36259 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36261 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36264 END(__isnan) to END(__isnanf) to match function entry point/label
36265 EALIGN(__isnanf,...).
36267 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36269 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36271 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36274 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36275 copy from the symbol referenced in the relocation to initialize the
36277 Patch by Piotr Bury <pbury@goahead.com>.
36278 * elf/Makefile: Add rules to build and tst-unique3.
36279 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36280 * elf/tst-unique3.cc: New file.
36281 * elf/tst-unique3.h: New file.
36282 * elf/tst-unique3lib.cc: New file.
36283 * elf/tst-unique3lib2.cc: New file.
36285 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36287 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36289 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36290 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36293 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36295 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36296 to-be-loaded object along a path to loader is ld.so.
36298 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36299 Ulrich Drepper <drepper@gmail.com>
36301 * sysdeps/x86_64/memset.S: After aligning destination, code
36302 branches to different locations depending on the value of
36303 misalignment, when multiarch is enabled. Fix this.
36305 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36307 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36308 Set _x86_64_preferred_memory_instruction for AMD processsors.
36309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36310 Set bit_Prefer_SSE_for_memop for AMD processors.
36312 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36314 * libio/fmemopen.c (fmemopen): Optimize a bit.
36316 2011-03-03 Andreas Schwab <schwab@redhat.com>
36318 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36320 2011-03-03 Roland McGrath <roland@redhat.com>
36322 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36324 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36326 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36327 __bzero_ultra1 instead of __memset_ultra1.
36329 2011-02-23 Andreas Schwab <schwab@redhat.com>
36330 Ulrich Drepper <drepper@gmail.com>
36333 * include/link.h (struct link_map): Add l_orig_initfini.
36334 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36335 returning unsuccessfully.
36336 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36337 close of a file loaded at startup, restore the original l_initfini
36339 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36340 list, store the pointer.
36341 * elf/Makefile ($(objpfx)noload-mem): New rule.
36342 (noload-ENV): Define.
36343 (tests): Add $(objpfx)noload-mem.
36344 * elf/noload.c: Include <memcheck.h>.
36345 (main): Call mtrace. Close all opened handles.
36347 2011-02-17 Andreas Schwab <schwab@redhat.com>
36350 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36351 dependencies are missing.
36353 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36355 Fix __if_freereq crash: Unlike the generic version which uses free,
36357 * sysdeps/mach/hurd/ifreq.h: New file.
36359 2011-01-27 Petr Baudis <pasky@suse.cz>
36360 Ulrich Drepper <drepper@gmail.com>
36363 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36364 to extend_alloca().
36365 * stdio-common/bug23.c: New file.
36366 * stdio-common/Makefile (tests): Add bug23.
36368 2010-09-28 Andreas Schwab <schwab@redhat.com>
36369 Ulrich Drepper <drepper@gmail.com>
36372 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36373 before performing relro protection. At old place add assertion
36374 to make sure nothing changed.
36376 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36377 Glauber de Oliveira Costa <glommer@gmail.com>
36379 * elf/elf.h: Add new ARM TLS relocs.
36381 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36384 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36386 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36388 * sysdeps/wordsize-64/tst-writev.c: New file.
36390 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36392 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36393 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36394 insns in _dl_start to prevent a TOC reference before relocs are
36397 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36400 * Makeconfig: Remove RANLIB definition.
36401 * Makerules: Don't use RANLIB.
36402 * aclocal.m4: Remove ranlib test.
36403 * configure.in: No need to check for ranlib.
36404 * elf/rtld-Rules: Don't use RANLIB.
36406 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36408 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36410 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36411 inclusion protection macro.
36413 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36414 SIGRTMIN and SIGRTMAX and print information in that case only when
36415 SIGRTMIN is defined.
36417 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36419 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36420 arginfo fn returning -1.
36422 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36423 and thousands string is zero terminated.
36425 2011-02-03 Andreas Schwab <schwab@redhat.com>
36427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36428 sysdeps/unix/sysv/linux/bits/socket.h.
36430 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36432 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36433 (__CPU_COUNT): Remove old macros.
36434 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36435 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36436 (__CPU_ALLOC, __CPU_FREE): Add macros.
36437 (__sched_cpualloc, __sched_cpufree): Add declarations.
36439 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36441 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36442 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36443 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36444 (readdhstai): Return value of addhstaiX call.
36445 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36446 (addgrbyX): Return value returned by cache_addgr.
36447 (readdgrbyname): Return value returned by addgrbyX.
36448 (readdgrbygid): Likewise.
36449 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36450 (addpwbyX): Return value returned by cache_addpw.
36451 (readdpwbyname): Return value returned by addhstbyX.
36452 (readdpwbyuid): Likewise.
36453 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36454 (addservbyX): Return value returned by cache_addserv.
36455 (readdservbyname): Return value returned by addservbyX:
36456 (readdservbyport): Likewise.
36457 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36458 (addhstbyX): Return value returned by cache_addhst.
36459 (readdhstbyname): Return value returned by addhstbyX.
36460 (readdhstbyaddr): Likewise.
36461 (readdhstbynamev6): Likewise.
36462 (readdhstbyaddrv6): Likewise.
36463 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36464 (readdinitgroups): Return value returned by addinitgroupsX.
36465 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36466 (prune_cache): Keep track of timeout value of re-added entries.
36467 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36468 * nscd/nscd.h: Adjust prototypes of readd* functions.
36470 2011-02-04 Roland McGrath <roland@redhat.com>
36472 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36473 (nis_stats): Likewise.
36474 * nis/nis_modify.c (nis_modify): Likewise.
36475 * nis/nis_remove.c (nis_remove): Likewise.
36476 * nis/nis_add.c (nis_add): Likewise.
36478 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36480 * posix/fnmatch_loop.c: Add some consts.
36482 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36484 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36487 * config.make.in (config-cflags-novzeroupper): Define.
36488 * configure.in: Substitute libc_cv_cc_novzeroupper.
36489 * elf/Makefile (AVX-CFLAGS): Define.
36490 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36491 (CFLAGS-tst-auditmod4a.c): Likewise.
36492 (CFLAGS-tst-auditmod4b.c): Likewise.
36493 (CFLAGS-tst-auditmod6b.c): Likewise.
36494 (CFLAGS-tst-auditmod6c.c): Likewise.
36495 (CFLAGS-tst-auditmod7b.c): Likewise.
36496 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36498 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36500 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36501 function to the callback.
36502 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36504 2011-02-02 Andreas Schwab <schwab@redhat.com>
36506 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36509 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36512 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36514 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36516 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36519 * elf/Makefile: Add rules to build and run new test.
36520 * elf/tst-initorder.c: New file.
36521 * elf/tst-initorder.exp: New file.
36522 * elf/tst-initordera1.c: New file.
36523 * elf/tst-initordera2.c: New file.
36524 * elf/tst-initordera3.c: New file.
36525 * elf/tst-initordera4.c: New file.
36526 * elf/tst-initorderb1.c: New file.
36527 * elf/tst-initorderb2.c: New file.
36528 * elf/tst-order-a1.c: New file.
36529 * elf/tst-order-a2.c: New file.
36530 * elf/tst-order-a3.c: New file.
36531 * elf/tst-order-a4.c: New file.
36532 * elf/tst-order-b1.c: New file.
36533 * elf/tst-order-b2.c: New file.
36534 * elf/tst-order-main.c: New file.
36535 New test case by George Gensure <werkt0@gmail.com>.
36537 2010-10-01 Andreas Schwab <schwab@redhat.com>
36539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36540 decoding ACE if AI_CANONIDN.
36542 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36544 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36546 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36548 * version.h (RELEASE): Bump for 2.13 release.
36549 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36551 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36555 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36562 * posix/getconf.c: Update copyright year.
36563 * catgets/gencat.c: Likewise.
36564 * csu/version.c: Likewise.
36565 * debug/catchsegv.sh: Likewise.
36566 * debug/xtrace.sh: Likewise.
36567 * elf/ldconfig.c: Likewise.
36568 * elf/ldd.bash.in: Likewise.
36569 * elf/sprof.c (print_version): Likewise.
36570 * iconv/iconv_prog.c: Likewise.
36571 * iconv/iconvconfig.c: Likewise.
36572 * locale/programs/locale.c: Likewise.
36573 * locale/programs/localedef.c: Likewise.
36574 * malloc/memusage.sh: Likewise.
36575 * malloc/mtrace.pl: Likewise.
36576 * nscd/nscd.c (print_version): Likewise.
36577 * nss/getent.c: Likewise.
36579 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36580 PF_CAIF, and PF_ALG.
36581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36583 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36585 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36586 (modules-names): Use them.
36587 (ifunc-test-modules, ifunc-pie-tests): Define.
36588 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36589 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36590 (test-extras): Likewise.
36591 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36592 $(compile-command.c).
36593 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36594 (all-built-dso): Define.
36595 (check-textrel.out, check-execstack.out): Depend on it.
36597 * configure.in: Don't override --enable-multi-arch.
36599 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36602 * nscd/hstcache.c (tryagain): Define.
36603 (cache_addhst): Return tryagain not notfound for temporary errors.
36604 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36607 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36611 to make the syscall.
36612 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36615 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36616 and fall back to matching as normal character if the string ends before
36617 the matching ']' is found. This is what POSIX requires.
36618 * posix/testfnm.c: Adjust test result.
36619 * posix/globtest.sh: Adjust test result. Add new test.
36620 * posix/tst-fnmatch.input: Likewise.
36621 * posix/tst-fnmatch2.c: Add new test.
36623 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36625 * elf/Makefile (check-execstack): Revert last change. Depend on
36627 (check-execstack.h): New target.
36628 (generated): Add check-execstack.h.
36629 * elf/check-execstack.c: Include "check-execstack.h".
36630 (main): Revert last change.
36631 (handle_file): Return zero if GNU_STACK is absent and
36632 DEFAULT_STACK_PERMS doesn't include PF_X.
36634 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36636 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36637 in child fails because the descriptor is already closed.
36638 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36639 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36643 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36647 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36648 temporary buffer used to handle multi lookups locally.
36649 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36651 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36653 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36656 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36658 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36659 alignment for SSE2.
36661 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36664 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36665 characters. When rounding increased number of integer digits recompute
36667 * stdio-common/tst-grouping.c: New file.
36668 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36670 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36672 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36673 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36675 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36677 * bits/select.h: Likewise.
36679 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36681 * po/ja.po: Update from translation team.
36683 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36686 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36687 implementation just like for lxstat, fxstatat, et al.
36689 2010-12-27 Jim Meyering <meyering@redhat.com>
36692 * posix/regexec.c (build_trtable): Return failure indication upon
36693 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36695 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36698 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36699 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36700 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36704 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36707 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36708 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36710 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36712 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36713 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36714 script has SORT_BY_INIT_PRIORITY.
36715 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36716 NO_CTORS_DTORS_SECTIONS is defined.
36717 * elf/soinit.c: Likewise.
36718 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36719 NO_CTORS_DTORS_SECTIONS is defined.
36720 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36721 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36722 * sysdeps/sh/init-first.c: Likewise.
36723 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36725 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36727 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36728 always use the slow path.
36730 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36732 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36733 similar rule which adds the sysdep directories to the header search in
36734 order to pick up the correct platform stackinfo.h.
36735 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36736 perform test if it is, otherwise return successfully without testing.
36737 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36738 DEFAULT_STACK_PERMS define in stackinfo.h.
36739 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36740 defined in stackinfo.h.
36741 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36742 DEFAULT_STACK_PERMS defined in stackinfo.h.
36743 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36744 * sysdeps/ia64/stackinfo.h: Likewise.
36745 * sysdeps/s390/stackinfo.h: Likewise.
36746 * sysdeps/sh/stackinfo.h: Likewise.
36747 * sysdeps/sparc/stackinfo.h: Likewise.
36748 * sysdeps/x86_64/stackinfo.h: Likewise.
36749 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36750 PF_X for powerpc64. Retain PF_X for powerpc32.
36752 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36754 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36756 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36757 GETDENTS_64BIT_ALIGNED.
36759 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36761 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36763 2010-12-10 Andreas Schwab <schwab@redhat.com>
36765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36769 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36771 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36772 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36774 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36777 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36780 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36782 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36784 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36786 * po/it.po: Update from translation team.
36788 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36793 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36795 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36797 2010-11-24 Andreas Schwab <schwab@redhat.com>
36799 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36801 (gaih_getanswer_slice): Likewise.
36803 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36807 2010-05-31 Petr Baudis <pasky@suse.cz>
36810 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36811 silently even in the chroot mode.
36813 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36815 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36816 last patch a bit. Pretty printing
36818 2010-05-31 Petr Baudis <pasky@suse.cz>
36821 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36822 initialization of skip_initgroups_dyn.
36824 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36829 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36831 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36833 2010-11-11 Andreas Schwab <schwab@redhat.com>
36835 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36836 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36837 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36838 ($(objpfx)tst-fnmatch-mem): New rule.
36839 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36840 * posix/tst-fnmatch.c (main): Call mtrace.
36842 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36845 Support Intel processor model 6 and model 0x2c.
36847 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36852 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36855 * string/test-strncasecmp.c (check_result): New function.
36856 (do_one_test): Use it.
36857 (check1): New function.
36858 (test_main): Use it.
36859 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36860 Support strcasecmp and strncasecmp.
36862 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36865 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36866 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36868 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36870 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36874 * sysdeps/x86_64/multiarch/bzero.S: New file.
36875 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36876 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36877 * sysdeps/x86_64/multiarch/memset.S: New file.
36878 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36880 Set bit_Prefer_SSE_for_memop for Intel processors.
36881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36883 (index_Prefer_SSE_for_memop): Define.
36884 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36886 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36889 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36891 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36894 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36895 (__x86_64_raw_data_cache_size_half): Likewise.
36896 (__x86_64_raw_shared_cache_size): Likewise.
36897 (__x86_64_raw_shared_cache_size_half): Likewise.
36899 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36900 (__x86_64_raw_data_cache_size_half): Likewise.
36901 (__x86_64_raw_shared_cache_size): Likewise.
36902 (__x86_64_raw_shared_cache_size_half): Likewise.
36903 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36904 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36905 and __x86_64_raw_shared_cache_size_half. Round
36906 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36907 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36908 to multiple of 256 bytes.
36910 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36914 of inacessible symlinks. Verify result of symlink before returning it.
36915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36916 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36918 2010-10-28 Erich Ritz <erichritz@gmail.com>
36920 * math/math.h (isinf): Fix typo in comment.
36922 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36924 * po/da.po: Update from translation team.
36926 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36928 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36929 is added to the list.
36931 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36932 Ulrich Drepper <drepper@gmail.com>
36934 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36935 the global list here. Move code to...
36936 (_dl_add_to_namespace_list): ...here. New function.
36937 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36938 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36939 * elf/dl-load.c (lose): Don't remove the element from the list.
36940 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36941 (_dl_map_object): Likewise.
36943 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36946 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36947 into all bytes of SSE register.
36948 Patch by Richard Li <richardpku@gmail.com>.
36950 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36953 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36956 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36958 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36959 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36966 2010-10-22 Andreas Schwab <schwab@redhat.com>
36968 * include/dlfcn.h (__RTLD_SECURE): Define.
36969 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36970 mode & __RTLD_SECURE instead.
36971 (open_path): Rename preloaded parameter to secure.
36972 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36973 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36974 * elf/dl-deps.c (openaux): Likewise.
36975 * elf/rtld.c (struct map_args): Remove is_preloaded.
36976 (map_doit): Don't use it.
36977 (dl_main): Likewise.
36978 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36979 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36981 2010-09-09 Andreas Schwab <schwab@redhat.com>
36983 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36984 (sysd-rules-targets): Remove duplicates.
36985 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36986 rtld-%.$o dependency.
36988 2010-10-18 Andreas Schwab <schwab@redhat.com>
36990 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36991 _dl_map_object do it.
36993 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36995 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36996 fast fma builtins, define the macros in the C99 standard.
36997 (FP_FAST_FMAF): Likewise.
36998 (FP_FAST_FMAL): Likewise.
36999 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37001 * bits/mathdef.h: Update copyright year.
37002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37004 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37006 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37007 builtins, define the macros in the C99 standard.
37008 (FP_FAST_FMAF): Likewise.
37009 (FP_FAST_FMAL): Likewise.
37010 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37012 (FP_FAST_FMAF): Likewise.
37014 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37017 * math/libm-test.inc (fma_test): Some new testcases.
37018 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37020 y and infinite z. Do multiplication by C already in long double.
37021 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37023 y and infinite z. Do bitwise or of inexact bit into u.d.
37024 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37025 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37026 * sysdeps/i386/fpu/s_fma.S: Removed.
37027 * sysdeps/i386/fpu/s_fmal.S: Removed.
37029 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37032 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37034 computation is not scheduled after fetestexcept. Fix value
37035 of minimum denormal long double.
37037 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37040 * math/libm-test.inc (fma_test): Add some more tests.
37041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37044 2010-10-15 Andreas Schwab <schwab@redhat.com>
37046 * scripts/data/localplt-s390-linux-gnu.data: New file.
37047 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37049 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37052 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37053 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37055 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37057 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37059 if one of x and y is very large and the other is subnormal.
37060 * sysdeps/s390/fpu/s_fmaf.c: New file.
37061 * sysdeps/s390/fpu/s_fma.c: New file.
37062 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37063 * sysdeps/powerpc/fpu/s_fma.S: New file.
37064 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37065 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37066 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37068 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37071 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37074 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37075 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37076 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37077 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37078 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37081 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37084 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37085 * posix/bug-regex31.input: Add test case.
37087 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37089 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37090 * posix/bug-regex31.input: New file.
37093 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37094 (parse_sub_exp): Fix last change, use postorder.
37096 * posix/bug-regex31.c: New file.
37097 * posix/Makefile: Add rules to build and run bug-regex31.
37099 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37102 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37105 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37106 to have entries in sys_siglist.
37109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37112 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37115 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37116 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37117 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37118 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37120 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37121 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37122 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37123 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37124 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37125 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37126 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37128 * math/ftestexcept.c (fetestexcept): Likewise.
37129 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37130 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37131 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37132 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37133 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37134 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37135 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37137 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37140 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37143 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37145 * string/bug-strstr1.c: New file.
37146 * string/Makefile: Add rules to build and run bug-strstr1.
37148 2010-10-05 Eric Blake <eblake@redhat.com>
37151 * string/str-two-way.h (two_way_long_needle): Always clear memory
37152 when skipping input due to the shift table.
37154 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37157 * malloc/mcheck.c: Handle large requests.
37160 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37161 for strncmp and strncasecmp.
37162 * string/stratcliff.c: Add tests for strcmp and strncmp.
37163 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37165 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37167 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37170 2010-09-30 Andreas Jaeger <aj@suse.de>
37172 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37173 (CGROUP_SUPER_MAGIC): Define.
37174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37175 Handle btrfs and cgroup file systems.
37176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37179 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37181 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37182 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37184 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37187 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37188 trying to locate the ELF header.
37190 2010-09-27 Andreas Schwab <schwab@redhat.com>
37193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37194 Mask out sign-bit copies when constructing f_fsid.
37196 2010-09-24 Petr Baudis <pasky@suse.cz>
37198 * debug/stack_chk_fail_local.c: Add missing licence exception.
37199 * debug/warning-nop.c: Likewise.
37201 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37204 implementing getdents64 using getdents syscall, set d_type if
37205 __ASSUME_GETDENTS32_D_TYPE.
37207 2010-09-16 Andreas Schwab <schwab@redhat.com>
37209 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37210 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37212 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37215 * posix/unistd.h: Undo change of feature selection for ftruncate from
37218 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37220 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37223 2010-09-20 Andreas Schwab <schwab@redhat.com>
37225 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37229 2010-09-14 Andreas Schwab <schwab@redhat.com>
37231 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37232 variables after CHECK_SP call.
37233 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37235 2010-09-13 Andreas Schwab <schwab@redhat.com>
37236 Ulrich Drepper <drepper@redhat.com>
37238 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37239 re-relocationg ld.so.
37240 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37241 _dl_init_paths call.
37242 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37245 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37247 * resolv/res_init.c (__res_vinit): Count the default server we added.
37249 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37250 Ulrich Drepper <drepper@redhat.com>
37253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37254 (____longjmp_chk): Use %ebx for saving value across system call.
37257 2010-09-06 Andreas Schwab <schwab@redhat.com>
37259 * manual/Makefile: Don't mix pattern rules with normal rules.
37261 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37263 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37265 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37266 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37267 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37268 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37272 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37275 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37276 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37278 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37280 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37281 * sysdeps/x86_64/addmul_1.S: Likewise.
37282 * sysdeps/x86_64/lshift.S: Likewise.
37283 * sysdeps/x86_64/mul_1.S: Likewise.
37284 * sysdeps/x86_64/rshift.S: Likewise.
37285 * sysdeps/x86_64/sub_n.S: Likewise.
37286 * sysdeps/x86_64/submul_1.S: Likewise.
37288 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37290 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37291 Define __sched_param instead of SCHED_* and sched_param when
37292 <bits/sched.h> is included with __need_schedparam defined.
37293 * bits/sched.h [__need_schedparam]
37294 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37295 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37296 (__defined_schedparam): Define to 1.
37297 (__sched_param): New structure, identical to sched_param.
37298 (__need_schedparam): Undefine.
37300 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37303 (epoll_create1): Declare.
37305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37307 2010-08-31 Andreas Schwab <schwab@redhat.com>
37310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37311 shifting retval into place.
37313 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37315 * nis/rpcsvc/nis.h: Update copyright notice.
37316 * nis/rpcsvc/nis.x: Likewise.
37317 * nis/rpcsvc/nis_callback.h: Likewise.
37318 * nis/rpcsvc/nis_callback.x: Likewise.
37319 * nis/rpcsvc/nis_object.x: Likewise.
37320 * nis/rpcsvc/nis_tags.h: Likewise.
37321 * nis/rpcsvc/yp.h: Likewise.
37322 * nis/rpcsvc/yp.x: Likewise.
37323 * nis/rpcsvc/ypupd.h: Likewise.
37324 * nis/yp_xdr.c: Likewise.
37325 * nis/ypupdate_xdr.c: Likewise.
37327 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37328 mainly the body of pmap_getport. Add parameters to specify timeouts.
37329 (pmap_getport): Use __libc_rpc_getport.
37330 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37331 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37332 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37334 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37339 2010-08-27 Roland McGrath <roland@redhat.com>
37341 * sysdeps/i386/i686/multiarch/Makefile
37342 (CFLAGS-varshift.c): New variable.
37344 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37346 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37347 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37351 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37353 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37355 * sysdeps/x86_64/strlen.S: Unroll the loop.
37356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37357 strlen-sse2 strlen-sse2-bsf.
37358 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37359 __strlen_no_bsf if bit_Slow_BSF is set.
37360 (__strlen_sse42): Removed.
37361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37362 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37364 2010-08-25 Roland McGrath <roland@redhat.com>
37366 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37367 * sysdeps/x86_64/multiarch/varshift.c: New file.
37368 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37369 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37370 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37371 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37373 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37376 strlen-sse2 strlen-sse2-bsf.
37377 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37378 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37379 (__strlen_sse2): Removed.
37380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37383 bit_Slow_BSF for Atom.
37384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37385 (index_Slow_BSF): Define.
37386 (HAS_SLOW_BSF): Define.
37388 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37391 * resolv/res_init.c (__res_vinit): When no server address at all
37392 is given default to loopback.
37394 2010-08-24 Roland McGrath <roland@redhat.com>
37396 * configure.in: Remove config-name.h generation.
37397 * configure: Regenerated.
37398 * config-name.in: File removed.
37399 * scripts/config-uname.sh: New file.
37400 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37401 ($(objdir)config-name.h): New target.
37403 * sunrpc/rpc_parse.h: Avoid nested comment.
37405 2010-08-24 Richard Henderson <rth@redhat.com>
37406 Ulrich Drepper <drepper@redhat.com>
37407 H.J. Lu <hongjiu.lu@intel.com>
37409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37411 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37412 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37413 _mm_alignr_epi8 with _mm_loadu_si128.
37414 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37415 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37416 (__m128i_shift_right): Removed.
37417 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37418 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37419 * sysdeps/x86_64/multiarch/varshift.h: New file.
37420 * sysdeps/x86_64/multiarch/varshift.S: New file.
37422 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37424 * configure.in: Move assembler checks to before sysdep dir checking.
37426 2010-08-20 Petr Baudis <pasky@suse.cz>
37428 * LICENSES: Sync the sunrpc license.
37430 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37432 * sunrpc/auth_des.c: Update copyright notice once again.
37433 * sunrpc/auth_none.c: Likewise.
37434 * sunrpc/auth_unix.c: Likewise.
37435 * sunrpc/authdes_prot.c: Likewise.
37436 * sunrpc/authuxprot.c: Likewise.
37437 * sunrpc/bindrsvprt.c: Likewise.
37438 * sunrpc/clnt_gen.c: Likewise.
37439 * sunrpc/clnt_perr.c: Likewise.
37440 * sunrpc/clnt_raw.c: Likewise.
37441 * sunrpc/clnt_simp.c: Likewise.
37442 * sunrpc/clnt_tcp.c: Likewise.
37443 * sunrpc/clnt_udp.c: Likewise.
37444 * sunrpc/clnt_unix.c: Likewise.
37445 * sunrpc/des_crypt.c: Likewise.
37446 * sunrpc/des_soft.c: Likewise.
37447 * sunrpc/get_myaddr.c: Likewise.
37448 * sunrpc/getrpcport.c: Likewise.
37449 * sunrpc/key_call.c: Likewise.
37450 * sunrpc/key_prot.c: Likewise.
37451 * sunrpc/openchild.c: Likewise.
37452 * sunrpc/pm_getmaps.c: Likewise.
37453 * sunrpc/pm_getport.c: Likewise.
37454 * sunrpc/pmap_clnt.c: Likewise.
37455 * sunrpc/pmap_prot.c: Likewise.
37456 * sunrpc/pmap_prot2.c: Likewise.
37457 * sunrpc/pmap_rmt.c: Likewise.
37458 * sunrpc/rpc/auth.h: Likewise.
37459 * sunrpc/rpc/auth_unix.h: Likewise.
37460 * sunrpc/rpc/clnt.h: Likewise.
37461 * sunrpc/rpc/des_crypt.h: Likewise.
37462 * sunrpc/rpc/key_prot.h: Likewise.
37463 * sunrpc/rpc/netdb.h: Likewise.
37464 * sunrpc/rpc/pmap_clnt.h: Likewise.
37465 * sunrpc/rpc/pmap_prot.h: Likewise.
37466 * sunrpc/rpc/pmap_rmt.h: Likewise.
37467 * sunrpc/rpc/rpc.h: Likewise.
37468 * sunrpc/rpc/rpc_des.h: Likewise.
37469 * sunrpc/rpc/rpc_msg.h: Likewise.
37470 * sunrpc/rpc/svc.h: Likewise.
37471 * sunrpc/rpc/svc_auth.h: Likewise.
37472 * sunrpc/rpc/types.h: Likewise.
37473 * sunrpc/rpc/xdr.h: Likewise.
37474 * sunrpc/rpc_clntout.c: Likewise.
37475 * sunrpc/rpc_cmsg.c: Likewise.
37476 * sunrpc/rpc_common.c: Likewise.
37477 * sunrpc/rpc_cout.c: Likewise.
37478 * sunrpc/rpc_dtable.c: Likewise.
37479 * sunrpc/rpc_hout.c: Likewise.
37480 * sunrpc/rpc_main.c: Likewise.
37481 * sunrpc/rpc_parse.c: Likewise.
37482 * sunrpc/rpc_parse.h: Likewise.
37483 * sunrpc/rpc_prot.c: Likewise.
37484 * sunrpc/rpc_sample.c: Likewise.
37485 * sunrpc/rpc_scan.c: Likewise.
37486 * sunrpc/rpc_scan.h: Likewise.
37487 * sunrpc/rpc_svcout.c: Likewise.
37488 * sunrpc/rpc_tblout.c: Likewise.
37489 * sunrpc/rpc_util.c: Likewise.
37490 * sunrpc/rpc_util.h: Likewise.
37491 * sunrpc/rpcinfo.c: Likewise.
37492 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37493 * sunrpc/rpcsvc/key_prot.x: Likewise.
37494 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37495 * sunrpc/rpcsvc/mount.x: Likewise.
37496 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37497 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37498 * sunrpc/rpcsvc/rex.x: Likewise.
37499 * sunrpc/rpcsvc/rstat.x: Likewise.
37500 * sunrpc/rpcsvc/rusers.x: Likewise.
37501 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37502 * sunrpc/rpcsvc/spray.x: Likewise.
37503 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37504 * sunrpc/rtime.c: Likewise.
37505 * sunrpc/svc.c: Likewise.
37506 * sunrpc/svc_auth.c: Likewise.
37507 * sunrpc/svc_authux.c: Likewise.
37508 * sunrpc/svc_raw.c: Likewise.
37509 * sunrpc/svc_run.c: Likewise.
37510 * sunrpc/svc_simple.c: Likewise.
37511 * sunrpc/svc_tcp.c: Likewise.
37512 * sunrpc/svc_udp.c: Likewise.
37513 * sunrpc/svc_unix.c: Likewise.
37514 * sunrpc/svcauth_des.c: Likewise.
37515 * sunrpc/xcrypt.c: Likewise.
37516 * sunrpc/xdr.c: Likewise.
37517 * sunrpc/xdr_array.c: Likewise.
37518 * sunrpc/xdr_float.c: Likewise.
37519 * sunrpc/xdr_mem.c: Likewise.
37520 * sunrpc/xdr_rec.c: Likewise.
37521 * sunrpc/xdr_ref.c: Likewise.
37522 * sunrpc/xdr_sizeof.c: Likewise.
37523 * sunrpc/xdr_stdio.c: Likewise.
37525 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37528 2010-08-19 Andreas Schwab <schwab@redhat.com>
37530 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37532 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37534 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37535 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37537 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37539 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37541 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37543 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37544 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37545 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37546 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37549 2010-07-26 Anton Blanchard <anton@samba.org>
37551 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37552 * malloc/arena.c (heap_trim): Likewise.
37554 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37556 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37559 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37561 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37563 * sysdeps/i386/elf/Makefile: New file.
37565 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37567 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37568 from fanotify_init.
37569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37572 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37574 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37576 * sysdeps/multiarch/strcmp.S: Likewise.
37578 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37580 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37581 strncase_l-nonascii.
37582 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37583 Add strncase_l-ssse3.
37584 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37585 * sysdeps/x86_64/strcmp.S: Likewise.
37586 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37587 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37588 * sysdeps/x86_64/strncase.S: New file.
37589 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37590 * sysdeps/x86_64/strncase_l.S: New file.
37591 * string/Makefile (strop-tests): Add strncasecmp.
37592 * string/test-strncasecmp.c: New file.
37594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37597 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37598 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37600 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37602 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37604 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37606 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37608 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37610 2010-05-01 Alan Modra <amodra@gmail.com>
37612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37613 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37614 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37615 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37616 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37617 tidying. Don't tail-call __sigjmp_save for static lib.
37618 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37620 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37621 (CALL_MCOUNT): Add eh info, and nop after bl.
37622 (TAIL_CALL_SYSCALL_ERROR): New macro.
37623 (PSEUDO_RET): Use it.
37624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37625 Correct save location of integer regs and cr.
37626 (_dl_profile_resolve): Correct cr save location. Delete nops
37627 after bl when SHARED. Reduce cfi size a little by better
37628 placement of cfi directives.
37629 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37630 make a stack frame. Instead use parm save area as a temp.
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37632 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37634 Don't make a stack frame for parent, use parm save area.
37635 Increase child stack frame to 112 bytes. Don't save unused reg,
37636 and adjust reg usage. Set up cfi on error recovery and
37637 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37639 (__makecontext): Add dummy nop after jump to exit.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37641 Use correct parm save area and cr save, reduce stack frame.
37642 Correct cfi for possible PSEUDO_RET frame setup.
37643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37644 Branch to local label emitted by PSEUDO_RET rather than
37647 2010-08-12 Andreas Schwab <schwab@redhat.com>
37650 * locale/programs/locale.c (print_assignment): New function.
37651 (show_locale_vars): Use it.
37653 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37655 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37657 (struct statfs64): Likewise.
37658 (_STATFS_F_FLAGS): Define.
37659 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37661 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37662 (ST_VALID): Define locally.
37663 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37664 __statvfs_getflags, use the provided value.
37665 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37666 __ASSUME_STATFS_F_FLAGS.
37668 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37671 Add sys/fanotify.h.
37672 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37673 fanotify_mask for GLIBC_2.13.
37674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37675 fanotify_init and fanotify_mark.
37676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37677 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37681 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37682 prlimit64 for GLIBC_2.13.
37683 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37689 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37693 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37696 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37697 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37699 * nss/Makefile: Add rules to build and run tst-nss-test1.
37700 * shlib-versions: Add entry for libnss_test1.
37701 * nss/nss_test1.c: New file.
37702 * nss/tst-nss-test1.c: New file.
37704 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37705 (__nss_configure_lookup): Set appropriate entry in
37706 __nss_configure_lookup to true.
37707 * nss/nsswitch.h: Define enum with indeces of databases in
37708 databases and __nss_database_custom arrays. Declare
37709 __nss_database_custom.
37710 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37711 to avoid using nscd when custom rules are installed.
37712 * nss/getXXbyYY_r.c: Likewise.
37713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37715 * nss/nss_files/files-parse.c: Whitespace fixes.
37717 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37720 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37721 * posix/fnmatch_loop.c: Likewise.
37723 2010-07-17 Andi Kleen <ak@linux.intel.com>
37725 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37726 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37727 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37728 * Versions.def [GLIBC_2.13]: Add.
37730 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37733 Also fail if tpwd after pwuid call is NULL.
37735 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37737 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37738 when converting to ms.
37740 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37742 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37743 EOPNOTSUPP errors with ENOTTY.
37744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37745 EOPNOTSUPP errors with ENOTTY.
37747 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37749 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37750 Add strcasecmp_l-ssse3.
37751 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37753 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37754 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37757 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37759 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37761 * string/Makefile (strop-tests): Add strcasecmp.
37762 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37763 strcasecmp_l-nonascii.
37764 (gen-as-const-headers): Add locale-defines.sym.
37765 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37766 * sysdeps/x86_64/strcasecmp.S: New file.
37767 * sysdeps/x86_64/strcasecmp_l.S: New file.
37768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37769 * sysdeps/x86_64/locale-defines.sym: New file.
37770 * string/test-strcasecmp.c: New file.
37772 * string/test-strcasestr.c: Test both ends of the range of characters.
37773 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37775 2010-07-29 Roland McGrath <roland@redhat.com>
37778 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37780 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37782 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37785 2010-07-27 Andreas Schwab <schwab@redhat.com>
37787 * manual/memory.texi (Malloc Tunable Parameters): Document
37790 2010-07-26 Roland McGrath <roland@redhat.com>
37793 * configure.in (-fgnu89-inline check): Set and substitute
37794 gnu89_inline, not libc_cv_gnu89_inline.
37795 * configure: Regenerated.
37796 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37798 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37800 * string/test-strnlen.c: New file.
37801 * string/Makefile (strop-tests): Add strnlen.
37802 * string/tester.c (test_strnlen): Add a few more test cases.
37803 * string/tst-strlen.c: Better error reporting.
37805 * sysdeps/x86_64/strnlen.S: New file.
37807 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37810 lower-latency instructions.
37812 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37814 * string/test-strcasestr.c: New file.
37815 * string/test-strstr.c: New file.
37816 * string/Makefile (strop-tests): Add strstr and strcasestr.
37817 * string/str-two-way.h: Don't undefine MAX.
37818 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37820 2010-07-21 Andreas Schwab <schwab@redhat.com>
37822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37823 strcasestr-nonascii.
37824 (CFLAGS-strcasestr-nonascii.c): Define.
37825 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37827 Remove unused attribute.
37829 2010-07-20 Roland McGrath <roland@redhat.com>
37831 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37832 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37833 ld.so.cache was broken. With it, there is no way to disable dsocaps
37834 like LD_HWCAP_MASK can disable hwcaps.
37836 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37838 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37840 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37842 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37843 call in strcasestr.
37844 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37845 __strcasestr_sse42_nonascii.
37846 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37847 strcasestr-nonascii.c.
37848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37850 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37857 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37862 2010-07-06 Andreas Schwab <schwab@redhat.com>
37865 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37868 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37871 _PC_PIPE_BUF using F_GETPIPE_SZ.
37873 2010-07-05 Roland McGrath <roland@redhat.com>
37875 * manual/arith.texi (Rounding Functions): Fix rint description
37876 implicit in round description.
37878 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37880 * elf/Makefile: Fix linking for a few tests to make recent linker
37883 2010-06-30 Andreas Schwab <schwab@redhat.com>
37885 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37886 $(common-objpfx)libc_nonshared.a.
37888 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37890 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37891 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37892 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37893 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37894 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37896 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37912 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37913 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37914 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37915 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37916 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37917 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37918 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37919 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37920 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37921 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37922 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37923 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37939 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37941 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37942 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37943 * string/memmove.c (memmove): Renamed to ...
37944 (MEMMOVE): ...this. Default to memmove.
37945 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37946 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37949 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37950 mempcpy-ssse3-back memmove-ssse3-back.
37951 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37954 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37955 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37956 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37957 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37958 * sysdeps/x86_64/multiarch/memmove.c: New file.
37959 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37960 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37961 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37962 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37963 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37966 (index_Fast_Copy_Backward): Define.
37967 (HAS_ARCH_FEATURE): Define.
37968 (HAS_FAST_REP_STRING): Define.
37969 (HAS_FAST_COPY_BACKWARD): Define.
37971 2010-06-21 Andreas Schwab <schwab@redhat.com>
37973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37974 Restore proper fallback handling.
37976 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37979 * posix/group_member.c (__group_member): Correct checking loop.
37981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37982 OOM in getpwuid_r correctly. Return error number when the caller
37983 should return, otherwise -1.
37984 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37985 call returning > 0 value.
37986 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37988 2010-06-07 Andreas Schwab <schwab@redhat.com>
37990 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37991 libc_nonshared.a from targets in modules-names.
37993 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37995 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37998 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38001 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38005 2010-06-02 Andreas Schwab <schwab@redhat.com>
38007 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38009 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38011 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38020 2010-06-14 Roland McGrath <roland@redhat.com>
38022 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38024 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38026 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38027 __REDIRECT followed by __THROW.
38028 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38029 * posix/getopt.h (getopt): Likewise.
38031 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38033 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38034 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38035 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38037 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38038 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38040 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38044 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38048 Properly check family and model.
38050 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38054 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38056 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38058 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38060 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38063 2010-05-19 Andreas Schwab <schwab@redhat.com>
38065 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38068 2010-05-21 Andreas Schwab <schwab@redhat.com>
38070 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38071 and internal_recvmmsg.
38072 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38073 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38075 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38077 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38078 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38079 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38081 2010-05-20 Andreas Schwab <schwab@redhat.com>
38083 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38085 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38087 POWER7 optimizations.
38088 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38089 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38091 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38093 * version.h: Update for 2.13 development version.
38095 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38097 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38098 exceptions. Return 0.
38100 2010-05-07 Roland McGrath <roland@redhat.com>
38102 * elf/ldconfig.c (main): Add a const.
38104 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38106 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38107 (args_options): Add no-idn option.
38108 (ahosts_keys_int): Add idn_flags to ai_flags.
38109 (parse_option): Handle 'i' option to clear idn_flags.
38111 * malloc/malloc.c (_int_free): Possible race in the most recently
38112 added check. Only act on the data if no current modification
38115 See ChangeLog.17 for earlier changes.