1 2013-12-31 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/unix/sysv/linux/configure: Regenerated.
4 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5 the linux/fanotify.h header.
6 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7 HAVE_LINUX_FANOTIFY_H is defined.
9 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * benchtests/cos-inputs: New inputs.
12 * benchtests/sin-inputs: Likewise.
14 * benchtests/atan-inputs: New inputs. Fix name of multiple
15 precision fallback inputs.
17 * benchtests/atanh-inputs: New inputs.
18 * benchtests/tanh-inputs: Likewise.
20 * benchtests/acosh-inputs: New inputs.
21 * benchtests/asinh-inputs: Likewise.
23 * benchtests/cosh-inputs: New inputs.
24 * benchtests/sinh-inputs: Likewise.
26 * benchtests/acos-inputs: Add more inputs.
27 * benchtests/asin-inputs: Likewise.
29 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
32 * manual/arith.texi: Fix spelling.
33 * manual/charset.texi: Likewise.
34 * manual/errno.texi: Likewise.
35 * manual/filesys.texi: Likewise.
36 * manual/lang.texi: Likewise.
37 * manual/llio.texi: Likewise.
38 * manual/locale.texi: Likewise.
39 * manual/message.texi: Likewise.
40 * manual/resource.texi: Likewise.
41 * manual/search.texi: Likewise.
42 * manual/setjmp.texi: Likewise.
43 * manual/stdio.texi: Likewise.
44 * manual/string.texi: Likewise.
45 * manual/sysinfo.texi: Likewise.
46 * manual/time.texi: Likewise.
48 2013-12-27 Carlos O'Donell <carlos@redhat.com>
52 2013-12-27 Mike Frysinger <vapier@gentoo.org>
54 * .gitignore: Add core/.gdbinit/.gdb_history.
56 2013-12-27 Allan McRae <allan@archlinux.org>
59 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
60 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
62 2013-12-24 Brooks Moses <bmoses@google.com>
64 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
65 all compilers that claim C++98 compliance, not just GCC.
66 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
69 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
71 * NEWS: Restore accidentally deleted bug-fix entries.
73 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
74 Ondřej Bílka <neleai@seznam.cz>
77 * malloc/malloc.c (_int_free): Perform sanity check only if we
80 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
83 * manual/stdio.texi (String Input Conversions): Clarify that character
84 classes are not supported.
86 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
90 2013-12-22 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
94 Calculate results for small negative arguments directly rather
95 than using reflection formula with special underflow handling.
97 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
98 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
99 sysdeps/unix/bsd/bsd4.4/syscalls.list.
100 (fchflags): Likewise.
102 (setlogin): Likewise.
103 (sigaltstack): Likewise.
106 (sigsetmask): Likewise.
109 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
110 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
112 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
113 * sysdeps/unix/bsd/Makefile: ... here.
114 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
115 * sysdeps/unix/bsd/Versions: ... here.
116 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
117 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
118 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
119 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
120 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
121 * sysdeps/unix/bsd/sigblock.c: ... here.
122 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
123 * sysdeps/unix/bsd/sigsetmask.c: ... here.
124 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
125 * sysdeps/unix/bsd/sigvec.c: ... here.
126 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
127 * sysdeps/unix/bsd/tcdrain.c: ... here.
128 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
129 * sysdeps/unix/bsd/tcgetattr.c: ... here.
130 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
131 * sysdeps/unix/bsd/tcsetattr.c: ... here.
132 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
133 * sysdeps/unix/bsd/wait.c: ... here.
134 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
135 * sysdeps/unix/bsd/wait3.c: ... here.
136 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
137 * sysdeps/unix/bsd/waitpid.c: ... here.
139 2013-12-21 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
143 round-to-nearest for [!USE_AS_EXPM1L].
144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
145 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
146 more tests of exp and exp10. Expect some exp10 tests to miss
147 exceptions or fail in directed rounding modes.
148 * math/auto-libm-test-out: Regenerated.
149 * math/libm-test.inc (exp10_tonearest_test_data): New array.
150 (exp10_test_tonearest): New function.
151 (exp10_towardzero_test_data): New array.
152 (exp10_test_towardzero): New function.
153 (exp10_downward_test_data): New array.
154 (exp10_test_downward): New function.
155 (exp10_upward_test_data): New array.
156 (exp10_test_upward): New function.
157 (main): Call the new functions.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161 2013-12-20 Joseph Myers <joseph@codesourcery.com>
163 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
164 asinh, atan, atan2, atanh, cbrt, cos and cosh.
165 * math/auto-libm-test-out: Regenerated.
166 * math/libm-test.inc (acosh_test_data): Add more tests.
167 (atanh_test_data): Likewise.
168 (ceil_test_data): Likewise.
169 (copysign_test_data): Likewise.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173 * timezone/checktab.awk: Update from tzcode 2013i.
174 * timezone/private.h: Likewise.
175 * timezone/scheck.c: Likewise.
176 * timezone/tzfile.h: Likewise.
177 * timezone/tzselect.ksh: Likewise.
178 * timezone/zdump.c: Likewise.
179 * timezone/zic.c: Likewise.
181 * math/auto-libm-test-in: Add tests of cpow.
182 * math/auto-libm-test-out: Regenerated.
183 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
184 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
186 (func_calc_desc): Add mpc_cc_c union field.
187 (test_functions): Add cpow.
188 (special_fill_2pi): New function.
189 (special_real_inputs): Add 2pi.
190 (calc_generic_results): Handle mpc_cc_c.
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
194 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
195 csqrt, ctan and ctanh.
196 * math/auto-libm-test-out: Regenerated.
197 * math/libm-test.inc (TEST_COND_x86_64): New macro.
198 (TEST_COND_x86): Likewise.
199 (ccos_test_data): Use AUTO_TESTS_c_c.
200 (ccosh_test_data): Likewise.
201 (cexp_test_data): Likewise.
202 (clog_test_data): Likewise.
203 (csqrt_test_data): Likewise.
204 (ctan_test_data): Likewise.
205 (ctan_tonearest_test_data): Likewise.
206 (ctan_towardzero_test_data): Likewise.
207 (ctan_downward_test_data): Likewise.
208 (ctan_upward_test_data): Likewise.
209 (ctanh_test_data): Likewise.
210 (ctanh_tonearest_test_data): Likewise.
211 (ctanh_towardzero_test_data): Likewise.
212 (ctanh_downward_test_data): Likewise.
213 (ctanh_upward_test_data): Likewise.
214 * math/gen-auto-libm-tests.c (func_calc_method): Add value
216 (func_calc_desc): Add mpc_c_c union field.
217 (FUNC_mpc_c_c): New macro.
218 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
219 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
221 (special_fill_min_subnorm_p120): New function.
222 (special_real_inputs): Add min_subnorm_p120.
223 (calc_generic_results): Handle mpc_c_c.
224 * sysdeps/i386/fpu/libm-test-ulps: Update.
225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
227 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
229 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
230 do_sin_slow): New functions.
231 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
232 cslow2, csloww1, csloww2): Use the new functions.
234 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
235 Use M to change sign of result instead of X. Assume X is
241 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
248 (sloww1): Don't adjust sign of DX.
250 (sloww2): Use X directly and don't adjust sign of DX.
253 2013-12-19 Joseph Myers <joseph@codesourcery.com>
255 * math/auto-libm-test-in: Add tests of cabs and carg.
256 * math/auto-libm-test-out: Regenerated.
257 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
258 (carg_test_data): Likewise.
259 * math/gen-auto-libm-tests.c (func_calc_method): Add value
261 (func_calc_desc): Add mpc_c_f union field.
262 (test_functions): Add cabs and carg.
263 (calc_generic_results): Handle mpc_c_f.
265 * sysdeps/powerpc/powerpc32/libgcc-compat.S
266 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
267 as a macro and a compat symbol.
268 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
269 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
270 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
271 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
272 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
273 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
275 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
277 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
279 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
281 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
283 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
285 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
286 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
289 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
293 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
295 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
296 (__signal_safe_memalign, __signal_safe_free): Use it.
297 (__signal_safe_realloc): Likewise.
299 2013-12-19 Joseph Myers <joseph@codesourcery.com>
301 * manual/texinfo.tex: Update to version 2013-11-26.10 with
302 trailing whitespace removed.
303 * scripts/config.guess: Update to version 2013-11-29.
304 * scripts/config.sub: Update to version 2013-10-01.
306 * math/auto-libm-test-in: Add tests of sincos.
307 * math/auto-libm-test-out: Regenerated.
308 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
311 (func_calc_desc): Add mpfr_f_11 union field.
312 (test_functions): Add sincos.
313 (calc_generic_results): Handle mpfr_f_11.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317 2013-12-19 Andreas Schwab <schwab@suse.de>
319 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
323 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
325 2013-12-19 Joseph Myers <joseph@codesourcery.com>
327 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
328 * sysdeps/i386/fpu/libm-test-ulps: Update.
329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
333 round-to-nearest mode when using frndint.
334 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
335 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
338 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
340 * math/auto-libm-test-out: Regenerated.
341 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
342 (TEST_COND_x86): Likewise.
343 (expm1_tonearest_test_data): New array.
344 (expm1_test_tonearest): New function.
345 (expm1_towardzero_test_data): New array.
346 (expm1_test_towardzero): New function.
347 (expm1_downward_test_data): New array.
348 (expm1_test_downward): New function.
349 (expm1_upward_test_data): New array.
350 (expm1_test_upward): New function.
351 (main): Run the new test functions.
352 * sysdeps/i386/fpu/libm-test-ulps: Update.
353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
355 * include/features.h: Update comment documenting feature test
356 macros. Mention _DEFAULT_SOURCE in comment.
357 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
358 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
359 _BSD_SOURCE and _SVID_SOURCE.
360 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
361 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
362 !_SVID_SOURCE]: Likewise.
363 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
364 (__USE_POSIX_IMPLICITLY): Define.
365 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
366 (_POSIX_SOURCE): Undefine and redefine.
367 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
368 (_POSIX_C_SOURCE): Likewise.
369 * manual/creature.texi (_DEFAULT_SOURCE): Document.
370 (Feature Test Macros): Update documentation of default features.
372 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
374 * benchtests/Makefile: Add bench-strtok.
375 * benchtests/bench-strtok.c: New file: strtok benchtest.
377 2013-12-19 Allan McRae <allan@archlinux.org>
379 * manual/install.texi: Suppress menu for plain text output.
380 * INSTALL: Regenerated.
382 2013-12-18 Andrew Hunter <ahh@google.com>
384 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
385 (__signal_safe_malloc, __signal_safe_free): Likewise.
386 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
387 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
388 (__signal_safe_memalign, __signal_safe_malloc): New function.
389 (__signal_safe_free, __signal_safe_realloc): Likewise.
390 (__signal_safe_calloc): Likewise.
391 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
393 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
395 2013-12-18 Andrew Hunter <ahh@google.com>
397 * elf/Versions (ld): Add _dl_clear_dtv.
398 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
399 * elf/dl-tls.c (_dl_clear_dtv): New function.
400 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
402 2013-12-18 Andrew Hunter <ahh@google.com>
404 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
405 (_dl_unmask_signals): Likewise.
406 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
407 (_dl_unmask_all_signals): Likewise.
408 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
409 (_dl_unmask_all_signals): Likewise.
410 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
411 (_dl_unmask_signals): Likewise.
413 2013-12-18 Brooks Moses <bmoses@google.com>
416 * misc/getauxval.c: Include errno.h.
417 (__getauxval): Set errno to ENOENT if the requested type is not
419 * misc/sys/auxv.h (getauxval): Document that it may set errno;
420 don't declare with __attribute_const__.
421 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
422 * manual/startup.texi: Document that getauxval sets errno.
424 2013-12-18 Joseph Myers <joseph@codesourcery.com>
426 * math/auto-libm-test-in: Add tests of jn and yn.
427 * math/auto-libm-test-out: Regenerated.
428 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
429 (yn_test_data): Likewise.
430 * math/gen-auto-libm-tests.c (func_calc_method): Add value
432 (func_calc_desc): Add mpfr_if_f union field.
433 (FUNC_mpfr_if_f): New macro.
434 (test_functions): Add jn and yn.
435 (calc_generic_results): Assert type of second input for
436 mpfr_ff_f. Handle mpfr_if_f.
437 (output_for_one_input_case): Disable all checking for arguments
438 fitting floating-point types in case of an integer argument.
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
443 Don't expect fegetround reference in libm.so.
445 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
447 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
448 $(config-cflags-nofma).
450 2013-12-18 Joseph Myers <joseph@codesourcery.com>
452 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
453 * math/auto-libm-test-out: Regenerated.
456 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
457 to determine exponent and adjust argument to have exponent of -1.
458 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
460 * math/auto-libm-test-out: Regenerated.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
464 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
466 * manual/probes.texi: Remove cases when per-thread arenas are
469 2013-12-18 Andreas Schwab <schwab@suse.de>
471 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
472 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
473 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
474 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
475 * sysdeps/i386/i686/multiarch/Makefile: Update.
476 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
478 2013-12-17 Joseph Myers <joseph@codesourcery.com>
480 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
481 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
483 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
485 Support TZ transition times < 00:00:00.
486 This is needed for version-3 tz-format files; it supports time
487 stamps past 2037 for America/Godthab (the only entry in the tz
488 database for which this change is relevant).
489 * manual/time.texi (TZ Variable): Document transition times
490 from -167:59:59 through -00:00:01.
491 * time/tzset.c (tz_rule): Time of day is now signed.
492 (__tzset_parse_tz): Parse negative time of day.
494 Document TZ transition times >= 25:00:00.
495 * manual/time.texi (TZ Variable): Document transition times from
496 25:00:00 through 167:59:59. These are already supported, and this
497 support will help with version-3 tz-format files.
499 * manual/time.texi (TZ Variable): Modernize North America example
500 to reflect current (i.e., 2007-and-later) daylight saving rules.
502 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
504 2013-12-17 Joseph Myers <joseph@codesourcery.com>
506 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
507 * sysdeps/unix/bsd/bits/stat.h: Likewise.
508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
510 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
511 * sysdeps/unix/bsd/bsdstat.h: Likewise.
512 * sysdeps/unix/bsd/clock.c: Likewise.
513 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
514 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
515 * sysdeps/unix/bsd/init-posix.c: Likewise.
516 * sysdeps/unix/bsd/poll.c: Likewise.
517 * sysdeps/unix/bsd/ptsname.c: Likewise.
518 * sysdeps/unix/bsd/seekdir.c: Likewise.
519 * sysdeps/unix/bsd/setegid.c: Likewise.
520 * sysdeps/unix/bsd/seteuid.c: Likewise.
521 * sysdeps/unix/bsd/setgid.c: Likewise.
522 * sysdeps/unix/bsd/setrgid.c: Likewise.
523 * sysdeps/unix/bsd/setruid.c: Likewise.
524 * sysdeps/unix/bsd/setsid.c: Likewise.
525 * sysdeps/unix/bsd/setuid.c: Likewise.
526 * sysdeps/unix/bsd/sigaction.c: Likewise.
527 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
528 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
529 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
530 * sysdeps/unix/bsd/telldir.c: Likewise.
531 * sysdeps/unix/bsd/times.c: Likewise.
532 * sysdeps/unix/bsd/usleep.c: Likewise.
534 * misc/Makefile (install-lib): Remove libbsd-compat.a.
535 ($(objpfx)libbsd-compat.a): Remove rule.
537 * include/features.h (__FAVOR_BSD): Do not define.
538 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
539 features conflicting with POSIX.
540 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
541 (_BSD_SOURCE): Remove description of not being a subset of other
543 * manual/job.texi (getpgrp): Do not document BSD version.
544 (getpgid): Do not document by reference to BSD getpgrp.
545 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
546 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
547 * signal/signal.h [__FAVOR_BSD]: Likewise.
548 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
549 instead of making contents conditional on [__FAVOR_BSD].
550 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
552 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
556 2013-12-17 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
560 values below 2**-450, not 2**-500.
561 * math/auto-libm-test-in: Don't allow spurious underflow from
563 * math/auto-libm-test-out: Regenerated.
567 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
568 values of ha and hb and sort them after adjusting subnormal
570 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
572 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
573 values of ea and eb and sort them after adjusting subnormal
575 * math/auto-libm-test-in: Do not expect some hypot tests of
576 subnormals to fail. Add more hypot tests.
577 * math/auto-libm-test-out: Regenerated.
579 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
582 * sysdeps/sh/s_fma.c: New file.
583 * sysdeps/sh/s_fmaf.c: New file.
584 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
586 * sysdeps/sh/Implies: Add sh/soft-fp.
588 2013-12-16 Roland McGrath <roland@hack.frob.com>
590 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
591 level of indirection to members `objname', `errstring', `malloced'.
592 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
593 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
594 it as the __longjmp argument (just pass 1 instead).
595 (_dl_catch_error): Initialize C with argument pointers and address of
596 volatile local ERRCODE rather than copying values out of C at return.
598 2013-12-16 Joseph Myers <joseph@codesourcery.com>
600 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
601 * math/auto-libm-test-out: Regenerated.
602 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
603 (hypot_test_data): Likewise.
604 (pow_test_data): Likewise.
605 (pow_tonearest_test_data): Likewise.
606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
608 (func_calc_desc): Add mpfr_ff_f union field.
609 (FUNC_mpfr_ff_f): New macro.
610 (test_functions): Add atan2, hypot and pow.
611 (special_fill_min): New function.
612 (special_fill_minus_min): Likewise.
613 (special_fill_min_subnorm): Likewise.
614 (special_fill_minus_min_subnorm): Likewise.
615 (special_real_inputs): Add min, -min, min_subnorm and
617 (calc_generic_results): Handle mpfr_ff_f.
618 * sysdeps/i386/fpu/libm-test-ulps: Update.
619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
621 2013-12-16 Will Newton <will.newton@linaro.org>
623 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
624 (Aligned Memory Blocks): Add documentation for aligned_alloc
625 and suggest it as an alternative to posix_memalign.
626 (Hooks for Malloc): Document __memalign_hook is also called
627 for aligned_alloc. (Summary of Malloc): Add summary for
628 aligned alloc. Document __memalign_hook is also called
631 2013-12-16 Will Newton <will.newton@linaro.org>
633 * manual/memory.texi (Malloc Examples): Clarify default
634 alignment documentation. Suggest posix_memalign rather
635 than memalign or valloc.
636 (Aligned Memory Blocks): Remove suggestion to use memalign
637 or valloc. Remove obsolete comment about BSD.
638 Document memalign errno values and mark the function obsolete.
639 Document posix_memalign returned error codes. Mark valloc
640 as obsolete. (Hooks for Malloc): __memalign_hook is also
641 called for posix_memalign and valloc.
642 (Summary of Malloc): Add posix_memalign to function summary.
643 __memalign_hook is also called for posix_memalign and valloc.
645 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
647 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
651 (sloww): Use mynumber union. Expand ternary operator into
653 (cslow): use mynumber union.
655 2013-12-16 Allan McRae <allan@archlinux.org>
657 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
658 * configure: Regenerated.
660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
663 * configure.ac: Added --enable-maintainer-mode. Check for
664 autoconf when enabled.
665 * configure: Regenerated.
667 * nscd/nscd.service: New file.
668 * nscd/nscd.tmpfiles: New file.
670 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
673 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
674 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
675 * sysdeps/x86_64/multiarch/strstr.c: ... here.
676 (strstr): Add __strstr_sse2_unaligned ifunc.
677 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
678 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
679 (strcasestr): Remove __strcasestr_sse42 ifunc.
680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
684 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
686 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
687 * sysdeps/sh/bits/fenv.h: ... here.
688 * sysdeps/sh/sh4/fpu/bits: Remove directory.
690 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
694 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
697 hypotf multiarch implementations.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
701 multiarch hypot for PPC64.
702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
705 multiarch hypotf for PPC64.
707 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
710 modff multiarch implementations.
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
714 multiarch modf for PPC64.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
718 multiarch modff for PPC64.
720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
723 and logl multiarch implementations.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
727 multiarch logb for PPC64.
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
731 multiarch logb for PPC64.
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
735 multiarch logb for PPC64.
737 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
740 isinff multiarch implementation.
741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
745 multiarch isinf for PPC64.
746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
749 multiarch isinff for PPC64.
751 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
754 finitef multiarch implementation.
755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
759 multiarch finite for PPC64.
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
763 multiarch finitef for PPC64.
765 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
768 lrint multiarch implementation.
769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
773 multiarch llrint for PPC64.
774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
775 multiarch lrint for PPC64.
777 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
780 copysignf multiarch implementation.
781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
786 multiarch copysign for PPC64.
787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
788 multiarch copysignf for PPC64.
790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
793 multiarch implementation.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
802 multiarch llround for PPC64.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
804 multiarch trunc for PPC64.
805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
806 multiarch truncf for PPC64.
808 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
811 multiarch implementation.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
820 multiarch llround for PPC64.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
822 multiarch round for PPC64.
823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
824 multiarch roundf for PPC64.
826 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
829 multiarch implementation.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
838 multiarch llround for PPC64.
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
840 multiarch floor for PPC64.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
842 multiarch floorf for PPC64.
844 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
847 multiarch implementation.
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
856 multiarch llround for PPC64.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
858 multiarch ceil for PPC64.
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
860 multiarch ceilf for PPC64.
862 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
865 multiarch implementation.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
873 multiarch llround for PPC64.
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
875 multiarch lround for PPC64.
877 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
880 multiarch implementation.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
888 multiarch isnan for PPC64.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
890 multiarch isnanf for PPC64.
892 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
894 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
895 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
896 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
897 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
898 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
901 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
903 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
904 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
908 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
911 multiarch implementations.
912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
913 (__libc_ifunc_impl_list): Likewise.
914 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
916 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
917 multiarch stpcpy for PPC64.
919 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
922 multiarch implementations.
923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
924 (__libc_ifunc_impl_list): Likewise.
925 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
927 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
928 multiarch strcpy for PPC64.
930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
933 redefine function name.
934 (_wordcopy_fwd_dest_aligned): Likewise.
935 (_wordcopy_bwd_aligned): Likewise.
936 (_wordcopy_bwd_dest_aligned): Likewise.
937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
938 multiarch implementations.
939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
940 (__libc_ifunc_impl_list): Likewise.
941 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
942 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
943 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
944 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
945 multiarch wcscpy for PPC64.
947 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
950 multiarch implementations.
951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
952 (__libc_ifunc_impl_list): Likewise.
953 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
955 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
956 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
957 multiarch wcscpy for PPC64.
959 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
962 multiarch implementations.
963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
964 (__libc_ifunc_impl_list): Likewise.
965 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
966 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
967 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
968 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
969 multiarch wcsrchr for PPC64.
971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
974 multiarch implementations.
975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
976 (__libc_ifunc_impl_list): Likewise.
977 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
978 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
979 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
980 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
981 multiarch wcschr for PPC64.
983 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
986 multiarch implementations.
987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
988 (__libc_ifunc_impl_list): Likewise.
989 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
991 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
992 multiarch strchrnul for PPC64.
994 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
999 (__libc_ifunc_impl_list): Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1001 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1002 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1003 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1006 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Likewise.
1012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1013 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1014 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1015 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1018 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1021 multiarch implementations.
1022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1023 (__libc_ifunc_impl_list): Likewise.
1024 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1025 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1026 strncasecmp for PPC64.
1027 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1029 multiarch strncasecmp_l for PPC64.
1031 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1034 multiarch implementations.
1035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1036 (__libc_ifunc_impl_list): Likewise.
1037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1038 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1039 multiarch strcasecmp for PPC64.
1040 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1042 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1043 multiarch strcasecmp_l for PPC64.
1045 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1050 (__libc_ifunc_impl_list): Likewise.
1051 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1052 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1053 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1061 (__libc_ifunc_impl_list): Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1063 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1067 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1072 (__libc_ifunc_impl_list): Likewise.
1073 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1075 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1076 rawmemrchr for PPC64.
1078 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1083 (__libc_ifunc_impl_list): Likewise.
1084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1085 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1086 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1089 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1094 (__libc_ifunc_impl_list): Likewise.
1095 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1096 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1097 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1100 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1105 (__libc_ifunc_impl_list): Likewise.
1106 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1111 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1114 avoid cretion of __bzero symbol.
1115 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1117 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1119 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1122 multiarch implementations.
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Likewise.
1125 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1126 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1127 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1130 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1136 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1138 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1144 (__libc_ifunc_impl_list): Likewise.
1145 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1146 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1147 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1148 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1151 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1154 multiarch for POWER/PPC64.
1155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1156 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1157 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1158 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1159 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1160 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1162 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1166 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1169 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1170 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1171 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1172 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1173 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1174 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1175 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1176 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1177 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1178 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1179 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1180 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1181 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1182 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1191 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1193 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1195 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1197 * benchtests/Makefile (bench): Add exp2 and log2.
1198 (LDLIBS-bench-exp2): Add -lm.
1199 (LDLIBS-bench-log2): Likewise.
1200 * benchtests/exp2-inputs: New inputs file.
1201 * benchtests/log2-inputs: New inputs file.
1202 * benchtests/log-inputs: Add new inputs.
1203 * benchtests/tan-inputs: Likewise.
1205 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1207 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1209 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1210 csloww1, csloww2): ... from here.
1212 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1213 instead of structures.
1214 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1215 (POLYNOMIAL): Likewise.
1216 (TAYLOR_SLOW): Likewise.
1224 (bsloww1): Likewise.
1225 (bsloww2): Likewise.
1228 (csloww1): Likewise.
1229 (csloww2): Likewise.
1231 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1233 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1234 (__malloc_assert, __libc_realloc, __libc_calloc,
1235 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1237 * malloc/hooks.c (realloc_check): Likewise.
1239 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1241 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1242 * malloc/arena.c: Remove PER_THREAD conditional.
1243 [!PER_THREAD]: Remove code.
1244 (ptmalloc_unlock_all2): Likewise.
1245 (ptmalloc_init): Likewise.
1246 (_int_new_arena): Likewise.
1247 (arena_get2): Likewise.
1248 * malloc/hooks.c (__malloc_get_state): Likewise.
1249 (__malloc_set_state): Likewise.
1250 * malloc/malloc.c: Likewise.
1251 (struct malloc_state): Likewise.
1252 (struct malloc_par): Likewise.
1253 (__libc_realloc): Likewise.
1254 (__libc_mallopt): Likewise.
1256 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1260 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1262 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1263 macro to a function. Check for zero perturb_byte.
1264 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1266 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1268 * malloc/malloc.c: (force_reg): Remove.
1269 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1270 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1271 force_reg by atomic_forced_read.
1272 * malloc/arena.c (ptmalloc_init): Likewise.
1273 * malloc/hooks.c (top_check): Likewise.
1275 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1279 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1283 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1285 * math/auto-libm-test-in: Add tests of lgamma.
1286 * math/auto-libm-test-out: Regenerated.
1287 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1288 (M_LOG_2_SQRT_PIl): Likewise.
1289 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1292 (func_calc_desc): Add mpfr_f_f1 union field.
1301 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1302 (test_functions): Add lgamma.
1303 (calc_generic_results): Handle mpfr_f_f1.
1304 * sysdeps/i386/fpu/libm-test-ulps: Update.
1305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1307 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1310 __mpn_add_n for PowerPC64/POWER7.
1311 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1312 __mpn_sub_n for PowerPC64/POWER7.
1314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1317 __mpn_addmul_1 for PowerPC64.
1318 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1319 __mpn_submul_1 for PowerPC64.
1320 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1322 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1325 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1328 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1330 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1334 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1337 add multiarch folders.
1338 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1339 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1340 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1341 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1342 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1343 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1344 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1345 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1346 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1347 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1348 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1356 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1359 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1365 multiarch __ieee754_hypot for PowerPC32.
1366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1371 multiarch __ieee754_hypotf for PowerPC32.
1373 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1376 long_double_symbol only if __logbl is defined.
1377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1378 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1380 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1382 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1384 path for implementation.
1385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1388 logb, and logbl multiarch implementations for PowerPC32.
1389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1394 multiarch logb for PowerPC32.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1400 multiarch logbf for PowerPC32.
1401 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1405 multiarch logbl implementation for PowerPC32.
1407 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1410 and modff multiarch implementations.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1416 multiarch modf for PowerPC32.
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1422 multiarch modff for PowerPC32.
1424 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1427 and lrintf multiarch implementations.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1433 multiarch lrint for PowerPC32.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1435 file: multiarch lrintf for PowerPC32.
1437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1440 and lroundf multiarch implementations.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1448 multiarch lround for PowerPC32.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1450 file: multiarch lroundf for PowerPC32.
1452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1455 copysign and copysignf multiarch implementations.
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1461 file: multiarch copysign for PowerPC32.
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1463 file: multiarch copysignf for PowerPC32.
1465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1468 and truncf multiarch implementations.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1474 multiarch trunc for PowerPC32.
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1480 multiarch truncf for PowerPC32.
1482 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1485 and roundf multiarch implementations.
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1491 multiarch round for PowerPC32.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1497 multiarch roundf for PowerPC32.
1499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1502 and floorf multiarch implementations.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1508 multiarch floor for PowerPC32.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1514 multiarch floorf for PowerPC32.
1516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1519 and ceilf multiarch implementations.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1525 multiarch ceil for PowerPC32.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1531 multiarch ceilf for PowerPC32.
1533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1537 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1540 and finitef multiarch implementations.
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1546 multiarch finite for PowerPC32.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1550 file: multiarch finitef for PowerPC32.
1552 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1555 and isinff multiarch implementations.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1561 multiarch isinf for PowerPC32.
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1565 multiarch isinff for PowerPC32.
1567 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1570 alias when __isnan is defined.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1572 and isnanf multiarch implementations.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1582 multiarch isnan for PowerPC32.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1588 multiarch isnanf for PowerPC32.
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1593 and sqrtf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1599 multiarch sqrt for PowerPC32.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1605 multiarch sqrtf for PowerPC32.
1607 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1610 and llroundf multiarch implementations.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1618 file: multiarch llround for PowerPC32.
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1620 file: multiarch llroundf for PowerPC32.
1622 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1625 multiarch PowerPC32 fpu implementations.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1631 multiarch llrint for PowerPC32.
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1639 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1649 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1651 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1652 multiarch wordcopy for PPC32.
1653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1656 (__libc_ifunc_impl_list): Likewise.
1657 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1658 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1659 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1660 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1661 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1662 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1674 multiarch wcscpy for PPC32.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1678 (__libc_ifunc_impl_list): Likewise.
1679 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1680 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1681 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1682 sysdeps/powerpc/power6/wcscpy.c.
1684 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1694 multiarch wcsrchr for PPC32.
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1698 (__libc_ifunc_impl_list): Likewise.
1699 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1700 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1701 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1702 sysdeps/powerpc/power6/wcsrchr.c.
1704 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1712 multiarch wcschr for PPc32.
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1716 (__libc_ifunc_impl_list): Likewise.
1717 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1718 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1719 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1720 sysdeps/powerpc/power6/wcschr.c.
1722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1728 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1729 file: multiarch strchr for PPC32.
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1733 (__libc_ifunc_impl_list): Likewise.
1735 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1737 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1739 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1741 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1744 multiarch strchrnul for PPC32.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1748 (__libc_ifunc_impl_list): Likewise.
1750 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1755 multiarch strncasecmp for PPC32.
1756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1759 multiarch strncasecmp_l for PPC32.
1760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1761 strncasecmp multiarch objects.
1762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1763 (__libc_ifunc_impl_list): Likewise.
1765 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1769 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1770 multiarch strncasecmp for PPC32.
1771 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1773 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1774 multiarch strcasecmp_l for PPC32.
1775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1778 (__libc_ifunc_impl_list): Likewise.
1780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1787 multiarch strncmp for PPC32.
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1791 (__libc_ifunc_impl_list): Likewise.
1793 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1796 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1803 (__libc_ifunc_impl_list): Likewise.
1805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1815 (__libc_ifunc_impl_list): Likewise.
1817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1821 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1824 multiarch rawmemchr for PPC32.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1828 (__libc_ifunc_impl_list): Likewise.
1830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1837 file: memrchr multiarch for PPC32.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1841 (__libc_ifunc_impl_list): Likewise.
1843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1845 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1850 multiarch memchr for PPC32.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1854 (__libc_ifunc_impl_list): Likewise.
1856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1859 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1864 file: multiarch mempcpy for PPC32.
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1868 (__libc_ifunc_impl_list): Likewise.
1870 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1876 multiarch bzero for PPC32.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1882 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1883 file: multiarch memset for PPC32.
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1886 memset multiarch objects.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1888 (__libc_ifunc_impl_list): Likewise.
1890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1914 multiarch memcpy for PPC32.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1918 (__libc_ifunc_impl_list): Likewise.
1920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1923 support multiarch for POWER/PPC32.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1928 Implies file to make multiarch folder appers before the fpu and
1929 default folder for power4 configuration.
1931 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1933 * scripts/bench.pl: Append volatile keyword to type.
1935 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1937 * sysdeps/sh/sotruss-lib.c: New file.
1938 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1940 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1944 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1947 * math/w_tgamma.c: Include <errno.h>.
1948 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1949 * math/w_tgammaf.c: Include <errno.h>.
1950 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1951 * math/w_tgammal.c: Include <errno.h>.
1952 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1953 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1954 underflow. Add more tgamma tests.
1955 * math/auto-libm-test-out: Regenerated.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1959 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1960 sin, sinh, tan, tanh, tgamma, y0 and y1.
1961 * math/auto-libm-test-out: Regenerated.
1962 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1963 (TEST_COND_x86): Likewise.
1964 (M_E2l): Remove macro.
1966 (M_2_SQRT_PIl): Likewise.
1967 (M_SQRT_PIl): Likewise.
1968 (M_1_DIV_El): Likewise.
1969 (log_test_data): Use AUTO_TESTS_f_f.
1970 (log10_test_data): Likewise.
1971 (log1p_test_data): Likewise.
1972 (log2_test_data): Likewise.
1973 (sin_test_data): Likewise.
1974 (sin_tonearest_test_data): Likewise.
1975 (sin_towardzero_test_data): Likewise.
1976 (sin_downward_test_data): Likewise.
1977 (sin_upward_test_data): Likewise.
1978 (sinh_test_data): Likewise.
1979 (sinh_tonearest_test_data): Likewise.
1980 (sinh_towardzero_test_data): Likewise.
1981 (sinh_downward_test_data): Likewise.
1982 (sinh_upward_test_data): Likewise.
1983 (tan_test_data): Likewise.
1984 (tan_tonearest_test_data): Likewise.
1985 (tan_towardzero_test_data): Likewise.
1986 (tan_downward_test_data): Likewise.
1987 (tan_upward_test_data): Likewise.
1988 (tanh_test_data): Likewise.
1989 (tgamma_test_data): Likewise.
1990 (y0_test_data): Likewise.
1991 (y1_test_data): Likewise.
1992 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1993 (special_real_inputs): Add pi/4.
1994 * sysdeps/i386/fpu/libm-test-ulps: Update.
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1997 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2000 "longjmp_target" static probes.
2001 (__longjmp): Rename to __longjmp_symbol.
2002 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2003 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2004 on which longjmp to generate.
2005 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2006 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2008 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2009 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2010 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2011 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2012 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2013 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2015 __longjmp_symbol based on which __longjmp to generate.
2016 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2018 (setjmp): Rename to setjmp_symbol.
2019 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2020 (_setjmp): Rename to _setjmp_symbol.
2021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2022 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2023 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2024 which setjmp to generate.
2025 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2026 "longjmp_target" static probes.
2028 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 * benchtests/README: Add note about output arguments.
2031 * benchtests/bench-sincos.c: Remove file.
2032 * benchtests/sincos-inputs: New file.
2033 * scripts/bench.pl: Identify output arguments and define
2034 static variables for them.
2036 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2039 * Makefile (INSTALL): Add install-plain.texi as the primary
2041 * manual/install-plain.texi: New file.
2042 * manual/install.texi: Include node directive only for
2043 non-plaintext output.
2045 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2047 * stdlib/longlong.h: Update from GCC.
2051 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2052 * math/w_j0f.c (y0f): Likewise.
2053 * math/w_j0l.c (__y0l): Likewise.
2054 * math/w_j1.c (y1): Likewise.
2055 * math/w_j1f.c (y1f): Likewise.
2056 * math/w_j1l.c (__y1l): Likewise
2057 * math/w_jn.c (yn): Likewise.
2058 * math/w_jnf.c (ynf): Likewise.
2059 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2060 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2061 value for Bessel function domain errors outside _SVID_ mode.
2062 Adjust sign of return value for yn (negative integer, 0).
2063 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2064 by zero in return for negative x and set sign appropriately for
2066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2068 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2069 expectations in error cases.
2070 (y1_test_data): Likewise.
2071 (yn_test_data): Likewise.
2072 * sysdeps/i386/fpu/libm-test-ulps: Update.
2073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2075 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2077 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2078 "64" to "64-v1". Add "64-v2".
2079 (abi-64-options): Rename to ...
2080 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2081 (abi-64-condition): Rename to ...
2082 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2083 (abi-64-ld-soname): Rename to ...
2084 (abi-64-v1-ld-soname): ... this.
2085 (abi-64-v2-options): Define.
2086 (abi-64-v2-condition): Likewise.
2087 (abi-64-v2-ld-soname): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2089 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2094 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2095 Alan Modra <amodra@gmail.com>
2097 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2098 New versions for use with the ELFv2 ABI.
2099 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2100 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2102 (struct La_ppc64v2_retval): Likewise.
2103 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2104 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2105 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2106 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2107 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2108 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2109 Do not save or restore CR.
2110 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2111 (_dl_profile_resolve): Do no save or restore CR. Support extended
2112 return values for ELFv2 ABI. Fix location of FPR return registers.
2113 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2114 updated values for _CALL_ELF == 2.
2115 (La_regs, La_retval, int_retval): Likewise.
2117 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2119 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2120 (FRAME_MIN_SIZE_PARM): Likewise.
2121 (FRAME_BACKCHAIN): Likewise.
2122 (FRAME_CR_SAVE): Likewise.
2123 (FRAME_LR_SAVE): Likewise.
2124 (FRAME_TOC_SAVE): Likewise.
2125 (FRAME_PARM_SAVE): Likewise.
2126 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2127 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2128 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2129 (call_mcount_parm_offset): New macro.
2130 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2131 (PROF): Use symbolic stack frame offsets.
2132 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2133 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2134 Redefine in terms of FRAME_MIN_SIZE.
2135 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2136 (_dl_profile_resolve): Likewise. Update comment.
2137 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2138 symbols stack frame offsets.
2139 (__sigsetjmp): Likewise.
2140 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2141 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2142 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2143 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2146 (FRAME_BACKCHAIN): Remove.
2147 (FRAME_CR_SAVE): Likewise.
2148 (FRAME_LR_SAVE): Likewise.
2149 (FRAME_COMPILER_DW): Likewise.
2150 (FRAME_LINKER_DW): Likewise.
2151 (FRAME_TOC_SAVE): Likewise.
2152 (FRAME_PARM_SAVE): Likewise.
2153 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2154 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2155 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2157 (CHECK_SP): Use symbolic stack frame offsets.
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2159 zone" instead of caller's parameter save area for temp storage.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2161 Likewise. Also, use symbolic stack frame offsets.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2163 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2164 our own stack frame instead of the caller's.
2165 (__socket): Use symbolic stack frame offsets.
2167 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2168 Alan Modra <amodra@gmail.com>
2170 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2172 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2173 PPC64_LOCAL_ENTRY_OFFSET): Define.
2174 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2176 (elf_machine_fixup_plt): Call it.
2177 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2179 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2181 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2182 r2 before calling target.
2184 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2185 Alan Modra <amodra@gmail.com>
2187 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2188 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2189 versions of macros to support ELFv2 ABI.
2190 (LOCALENTRY): New macro.
2191 (ENTRY, EALIGN): Use it.
2192 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2193 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2194 fall through into ENTRY entry point.
2195 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2196 Only define if _CALL_ELF != 2.
2198 (elf_machine_matches_host): Verify ABI version matches.
2199 (RTLD_START): Use LOCALENTRY.
2200 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2201 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2202 (PLT_ENTRY_WORDS): New macro.
2203 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2204 (elf_machine_runtime_setup): Support ELFv2 ABI.
2205 (elf_machine_fixup_plt): Likewise.
2206 (elf_machine_plt_conflict): Likewise.
2207 (resolve_ifunc): Likewise.
2208 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2212 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2214 (makecontext): Support ELFv2 ABI.
2215 * elf/elf.h (EF_PPC64_ABI): Define.
2217 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2219 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2220 New assembler macro.
2221 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2222 [ASSEMBLER] (ENTRY): ... but instead here ...
2223 [ASSEMBLER] (EALIGN): ... and here.
2224 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2225 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2226 [!ASSEMBLER] (ENTRY_2): Use it.
2227 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2228 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2230 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2231 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2233 Use PPC64_LOAD_FUNCPTR.
2235 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2237 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2239 2013-12-04 Alan Modra <amodra@gmail.com>
2241 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2242 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2243 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2244 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2247 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2248 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2249 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2250 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2251 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2253 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2256 (__makecontext): Fix incorrect CFI when backtracing out of
2257 context created via makecontext.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2259 (__setcontext): Fix incorrect CFI during switch to new context.
2260 (__novec_setcontext): Likewise.
2262 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2265 * time/strptime_l.c (__strptime_internal): Allow modifiers
2267 * time/tst-strptime.c (day_tests): Add testcase.
2270 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2272 * scripts/bench.pl: Skip over blank lines.
2274 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2277 * manual/time.texi (Calendar Time): Clarify what timezone functions
2280 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2284 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2286 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2288 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2289 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2290 * debug/memset_chk.c (__memset_chk): Likewise.
2291 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2292 * debug/strncpy_chk.c: Likewise.
2294 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2298 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2299 (__ieee754_exp): For possibly underflowing results, check size of
2300 result and force underflow exception if required.
2301 * math/auto-libm-test-in: Add more tests of exp.
2302 * math/auto-libm-test-out: Regenerated.
2303 * sysdeps/i386/fpu/libm-test-ulps: Update.
2304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2307 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2308 * math/w_exp2f.c (__exp2f): Likewise.
2309 * math/w_exp2l.c (__exp2l): Likewise.
2310 * math/auto-libm-test-in: Do not allow missing errno on exp2
2312 * math/auto-libm-test-out: Regenerated.
2314 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2317 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2318 handle filename validation.
2319 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2322 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2325 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2326 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2327 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2329 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2333 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2334 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2335 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2336 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2337 Add more erfc tests.
2338 * math/auto-libm-test-out: Regenerated.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2342 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2343 exp2, expm1, j0 and j1.
2344 * math/auto-libm-test-out: Regenerated.
2345 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2346 (erfc_test_data): Likewise.
2347 (exp_test_data): Likewise.
2348 (exp_tonearest_test_data): Likewise.
2349 (exp_towardzero_test_data): Likewise.
2350 (exp_downward_test_data): Likewise.
2351 (exp_upward_test_data): Likewise.
2352 (exp10_test_data): Likewise.
2353 (exp2_test_data): Likewise.
2354 (expm1_test_data): Likewise.
2355 (j0_test_data): Likewise.
2356 (j1_test_data): Likewise.
2357 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2358 (input_flag_type): Add flag_xfail_rounding.
2359 (input_flags): Add xfail-rounding.
2360 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2361 (output_for_one_input_case): Handle flag_xfail_rounding.
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2365 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2368 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2371 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2374 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2375 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2376 (STAP_PROBE0): New macro.
2377 (STAP_PROBE1): Likewise.
2378 (STAP_PROBE2): Likewise.
2379 (STAP_PROBE3): Likewise.
2380 (STAP_PROBE4): Likewise.
2382 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2384 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2386 2013-12-02 Steve Ellcey <sellcey@mips.com>
2388 * benchtests/Makefile (bench): Add sqrt.
2389 (LDLIBS-bench-sqrt): New.
2390 * benchtests/sqrt-input: New.
2392 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2394 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2395 (GAIH_EAI): Likewise.
2396 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2397 (gaih_inet): Likewise.
2398 (getaddrinfo): Don't use GAIH_EAI.
2400 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2401 (struct gaih): Remove definition.
2403 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2405 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2406 Use HERRNOP directly.
2408 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2412 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2414 * math/gen-auto-libm-tests.c (test_functions): Add more
2415 single-argument functions.
2416 (special_fill_pi_2): New function.
2417 (special_fill_minus_pi_2): Likewise.
2418 (special_fill_pi_6): Likewise.
2419 (special_fill_minus_pi_6): Likewise.
2420 (special_fill_pi_3): Likewise.
2421 (special_fill_2pi_3): Likewise.
2422 (special_fill_e): Likewise.
2423 (special_fill_1_e): Likewise.
2424 (special_fill_e_minus_1): Likewise.
2425 (special_real_inputs): Add more special inputs.
2426 (output_for_one_input_case): Do not require ERANGE on underflow to
2427 zero if round-to-nearest result does not underflow to zero, unless
2428 exact results required.
2429 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2430 atan, atanh, cbrt, cos and cosh.
2431 * math/auto-libm-test-out: Regenerated.
2432 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2433 (acos_tonearest_test_data): Likewise.
2434 (acos_towardzero_test_data): Likewise.
2435 (acos_downward_test_data): Likewise.
2436 (acos_upward_test_data): Likewise.
2437 (acosh_test_data): Likewise.
2438 (asin_test_data): Likewise.
2439 (asin_tonearest_test_data): Likewise.
2440 (asin_towardzero_test_data): Likewise.
2441 (asin_upward_test_data): Likewise.
2442 (asinh_test_data): Likewise.
2443 (atan_test_data): Likewise.
2444 (atanh_test_data): Likewise.
2445 (cbrt_test_data): Likewise.
2446 (cos_test_data): Likewise.
2447 (cos_tonearest_test_data): Likewise.
2448 (cos_towardzero_test_data): Likewise.
2449 (cos_downward_test_data): Likewise.
2450 (cos_upward_test_data): Likewise.
2451 (cosh_test_data): Likewise.
2452 (cosh_tonearest_test_data): Likewise.
2453 (cosh_towardzero_test_data): Likewise.
2454 (cosh_downward_test_data): Likewise.
2455 (cosh_upward_test_data): Likewise.
2456 * sysdeps/i386/fpu/libm-test-ulps: Update.
2457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2459 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2462 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2463 * math/w_exp10f.c (__exp10f): Likewise.
2464 * math/w_exp10l.c (__exp10l): Likewise.
2465 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2466 errno settings in existing tests.
2469 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2470 precision control set to double precision.
2471 * sysdeps/i386/fpu/w_sqrt.c: New file.
2472 * math/auto-libm-test-in: Add more tests.
2473 * math/auto-libm-test-out: Update.
2475 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2476 (sqrt_test_tonearest): New function.
2477 (sqrt_towardzero_test_data): New variable.
2478 (sqrt_test_towardzero): New function.
2479 (sqrt_downward_test_data): New variable.
2480 (sqrt_test_downward): New function.
2481 (sqrt_upward_test_data): New variable.
2482 (sqrt_test_upward): New function.
2483 (main): Call the new functions.
2485 * math/gen-auto-libm-tests.c: New file.
2486 * math/auto-libm-test-in: Likewise.
2487 * math/auto-libm-test-out: New generated file.
2488 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2490 (%beautify): Add generated representations of zero.
2491 (top level): Set $auto_input and call parse_auto_input.
2492 (beautify): Remove trailing "f" from hex float constants.
2493 (parse_args): Handle XFAIL_TEST.
2494 (convert_condition): New function.
2495 (or_value): Likewise.
2496 (or_cond_value): Likewise.
2497 (generate_testfile): Handle AUTO_TESTS_* lines.
2498 (parse_auto_input): New function.
2499 * math/libm-test.inc (XFAIL_TEST): New macro.
2500 (ERRNO_UNCHANGED): Update value.
2501 (ERRNO_EDOM): Likewise.
2502 (ERRNO_ERANGE): Likewise.
2503 (IGNORE_RESULT): Likewise.
2504 (TEST_COND_flt_32): New macro.
2505 (TEST_COND_dbl_64): Likewise.
2506 (TEST_COND_ldbl_96_intel): Likewise.
2507 (TEST_COND_ldbl_96_m68k): Likewise.
2508 (TEST_COND_ldbl_128): Likewise.
2509 (TEST_COND_ldbl_128ibm): Likewise.
2510 (TEST_COND_long32): Likewise.
2511 (TEST_COND_long64): Likewise.
2512 (TEST_COND_before_rounding): Likewise.
2513 (TEST_COND_after_rounding): Likewise.
2514 (enable_test): Handle XFAIL_TEST flag.
2515 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2516 with finite results.
2517 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2520 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2521 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2524 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2525 __tls_get_addr_internal instead of __tls_get_offset in order to
2526 avoid GOT pointer dependency. Make rtld export
2527 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2528 __tls_get_addr since we are a __tls_get_offset platform.
2529 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2530 GOT pointer being set up before.
2531 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2533 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2535 * manual/math.texi (Errors in Math Functions): Document accuracy
2539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2540 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2556 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2557 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2558 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2559 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2562 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2564 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2566 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2568 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2569 atomic-feupdateenv and flt-rounds.
2570 * sysdeps/powerpc/nofpu/Versions (libc): Add
2571 __atomic_feholdexcept, __atomic_feclearexcept,
2572 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2574 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2575 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2576 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2581 * manual/arith.texi (FP Exceptions): Document that exceptions may
2582 not be raised when matherr is used.
2583 (Math Error Reporting): Document overflow in directed rounding
2584 modes. Document that errno may not be set when finite values are
2585 returned on overflow. Document intent to set errno on underflow
2586 only for underflow to zero.
2589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2590 round-to-nearest then adjust result for other rounding modes.
2591 * include/fenv.h (fegetround): Use libm_hidden_proto.
2592 * math/fegetround.c (fegetround): Use libm_hidden_def.
2593 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2594 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2595 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2598 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2600 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2601 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2603 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * nss/Versions (libnss_files): Add
2607 _nss_files_gethostbyname3_r.
2608 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2610 (HOST_DB_LOOKUP): Remove macro.
2611 (_nss_files_gethostbyname_r): Implement function without the
2612 HOST_DB_LOOKUP macro.
2613 (_nss_files_gethostbyname2_r): Likewise.
2615 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2617 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2619 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2621 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2622 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2625 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2628 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2629 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2630 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2631 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2632 __fe_nomask_env_priv and attribute_hidden.
2633 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2634 (libc_feupdateenv_test_ppc): Likewise.
2635 (libc_feresetround_ppc): Likewise.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2637 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2638 compat_symbol macro.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2640 (__fe_nomask_env): Likewise.
2641 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2643 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2645 * string/Makefile: Remove ifunc tests.
2646 * string/test-string.h: Define TEST_IFUNC.
2647 * string/test-bcopy-ifunc.c: Remove.
2648 * string/test-bzero-ifunc.c: Likewise.
2649 * string/test-memccpy-ifunc.c: Likewise.
2650 * string/test-memchr-ifunc.c: Likewise.
2651 * string/test-memcmp-ifunc.c: Likewise.
2652 * string/test-memcpy-ifunc.c: Likewise.
2653 * string/test-memmem-ifunc.c: Likewise.
2654 * string/test-memmove-ifunc.c: Likewise.
2655 * string/test-mempcpy-ifunc.c: Likewise.
2656 * string/test-memrchr-ifunc.c: Likewise.
2657 * string/test-memset-ifunc.c: Likewise.
2658 * string/test-rawmemchr-ifunc.c: Likewise.
2659 * string/test-stpcpy-ifunc.c: Likewise.
2660 * string/test-stpncpy-ifunc.c: Likewise.
2661 * string/test-strcasecmp-ifunc.c: Likewise.
2662 * string/test-strcasestr-ifunc.c: Likewise.
2663 * string/test-strcat-ifunc.c: Likewise.
2664 * string/test-strchr-ifunc.c: Likewise.
2665 * string/test-strchrnul-ifunc.c: Likewise.
2666 * string/test-strcmp-ifunc.c: Likewise.
2667 * string/test-strcpy-ifunc.c: Likewise.
2668 * string/test-strcspn-ifunc.c: Likewise.
2669 * string/test-strlen-ifunc.c: Likewise.
2670 * string/test-strncasecmp-ifunc.c: Likewise.
2671 * string/test-strncat-ifunc.c: Likewise.
2672 * string/test-strncmp-ifunc.c: Likewise.
2673 * string/test-strncpy-ifunc.c: Likewise.
2674 * string/test-strnlen-ifunc.c: Likewise.
2675 * string/test-strpbrk-ifunc.c: Likewise.
2676 * string/test-strrchr-ifunc.c: Likewise.
2677 * string/test-strspn-ifunc.c: Likewise.
2678 * string/test-strstr-ifunc.c: Likewise.
2680 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2682 * benchtests/Makefile: Remove ifunc tests.
2683 * benchtests/bench-string.h: Define TEST_IFUNC.
2684 * benchtests/bench-bcopy-ifunc.c: Remove.
2685 * benchtests/bench-bzero-ifunc.c: Likewise.
2686 * benchtests/bench-memccpy-ifunc.c: Likewise.
2687 * benchtests/bench-memchr-ifunc.c: Likewise.
2688 * benchtests/bench-memcmp-ifunc.c: Likewise.
2689 * benchtests/bench-memcpy-ifunc.c: Likewise.
2690 * benchtests/bench-memmem-ifunc.c: Likewise.
2691 * benchtests/bench-memmove-ifunc.c: Likewise.
2692 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2693 * benchtests/bench-memrchr-ifunc.c: Likewise.
2694 * benchtests/bench-memset-ifunc.c: Likewise.
2695 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2696 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2697 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2698 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2699 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2700 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2701 * benchtests/bench-strcat-ifunc.c: Likewise.
2702 * benchtests/bench-strchr-ifunc.c: Likewise.
2703 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2704 * benchtests/bench-strcmp-ifunc.c: Likewise.
2705 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2706 * benchtests/bench-strcpy-ifunc.c: Likewise.
2707 * benchtests/bench-strcspn-ifunc.c: Likewise.
2708 * benchtests/bench-strlen-ifunc.c: Likewise.
2709 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2710 * benchtests/bench-strncat-ifunc.c: Likewise.
2711 * benchtests/bench-strncmp-ifunc.c: Likewise.
2712 * benchtests/bench-strncpy-ifunc.c: Likewise.
2713 * benchtests/bench-strnlen-ifunc.c: Likewise.
2714 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2715 * benchtests/bench-strrchr-ifunc.c: Likewise.
2716 * benchtests/bench-strsep-ifunc.c: Likewise.
2717 * benchtests/bench-strspn-ifunc.c: Likewise.
2718 * benchtests/bench-strstr-ifunc.c: Likewise.
2720 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2722 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2724 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2726 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2727 * rt/aio.h: Likewise.
2728 * sysdeps/gnu/bits/utmp.h: Likewise.
2729 * sysdeps/gnu/bits/utmpx.h: Likewise.
2730 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2731 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2732 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2733 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2734 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2735 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2736 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2737 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2738 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2739 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2745 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2746 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2747 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2748 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2749 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2750 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2753 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2757 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2758 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2759 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2760 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2762 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2765 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2766 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2767 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2768 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2769 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2770 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2771 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2773 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2777 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2779 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2781 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2782 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2785 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2788 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2789 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2790 (__fesetround): Remove define.
2791 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2792 rounding and exceptions handling.
2793 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2794 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2795 (__fe_nomask_env): Likewise.
2796 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2797 __fegetround instead of fegetround.
2798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2801 2013-11-21 Roland McGrath <roland@hack.frob.com>
2803 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2806 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2808 2013-11-21 Meador Inge <meadori@codesourcery.com>
2811 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2812 (encrypt_r): Likewise.
2813 * malloc/obstack.h (obstack_free): Likewise.
2814 * posix/unistd.h (encrypt): Likewise.
2816 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2818 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2819 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2820 DL_CALL_DT_FINI() that call the functions directly.
2821 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2822 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2823 * elf/dl-fini.c: Likewise.
2825 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2827 * malloc/hooks.c (memalign_check): Add alignment rounding.
2828 * malloc/malloc.c (_mid_memalign): New function.
2829 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2830 Implement by calling _mid_memalign.
2831 * manual/probes.texi (Memory Allocation Probes): Remove
2832 memory_valloc_retry and memory_pvalloc_retry.
2834 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2836 * locale/programs/locarchive.c (open_archive): Add const
2837 qualifier to ARCHIVEFNAME and copy default fname to
2841 * libio/tst-widetext.input: Rename Oriya to Odia.
2842 * locale/iso-639.def: Likewise.
2844 * manual/probes.texi (Mathematical Function Probes): Add
2845 documentation for sin, cos, asin and acos probes.
2846 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2847 (__sin32): Add slowasin probe.
2848 (__cos32): Add slowacos probe.
2849 (__mpsin): Add slowsin probe.
2850 (__mpcos): Add slowcos probe.
2852 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2855 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2856 thread-local __sim_exceptions_thread and global
2857 __sim_exceptions_global.
2858 (__sim_disabled_exceptions): Change to thread-local
2859 __sim_disabled_exceptions_thread and global
2860 __sim_disabled_exceptions_global.
2861 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2862 and global __sim_round_mode_global.
2863 (__simulate_exceptions): Use thread-local floating-point state and
2864 set global state from it as needed.
2865 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2866 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2867 __sim_round_mode_thread.
2868 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2869 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2870 and global __sim_exceptions_global.
2871 (__sim_disabled_exceptions): Change to thread-local
2872 __sim_disabled_exceptions_thread and global
2873 __sim_disabled_exceptions_global.
2874 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2875 and global __sim_round_mode_global.
2876 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2877 (SIM_SET_GLOBAL): Likewise.
2878 * sysdeps/powerpc/soft-fp/sfp-machine.h
2879 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2880 __sim_round_mode_thread.
2881 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2882 __sim_disabled_exceptions_thread.
2883 (__sim_exceptions): Change to __sim_exceptions_thread.
2884 (__sim_disabled_exceptions): Change to
2885 __sim_disabled_exceptions_thread.
2886 (__sim_round_mode): Change to __sim_round_mode_thread.
2887 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2888 thread-local floating-point state and set global state from it as
2890 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2891 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2892 (__sim_disabled_exceptions): Remove extern declaration.
2893 (feenableexcept): Use thread-local floating-point state and set
2894 global state from it as needed.
2895 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2897 (__sim_disabled_exceptions): Likewise.
2898 (__sim_round_mode): Likewise.
2899 (__fegetenv): Use thread-local floating-point state.
2900 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2901 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2902 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2903 floating-point state and set global state from it as needed.
2904 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2905 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2906 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2908 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2909 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2911 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2912 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2913 Use __sim_round_mode_thread.
2914 * math/test-fenv-tls.c: New file.
2915 * math/Makefile (tests): Add test-fenv-tls.
2916 ($(objpfx)test-fenv-tls): Depend on
2917 $(common-objpfx)nptl/libpthread.so.
2919 2013-11-19 Andreas Schwab <schwab@suse.de>
2921 * locale/programs/locale.c (show_info): Decode wordarray elements.
2922 * locale/categories.def (LC_MONETARY): Add element for
2923 _NL_MONETARY_CRNCYSTR.
2924 * locale/C-monetary.c (conversion_rate): New variable.
2925 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2928 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2930 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2931 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2933 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2935 * elf/Makefile (tst-auxv): New test.
2936 * elf/tst-auxv.c: New
2937 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2939 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2941 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2942 (hidden_proto): Caller changed.
2943 (hidden_tls_proto): New macro.
2944 (libc_hidden_tls_proto): Likewise.
2945 (rtld_hidden_tls_proto): Likewise.
2946 (libm_hidden_tls_proto): Likewise.
2947 (libresolv_hidden_tls_proto): Likewise.
2948 (librt_hidden_tls_proto): Likewise.
2949 (libdl_hidden_tls_proto): Likewise.
2950 (libnss_files_hidden_tls_proto): Likewise.
2951 (libnsl_hidden_tls_proto): Likewise.
2952 (libnss_nisplus_hidden_tls_proto): Likewise.
2953 (libutil_hidden_tls_proto): Likewise.
2955 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2958 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2959 (decompose_rpath): Defer expansion to fillin_rpath.
2960 (_dl_init_paths): Pass linkmap to fillin_rpath.
2962 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2964 * benchtests/Makefile: Add strsep.
2965 * benchtests/bench-strsep.c: New file: strsep benchtest.
2966 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2968 2013-11-18 Andreas Schwab <schwab@suse.de>
2970 * locale/programs/locale.c (show_info) [case byte]: Check for
2971 '\377' instead of '\177'.
2972 * locale/C-monetary.c (not_available): Always use "\377".
2973 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2974 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2975 detect unavailable sign_posn locale elements.
2976 * locale/localeconv.c (__localeconv): For grouping and
2977 mon_grouping handle "\177" and "\377" like no grouping.
2978 (INT_ELEM): New macro. Use it to set all numeric members.
2979 * locale/programs/ld-monetary.c (monetary_read)
2980 <tok_mon_grouping>: Normalize single -1 to the empty string.
2981 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2984 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2988 when we match (nil).
2989 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2991 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2993 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2994 (NO_TEST_INLINE): Update value.
2995 (ERRNO_UNCHANGED): Likewise.
2996 (ERRNO_EDOM): Likewise.
2997 (ERRNO_ERANGE): Likewise.
2998 (IGNORE_RESULT): Likewise.
2999 (check_float_internal): Check signs of NaN results if
3001 (check_complex): Pass TEST_NAN_SIGN flag through to second
3002 check_float_internal call.
3003 (copysign_test_data): Add tests with quiet NaNs as second
3004 argument. Use TEST_NAN_SIGN.
3005 (fabs_test_data): Add test of negative quiet NaN argument. Use
3007 (signbit_test_data): Add tests of quiet NaN argument.
3008 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3010 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3012 (parse_args): Handle function results specified as IGNORE.
3013 * math/libm-test.inc (IGNORE_RESULT): New macro.
3014 (check_float_internal): Do not check numerical result if flag
3016 (check_complex): Pass through IGNORE_RESULT to second
3017 check_float_internal call.
3018 (check_int): Do not check numerical result if flag IGNORE_RESULT
3020 (check_long): Likewise.
3021 (check_bool): Likewise.
3022 (check_longlong): Likewise.
3023 (lrint_test_data): Add tests of infinite and NaN arguments.
3024 (lrint_tonearest_test_data): Likewise.
3025 (lrint_towardzero_test_data): Likewise.
3026 (lrint_downward_test_data): Likewise.
3027 (lrint_upward_test_data): Likewise.
3028 (llrint_test_data): Likewise.
3029 (llrint_tonearest_test_data): Likewise.
3030 (llrint_towardzero_test_data): Likewise.
3031 (llrint_downward_test_data): Likewise.
3032 (llrint_upward_test_data): Likewise.
3033 (lround_test_data): Likewise.
3034 (llround_test_data): Likewise.
3036 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3037 (ERRNO_UNCHANGED): Update value.
3038 (ERRNO_EDOM): Likewise.
3039 (ERRNO_ERANGE): Likewise.
3040 (NO_TEST_INLINE_FLOAT): New macro.
3041 (NO_TEST_INLINE_DOUBLE): Likewise.
3042 (enable_test): New function.
3043 (RUN_TEST_f_f): Check enable_test before running test.
3044 (RUN_TEST_2_f): Likewise.
3045 (RUN_TEST_fff_f): Likewise.
3046 (RUN_TEST_c_f): Likewise.
3047 (RUN_TEST_f_f1): Likewise.
3048 (RUN_TEST_fF_f1): Likewise.
3049 (RUN_TEST_fI_f1): Likewise.
3050 (RUN_TEST_ffI_f1): Likewise.
3051 (RUN_TEST_c_c): Likewise.
3052 (RUN_TEST_cc_c): Likewise.
3053 (RUN_TEST_f_i): Likewise.
3054 (RUN_TEST_f_i_tg): Likewise.
3055 (RUN_TEST_ff_i_tg): Likewise.
3056 (RUN_TEST_f_b): Likewise.
3057 (RUN_TEST_f_b_tg): Likewise.
3058 (RUN_TEST_f_l): Likewise.
3059 (RUN_TEST_f_L): Likewise.
3060 (RUN_TEST_fFF_11): Likewise.
3061 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3063 (cosh_test_data): Likewise.
3064 (exp_test_data): Likewise.
3065 (expm1_test_data): Likewise.
3066 (hypot_test_data): Likewise.
3067 (pow_test_data): Likewise.
3068 (sinh_test_data): Likewise.
3069 (tanh_test_data): Likewise.
3070 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3073 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3074 tests with quiet NaN input and output.
3075 (acosh_test_data): Likewise.
3076 (asin_test_data): Likewise.
3077 (asinh_test_data): Likewise.
3078 (atan_test_data): Likewise.
3079 (atanh_test_data): Likewise.
3080 (atan2_test_data): Likewise.
3081 (cbrt_test_data): Likewise.
3082 (cos_test_data): Likewise.
3083 (cosh_test_data): Likewise.
3084 (erf_test_data): Likewise.
3085 (erfc_test_data): Likewise.
3086 (exp_test_data): Likewise.
3087 (exp10_test_data): Likewise.
3088 (exp2_test_data): Likewise.
3089 (expm1_test_data): Likewise.
3090 (hypot_test_data): Likewise.
3091 (j0_test_data): Likewise.
3092 (j1_test_data): Likewise.
3093 (jn_test_data): Likewise.
3094 (lgamma_test_data): Likewise.
3095 (log_test_data): Likewise.
3096 (log10_test_data): Likewise.
3097 (log1p_test_data): Likewise.
3098 (log2_test_data): Likewise.
3099 (pow_test_data): Likewise.
3100 (scalb_test_data): Likewise.
3101 (sin_test_data): Likewise.
3102 (sincos_test_data): Likewise.
3103 (sinh_test_data): Likewise.
3104 (tan_test_data): Likewise.
3105 (tanh_test_data): Likewise.
3106 (tgamma_test_data): Likewise.
3107 (y0_test_data): Likewise.
3108 (y1_test_data): Likewise.
3109 (yn_test_data): Likewise.
3112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3113 argument being NaN and avoid computations with second argument in
3115 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3116 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3117 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3119 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3121 * locale/iso-639.def: Add Chitwani Tharu (the).
3123 2013-11-14 Andreas Schwab <schwab@suse.de>
3125 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3126 word instead of empty string.
3128 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3131 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3133 (__fe_nomask_env): Likewise.
3135 2013-11-13 Steve Ellcey <sellcey@mips.com>
3137 * benchtests/bench-timing.h: Include time.h.
3139 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3142 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3144 * sysdeps/unix/sysv/linux/configure: Regenerated.
3146 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3149 * stdlib/strtod_l.c (round_and_return): Do not consider
3150 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3151 exponent one less than half the least subnormal exponent.
3152 * stdlib/test-strtod-round-data: Add more tests.
3153 * stdlib/tst-strtod-round.c (tests): Regenerated.
3155 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3159 (__fe_mask_env): Likewise.
3160 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3161 libm_hidden_proto and add function prototype.
3162 (__fe_mask_env): Add function prototype.
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3164 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3166 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3168 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3170 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3172 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3173 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3175 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3177 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3178 of htab_find_slot().
3180 2013-11-11 David S. Miller <davem@davemloft.net>
3183 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3184 symbol in the non-vis3 case in static builds.
3185 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3186 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3187 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3188 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3190 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3193 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3196 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3198 * benchtests/Makefile: Add bench-strtod.
3199 * benchtests/bench-strtod.c: New file: strtod benchtest
3201 2013-11-11 Andreas Schwab <schwab@suse.de>
3204 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3205 terminating NUL in key length.
3207 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3210 Add artificial ODP entry for vDSO symbol for PPC64.
3211 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3212 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3214 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3217 * nss/getent.c (services_keys): Recognize services starting with digit.
3219 2013-11-06 David S. Miller <davem@davemloft.net>
3222 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3223 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3225 2013-11-06 Will Newton <will.newton@linaro.org>
3227 * manual/memory.texi (Malloc Examples): Remove register
3228 keyword from examples.
3230 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3232 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3234 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3236 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3237 depending on [__GCC_IEC_559 > 0].
3238 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3239 depending on [__GCC_IEC_559_COMPLEX > 0].
3241 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3243 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3246 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3248 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3250 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3253 * malloc/malloc (malloc_info): Do not handle first bin as
3256 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3258 * locale/iso-639.def: Add Central Nahuatl (nhn).
3260 2013-11-01 Bruno Haible <bruno@clisp.org>
3263 * manual/math.texi (BSD Random): Specify range upper bound as
3266 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3268 * locale/iso-639.def: Add Meadow Mari (mhr).
3270 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3272 [BZ #14752], [BZ #15763]
3273 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3275 * rt/tst_shm.c: Add test for escaping directory.
3277 2013-10-31 Andreas Schwab <schwab@suse.de>
3280 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3281 followed by 'x' as part of digit sequence.
3282 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3284 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3287 * configure.ac: allow GNU Make 4.0 and greater.
3288 * configure: Regenerated.
3290 2013-10-30 Will Newton <will.newton@linaro.org>
3293 * malloc/hooks.c (memalign_check): Limit alignment to the
3294 maximum representable power of two.
3295 * malloc/malloc.c (__libc_memalign): Likewise.
3296 * malloc/tst-memalign.c (do_test): Add test for very
3297 large alignment values.
3298 * malloc/tst-posix_memalign.c (do_test): Likewise.
3300 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3303 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3304 (munmap_chunk): Likewise.
3305 (mremap_chunk): Likewise.
3307 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3310 * stdlib/div.c (div): Remove obsolete code.
3311 * stdlib/ldiv.c (ldiv): Likewise.
3312 * stdlib/lldiv.c (lldiv): Likewise.
3314 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3317 * nss/nss_files/files-XXX.c (get_contents_ret): New
3319 (get_contents): New function.
3320 (internal_getent): Use it. Expand size of LINEBUFLEN.
3322 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3324 * configure.in: Moved to ...
3325 * configure.ac: ... here. Change reference to configure.in
3327 * sysdeps/arm/preconfigure.ac: ... here.
3328 configure.in to configure.ac.
3329 * sysdeps/gnu/configure.in: Moved to ...
3330 * sysdeps/gnu/configure.ac: ... here.
3331 * sysdeps/i386/configure.in: Moved to ...
3332 * sysdeps/i386/configure.ac: ... here.
3333 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3334 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3335 * sysdeps/mach/configure.in: Moved to ...
3336 * sysdeps/mach/configure.ac: ... here.
3337 * sysdeps/mach/hurd/configure.in: Moved to ...
3338 * sysdeps/mach/hurd/configure.ac: ... here.
3339 * sysdeps/powerpc/configure.in: Moved to ...
3340 * sysdeps/powerpc/configure.ac: ... here.
3341 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3342 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3343 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3344 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3345 * sysdeps/s390/s390-32/configure.in: Moved to ...
3346 * sysdeps/s390/s390-32/configure.ac: ... here.
3347 * sysdeps/s390/s390-64/configure.in: Moved to ...
3348 * sysdeps/s390/s390-64/configure.ac: ... here.
3349 * sysdeps/sh/configure.in: Moved to ...
3350 * sysdeps/sh/configure.ac: ... here.
3351 * sysdeps/sparc/configure.in: Moved to ...
3352 * sysdeps/sparc/configure.ac: ... here.
3353 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3354 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3355 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3356 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3357 * sysdeps/x86_64/configure.in: Moved to ...
3358 * sysdeps/x86_64/configure.ac: ... here.
3359 * sysdeps/x86_64/preconfigure.in: Moved to ...
3360 * sysdeps/x86_64/preconfigure.ac: ... here.
3361 * aclocal.m4: Change reference to configure.in to configure.ac.
3362 * config.h.in: Likewise.
3363 * manual/install.texi: Likewise.
3364 * manual/maint.texi: Likewise.
3365 * Makefile: Likewise.
3366 * malloc/Makefile: Likewise.
3367 * nscd/Makefile: Likewise.
3368 * Makeconfig: Change reference to configure.in and
3369 preconfigure.in to configure.ac and preconfigure.ac
3371 * INSTALL: Regenerated.
3372 * configure: Likewise.
3373 * sysdeps/gnu/configure: Likewise.
3374 * sysdeps/i386/configure: Likewise.
3375 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3376 * sysdeps/mach/configure: Likewise.
3377 * sysdeps/mach/hurd/configure: Likewise.
3378 * sysdeps/powerpc/configure: Likewise.
3379 * sysdeps/powerpc/powerpc32/configure: Likewise.
3380 * sysdeps/powerpc/powerpc64/configure: Likewise.
3381 * sysdeps/s390/s390-32/configure: Likewise.
3382 * sysdeps/s390/s390-64/configure: Likewise.
3383 * sysdeps/sh/configure: Likewise.
3384 * sysdeps/sparc/configure: Likewise.
3385 * sysdeps/unix/sysv/linux/configure: Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3387 * sysdeps/x86_64/configure: Likewise.
3388 * sysdeps/x86_64/preconfigure: Likewise.
3390 2013-10-29 Andreas Schwab <schwab@suse.de>
3392 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3394 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3396 * benchtests/pow-inputs: Add new inputs.
3398 * benchtests/exp-inputs: Add new inputs.
3400 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3401 conditional check for return value.
3402 (__cos32): Likewise.
3404 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3406 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3407 to provide a boost for large inputs with word alignment.
3408 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3409 implementation based on optimized PPC64 strcpy.
3410 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3411 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3412 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3413 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3415 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3418 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3420 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3423 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3424 * time/tst-strptime.c (day_tests): Add testcase.
3426 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3429 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3431 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3434 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3435 MAP_FAILED on error.
3437 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3440 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3441 heap for large requests.
3443 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3446 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3447 result if the result has no associated interface.
3448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3449 interface for all 127.X.Y.Z addresses.
3451 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3453 * locale/iso-639.def: Add Ligurian (lij)
3455 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3458 * sunrpc/rpc_main.c: Document rpcgen -5.
3460 2013-10-19 Michael Stahl <mstahl@redhat.com>
3462 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3464 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3467 * posix/glob.c: Match only directories when trailing slash is present.
3468 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3469 (main): Add testcase.
3471 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3474 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3476 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3478 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3479 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3480 AUTH_DES and cindex for FIPS 140-2.
3481 (DES Encryption): Add cindex FIPS 46-3.
3483 * locale/locarchive.h (struct locarhandle): Add fname.
3484 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3485 if an optional argument was specified to --list-archive,
3487 * locale/programs/locarchive.c (show_archive_content): Take new
3488 argument fname and pass it via ah.fname to open_archive.
3489 * locale/programs/localedef.h: Update decl.
3490 (open_archive): If AH->fname is non-null, open that file
3491 rather than the default file name, and don't ignore ENOENT.
3492 (create_archive): Set AH.fname to NULL.
3493 (delete_locales_from_archive): Likewise.
3494 (add_locales_to_archive): Likewise.
3495 * locale/programs/locfile.c (write_all_categories): Likewise.
3497 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3498 Aldy Hernandez <aldyh@redhat.com>
3500 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3501 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3502 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3508 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3512 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3514 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3516 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3522 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3523 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3525 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3526 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3527 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3528 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3530 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3531 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3532 * sysdeps/powerpc/preconfigure: Likewise.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3535 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3536 Replace contents of file by #include of <fenv_libc.h>.
3537 * sysdeps/powerpc/soft-fp/sfp-machine.h
3538 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3540 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3553 Allow copysignl PLT reference to be missing.
3555 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3556 Joseph Myers <joseph@codesourcery.com
3559 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3561 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3563 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3565 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3566 * elf/tst-tls1.c: Likewise.
3567 * elf/tst-tls10.h: Likewise.
3568 * elf/tst-tls14.c: Likewise.
3569 * elf/tst-tls2.c: Likewise.
3570 * elf/tst-tls3.c: Likewise.
3571 * elf/tst-tls4.c: Likewise.
3572 * elf/tst-tls5.c: Likewise.
3573 * elf/tst-tls6.c: Likewise.
3574 * elf/tst-tls7.c: Likewise.
3575 * elf/tst-tls8.c: Likewise.
3576 * elf/tst-tls9.c: Likewise.
3577 * elf/tst-tlsmod1.c: Likewise.
3578 * elf/tst-tlsmod13.c: Likewise.
3579 * elf/tst-tlsmod13a.c: Likewise.
3580 * elf/tst-tlsmod14a.c: Likewise.
3581 * elf/tst-tlsmod16a.c: Likewise.
3582 * elf/tst-tlsmod16b.c: Likewise.
3583 * elf/tst-tlsmod2.c: Likewise.
3584 * elf/tst-tlsmod3.c: Likewise.
3585 * elf/tst-tlsmod4.c: Likewise.
3586 * elf/tst-tlsmod5.c: Likewise.
3587 * elf/tst-tlsmod6.c: Likewise.
3589 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3592 * malloc/malloc.c: remove checks for statistics.
3594 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3597 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3598 * inet/tst-network.c: Add testcase.
3600 2013-10-17 Andreas Schwab <schwab@suse.de>
3603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3604 to determine canonical name.
3606 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3608 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3609 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3632 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3667 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3670 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3671 make result into a quiet NaN.
3673 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3675 * soft-fp/adddf3.c: Fix horizontal whitespace.
3676 * soft-fp/addsf3.c: Likewise.
3677 * soft-fp/addtf3.c: Likewise.
3678 * soft-fp/divdf3.c: Likewise.
3679 * soft-fp/divsf3.c: Likewise.
3680 * soft-fp/divtf3.c: Likewise.
3681 * soft-fp/double.h: Likewise.
3682 * soft-fp/eqdf2.c: Likewise.
3683 * soft-fp/eqsf2.c: Likewise.
3684 * soft-fp/eqtf2.c: Likewise.
3685 * soft-fp/extenddftf2.c: Likewise.
3686 * soft-fp/extended.h: Likewise.
3687 * soft-fp/extendsfdf2.c: Likewise.
3688 * soft-fp/extendsftf2.c: Likewise.
3689 * soft-fp/extendxftf2.c: Likewise.
3690 * soft-fp/fixdfdi.c: Likewise.
3691 * soft-fp/fixdfsi.c: Likewise.
3692 * soft-fp/fixdfti.c: Likewise.
3693 * soft-fp/fixsfdi.c: Likewise.
3694 * soft-fp/fixsfsi.c: Likewise.
3695 * soft-fp/fixsfti.c: Likewise.
3696 * soft-fp/fixtfdi.c: Likewise.
3697 * soft-fp/fixtfsi.c: Likewise.
3698 * soft-fp/fixtfti.c: Likewise.
3699 * soft-fp/fixunsdfdi.c: Likewise.
3700 * soft-fp/fixunsdfsi.c: Likewise.
3701 * soft-fp/fixunsdfti.c: Likewise.
3702 * soft-fp/fixunssfdi.c: Likewise.
3703 * soft-fp/fixunssfsi.c: Likewise.
3704 * soft-fp/fixunssfti.c: Likewise.
3705 * soft-fp/fixunstfdi.c: Likewise.
3706 * soft-fp/fixunstfsi.c: Likewise.
3707 * soft-fp/fixunstfti.c: Likewise.
3708 * soft-fp/floatdidf.c: Likewise.
3709 * soft-fp/floatdisf.c: Likewise.
3710 * soft-fp/floatditf.c: Likewise.
3711 * soft-fp/floatsidf.c: Likewise.
3712 * soft-fp/floatsisf.c: Likewise.
3713 * soft-fp/floatsitf.c: Likewise.
3714 * soft-fp/floattidf.c: Likewise.
3715 * soft-fp/floattisf.c: Likewise.
3716 * soft-fp/floattitf.c: Likewise.
3717 * soft-fp/floatundidf.c: Likewise.
3718 * soft-fp/floatundisf.c: Likewise.
3719 * soft-fp/floatunditf.c: Likewise.
3720 * soft-fp/floatunsidf.c: Likewise.
3721 * soft-fp/floatunsisf.c: Likewise.
3722 * soft-fp/floatunsitf.c: Likewise.
3723 * soft-fp/floatuntidf.c: Likewise.
3724 * soft-fp/floatuntisf.c: Likewise.
3725 * soft-fp/floatuntitf.c: Likewise.
3726 * soft-fp/fmadf4.c: Likewise.
3727 * soft-fp/fmasf4.c: Likewise.
3728 * soft-fp/fmatf4.c: Likewise.
3729 * soft-fp/gedf2.c: Likewise.
3730 * soft-fp/gesf2.c: Likewise.
3731 * soft-fp/getf2.c: Likewise.
3732 * soft-fp/ledf2.c: Likewise.
3733 * soft-fp/lesf2.c: Likewise.
3734 * soft-fp/letf2.c: Likewise.
3735 * soft-fp/muldf3.c: Likewise.
3736 * soft-fp/mulsf3.c: Likewise.
3737 * soft-fp/multf3.c: Likewise.
3738 * soft-fp/negdf2.c: Likewise.
3739 * soft-fp/negsf2.c: Likewise.
3740 * soft-fp/negtf2.c: Likewise.
3741 * soft-fp/op-1.h: Likewise.
3742 * soft-fp/op-2.h: Likewise.
3743 * soft-fp/op-4.h: Likewise.
3744 * soft-fp/op-8.h: Likewise.
3745 * soft-fp/op-common.h: Likewise.
3746 * soft-fp/quad.h: Likewise.
3747 * soft-fp/single.h: Likewise.
3748 * soft-fp/soft-fp.h: Likewise.
3749 * soft-fp/sqrtdf2.c: Likewise.
3750 * soft-fp/sqrtsf2.c: Likewise.
3751 * soft-fp/sqrttf2.c: Likewise.
3752 * soft-fp/subdf3.c: Likewise.
3753 * soft-fp/subsf3.c: Likewise.
3754 * soft-fp/subtf3.c: Likewise.
3755 * soft-fp/truncdfsf2.c: Likewise.
3756 * soft-fp/trunctfdf2.c: Likewise.
3757 * soft-fp/trunctfsf2.c: Likewise.
3758 * soft-fp/trunctfxf2.c: Likewise.
3759 * soft-fp/unorddf2.c: Likewise.
3760 * soft-fp/unordsf2.c: Likewise.
3761 * soft-fp/unordtf2.c: Likewise.
3763 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3765 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3766 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3768 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3770 * elf/dl-libc.c: Clear initfini list after freeing.
3772 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3774 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3775 * soft-fp/addsf3.c: Likewise.
3776 * soft-fp/addtf3.c: Likewise.
3777 * soft-fp/divdf3.c: Likewise.
3778 * soft-fp/divsf3.c: Likewise.
3779 * soft-fp/divtf3.c: Likewise.
3780 * soft-fp/double.h: Likewise.
3781 * soft-fp/eqdf2.c: Likewise.
3782 * soft-fp/eqsf2.c: Likewise.
3783 * soft-fp/eqtf2.c: Likewise.
3784 * soft-fp/extenddftf2.c: Likewise.
3785 * soft-fp/extended.h: Likewise.
3786 * soft-fp/extendsfdf2.c: Likewise.
3787 * soft-fp/extendsftf2.c: Likewise.
3788 * soft-fp/extendxftf2.c: Likewise.
3789 * soft-fp/fixdfdi.c: Likewise.
3790 * soft-fp/fixdfsi.c: Likewise.
3791 * soft-fp/fixdfti.c: Likewise.
3792 * soft-fp/fixsfdi.c: Likewise.
3793 * soft-fp/fixsfsi.c: Likewise.
3794 * soft-fp/fixsfti.c: Likewise.
3795 * soft-fp/fixtfdi.c: Likewise.
3796 * soft-fp/fixtfsi.c: Likewise.
3797 * soft-fp/fixtfti.c: Likewise.
3798 * soft-fp/fixunsdfdi.c: Likewise.
3799 * soft-fp/fixunsdfsi.c: Likewise.
3800 * soft-fp/fixunsdfti.c: Likewise.
3801 * soft-fp/fixunssfdi.c: Likewise.
3802 * soft-fp/fixunssfsi.c: Likewise.
3803 * soft-fp/fixunssfti.c: Likewise.
3804 * soft-fp/fixunstfdi.c: Likewise.
3805 * soft-fp/fixunstfsi.c: Likewise.
3806 * soft-fp/fixunstfti.c: Likewise.
3807 * soft-fp/floatdidf.c: Likewise.
3808 * soft-fp/floatdisf.c: Likewise.
3809 * soft-fp/floatditf.c: Likewise.
3810 * soft-fp/floatsidf.c: Likewise.
3811 * soft-fp/floatsisf.c: Likewise.
3812 * soft-fp/floatsitf.c: Likewise.
3813 * soft-fp/floattidf.c: Likewise.
3814 * soft-fp/floattisf.c: Likewise.
3815 * soft-fp/floattitf.c: Likewise.
3816 * soft-fp/floatundidf.c: Likewise.
3817 * soft-fp/floatundisf.c: Likewise.
3818 * soft-fp/floatunsidf.c: Likewise.
3819 * soft-fp/floatunsisf.c: Likewise.
3820 * soft-fp/floatuntidf.c: Likewise.
3821 * soft-fp/floatuntisf.c: Likewise.
3822 * soft-fp/floatuntitf.c: Likewise.
3823 * soft-fp/fmadf4.c: Likewise.
3824 * soft-fp/fmasf4.c: Likewise.
3825 * soft-fp/fmatf4.c: Likewise.
3826 * soft-fp/gedf2.c: Likewise.
3827 * soft-fp/gesf2.c: Likewise.
3828 * soft-fp/getf2.c: Likewise.
3829 * soft-fp/ledf2.c: Likewise.
3830 * soft-fp/lesf2.c: Likewise.
3831 * soft-fp/letf2.c: Likewise.
3832 * soft-fp/muldf3.c: Likewise.
3833 * soft-fp/mulsf3.c: Likewise.
3834 * soft-fp/multf3.c: Likewise.
3835 * soft-fp/negdf2.c: Likewise.
3836 * soft-fp/negsf2.c: Likewise.
3837 * soft-fp/negtf2.c: Likewise.
3838 * soft-fp/op-1.h: Likewise.
3839 * soft-fp/op-2.h: Likewise.
3840 * soft-fp/op-4.h: Likewise.
3841 * soft-fp/op-8.h: Likewise.
3842 * soft-fp/op-common.h: Likewise.
3843 * soft-fp/quad.h: Likewise.
3844 * soft-fp/single.h: Likewise.
3845 * soft-fp/soft-fp.h: Likewise.
3846 * soft-fp/sqrtdf2.c: Likewise.
3847 * soft-fp/sqrtsf2.c: Likewise.
3848 * soft-fp/sqrttf2.c: Likewise.
3849 * soft-fp/subdf3.c: Likewise.
3850 * soft-fp/subsf3.c: Likewise.
3851 * soft-fp/subtf3.c: Likewise.
3852 * soft-fp/truncdfsf2.c: Likewise.
3853 * soft-fp/trunctfdf2.c: Likewise.
3854 * soft-fp/trunctfsf2.c: Likewise.
3855 * soft-fp/trunctfxf2.c: Likewise.
3856 * soft-fp/unorddf2.c: Likewise.
3857 * soft-fp/unordsf2.c: Likewise.
3858 * soft-fp/unordtf2.c: Likewise.
3860 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3863 * misc/error.c (error_tail): Fix possible buffer overflow.
3865 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3868 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3871 2013-10-14 P. J. McDermott <pj@pehjota.net>
3874 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3875 testing pipefail option.
3877 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3879 * soft-fp/double.h: Indent preprocessor directives inside #if.
3880 * soft-fp/extended.h: Likewise.
3881 * soft-fp/op-2.h: Likewise.
3882 * soft-fp/op-4.h: Likewise.
3883 * soft-fp/op-common.h: Likewise.
3884 * soft-fp/quad.h: Likewise.
3885 * soft-fp/single.h: Likewise.
3886 * soft-fp/soft-fp.h: Likewise.
3888 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3890 * iconv/iconv_prog.c: Fix typos.
3891 * stdio-common/psiginfo-data.h: Likewise.
3893 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3896 * locale/setlocale.c: Fix typo.
3898 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3901 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3902 signaling NaN arguments.
3903 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3904 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3907 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3909 * soft-fp/gesf2.c (__gesf2): Likewise.
3910 * soft-fp/getf2.c (__getf2): Likewise.
3911 * soft-fp/ledf2.c (__ledf2): Likewise.
3912 * soft-fp/lesf2.c (__lesf2): Likewise.
3913 * soft-fp/letf2.c (__letf2): Likewise.
3915 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3916 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3917 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3918 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3919 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3920 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3921 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3922 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3923 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3924 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3925 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3926 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3927 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3928 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3929 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3930 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3931 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3932 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3933 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3934 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3935 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3936 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3937 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3938 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3939 * soft-fp/floattidf.c (__floattidf): Likewise.
3940 * soft-fp/floattisf.c (__floattisf): Likewise.
3941 * soft-fp/floattitf.c (__floattitf): Likewise.
3942 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3943 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3944 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3945 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3946 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3947 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3948 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3949 * soft-fp/gesf2.c (__gesf2): Likewise.
3950 * soft-fp/getf2.c (__getf2): Likewise.
3951 * soft-fp/ledf2.c (__ledf2): Likewise.
3952 * soft-fp/lesf2.c (__lesf2): Likewise.
3953 * soft-fp/letf2.c (__letf2): Likewise.
3955 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3956 Undefine and redefine.
3957 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3958 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3959 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3960 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3961 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3962 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3963 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3964 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3965 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3966 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3967 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3968 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3969 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3970 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3971 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3974 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3975 without decrementing exponent if mantissa >= that for the
3977 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3978 denominator, not >. Decrement exponent in < case instead of
3979 incrementing in >= case.
3980 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3981 without decrementing exponent if mantissa >= that for the
3984 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3985 computing saturated result for unsigned overflow.
3987 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3988 Jeff Law <law@redhat.com>
3990 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3991 (atan2Mp): Add systemtap probe marker.
3992 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3993 (__ieee754_log): Add systemtap probe marker.
3994 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3995 (atanMp): Add systemtap probe marker.
3996 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3997 (tanMp): Add systemtap probe marker.
3998 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3999 (__slowexp): Add systemtap probe marker.
4000 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4001 (__slowpow): Add systemtap probe marker.
4002 * manual/probes.texi: Document probes.
4004 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4007 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4009 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4011 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4012 written to buffer but not flushed.
4013 * libio/iofwrite_u.c: Likewise.
4014 * libio/iopadn.c: Return bytes returned even if EOF was
4016 * libio/iowpadn.c: Likewise.
4017 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4018 if _IO_padn does not write the whole buffer.
4019 [!COMPILE_WPRINTF] (PAD): Likewise.
4021 2013-10-10 David S. Miller <davem@davemloft.net>
4023 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4026 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4028 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4029 instead of FSF address.
4030 * soft-fp/fixdfti.c: Likewise.
4031 * soft-fp/fixsfti.c: Likewise.
4032 * soft-fp/fixtfti.c: Likewise.
4033 * soft-fp/fixunsdfti.c: Likewise.
4034 * soft-fp/fixunssfti.c: Likewise.
4035 * soft-fp/fixunstfti.c: Likewise.
4036 * soft-fp/floattidf.c: Likewise.
4037 * soft-fp/floattisf.c: Likewise.
4038 * soft-fp/floattitf.c: Likewise.
4039 * soft-fp/floatuntidf.c: Likewise.
4040 * soft-fp/floatuntisf.c: Likewise.
4041 * soft-fp/floatuntitf.c: Likewise.
4042 * soft-fp/trunctfxf2.c: Likewise.
4044 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4045 * soft-fp/fixdfti.c: Likewise.
4046 * soft-fp/fixsfti.c: Likewise.
4047 * soft-fp/fixtfti.c: Likewise.
4048 * soft-fp/fixunsdfti.c: Likewise.
4049 * soft-fp/fixunssfti.c: Likewise.
4050 * soft-fp/fixunstfti.c: Likewise.
4051 * soft-fp/floattidf.c: Likewise.
4052 * soft-fp/floattisf.c: Likewise.
4053 * soft-fp/floattitf.c: Likewise.
4054 * soft-fp/floatuntidf.c: Likewise.
4055 * soft-fp/floatuntisf.c: Likewise.
4056 * soft-fp/floatuntitf.c: Likewise.
4057 * soft-fp/trunctfxf2.c: Likewise.
4059 2013-10-10 David S. Miller <davem@davemloft.net>
4061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4066 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4067 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4068 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4069 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4070 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4071 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4074 for NaNs before doing comparisons on argument.
4075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4078 2013-10-10 Will Newton <will.newton@linaro.org>
4080 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4081 passed to _int_memalign does not overflow.
4083 2013-10-10 Torvald Riegel <triegel@redhat.com>
4085 * scripts/bench.pl: Add include-sources directive.
4086 * benchtests/README: Update documentation.
4088 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4090 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4091 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4092 instead of FP_INIT_ROUNDMODE.
4093 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4094 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4097 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4098 copy class of input value.
4099 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4100 not handle exceptions.
4101 * soft-fp/negsf2.c (__negsf2): Likewise.
4102 * soft-fp/negtf2.c (__negtf2): Likewise.
4103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4105 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4107 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4108 semicolon. From Linux kernel.
4110 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4112 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4114 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4117 * manual/socket.texi: Added statement about buffer
4118 for gethostbyname2_r.
4120 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4122 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4123 Use .p2align directive instead, throughout.
4124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4126 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4130 * sysdeps/x86_64/strchr.S: Likewise.
4131 * sysdeps/x86_64/strrchr.S: Likewise.
4133 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4135 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4137 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4139 * sysdeps/generic/math_private.h (__mpsin1): Remove
4141 (__mpcos1): Likewise.
4142 (__mpsin): New argument __range_reduce.
4143 (__mpcos): Likewise.
4144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4145 (slow): Use __mpsin and __mpcos.
4152 (bsloww1): Likewise.
4153 (bsloww2): Likewise.
4156 (csloww1): Likewise.
4157 (csloww2): Likewise.
4158 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4159 range_reduce. Merge in __mpsin1.
4160 (__mpcos): Likewise.
4162 (__mpcos1): Likewise.
4164 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4166 * locale/loadlocale.c (_nl_intern_locale_data): Use
4168 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4169 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4170 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4171 obstack data is appropriately aligned.
4172 (obstack_int32_grow_fast): Likewise.
4173 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4174 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4175 (add_locale_uint32_array): Likewise.
4177 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4179 * benchtests/Makefile: Remove ARGLIST and RET variables.
4180 ($(objpfx)bench-%.c): Pass only function name to the script.
4181 * benchtests/README: Update documentation.
4182 * benchtests/acos-inputs: Add new directives.
4183 * benchtests/acosh-inputs: Likewise.
4184 * benchtests/asin-inputs: Likewise.
4185 * benchtests/asinh-inputs: Likewise.
4186 * benchtests/atan-inputs: Likewise.
4187 * benchtests/atanh-inputs: Likewise.
4188 * benchtests/cos-inputs: Likewise.
4189 * benchtests/cosh-inputs: Likewise.
4190 * benchtests/exp-inputs: Likewise.
4191 * benchtests/log-inputs: Likewise.
4192 * benchtests/pow-inputs: Likewise.
4193 * benchtests/rint-inputs: Likewise.
4194 * benchtests/sin-inputs: Likewise.
4195 * benchtests/sinh-inputs: Likewise.
4196 * benchtests/tan-inputs: Likewise.
4197 * benchtests/tanh-inputs: Likewise.
4198 * scripts/bench.pl: Add support for new directives.
4200 2013-10-07 Alan Modra <amodra@gmail.com>
4202 * README: Fix careless merge.
4204 2013-10-05 Alan Modra <amodra@gmail.com>
4206 * NEWS: Mention powerpc64le support and bugs fixed.
4207 * README: Both big-endian and little-endian powerpc64 supported.
4209 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4211 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4212 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4213 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4214 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4216 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4218 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4221 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4223 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4224 Move -mhard-float appending from
4225 ports/sysdeps/powerpc/powerpc32/Makefile.
4226 [$(with-fp) = yes] (ASFLAGS): Likewise.
4227 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4228 * sysdeps/powerpc/nofpu: Move directory from
4229 ports/sysdeps/powerpc/nofpu.
4230 * sysdeps/powerpc/soft-fp: Move directory from
4231 ports/sysdeps/powerpc/soft-fp.
4232 * sysdeps/powerpc/powerpc32/405: Move directory from
4233 ports/sysdeps/powerpc/powerpc32/405.
4234 * sysdeps/powerpc/powerpc32/440: Move directory from
4235 ports/sysdeps/powerpc/powerpc32/440.
4236 * sysdeps/powerpc/powerpc32/464: Move directory from
4237 ports/sysdeps/powerpc/powerpc32/464.
4238 * sysdeps/powerpc/powerpc32/476: Move directory from
4239 ports/sysdeps/powerpc/powerpc32/476.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4243 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4250 * README: Update for powerpc-*-linux-gnu software floating point
4253 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4254 case to powerpc/powerpc32*.
4255 * sysdeps/unix/sysv/linux/configure: Regenerated.
4257 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4258 (_FPU_MASK_OM): Define as 0x04.
4259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4273 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4274 and setcontext_e500.
4276 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4278 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4280 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4282 * manual/threads.texi (Default Thread Attributes): Fix typo.
4284 2013-10-04 Will Newton <will.newton@linaro.org>
4286 * malloc/Makefile: Add tst-memalign.
4287 * malloc/tst-memalign.c: New file.
4289 * malloc/tst-posix_memalign.c: Add comments.
4290 (do_test): Add comments and call free on all potentially
4291 allocated pointers. Add space after cast.
4293 * malloc/tst-pvalloc.c: Add comments.
4294 (do_test): Add comments and call free on all potentially
4295 allocated pointers. Remove duplicate check for NULL pointer.
4296 Add space after cast.
4298 * malloc/tst-valloc.c: Add comments.
4299 (do_test): Add comments and call free on all potentially
4300 allocated pointers. Remove duplicate check for NULL pointer.
4301 Add space after cast.
4303 2013-10-04 Alan Modra <amodra@gmail.com>
4305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4306 Use stdint types in rather than __attribute__((mode())).
4307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4309 2013-10-04 Alan Modra <amodra@gmail.com>
4311 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4312 Correct handling of unaligned relocs for little-endian.
4313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4315 2013-10-04 Alan Modra <amodra@gmail.com>
4317 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4318 * configure: Regenerate.
4319 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4320 * shlib-versions: Likewise.
4322 2013-10-04 Alan Modra <amodra@gmail.com>
4324 * string/tester.c (test_memrchr): Increment reported test cycle.
4326 2013-10-04 Alan Modra <amodra@gmail.com>
4328 * string/test-memcpy.c (do_one_test): When reporting errors, print
4329 string address and don't overrun end of string.
4331 2013-10-04 Alan Modra <amodra@gmail.com>
4333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4334 insrdi. Make better use of reg selection to speed exit slightly.
4335 Schedule entry path a little better. Remove useless "are we done"
4336 checks on entry to main loop. Handle wrapping around zero address.
4337 Correct main loop count. Handle single left-over word from main
4338 loop inline rather than by using loop_small. Remove extra word
4339 case in loop_small caused by wrong loop count. Add little-endian
4341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4346 support. Avoid rlwimi.
4347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4349 2013-10-04 Alan Modra <amodra@gmail.com>
4351 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4353 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4354 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4355 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4356 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4358 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4360 2013-10-04 Alan Modra <amodra@gmail.com>
4362 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4367 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4371 use of regs. Use power7 mtocrf. Tidy function tails.
4373 2013-10-04 Alan Modra <amodra@gmail.com>
4375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4376 Formatting. Consistently use rXXX register defines or rN defines.
4377 Use early exit labels that avoid restoring unused non-volatile regs.
4378 Make cr field use more consistent with rWORDn compares. Rename
4379 regs used as shift registers for unaligned loop, using rN defines
4380 for short lifetime/multiple use regs.
4381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4383 addi 1,1,64 to pop stack frame. Simplify return value code.
4384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4386 2013-10-04 Alan Modra <amodra@gmail.com>
4388 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4389 support. Correct typos, formatting. Optimize tail. Use insrdi
4391 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4393 little-endian support. Correct typos.
4394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4396 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4397 in loop and entry code to keep "and." results.
4398 (strchr): Add little-endian support. Comment. Move cntlzd
4400 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4402 2013-10-04 Alan Modra <amodra@gmail.com>
4404 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4405 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4407 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4409 2013-10-04 Alan Modra <amodra@gmail.com>
4411 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4412 (rTMP): Define as r11.
4413 (strcmp): Add little-endian support. Optimise tail.
4414 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4415 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4416 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4422 2013-10-04 Alan Modra <amodra@gmail.com>
4424 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4425 little-endian support. Remove unnecessary "are we done" tests.
4426 Handle "s" wrapping around zero and extremely large "size".
4427 Correct main loop count. Handle single left-over word from main
4428 loop inline rather than by using small_loop. Correct comments.
4429 Delete "zero" tail, use "end_max" instead.
4430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4432 2013-10-04 Alan Modra <amodra@gmail.com>
4434 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4435 support. Don't branch over align.
4436 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4437 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4438 support. Rearrange tmp reg use to suit. Comment.
4439 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4441 2013-10-04 Alan Modra <amodra@gmail.com>
4443 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4445 2013-10-04 Alan Modra <amodra@gmail.com>
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4448 conditional form of branch and link when obtaining pc.
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4451 2013-10-04 Alan Modra <amodra@gmail.com>
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4458 2013-10-04 Alan Modra <amodra@gmail.com>
4460 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4461 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4462 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4463 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4464 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4465 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4466 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4467 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4469 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4471 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4472 Alistair Popple <alistair@ozlabs.au.ibm.com>
4473 Alan Modra <amodra@gmail.com>
4476 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4478 _dl_hwcap access for little-endian.
4479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4480 destroy vmx regs when saving unaligned.
4481 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4483 destroy vmx regs when saving unaligned.
4485 2013-10-04 Alan Modra <amodra@gmail.com>
4487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4488 Don't use a union to pack hi/low value.
4490 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4492 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4496 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4497 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4500 2013-10-04 Alan Modra <amodra@gmail.com>
4502 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4503 constants to usual value for .cst8 section, and remove redundant
4505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4506 constant for 0x1p52. Load little-endian words of double from
4507 correct stack offsets.
4509 2013-10-04 Alan Modra <amodra@gmail.com>
4511 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4513 words of double from correct stack offsets.
4514 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4515 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4522 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4526 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4529 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4530 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4532 2013-10-04 Alan Modra <amodra@gmail.com>
4534 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4535 64-bit int/double union.
4536 (_FPU_SETCW): Likewise.
4537 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4538 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4540 2013-10-04 Alan Modra <amodra@gmail.com>
4542 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4543 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4545 2013-10-04 Alan Modra <amodra@gmail.com>
4547 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4548 use vector int constants.
4549 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4551 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4553 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4554 array with long long.
4555 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4556 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4557 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4558 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4559 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4560 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4561 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4562 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4563 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4564 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4565 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4566 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4567 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4571 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4572 (__signbit): Likewise. Correct for little-endian.
4573 (__signbitl): Call __signbit.
4574 (lrint): Correct for little-endian.
4575 (lrintf): Call lrint.
4577 2013-10-04 Alan Modra <amodra@gmail.com>
4579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4580 union 32-bit int array member with 64-bit int array.
4581 (t515, tm256): Double rather than long double.
4582 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4584 2013-10-04 Alan Modra <amodra@gmail.com>
4586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4588 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4590 version of math_ldbl.h.
4592 2013-10-04 Alan Modra <amodra@gmail.com>
4594 [BZ #15734], [BZ #15735]
4595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4596 all uses of ieee875 long double macros and unions. Simplify test
4597 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4598 ldbl_extract_mantissa value for ix,iy exponents. Properly
4599 normalize after ldbl_extract_mantissa, and don't add hidden bit
4600 already handled. Don't treat low word of ieee854 mantissa like
4601 low word of IBM long double and mask off bit when testing for
4603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4604 all uses of ieee875 long double macros and unions. Simplify tests
4605 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4606 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4607 two1022, instead use their values. Recognise that tests for large
4608 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4610 Rewrite all uses of ieee875 long double macros and unions. Simplify
4611 test for 0.0L and nan. Correct negation.
4612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4613 ieee875 long double macros and unions. Correct output for large
4614 magnitude x. Correct absolute value calculation.
4615 (__erfcl): Likewise.
4616 * math/libm-test.inc: Add tests for errors discovered in IBM long
4617 double versions of fmodl, remainderl, erfl and erfcl.
4619 2013-10-04 Alan Modra <amodra@gmail.com>
4621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4622 all uses of ieee854 long double macros and unions. Simplify tests
4623 for long doubles that are fully specified by the high double.
4624 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4626 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4627 Remove dead code too.
4628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4629 (__ieee754_ynl): Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4633 Remove dead code too.
4634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4639 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4644 Comment on variable precision.
4645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4652 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4654 2013-10-04 Alan Modra <amodra@gmail.com>
4656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4658 all uses of ieee854 long double macros and unions.
4659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4672 Simplify sign and nan test too.
4673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4688 2013-10-04 Alan Modra <amodra@gmail.com>
4690 * stdio-common/printf_size.c (__printf_size): Don't use
4691 union ieee854_long_double in fpnum union.
4692 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4693 signbit macro to retrieve sign from long double.
4694 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4695 retrieve sign from long double.
4696 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4697 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4700 * math/test-misc.c (main): Don't use union ieee854_long_double.
4702 2013-10-04 Alan Modra <amodra@gmail.com>
4705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4707 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4708 calculation. Remove unnecessary test for denormal exponent.
4709 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4710 Correct handling of denormals. Avoid undefined shift behaviour.
4711 Correct normalisation of low mantissa when low double is denormal.
4712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4713 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4714 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4715 Correct normalisation of low mantissa. Test for overflow of high
4716 mantissa and normalise.
4717 (ldbl_nearbyint): Use more readable constant for two52.
4718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4719 (__mpn_construct_long_double): Fix test for overflow of high
4720 mantissa and correct normalisation. Avoid undefined shift.
4722 2013-10-04 Alan Modra <amodra@gmail.com>
4724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4725 (union ibm_extended_long_double): Define as an array of ieee754_double.
4726 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4728 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4729 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4738 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4740 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4741 page size instead of calling getpagesize.
4743 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4744 (LOCFILE_ALIGN_MASK): Likewise.
4745 (LOCFILE_ALIGN_UP): Likewise.
4746 (LOCFILE_ALIGNED_P): Likewise.
4747 * locale/programs/ld-collate.c (collate_output): Use the new
4748 macros instead of __alignof__ (int32_t).
4749 * locale/weight.h (findidx): Likewise.
4751 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4754 * manual/string.texi: Fix strncat and wcsncat.
4756 2013-10-03 Brooks Moses <bmoses@google.com>
4759 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4760 * Makerules: ...here, and adjust associated comments.
4762 2013-10-02 Will Newton <will.newton@linaro.org>
4764 * malloc/Makefile: Add tst-pvalloc.
4765 * malloc/tst-pvalloc.c: New file.
4767 2013-10-02 Will Newton <will.newton@linaro.org>
4769 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4770 improve test coverage.
4772 2013-10-02 Will Newton <will.newton@linaro.org>
4774 * malloc/Makefile: Add tst-posix_memalign.
4775 * malloc/tst-posix_memalign.c: New file.
4777 2013-10-01 Eric Blake <eblake@redhat.com>
4779 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4780 Use __THROWNL rather than __THROW on static functions.
4782 2013-09-30 Petr Machata <pmachata@redhat.com>
4784 * elf/elf.h (R_AARCH64_ABS16): New macro.
4785 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4786 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4787 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4788 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4789 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4790 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4791 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4792 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4793 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4794 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4795 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4796 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4797 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4798 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4799 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4800 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4801 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4802 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4803 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4804 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4805 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4806 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4807 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4808 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4809 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4810 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4811 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4812 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4813 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4814 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4816 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4818 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4819 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4821 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4823 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4825 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4827 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4829 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4831 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4833 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4834 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4835 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4836 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4837 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4838 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4839 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4840 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4841 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4842 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4843 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4844 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4846 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4848 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4850 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4852 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4854 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4855 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4856 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4857 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4858 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4859 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4860 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4861 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4862 (R_AARCH64_TLSDESC_LDR): Likewise.
4863 (R_AARCH64_TLSDESC_ADD): Likewise.
4864 (R_AARCH64_TLSDESC_CALL): Likewise.
4866 2013-09-30 Andreas Schwab <schwab@suse.de>
4869 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4870 the nss database lookup.
4871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4874 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4876 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4878 2013-09-28 P. J. McDermott <pj@pehjota.net>
4880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4881 ${Bash-specific parameter/pattern/string} parameter expansion.
4882 * sysdeps/unix/make-syscalls.sh: Likewise.
4884 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4886 * sysdeps/sh/stackguard-macros.h: New file.
4888 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4892 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4895 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4897 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4899 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4900 Fix thread ID register.
4902 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4904 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4905 [POSIX || UNIX98]: Require rather than permitting all symbols from
4907 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4908 element of struct sched_param.
4909 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4910 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4911 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4912 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4915 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4917 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4918 argument calculation.
4920 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4922 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4924 [POSIX] (pthread_attr_t): Do not require type.
4925 [POSIX] (pthread_cond_t): Likewise.
4926 [POSIX] (pthread_condattr_t): Likewise.
4927 [POSIX] (pthread_key_t): Likewise.
4928 [POSIX] (pthread_mutex_t): Likewise.
4929 [POSIX] (pthread_mutexattr_t): Likewise.
4930 [POSIX] (pthread_once_t): Likewise.
4931 [POSIX] (pthread_t): Likewise.
4932 [POSIX-based standards] (pthread_atfork): Expect function.
4934 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4935 Richard Sandiford <richard@codesourcery.com>
4937 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4938 (swap_endianness_p): New extern variable.
4939 (set_big_endian): New inline function.
4940 (maybe_swap_uint32): Likewise.
4941 (maybe_swap_uint32_array): Likewise.
4942 (maybe_swap_uint32_obstack): Likewise.
4943 * locale/programs/locfile.c: Include <stdbool.h>.
4944 (swap_endianness_p): New variable.
4945 (add_locale_uint32): Call maybe_swap_uint32.
4946 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4947 (write_locale_data): Call maybe_swap_uint32_array.
4948 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4950 (obstack_int32_grow_fast): Likewise.
4951 (output_weightwc): Call maybe_swap_uint32_obstack.
4952 (collate_output): Likewise.
4953 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4954 (OPT_LITTLE_ENDIAN): Likewise.
4955 (options): Add --little-endian and --big-endian options.
4956 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4957 * locale/programs/locarchive.c: Include "locfile.h".
4961 (create_archive): Use the new macros to access fields of
4962 structures directly mapped from or written to locale archives.
4963 (oldlocrecentcmp): Likewise.
4964 (enlarge_archive): Likewise.
4965 (insert_name): Likewise.
4966 (add_alias): Likewise.
4967 (add_locale): Likewise.
4968 (delete_locales_from_archive): Likewise.
4969 (show_archive_content): Likewise.
4970 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4973 2013-09-24 Roland McGrath <roland@hack.frob.com>
4975 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4976 http://www.gnu.org/doc/freemanuals.texi.
4977 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4979 2013-09-24 Will Newton <will.newton@linaro.org>
4981 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4984 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4986 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4989 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4991 * manual/threads.texi (POSIX Threads): Fix a typo.
4993 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4996 * string/tst-strcoll-overflow.c: New test case.
4997 * string/Makefile (xtests): Add tst-strcoll-overflow.
4998 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4999 cache if string sizes may cause integer overflow.
5002 * string/strcoll_l.c (coll_seq): New members rule, idx,
5003 save_idx and back_us.
5004 (get_next_seq_nocache): New function.
5005 (do_compare_nocache): New function.
5006 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5009 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5012 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5013 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5014 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5017 * elf/Makefile (tests): Add tst-ptrguard1.
5018 (tests-static): Add tst-ptrguard1-static.
5019 (tst-ptrguard1-ARGS): Define.
5020 (tst-ptrguard1-static-ARGS): Define.
5021 * elf/tst-ptrguard1.c: New file.
5022 * elf/tst-ptrguard1-static.c: New file.
5023 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5024 * sysdeps/i386/stackguard-macros.h: Likewise.
5025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5032 2013-09-23 Hector Marco <hecmargi@upv.es>
5033 Ismael Ripoll <iripoll@disca.upv.es>
5034 Carlos O'Donell <carlos@redhat.com>
5037 * sysdeps/generic/stackguard-macros.h: Define
5038 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5039 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5040 Define __pointer_chk_guard_local.
5041 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5042 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5044 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5047 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5049 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5051 * include/string.h (__ffs): Declare as hidden.
5052 * string/ffs.c (__ffs): Define as hidden.
5053 * sysdeps/i386/ffs.c (__ffs): Likewise.
5054 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5055 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5056 * sysdeps/s390/ffs.c (__ffs): Likewise.
5057 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5059 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5061 * NEWS: Mention malloc probes.
5063 * malloc/arena.c (new_heap): New memory_heap_new probe.
5064 (grow_heap): New memory_heap_more probe.
5065 (shrink_heap): New memory_heap_less probe.
5066 (heap_trim): New memory_heap_free probe.
5067 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5068 (systrim): New memory_sbrk_less probe.
5069 * manual/probes.texi: Document them.
5071 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5072 * manual/probes.texi: Document it.
5074 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5075 (__libc_realloc): Add memory_realloc_retry probe.
5076 (__libc_memalign): Add memory_memalign_retry probe.
5077 (__libc_valloc): Add memory_valloc_retry probe.
5078 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5079 (__libc_calloc): Add memory_calloc_retry probe.
5080 * manual/probes.texi: Document them.
5082 * malloc/arena.c (get_free_list): Add probe
5083 memory_arena_reuse_free_list.
5084 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5085 and memory_arena_reuse.
5086 (arena_get2) [!PER_THREAD]: Likewise.
5087 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5088 memory_arena_reuse_realloc.
5089 * manual/probes.texi: Document them.
5091 * malloc/malloc.c (__libc_free): Add
5092 memory_mallopt_free_dyn_thresholds probe.
5093 (__libc_mallopt): Add multiple memory_mallopt probes.
5094 * manual/probes.texi: Document them.
5096 * malloc/malloc.c: Include stap-probe.h.
5097 (__libc_mallopt): Add memory_mallopt probe.
5098 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5099 * manual/probes.texi: New.
5100 * manual/Makefile (chapters): Add probes.
5101 * manual/threads.texi: Set next node.
5103 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5106 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5107 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5108 Add `Chinese' to `nan' entry name.
5110 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5113 (POLYNOMIAL): Likewise.
5114 (TAYLOR_SINCOS): Likewise.
5115 (TAYLOR_SLOW): Likewise.
5116 (__sin): Use TAYLOR_SINCOS.
5118 (slow): Use TAYLOR_SLOW.
5123 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5125 * stdlib/strtod_l.c: Fix buffer overrun.
5127 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5129 * benchtests/Makefile (bench): Add sincos.
5130 * benchtests/bench-sincos.c: New file.
5132 * math/libm-test.inc (cos_test_data): New test inputs.
5133 (sin_test_data): Likewise.
5135 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5143 (bsloww1): Likewise.
5144 (bsloww2): Likewise.
5146 (csloww1): Likewise.
5147 (csloww2): Likewise.
5149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5158 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5160 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5161 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5162 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5163 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5164 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5165 * elf/cache.c (print_entry): Handle the new cache flags.
5167 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5168 Aldy Hernandez <aldyh@redhat.com>
5170 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5171 Change condition to [_SOFT_FLOAT].
5172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5184 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5187 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5190 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5194 (__longjmp): Use LOAD_GP to load saved GPRs.
5195 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5196 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5197 (__sigsetjmp): Use SAVE_GP to save GPRs.
5199 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5200 Do not append -msoft-float.
5201 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5203 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5205 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5207 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5210 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5211 (_FPU_GETCW): Use initial "__" on variable and field names but not
5212 on macro parameter name.
5213 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5214 parentheses around reference to macro parameter.
5216 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5218 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5220 (ctype_startup): Use uint32_t in cast and sizeof for
5223 2013-09-11 Jia Liu <proljc@gmail.com>
5225 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5227 [__FreeBSD__]: Likewise.
5229 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5232 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5233 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5234 (strchr): Remove __strchr_sse42 ifunc selection.
5235 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5236 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5238 2013-09-11 Will Newton <will.newton@linaro.org>
5240 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5241 parameter to RES. Remove hardcoded 1000 value.
5242 * benchtests/bench-skeleton.c (main): Pass RES parameter
5243 to TIMING_INIT and multiply result by 1000.
5245 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5249 2013-09-11 Andreas Schwab <schwab@suse.de>
5251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5253 (O_TMPFILE) [__USE_GNU]: Define.
5254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5257 2013-09-11 Will Newton <will.newton@linaro.org>
5260 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5263 2013-09-11 Will Newton <will.newton@linaro.org>
5266 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5269 2013-09-11 Will Newton <will.newton@linaro.org>
5272 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5275 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5277 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5283 2013-09-10 Allan McRae <allan@archlinux.org>
5286 * manual/arith.texi (Parsing of Floats): Clarify
5290 * manual/install.texi (Running make install): Mention
5292 * INSTALL: Regenerated.
5294 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5296 * csu/init-first.c (_init): Remove the !SHARED condition around
5297 FPU control word initialization.
5298 * elf/dl-support.c (_dl_fpu_control): New variable.
5299 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5300 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5301 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5302 * math/test-fpucw-static.c: New file.
5303 * math/test-fpucw-ieee.c: New file.
5304 * math/test-fpucw-ieee-static.c: New file.
5305 * math/Makefile (tests): Add `test-fpucw-ieee' and
5307 (tests-static): New variable.
5308 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5310 [($(build-shared),yes)]
5311 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5313 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5316 2013-09-09 Allan McRae <allan@archlinux.org>
5319 * manual/string.texi (Collation Functions): Fix typo in
5321 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5324 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5327 * libio/memstream.c (open_memstream): Fix memory leak.
5328 * libio/wmemstream.c (open_wmemstream): Likewise.
5331 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5333 2013-09-09 Will Newton <will.newton@linaro.org>
5335 * malloc/Makefile: Add tst-realloc to tests.
5336 * malloc/tst-realloc.c: New file.
5338 2013-09-09 Allan McRae <allan@archlinux.org>
5341 * COPYING: Update from GNU website to fix FSF address.
5342 * COPYING.LIB: Likewise.
5344 2013-09-06 David S. Miller <davem@davemloft.net>
5346 * po/zh_TW.po: Update Chinese (traditional) translation from
5347 translation project.
5349 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5350 Joseph Myers <joseph@codesourcery.com>
5352 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5354 (obstack_chunk_alloc): New macro.
5355 (obstack_chunk_free): Likewise.
5356 (record_offset): New function.
5357 (init_locale_data): Likewise.
5358 (align_locale_data): Likewise.
5359 (add_locale_empty): Likewise.
5360 (add_locale_raw_data): Likewise.
5361 (add_locale_raw_obstack): Likewise.
5362 (add_locale_string): Likewise.
5363 (add_locale_wstring): Likewise.
5364 (add_locale_uint32): Likewise.
5365 (add_locale_uint32_array): Likewise.
5366 (add_locale_char): Likewise.
5367 (start_locale_structure): Likewise.
5368 (end_locale_structure): Likewise.
5369 (start_locale_prelude): Likewise.
5370 (end_locale_prelude): Likewise.
5371 (write_locale_data): Take locale_file structure rather than an
5373 * locale/programs/locfile.h: Include "obstack.h".
5374 (struct locale_file): Change to store locale file contents instead
5376 (init_locale_data): New prototype.
5377 (align_locale_data): Likewise.
5378 (add_locale_empty): Likewise.
5379 (add_locale_raw_data): Likewise.
5380 (add_locale_raw_obstack): Likewise.
5381 (add_locale_string): Likewise.
5382 (add_locale_wstring): Likewise.
5383 (add_locale_uint32): Likewise.
5384 (add_locale_uint32_array): Likewise.
5385 (add_locale_char): Likewise.
5386 (start_locale_structure): Likewise.
5387 (end_locale_structure): Likewise.
5388 (start_locale_prelude): Likewise.
5389 (end_locale_prelude): Likewise.
5390 (write_locale_data): Update prototype.
5391 * locale/programs/3level.h (struct TABLE): Remove result field.
5392 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5393 Use new locale_file interface.
5394 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5395 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5396 * locale/programs/ld-address.c (address_output): Use new
5397 locale_file interface.
5398 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5400 (collate_finish): Don't call collseq_table_finalize.
5401 (collate_output): Use new locale_file interface.
5402 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5404 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5405 (TABLE): Move defines earlier in file.
5406 (ELEMENT): Likewise.
5407 (DEFAULT): Likewise.
5408 (wctrans_table_add): Move macro and inline function earlier in
5410 (struct wctype_table): Move type earlier in file.
5411 (add_locale_wctype_table): New static prototype.
5412 (struct locale_ctype_t): Use logical types instead of struct iovec
5413 pointers for members.
5414 (ctype_output): Use new locale_file interface.
5415 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5416 new locale_file interface.
5417 (allocate_arrays): Update for use of new locale_file interface.
5418 * locale/programs/ld-identification.c (identification_output): Use
5419 new locale_file interface.
5420 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5421 * locale/programs/ld-messages.c (messages_output): Likewise.
5422 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5423 * locale/programs/ld-name.c (name_output): Likewise.
5424 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5425 * locale/programs/ld-paper.c (paper_output): Likewise.
5426 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5427 * locale/programs/ld-time.c (time_output): Likewise.
5429 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5431 * benchtests/Makefile: Add memrchr benchmark.
5432 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5433 benchmark as memrchr.
5434 * benchtests/bench-memrchr-ifunc.c: New file.
5435 * benchtests/bench-memrchr.c: New file.
5437 2013-09-06 Will Newton <will.newton@linaro.org>
5439 * benchtests/Makefile (string-bench): Add memcpy.
5441 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5442 Cong Wang <amwang@redhat.com>
5444 * sysdeps/unix/sysv/linux/bits/in.h
5445 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5446 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5447 before __USE_KERNEL_IPV6_DEFS uses.
5448 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5450 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5451 sockaddr_in6, or ipv6_mreq.
5453 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5455 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5456 memory access for final bytes in some large inputs.
5457 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5459 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * string/test-memrchr.c: New file.
5462 * string/test-memrchr-ifunc.c: New file.
5463 * string/Makefile: Add new memrchr testcase.
5465 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5467 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5468 fanotify_init returns EPERM.
5470 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5472 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5474 (top level): Treat second token from macro or constant entries for
5475 allowed headers as allowed.
5476 * include/complex.h: Condition internal declarations on
5478 * include/fenv.h: Condition include of <stdbool.h> and internal
5479 declarations on [!_ISOMAC].
5481 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5484 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5486 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5488 * configure.in (--enable-versioning): Remove configure option.
5489 (libc_cv_asm_symver_directive): Remove configure test.
5490 (libc_cv_ld_version_script_option): Likewise.
5491 (VERSIONING): Remove variable and AC_SUBST.
5492 (DO_VERSIONING): Remove AC_DEFINE.
5493 * configure: Regenerated.
5494 * config.h.in (DO_VERSIONING): Remove macro.
5495 * Makerules [$(versioning) = yes]: Change conditionals to
5496 [$(build-shared) = yes].
5497 * config.make.in (versioning): Remove variable.
5498 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5499 [$(build-shared) = yes].
5500 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5501 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5502 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5503 [$(build-shared) = yes].
5504 * extra-lib.mk [$(versioning) = yes]: Likewise.
5505 * hurd/Makefile [$(versioning) = yes]: Likewise.
5506 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5508 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5511 [SHARED && !NO_HIDDEN].
5512 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5514 [SHARED && DO_VERSIONING]: Likewise..
5515 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5516 [$(build-shared) = yes].
5517 * manual/install.texi (--disable-versioning): Remove
5519 * INSTALL: Regenerated.
5520 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5522 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5523 [$(build-shared) = yes].
5524 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5525 * sysdeps/i386/i686/multiarch/strstr-c.c
5526 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5527 [SHARED && !NO_HIDDEN].
5528 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5529 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5530 * sysdeps/powerpc/powerpc32/dl-machine.c
5531 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5532 * sysdeps/powerpc/powerpc32/sysdep.h
5533 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5534 to [SHARED && PIC && !NO_HIDDEN].
5535 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5536 conditional to [SHARED].
5538 2013-09-04 Will Newton <will.newton@linaro.org>
5540 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5541 * benchtests/bench-string.h: Include bench-timing.h instead
5542 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5543 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5544 call to HP_TIMING_DIFF_INIT.
5545 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5546 instead of hp-timing.h macros.
5547 * benchtests/bench-memchr.c: Likewise.
5548 * benchtests/bench-memcmp.c: Likewise.
5549 * benchtests/bench-memcpy.c: Likewise.
5550 * benchtests/bench-memmem.c: Likewise.
5551 * benchtests/bench-memmove.c: Likewise.
5552 * benchtests/bench-memset.c: Likewise.
5553 * benchtests/bench-rawmemchr.c: Likewise.
5554 * benchtests/bench-strcasecmp.c: Likewise.
5555 * benchtests/bench-strcasestr.c: Likewise.
5556 * benchtests/bench-strcat.c: Likewise.
5557 * benchtests/bench-strchr.c: Likewise.
5558 * benchtests/bench-strcmp.c: Likewise.
5559 * benchtests/bench-strcpy.c: Likewise.
5560 * benchtests/bench-strcpy_chk.c: Likewise.
5561 * benchtests/bench-strlen.c: Likewise.
5562 * benchtests/bench-strncasecmp.c: Likewise.
5563 * benchtests/bench-strncat.c: Likewise.
5564 * benchtests/bench-strncmp.c: Likewise.
5565 * benchtests/bench-strncpy.c: Likewise.
5566 * benchtests/bench-strnlen.c: Likewise.
5567 * benchtests/bench-strpbrk.c: Likewise.
5568 * benchtests/bench-strrchr.c: Likewise.
5569 * benchtests/bench-strspn.c: Likewise.
5570 * benchtests/bench-strstr.c: Likewise.
5572 2013-09-04 Will Newton <will.newton@linaro.org>
5574 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5576 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5580 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5581 * math/libm-test.inc (lgamma_test_data): Add more tests.
5582 * sysdeps/i386/fpu/libm-test-ulps: Update.
5583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5587 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5591 Add strcmp-sse2-unaligned
5592 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5594 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5596 * Versions.def (libc): Add GLIBC_2.19.
5598 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5600 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5601 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5603 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5606 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5607 intermediate calculations in recurrence.
5608 (__ieee754_ynf): Likewise.
5609 * math/libm-test.inc (jn_test_data): Do not allow spurious
5610 underflow exception. Add more tests.
5611 (yn_test_data): Add more tests.
5612 * sysdeps/i386/fpu/libm-test-ulps: Update.
5613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5615 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5621 * csu/init-first.c: Fix then/than typos.
5622 * locale/programs/ld-collate.c: Likewise.
5623 * locale/programs/linereader.h: Likewise.
5624 * manual/charset.texi: Likewise.
5625 * manual/filesys.texi: Likewise.
5626 * manual/stdio.texi: Likewise.
5627 * manual/string.texi: Likewise.
5628 * stdlib/fmtmsg.c: Likewise.
5629 * sysdeps/i386/stpncpy.S: Likewise.
5630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5631 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5635 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5637 * elf/dl-open.c: Fix typos.
5638 * iconvdata/gbbig5.c: Likewise.
5639 * iconvdata/iso-2022-jp.c: Likewise.
5640 * iconv/gconv_int.h: Likewise.
5641 * iconv/loop.c: Likewise.
5642 * nis/rpcsvc/nis.h: Likewise.
5643 * resolv/ns_name.c: Likewise.
5644 * stdio-common/vfscanf.c: Likewise.
5645 * streams/stropts.h: Likewise.
5646 * sunrpc/rpc_thread.c: Likewise.
5647 * sysdeps/i386/strpbrk.S: Likewise.
5648 * sysdeps/ieee754/k_standard.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5651 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5652 * sysdeps/mach/hurd/profil.c: Likewise.
5653 * sysdeps/s390/dl-procinfo.h: Likewise.
5654 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5656 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5657 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5660 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5662 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5665 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5678 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5679 Roland McGrath <roland@hack.frob.com>
5681 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5682 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5684 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5686 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5687 __executable_start symbol instead of _start.
5689 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5691 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5692 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5694 * sysdeps/gnu/ldsodefs.h: ... this new file.
5696 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5697 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5698 instead of ELFOSABI_LINUX.
5700 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5701 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5702 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5703 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5705 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5706 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5709 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5710 (ibm_extended_long_double): Add ieee_nan member.
5711 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5712 (do_test): New function.
5714 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5716 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5717 functions, renamed from truncdfsf_test, trunctfsf_test,
5719 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5721 (do_test): Run all these.
5723 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5725 * argp/argp-help.c: Fix typos.
5726 * argp/argp-parse.c: Likewise.
5727 * debug/backtracesyms.c: Likewise.
5728 * elf/elf.h: Likewise.
5729 * malloc/malloc.c: Likewise.
5730 * nis/nis_print.c: Likewise.
5731 * resolv/res_comp.c: Likewise.
5732 * stdlib/stdlib.h: Likewise.
5733 * sunrpc/clnt_tcp.c: Likewise.
5734 * sunrpc/clnt_udp.c: Likewise.
5735 * sunrpc/clnt_unix.c: Likewise.
5736 * sysdeps/unix/bsd/ptsname.c: Likewise.
5737 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5747 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5749 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5752 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5755 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5756 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5757 ($(objpfx)bug-dl-leaf): New rule.
5758 ($(objpfx)bug-dl-leaf.so): Likewise.
5759 ($(objpfx)bug-dl-leaf.out): Likewise.
5760 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5761 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5762 * dlfcn/bug-dl-leaf.c: New test.
5763 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5764 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5765 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5766 (dlclose): Likewise.
5767 (dlmopen): Likewise.
5769 2013-08-27 Roland McGrath <roland@hack.frob.com>
5771 * include/netdb.h [!_ISOMAC]:
5772 Don't include <tls.h>.
5773 (h_errno, __libc_h_errno): Move declaration and macros out of
5776 * include/resolv.h [_RESOLV_H_]:
5777 Don't include <tls.h>.
5778 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5779 * resolv/res_libc.c: Don't include <tls.h>.
5780 (_res): Use __attribute__ ((nocommon)) in place of
5781 __attribute__ ((section (".bss"))).
5783 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5784 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5786 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5788 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5789 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5791 * resolv/res_mkquery.c: Include <sys/time.h>.
5793 * inet/ifreq.c: Moved to ...
5794 * sysdeps/unix/ifreq.c: ... here.
5795 * inet/ifreq.c: New file, true stub version.
5797 * socket/sa_len.c: New file.
5798 * socket/Makefile (aux): Add it.
5799 * sysdeps/unix/sysv/linux/Makefile
5800 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5801 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5802 and #include <socket/sa_len.c>.
5803 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5804 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5807 * bits/socket.h: ... here.
5809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5810 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5811 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5813 2013-08-27 Andreas Schwab <schwab@suse.de>
5816 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5817 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5818 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5819 * string/test-strcasecmp.c (test_main): Run tests in several
5821 * string/test-strncasecmp.c (test_main): Likewise.
5823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5824 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5825 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5827 (__strncasecmp_ssse3) [PIC]: Likewise.
5829 2013-08-26 Roland McGrath <roland@hack.frob.com>
5831 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5833 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5834 instead of explicitly declaring xdecrypt.
5835 * nis/nss_nis/nis-publickey.c: Likewise.
5837 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5840 * nscd/aicache.c: Include res_hconf.h.
5841 (addhstaiX): Initialize res_hconf.
5843 2013-08-26 Andreas Schwab <schwab@suse.de>
5845 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5846 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5848 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5850 * nscd/aicache.c (addhstaiX): Fix indentation.
5852 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5854 * configure.ac: Quote $build_pt_chown test.
5855 * configure: Regenerated.
5857 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5860 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5861 * math/s_cexpf.c (__cexpf): Likewise.
5862 * math/s_cexpl.c (__cexpl): Likewise.
5863 * math/libm-test.inc (cexp_test_data): Correct expected return
5864 value for NaN + i0. Add another test.
5866 2013-08-22 David S. Miller <davem@davemloft.net>
5868 * po/ca.po: Update Catalan translation from translation project.
5869 * po/uk.po: Add Ukrainian translations from translation project.
5871 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5874 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5875 is infinite, not alongside NaN test.
5876 * math/s_fdimf.c (__fdimf): Likewise.
5877 * math/s_fdiml.c (__fdiml): Likewise.
5878 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5881 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5883 * argp/argp-help.c: Fix typos.
5884 * crypt/speeds.c: Likewise.
5885 * csu/check_fds.c: Likewise.
5886 * elf/dl-load.c: Likewise.
5887 * elf/dl-open.c: Likewise.
5888 * elf/reldep3.c: Likewise.
5889 * elf/reldep.c: Likewise.
5890 * elf/sprof.c: Likewise.
5891 * iconv/iconv_charmap.c: Likewise.
5892 * iconv/skeleton.c: Likewise.
5893 * iconv/strtab.c: Likewise.
5894 * io/lockf64.c: Likewise.
5895 * libio/libioP.h: Likewise.
5896 * resolv/gai_notify.c: Likewise.
5897 * resolv/ns_name.c: Likewise.
5898 * resolv/ns_samedomain.c: Likewise.
5899 * resolv/res_send.c: Likewise.
5900 * stdlib/random.c: Likewise.
5901 * sunrpc/rpc/xdr.h: Likewise.
5902 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5904 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5905 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5910 * sysdeps/mach/hurd/check_fds.c: Likewise.
5911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5917 * sysdeps/pthread/aio_notify.c: Likewise.
5918 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5919 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5922 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5924 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5926 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5927 version if bit_Slow_SSE4_2 is set.
5928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5931 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5935 trampoline stack frame information.
5936 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5938 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5939 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5940 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5941 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5942 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5943 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5945 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5946 interrupting a syscall and set with option SA_SIGINFO.
5948 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5951 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5952 argument is infinite.
5953 * math/s_cprojf.c (__cprojf): Likewise.
5954 * math/s_cprojl.c (__cprojl): Likewise.
5955 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5956 * math/libm-test.inc (cproj_test_data): Add more tests.
5958 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5961 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5962 size. Use __ffs to determine corresponding shift.
5964 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5965 Roland McGrath <roland@hack.frob.com>
5967 * Makefile (INSTALL): Remove trailing blank lines from output of
5970 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5972 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5973 Align 32 bit compat elf_greg to 8 bytes.
5975 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5977 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5979 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5981 * string/strcoll_l.c (coll_seq): New structure.
5982 (get_next_seq_cached): New function.
5983 (get_next_seq): New function.
5984 (do_compare): New function.
5985 (STRCOLL): Use GNU style definition. Simplify implementation
5986 by using get_next_seq, get_next_seq_cached and do_compare.
5988 2013-08-16 Florian Weimer <fweimer@redhat.com>
5992 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5994 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5996 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5997 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5998 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6001 GETDENTS_64BIT_ALIGNED.
6002 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6003 * manual/filesys.texi (Reading/Closing Directory): Document
6004 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6006 * manual/conf.texi (Limits for Files): Add portability note to
6008 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6010 2013-08-13 Andreas Schwab <schwab@suse.de>
6013 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6015 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6016 LDBL_MAX_EXP >= 16384]: Add tests for it.
6018 2013-08-12 David S. Miller <davem@davemloft.net>
6020 * version.h (RELEASE): Set to "development".
6021 (VERSION): Set to "2.18.90".
6022 * NEWS: Add 2.19 section.
6024 2013-08-03 David S. Miller <davem@davemloft.net>
6026 * po/ko.po: Update Korean translation from translation project.
6028 2013-08-01 David S. Miller <davem@davemloft.net>
6030 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6031 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6034 2013-07-30 David S. Miller <davem@davemloft.net>
6036 * po/fr.po: Update French translation from translation project.
6038 2013-07-28 David S. Miller <davem@davemloft.net>
6040 * po/cs.po: Update Czech translation from translation project.
6042 * po/sv.po: Update Swedish translation from translation project.
6044 2013-07-27 David S. Miller <davem@davemloft.net>
6046 * po/eo.po: Update Esperanto translation from translation project.
6048 * po/vi.po: Update Vietnamese translation from translation project.
6050 * po/de.po: Update German translation from translation project.
6052 2013-07-26 David S. Miller <davem@davemloft.net>
6054 * po/bg.po: Update Bulgarian translation from translation project.
6056 * po/nl.po: Update Dutch translation from translation project.
6057 * po/pl.po: Update Polish translation from translation project.
6058 * po/ru.po: Update Russian translation from translation project.
6060 2013-07-24 David S. Miller <davem@davemloft.net>
6062 * po/libc.pot: Update.
6064 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6068 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6070 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6072 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6074 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6076 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6077 Andreas Schwab <schwab@suse.de>
6078 Roland McGrath <roland@hack.frob.com>
6079 Joseph Myers <joseph@codesourcery.com>
6080 Carlos O'Donell <carlos@redhat.com>
6083 * config.h.in: Define HAVE_PT_CHOWN.
6084 * config.make.in (build-pt-chown): New variable.
6085 * configure.in (--enable-pt_chown): New configure option.
6086 * configure: Regenerate.
6087 * login/Makefile: Include Makeconfig. Build pt_chown only if
6088 build-pt-chown is enabled.
6089 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6090 pt_chown to fix pty ownership.
6091 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6093 * manual/install.texi (Configuring and compiling): Mention
6094 --enable-pt_chown. Add @findex for grantpt.
6095 * INSTALL: Regenerate.
6097 2013-07-20 David S. Miller <davem@davemloft.net>
6099 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6100 difference between 32-bit and 64-bit.
6102 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6105 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6106 Avoid system header dependency with -ffreestanding.
6107 ($(objpfx)bits/syscall%d): Likewise.
6109 2013-07-13 David S. Miller <davem@davemloft.net>
6111 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6112 underflows from atanl/atan2l due to bug 15319.
6113 (casinh_test_data): Likewise.
6115 2013-07-07 David S. Miller <davem@davemloft.net>
6117 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6119 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6121 * sysdeps/i386/fpu/libm-test-ulps: Update.
6122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6126 * configure.in (--enable-lock-elision): Fix message text.
6127 * INSTALL: Regenerate.
6128 * configure: Regenerate.
6130 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6134 2013-07-03 Andreas Jaeger <aj@suse.de>
6136 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6138 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6139 (ptrace_peeksiginfo_args): Add.
6140 (__ptrace_peeksiginfo_flags): Add.
6141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6145 2013-07-03 Allan McRae <allan@archlinux.org>
6147 * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 2013-07-02 David S. Miller <davem@davemloft.net>
6151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6153 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6157 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6159 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6162 2013-07-02 Andi Kleen <ak@linux.intel.com>
6164 * config.h.in (ENABLE_LOCK_ELISION): Add.
6165 * configure.in (--enable-lock-elision): Add option.
6166 * manual/install.texi: Document --enable lock elision.
6167 * configure: Regenerate
6168 * INSTALL: Regenerate.
6170 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6172 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6173 SSE4.2 strcasecmp for libc.a.
6174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6176 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6179 * soft-fp/op-common.h (_FP_FMA): New macro.
6180 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6181 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6182 (_FP_MUL_MEAT_1_imm): ... here.
6183 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6184 (_FP_MUL_MEAT_1_wide): ... here.
6185 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6186 (_FP_MUL_MEAT_1_hard): ... here.
6187 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6188 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6189 (_FP_MUL_MEAT_2_wide): ... here.
6190 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6191 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6192 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6193 (_FP_MUL_MEAT_2_gmp): ... here.
6194 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6195 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6196 (_FP_MUL_MEAT_4_wide): ... here.
6197 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6198 (_FP_MUL_MEAT_4_gmp): ... here.
6199 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6200 (_FP_WFRACBITS_DW_S): Likewise.
6201 (_FP_WFRACXBITS_DW_S): Likewise.
6202 (_FP_HIGHBIT_DW_S): Likewise.
6203 (FP_FMA_S): Likewise.
6204 (_FP_FRAC_HIGH_DW_S): Likewise.
6205 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6206 (_FP_WFRACBITS_DW_D): Likewise.
6207 (_FP_WFRACXBITS_DW_D): Likewise.
6208 (_FP_HIGHBIT_DW_D): Likewise.
6209 (FP_FMA_D): Likewise.
6210 (_FP_FRAC_HIGH_DW_D): Likewise.
6211 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6212 (_FP_WFRACBITS_DW_E): Likewise.
6213 (_FP_WFRACXBITS_DW_E): Likewise.
6214 (_FP_HIGHBIT_DW_E): Likewise.
6215 (FP_FMA_E): Likewise.
6216 (_FP_FRAC_HIGH_DW_E): Likewise.
6217 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6218 (_FP_WFRACBITS_DW_Q): Likewise.
6219 (_FP_WFRACXBITS_DW_Q): Likewise.
6220 (_FP_HIGHBIT_DW_Q): Likewise.
6221 (FP_FMA_Q): Likewise.
6222 (_FP_FRAC_HIGH_DW_Q): Likewise.
6223 * soft-fp/fmasf4.c: New file.
6224 * soft-fp/fmadf4.c: Likewise.
6225 * soft-fp/fmatf4.c: Likewise.
6227 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6230 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6234 (index_Slow_SSE4_2): Likewise.
6235 (index_Prefer_PMINUB_for_stringop): Likewise.
6236 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6237 bit_Slow_SSE4_2 is set.
6238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6241 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6243 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6244 rtld_global._dl_hwcap2.
6245 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6248 POWER8 feature descriptions defined in _dl_hwcap2.
6249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6250 string handling for POWER8 feature bits.
6251 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6252 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6253 _dl_powerpc_cap_flags.
6254 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6255 * sysdeps/powerpc/rtld-global-offsets.sym
6256 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6257 _dl_hwcap2 in the rtld_global_ro structure.
6259 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6261 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6262 hardware capabilities in support of AT_HWCAP2.
6263 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6264 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6266 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6267 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6268 explicitly the unknown a_type display mechanism is used.
6269 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6270 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6272 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6273 to macro prototype for AT_HWCAP2 support.
6274 * sysdeps/i386/dl-procinfo.h: Likewise.
6275 * sysdeps/s390/dl-procinfo.h: Likewise.
6276 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6277 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6278 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6279 return -1 for unknown a_type display fallback.
6280 * sysdeps/sparc/dl-procinfo.h: Likewise.
6281 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6282 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6284 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6286 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6287 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6289 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6292 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6293 mprotect making __stack_prot writable.
6295 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6296 Joseph Myers <joseph@codesourcery.com>
6298 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6299 as being properly aligned.
6301 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6303 * dlfcn/modstatic5.c: New file.
6304 * dlfcn/tststatic5.c: New file.
6305 * dlfcn/Makefile (tests): Add tststatic5.
6306 (tests-static): Likewise.
6307 (modules-names): Add modstatic5.
6308 (tststatic5-ENV): New variable.
6309 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6312 * elf/dl-support.c (_dl_main_map): New variable.
6313 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6314 (_dl_nns, _dl_load_adds): Set to 1.
6315 (_dl_initial_searchlist): Refer to _dl_main_map.
6316 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6317 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6318 call to _dl_get_origin.
6319 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6321 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6322 * dlfcn/modstatic3.c: New file.
6323 * dlfcn/tststatic3.c: New file.
6324 * dlfcn/tststatic4.c: New file.
6325 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6326 (tests-static): Likewise.
6327 (modules-names): Add modstatic3.
6328 (tststatic3-ENV, tststatic4-ENV): New variables.
6329 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6330 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6332 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6334 * configure.in (CC): Require GCC version 4.4 or later.
6335 * configure: Regenerated.
6336 * manual/install.texi (Tools for Compilation): Update GCC version
6338 * INSTALL: Regenerated.
6340 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6343 * string/test-memcmp.c (check2): New.
6344 (main): Call check2.
6346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6348 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6351 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6353 (dl_open_worker) [!SHARED]: ... here.
6355 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6357 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6359 2013-06-25 Richard Henderson <rth@redhat.com>
6361 * locale/programs/locarchive.c: Include <libc-internal.h>
6363 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6365 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6366 trailing whitespace removed.
6368 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6371 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6372 * locale/programs/locarchive.c: Include libc-mmap.h.
6373 (prepare_address_space): Take two new outputs (the mmap base and len).
6374 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6376 (create_archive): Declare new mmap base and len values for
6377 prepare_address_space, and store the result in ah.
6378 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6379 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6380 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6381 Declare new mmap base and len values for
6382 prepare_address_space, and store the result in new_ah.
6383 (open_archive): Declare new mmap base and len values for
6384 prepare_address_space, and store the result in ah.
6385 (close_archive): If ah->mmap_base is not NULL, use that and
6386 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6387 * sysdeps/generic/libc-mmap.h: New file.
6389 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6391 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6392 (ALIGN_UP): Likewise.
6393 (PTR_ALIGN_DOWN): Likewise.
6394 (PTR_ALIGN_UP): Likewise.
6396 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6399 entry mapped to PPC_PLATFORM_POWER8.
6400 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6402 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6403 (_dl_string_platform): Add case for exporting platform position for
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6406 search path to sysdeps/powerpc/powerpc32/power8 directory.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6408 search path to sysdeps/powerpc/powerpc64/power8 directory.
6409 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6411 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6414 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6416 * INSTALL: Regenerate.
6418 * nscd/connections.c (nscd_init): Fix comment.
6420 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6422 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6425 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6426 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6428 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6430 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6432 (DL_DST_REQ_STATIC): Remove macro.
6434 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6437 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6438 with a shift of 0 bits.
6440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6442 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6445 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6448 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6450 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6453 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6454 accepts -fno-tree-loop-distribute-patterns.
6455 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6456 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6458 * string/memset.c (memset): Likewise.
6459 * string/test-memmove.c (simple_memmove): Disable loop transformation
6461 * string/test-memset.c (simple_memset): Likewise.
6462 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6463 * benchtests/bench-memset.c (simple_memset): Likewise.
6464 * configure: Regenerated.
6466 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6468 * math/test-misc.c (main): Ignore fesetround failure when failures
6469 of subsequent rounding tests would be ignored.
6472 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6473 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6474 * math/fegetenv.c (__fegetenv): Return 0.
6475 * math/fegetexcept.c (fegetexcept): Return 0.
6476 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6478 * math/feholdexcpt.c (feholdexcept): Return 0.
6479 * math/fesetenv.c (__fesetenv): Return 0.
6480 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6481 argument FE_TONEAREST.
6482 * math/feupdateenv.c (__feupdateenv): Return 0.
6483 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6485 2013-06-18 Roland McGrath <roland@hack.frob.com>
6487 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6488 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6489 ($(objpfx)rtld-%.os rules): Use them.
6491 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6496 2013-06-17 Roland McGrath <roland@hack.frob.com>
6498 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6499 length of target pattern, then descending length of dependency pattern.
6500 * configure.in (AWK): Require gawk 3.1.2 or newer.
6501 * manual/install.texi (Tools for Compilation): Say that we do.
6502 * configure: Regenerated.
6504 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6505 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6506 * scripts/sysd-rules.awk: ... this new script.
6507 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6508 than a glob-style pattern.
6510 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6512 * math/test-misc.c (main): Do not treat incorrectly rounded
6513 conversions as failure unless ROUNDING_TESTS passes.
6515 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6518 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6519 restore exception state around main square root computation, then
6520 check for inexactness explicitly.
6522 * math/libm-test.inc (fma_test_data): Add another test.
6524 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6526 * manual/threads.texi (Non-POSIX Extensions): New document
6527 node. Document pthread_getattr_default_np and
6528 pthread_setattr_default_np.
6530 * Versions.def (libpthread): Add GLIBC_2.18.
6531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6551 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6554 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6556 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6557 H.J. Lu <hjl.tools@gmail.com>
6560 * sysdeps/x86_64/rtld-memset.c: Remove file.
6561 * sysdeps/x86_64/rtld-memset.S: New file.
6563 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6565 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6566 (test_in_one_mode): Take arguments for whether the rounding mode
6567 is supported for each floating-point type.
6568 (do_test): Pass new arguments to test_in_one_mode using
6571 2013-06-13 Roland McGrath <roland@hack.frob.com>
6573 * posix/tst-waitid.c (do_test): Distinguish different instances of
6574 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6575 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6576 before entering the kernel for waitpid.
6578 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6580 * NEWS: Fix note on clock function precision. Text by Roland
6583 2013-06-13 Roland McGrath <roland@hack.frob.com>
6585 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6586 it into place only when and if the sanity check passes.
6588 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6590 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6591 output for whether conversion result is exact. Take argument
6592 indicating whether type is IBM long double.
6593 (round_for_all): Change need_exact field to ibm_ld.
6594 * stdlib/tst-strtod-round.c (struct exactness): New type.
6595 (struct test): Change bool ld_ok field to struct exactness exact.
6596 (TEST): Update all definitions for change to field.
6597 (tests): Regenerate array contents.
6598 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6599 field value. Check for IBM long double here.
6600 (do_test): Update calls to test_in_one_mode.
6602 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6605 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6606 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6608 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6612 generated by the compiler on loop optimizations.
6613 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6614 general definitions.
6616 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6618 * math/bug-nextafter.c: Include <math-tests.h>.
6619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6621 * math/bug-nexttoward.c: Include <math-tests.h>.
6622 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6624 * math/test-misc.c: Include <math-tests.h>.
6625 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6628 2013-06-12 Andreas Jaeger <aj@suse.de>
6630 * po/ia.po: Update Interlingua translation from translation
6633 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6635 * include/fenv.h: Include stdbool.h.
6636 (struct rm_ctx): New structure.
6637 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6639 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6640 (SET_RESTORE_ROUNDF): Likewise.
6641 (SET_RESTORE_ROUNDL): Likewise.
6642 (SET_RESTORE_ROUND_NOEX): Likewise.
6643 (SET_RESTORE_ROUND_NOEXF): Likewise.
6644 (SET_RESTORE_ROUND_NOEXL): Likewise.
6645 (SET_RESTORE_ROUND_53BIT): Likewise.
6646 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6647 (libc_feresetround_noexf_ctx): Likewise.
6648 (libc_feresetround_noexl_ctx): Likewise.
6649 (libc_feholdsetround_53bit_ctx): Likewise.
6650 (libc_feresetround_53bit_ctx): Likewise.
6651 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6652 (libc_feholdexcept_setround_sse_ctx): New function.
6653 (libc_fesetenv_sse_ctx): Likewise.
6654 (libc_feupdateenv_sse_ctx): Likewise.
6655 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6656 (libc_feholdexcept_setround_387_ctx): Likewise.
6657 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6658 (libc_feholdsetround_387_prec_ctx): Likewise.
6659 (libc_feholdsetround_387_ctx): Likewise.
6660 (libc_feholdsetround_387_53bit_ctx): Likewise.
6661 (libc_feholdsetround_sse_ctx): Likewise.
6662 (libc_feresetround_sse_ctx): Likewise.
6663 (libc_feresetround_387_ctx): Likewise.
6664 (libc_feupdateenv_387_ctx): Likewise.
6665 (libc_feholdexcept_setroundf_ctx): Define macro.
6666 (libc_fesetenvf_ctx): Likewise.
6667 (libc_feupdateenvf_ctx): Likewise.
6668 (libc_feholdsetroundf_ctx): Likewise.
6669 (libc_feresetroundf_ctx): Likewise.
6670 (libc_feholdexcept_setround_ctx): Likewise.
6671 (libc_fesetenv_ctx): Likewise.
6672 (libc_feupdateenv_ctx): Likewise.
6673 (libc_feholdsetround_ctx): Likewise.
6674 (libc_feresetround_ctx): Likewise.
6675 (libc_feholdexcept_setroundl_ctx): Likewise.
6676 (libc_feupdateenvl_ctx): Likewise.
6677 (libc_feholdsetroundl_ctx): Likewise.
6678 (libc_feresetroundl_ctx): Likewise.
6679 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6680 (libc_feresetround_53bit_ctx): Likewise.
6682 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6684 * locale/iso-639.def: Convert to UTF-8.
6686 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6688 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6689 (EXCEPTION_TESTS_double): Likewise.
6690 (EXCEPTION_TESTS_long_double): Likewise.
6691 (EXCEPTION_TESTS): Likewise.
6692 * math/libm-test.inc (test_exceptions): Only test exceptions if
6693 EXCEPTION_TESTS (FLOAT).
6695 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6697 * benchtests/Makefile (string-bench): Add strcpy_chk and
6699 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6700 * benchtests/bench-stpcpy_chk.c: New file.
6701 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6702 * benchtests/bench-strcpy_chk.c: New file.
6703 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6705 (do_test): Likewise.
6707 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6710 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6711 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6712 with tabs where appropriate.
6713 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6715 [PPC_PLATFORM_PPC440]: Likewise.
6716 [PPC_PLATFORM_PPC464]: Likewise.
6717 [PPC_PLATFORM_PPC476]: Likewise.
6718 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6719 ppc464, and ppc476 platform strings merging from ports/
6722 2013-06-11 Andreas Schwab <schwab@suse.de>
6725 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6726 (from_ucs4_idx): Regenerate.
6727 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6728 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6729 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6730 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6731 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6732 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6733 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6734 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6735 from FROM_LOOP and TO_LOOP specific macros.
6736 (BODY): Handle combining characters.
6737 * iconvdata/BIG5HKSCS.irreversible: Update.
6738 * iconvdata/BIG5HKSCS.precomposed: New file.
6739 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6741 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6743 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6745 * include/sys/time.h: Fix indentation and add copyright header.
6747 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6748 (do_test): Likewise.
6749 * string/test-memchr.c (do_one_test): Likewise.
6750 (do_test): Likewise.
6751 * string/test-memcmp.c (do_one_test): Likewise.
6752 (do_test): Likewise.
6753 * string/test-memcpy.c (do_one_test): Likewise.
6754 (do_test): Likewise.
6755 * string/test-memmem.c (do_one_test): Likewise.
6756 (do_test): Likewise.
6757 (do_random_tests): Likewise.
6758 * string/test-memmove.c (do_one_test): Likewise.
6759 (do_test): Likewise.
6760 * string/test-memset.c (do_one_test): Likewise.
6761 (do_test): Likewise.
6762 * string/test-rawmemchr.c (do_one_test): Likewise.
6763 (do_test): Likewise.
6764 * string/test-strcasecmp.c (do_one_test): Likewise.
6765 (do_test): Likewise.
6766 * string/test-strcasestr.c (do_one_test): Likewise.
6767 (do_test): Likewise.
6768 * string/test-strcat.c (do_one_test): Likewise.
6769 (do_test): Likewise.
6770 * string/test-strchr.c (do_one_test): Likewise.
6771 (do_test): Likewise.
6772 * string/test-strcmp.c (do_one_test): Likewise.
6773 (do_test): Likewise.
6774 * string/test-strcpy.c (do_one_test): Likewise.
6775 (do_test): Likewise.
6776 * string/test-string.h: Likewise.
6777 (test_init): Likewise.
6778 * string/test-strlen.c (do_one_test): Likewise.
6779 (do_test): Likewise.
6780 * string/test-strncasecmp.c (do_one_test): Likewise.
6781 (do_test): Likewise.
6782 * string/test-strncat.c (do_one_test): Likewise.
6783 (do_test): Likewise.
6784 * string/test-strncmp.c (do_one_test): Likewise.
6785 (do_test_limit): Likewise.
6786 (do_test): Likewise.
6787 * string/test-strncpy.c (do_one_test): Likewise.
6788 (do_test): Likewise.
6789 * string/test-strnlen.c (do_one_test): Likewise.
6790 (do_test): Likewise.
6791 * string/test-strpbrk.c (do_one_test): Likewise.
6792 (do_test): Likewise.
6793 * string/test-strrchr.c (do_one_test): Likewise.
6794 (do_test): Likewise.
6795 * string/test-strspn.c (do_one_test): Likewise.
6796 (do_test): Likewise.
6797 * string/test-strstr.c (do_one_test): Likewise.
6798 (do_test): Likewise.
6800 * benchtests/Makefile (string-bench): Add string benchmarks.
6801 * benchtests/bench-bcopy-ifunc.c: New file.
6802 * benchtests/bench-bcopy.c: New file.
6803 * benchtests/bench-bzero-ifunc.c: New file.
6804 * benchtests/bench-bzero.c: New file.
6805 * benchtests/bench-memccpy-ifunc.c: New file.
6806 * benchtests/bench-memccpy.c: New file.
6807 * benchtests/bench-memchr-ifunc.c: New file.
6808 * benchtests/bench-memchr.c: New file.
6809 * benchtests/bench-memcmp-ifunc.c: New file.
6810 * benchtests/bench-memcmp.c: New file.
6811 * benchtests/bench-memmem-ifunc.c: New file.
6812 * benchtests/bench-memmem.c: New file.
6813 * benchtests/bench-memmove-ifunc.c: New file.
6814 * benchtests/bench-memmove.c: New file.
6815 * benchtests/bench-mempcpy-ifunc.c: New file.
6816 * benchtests/bench-mempcpy.c: New file.
6817 * benchtests/bench-memset-ifunc.c: New file.
6818 * benchtests/bench-memset.c: New file.
6819 * benchtests/bench-rawmemchr-ifunc.c: New file.
6820 * benchtests/bench-rawmemchr.c: New file.
6821 * benchtests/bench-stpcpy-ifunc.c: New file.
6822 * benchtests/bench-stpcpy.c: New file.
6823 * benchtests/bench-stpncpy-ifunc.c: New file.
6824 * benchtests/bench-stpncpy.c: New file.
6825 * benchtests/bench-strcasecmp-ifunc.c: New file.
6826 * benchtests/bench-strcasecmp.c: New file.
6827 * benchtests/bench-strcasestr-ifunc.c: New file.
6828 * benchtests/bench-strcasestr.c: New file.
6829 * benchtests/bench-strcat-ifunc.c: New file.
6830 * benchtests/bench-strcat.c: New file.
6831 * benchtests/bench-strchr-ifunc.c: New file.
6832 * benchtests/bench-strchr.c: New file.
6833 * benchtests/bench-strchrnul-ifunc.c: New file.
6834 * benchtests/bench-strchrnul.c: New file.
6835 * benchtests/bench-strcmp-ifunc.c: New file.
6836 * benchtests/bench-strcmp.c: New file.
6837 * benchtests/bench-strcpy-ifunc.c: New file.
6838 * benchtests/bench-strcpy.c: New file.
6839 * benchtests/bench-strcspn-ifunc.c: New file.
6840 * benchtests/bench-strcspn.c: New file.
6841 * benchtests/bench-strlen-ifunc.c: New file.
6842 * benchtests/bench-strlen.c: New file.
6843 * benchtests/bench-strncasecmp-ifunc.c: New file.
6844 * benchtests/bench-strncasecmp.c: New file.
6845 * benchtests/bench-strncat-ifunc.c: New file.
6846 * benchtests/bench-strncat.c: New file.
6847 * benchtests/bench-strncmp-ifunc.c: New file.
6848 * benchtests/bench-strncmp.c: New file.
6849 * benchtests/bench-strncpy-ifunc.c: New file.
6850 * benchtests/bench-strncpy.c: New file.
6851 * benchtests/bench-strnlen-ifunc.c: New file.
6852 * benchtests/bench-strnlen.c: New file.
6853 * benchtests/bench-strpbrk-ifunc.c: New file.
6854 * benchtests/bench-strpbrk.c: New file.
6855 * benchtests/bench-strrchr-ifunc.c: New file.
6856 * benchtests/bench-strrchr.c: New file.
6857 * benchtests/bench-strspn-ifunc.c: New file.
6858 * benchtests/bench-strspn.c: New file.
6859 * benchtests/bench-strstr-ifunc.c: New file.
6860 * benchtests/bench-strstr.c: New file.
6862 * benchtests/Makefile: Disable parallel execution of targets.
6863 (string-bench): Add memcpy.
6864 (benchset): New variable to store a list of benchmark sets.
6865 (bench-func): Renamed from bench.
6866 (bench-set): New target.
6867 (bench): Depend on bench-func and bench-set.
6868 * benchtests/README: Add section on benchmark sets.
6869 * benchtests/bench-memcpy-ifunc.c: New file.
6870 * benchtests/bench-memcpy.c: New file.
6871 * benchtests/bench-string.h: New file.
6873 2013-06-11 Andreas Schwab <schwab@suse.de>
6876 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6877 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6878 values in the triple.
6879 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6880 terminator in the group key.
6882 2013-06-11 Andreas Jaeger <aj@suse.de>
6884 * po/zh_TW.po: Update Chinese (traditional) translation from
6885 translation project.
6887 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6889 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6890 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6891 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6893 (clock_getcpuclockid): Likewise.
6894 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6895 Add weak_alias and libc_hidden_def.
6896 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6897 * rt/clock_gettime.c (clock_gettime): Rename to
6898 __clock_gettime. Add weak_alias and libc_hidden_def.
6899 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6900 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6901 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6902 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6903 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6905 * rt/clock_settime.c (clock_settime): Rename to
6906 __clock_settime. Add weak_alias and libc_hidden_def.
6907 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6909 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6911 * mach/err_boot.sub: Remove trailing whitespace.
6912 * mach/err_ipc.sub: Likewise.
6913 * mach/err_mach.sub: Likewise.
6915 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6916 (ROUNDING_TESTS_double): Likewise.
6917 (ROUNDING_TESTS_long_double): Likewise.
6918 (ROUNDING_TESTS): Likewise.
6919 * math/libm-test.inc: Include <math-tests.h>.
6920 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6921 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6922 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6923 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6925 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6927 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6930 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6932 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6933 otherwise empty TRANS lines.
6934 * sysdeps/gnu/errlist.c: Regenerated.
6936 * catgets/gencat.c (error_print): Use (void) in function
6938 * crypt/crypt_util.c (__init_des): Likewise.
6939 * crypt/speeds.c (Stop): Likewise.
6941 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6942 * inet/ruserpass.c (token): Likewise.
6943 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6944 * intl/localealias.c (extend_alias_table): Likewise.
6945 * intl/plural-exp.c (init_germanic_plural): Likewise.
6946 * libio/fcloseall.c (__fcloseall): Likewise.
6947 * libio/genops.c (_IO_flush_all): Likewise.
6948 (_IO_flush_all_linebuffered): Likewise.
6949 (_IO_cleanup): Likewise.
6950 (_IO_iter_begin): Likewise.
6951 (_IO_iter_end): Likewise.
6952 (_IO_list_lock): Likewise.
6953 (_IO_list_unlock): Likewise.
6954 (_IO_list_resetlock): Likewise.
6955 * libio/getchar.c (getchar): Likewise.
6956 * libio/getchar_u.c (getchar_unlocked): Likewise.
6957 * libio/getwchar.c (getwchar): Likewise.
6958 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6959 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6960 * login/getpt.c (__getpt): Likewise.
6961 * login/tst-utmp.c (main): Likewise.
6962 * malloc/hooks.c (__malloc_check_init): Likewise.
6963 * malloc/malloc.c (__malloc_stats): Likewise.
6964 * malloc/mtrace.c (tr_break): Likewise.
6966 (muntrace): Likewise.
6967 * misc/fstab.c (endfsent): Likewise.
6968 * misc/getclktck.c (__getclktck): Likewise.
6969 * misc/getdtsz.c (__getdtablesize): Likewise.
6970 * misc/gethostid.c (gethostid): Likewise.
6971 * misc/getpagesize.c (__getpagesize): Likewise.
6972 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6973 (__get_nprocs): Likewise.
6974 (__get_phys_pages): Likewise.
6975 (__get_avphys_pages): Likewise.
6976 * misc/getttyent.c (getttyent): Likewise.
6977 (setttyent): Likewise.
6978 (endttyent): Likewise.
6979 * misc/getusershell.c (getusershell): Likewise.
6980 (endusershell): Likewise.
6981 (setusershell): Likewise.
6982 (initshells): Likewise.
6983 * misc/hsearch.c (__hdestroy): Likewise.
6984 * misc/sync.c (sync): Likewise.
6985 * misc/syslog.c (closelog_internal): Likewise.
6986 (closelog): Likewise.
6987 * misc/ttyslot.c (ttyslot): Likewise.
6988 * misc/vhangup.c (vhangup): Likewise.
6989 * posix/fork.c (__fork): Likewise.
6990 * posix/getegid.c (__getegid): Likewise.
6991 * posix/geteuid.c (__geteuid): Likewise.
6992 * posix/getgid.c (__getgid): Likewise.
6993 * posix/getpid.c (__getpid): Likewise.
6994 * posix/getppid.c (__getppid): Likewise.
6995 * posix/getuid.c (__getuid): Likewise.
6996 * posix/pause.c (pause): Likewise.
6997 * posix/setpgrp.c (setpgrp): Likewise.
6998 * posix/setsid.c (__setsid): Likewise.
6999 * posix/test-vfork.c (noop): Likewise.
7000 * resolv/gethnamaddr.c (_endhtent): Likewise.
7001 (_gethtent): Likewise.
7002 (ht_endhostent): Likewise.
7003 (gethostent): Likewise.
7004 (dns_service): Likewise.
7005 * stdlib/drand48.c (drand48): Likewise.
7006 * stdlib/lrand48.c (lrand48): Likewise.
7007 * stdlib/mrand48.c (mrand48): Likewise.
7008 * stdlib/rand.c (rand): Likewise.
7009 * stdlib/random.c (__random): Likewise.
7010 * stdlib/setenv.c (clearenv): Likewise.
7011 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7012 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7013 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7014 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7015 (__get_nprocs): Likewise.
7016 (__get_phys_pages): Likewise.
7017 (__get_avphys_pages): Likewise.
7018 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7019 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7020 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7021 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7022 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7023 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7024 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7025 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7026 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7027 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7028 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7029 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7030 * sysdeps/posix/clock.c (clock): Likewise.
7031 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7032 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7033 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7034 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7035 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7037 (__get_nprocs_conf): Likewise.
7038 (__get_phys_pages): Likewise.
7039 (__get_avphys_pages): Likewise.
7040 * time/clock.c (clock): Likewise.
7041 * time/tzset.c (__tzname_max): Likewise.
7043 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7045 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7046 (__bswap_32): Do not use "register".
7047 * crypt/crypt.c (_ufc_doit_r): Likewise.
7048 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7049 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7050 * gmon/gmon.c (__monstartup): Likewise.
7051 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7052 * hurd/hurdmalloc.c (more_memory): Likewise.
7055 (realloc): Likewise.
7056 (malloc_fork_prepare): Likewise.
7057 (malloc_fork_parent): Likewise.
7058 (malloc_fork_child): Likewise.
7059 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7060 (_svcauth_des): Likewise.
7061 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7062 * inet/inet_net.c (inet_network): Likewise.
7063 * inet/inet_netof.c (inet_netof): Likewise.
7064 * inet/rcmd.c (__validuser2_sa): Likewise.
7065 * io/fts.c (fts_open): Likewise.
7066 (fts_load): Likewise.
7067 (fts_close): Likewise.
7068 (fts_read): Likewise.
7069 (fts_children): Likewise.
7070 (fts_build): Likewise.
7071 (fts_stat): Likewise.
7072 (fts_sort): Likewise.
7073 (fts_alloc): Likewise.
7074 (fts_lfree): Likewise.
7075 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7076 (_IO_file_xsgetn): Likewise.
7077 (_IO_file_xsgetn_mmap): Likewise.
7078 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7079 (_IO_cookie_write): Likewise.
7080 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7081 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7082 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7083 * malloc/obstack.c (_obstack_begin): Likewise.
7084 (_obstack_begin_1): Likewise.
7085 (_obstack_newchunk): Likewise.
7086 (_obstack_allocated_p): Likewise.
7087 (obstack_free): Likewise.
7088 (_obstack_memory_used): Likewise.
7089 * misc/getttyent.c (getttynam): Likewise.
7090 (getttyent): Likewise.
7093 * misc/getusershell.c (initshells): Likewise.
7094 * misc/syslog.c (__vsyslog_chk): Likewise.
7095 * misc/ttyslot.c (ttyslot): Likewise.
7096 * nis/nis_hash.c (__nis_hash): Likewise.
7097 * posix/fnmatch_loop.c (FCT): Likewise.
7098 * posix/getconf.c (print_all): Likewise.
7100 * posix/getopt.c (exchange): Likewise.
7101 * posix/glob.c (globfree): Likewise.
7102 (prefix_array): Likewise.
7103 (__glob_pattern_type): Likewise.
7104 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7105 (NS_GET32): Likewise.
7106 (NS_PUT16): Likewise.
7107 (NS_PUT32): Likewise.
7108 * resolv/gethnamaddr.c (getanswer): Likewise.
7109 (gethostbyname2): Likewise.
7110 (gethostbyaddr): Likewise.
7111 (_gethtent): Likewise.
7112 (_gethtbyname2): Likewise.
7113 (_gethtbyaddr): Likewise.
7114 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7115 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7116 * resolv/res_init.c (__res_vinit): Likewise.
7117 (net_mask): Likewise.
7118 * resolv/res_mkquery.c (outchar): Likewise.
7120 * stdio-common/printf_fp.c (outchar): Likewise.
7122 * stdio-common/printf_fphex.c (outchar): Likewise.
7124 * stdio-common/printf_size.c (outchar): Likewise.
7126 * stdio-common/test_rdwr.c (main): Likewise.
7127 * stdio-common/tfformat.c (matches): Likewise.
7128 * stdio-common/vfprintf.c (outchar): Likewise.
7129 (printf_unknown): Likewise.
7130 (buffered_vfprintf): Likewise.
7131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7132 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7133 (ReadFile): Likewise.
7134 * stdlib/qsort.c (SWAP): Likewise.
7135 (_quicksort): Likewise.
7136 * stdlib/setenv.c (__add_to_environ): Likewise.
7137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7138 * stdlib/strtol_l.c (__strtol_l): Likewise.
7139 * stdlib/tst-strtod.c (main): Likewise.
7140 * stdlib/tst-strtol.c (main): Likewise.
7141 * stdlib/tst-strtoll.c (main): Likewise.
7142 * string/bits/string2.h (__strcmp_cc): Likewise.
7143 (__strcmp_cg): Likewise.
7144 (__strcspn_c1): Likewise.
7145 (__strcspn_c2): Likewise.
7146 (__strcspn_c3): Likewise.
7147 (__strspn_c1): Likewise.
7148 (__strspn_c2): Likewise.
7149 (__strspn_c3): Likewise.
7150 (__strsep_1c): Likewise.
7151 (__strsep_2c): Likewise.
7152 (__strsep_3c): Likewise.
7153 * string/memccpy.c (__memccpy): Likewise.
7154 * string/stpcpy.c (__stpcpy): Likewise.
7155 * string/strcmp.c (strcmp): Likewise.
7156 * string/strrchr.c (strrchr): Likewise.
7157 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7159 * sysdeps/mach/hurd/getcwd.c
7160 (_hurd_canonicalize_directory_name_internal): Likewise.
7161 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7162 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7164 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7165 Likewise, in both definitions.
7166 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7168 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7169 64] (__bswap_64): Likewise.
7170 * time/test_time.c (main): Likewise.
7171 * time/tzfile.c (__tzfile_read): Likewise.
7172 (__tzfile_compute): Likewise.
7173 * time/tzset.c (__tzset_parse_tz): Likewise.
7174 (tzset_internal): Likewise.
7175 (compute_change): Likewise.
7176 * wcsmbs/wcscat.c (__wcscat): Likewise.
7177 * wcsmbs/wcschr.c (wcschr): Likewise.
7178 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7179 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7180 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7181 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7182 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7183 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7184 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7185 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7186 * wcsmbs/wmemset.c (wmemset): Likewise.
7188 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7190 * scripts/config.guess: Update to version 2013-05-16.
7191 * scripts/config.sub: Update to version 2013-04-24.
7192 * scripts/install-sh: Update to version 2011-11-20.07.
7193 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7194 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7196 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7198 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7199 * elf/sln.c: Likewise.
7200 * hurd/hurd/ioctl.h: Likewise.
7201 * hurd/hurdmalloc.c: Likewise.
7202 * hurd/xattr.c: Likewise.
7203 * include/shlib-compat.h: Likewise.
7204 * inet/ruserpass.c: Likewise.
7205 * libio/iofgets_u.c: Likewise.
7206 * libio/iofgetws_u.c: Likewise.
7207 * locale/programs/ld-identification.c: Likewise.
7208 * locale/programs/ld-time.c: Likewise.
7209 * mach/msg-destroy.c: Likewise.
7210 * nss/nss_files/files-netgrp.c: Likewise.
7211 * resolv/res_data.c: Likewise.
7212 * soft-fp/op-1.h: Likewise.
7213 * soft-fp/op-2.h: Likewise.
7214 * soft-fp/op-4.h: Likewise.
7215 * soft-fp/op-common.h: Likewise.
7216 * stdio-common/printf_fphex.c: Likewise.
7217 * stdlib/strtod_l.c: Likewise.
7218 * sunrpc/rpc/clnt.h: Likewise.
7219 * sysdeps/generic/framestate.c: Likewise.
7220 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7221 * sysdeps/i386/bsd-setjmp.S: Likewise.
7222 * sysdeps/i386/__longjmp.S: Likewise.
7223 * sysdeps/i386/setjmp.S: Likewise.
7224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7242 * sysdeps/ieee754/support.c: Likewise.
7243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7244 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7245 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7246 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7247 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7248 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7249 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7250 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7251 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7252 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7253 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7254 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7255 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7258 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7262 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7264 * posix/transbug.c: Remove executable mode.
7266 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7268 * crypt/speeds.c: Remove trailing whitespace.
7269 * dlfcn/default.c: Likewise.
7270 * elf/ifuncdep2.c: Likewise.
7271 * elf/ifuncmain1.c: Likewise.
7272 * elf/ifuncmain1vis.c: Likewise.
7273 * elf/testobj.h: Likewise.
7274 * elf/tst-stackguard1.c: Likewise.
7275 * gmon/sys/gmon.h: Likewise.
7276 * hurd/hurdmsg.c: Likewise.
7277 * hurd/new-fd.c: Likewise.
7278 * hurd/ports-get.c: Likewise.
7279 * iconvdata/ibm1008_420.c: Likewise.
7280 * inet/tst-getni1.c: Likewise.
7281 * inet/tst-getni2.c: Likewise.
7282 * libio/ioungetc.c: Likewise.
7283 * libio/wfiledoalloc.c: Likewise.
7284 * manual/libm-err-tab.pl: Likewise.
7285 * math/w_dremf.c: Likewise.
7286 * misc/ftruncate.c: Likewise.
7287 * posix/bug-glob2.c: Likewise.
7288 * posix/tst-pcre.c: Likewise.
7289 * posix/wait4.c: Likewise.
7290 * resolv/README: Likewise.
7291 * resolv/res_debug.h: Likewise.
7292 * resolv/tst-inet_ntop.c: Likewise.
7293 * setjmp/bug269-setjmp.c: Likewise.
7294 * soft-fp/extended.h: Likewise.
7295 * soft-fp/op-1.h: Likewise.
7296 * soft-fp/op-2.h: Likewise.
7297 * soft-fp/op-4.h: Likewise.
7298 * soft-fp/op-8.h: Likewise.
7299 * soft-fp/testit.c: Likewise.
7300 * stdio-common/bug16.c: Likewise.
7301 * stdlib/random.c: Likewise.
7302 * sunrpc/rpcsvc/rquota.x: Likewise.
7303 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7332 * sysdeps/ieee754/s_lib_version.c: Likewise.
7333 * sysdeps/mach/hurd/check_fds.c: Likewise.
7334 * sysdeps/mach/hurd/getsockname.c: Likewise.
7335 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7336 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7337 * sysdeps/powerpc/bits/link.h: Likewise.
7338 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7339 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7340 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7341 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7342 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7344 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7345 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7346 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7347 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7350 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7352 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7353 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7359 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7361 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7372 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7374 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7376 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7377 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7379 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7380 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7386 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7387 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7393 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7394 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7395 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7400 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7401 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7402 * sysdeps/powerpc/sysdep.h: Likewise.
7403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7404 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7405 * sysdeps/sh/dl-trampoline.S: Likewise.
7406 * sysdeps/sh/memset.S: Likewise.
7407 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7408 * sysdeps/sh/strlen.S: Likewise.
7409 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7410 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7411 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7412 * sysdeps/sparc/sparc32/rem.S: Likewise.
7413 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7415 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7416 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7417 * sysdeps/sparc/sparc32/urem.S: Likewise.
7418 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7419 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7420 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7421 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7423 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7424 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7425 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7426 * sysdeps/unix/bsd/times.c: Likewise.
7427 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7428 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7432 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7434 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7436 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7437 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7440 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7442 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7445 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7446 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7447 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7448 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7449 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7450 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7451 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7452 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7453 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7455 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7456 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7457 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7458 * sysdeps/x86_64/strcspn.S: Likewise.
7460 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7462 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7463 generated file. Regenerate properly from gen-translit.pl.
7464 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7465 locale/C-translit.h.
7467 2013-06-05 Andreas Schwab <schwab@suse.de>
7470 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7471 week as 6 instead of -1.
7472 * time/tst-strptime.c (day_tests): Add test case.
7474 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7476 * sysdeps/generic/math_private.h
7477 (libc_feholdexcept_setround_53bit): Replace with
7478 libc_feholdsetround_53bit.
7479 (libc_feupdateenv_53bit): Replace with
7480 libc_feresetround_53bit.
7481 (SET_RESTORE_ROUND_53BIT): Adjust.
7483 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7485 * string/test-strchrnul.c: Add copyright header.
7487 * posix/tst-getaddrinfo4.c: Increase test timeout.
7489 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7492 * math/libm-test.inc (MAX_EXP): Remove
7494 (ulp): Use MIN_EXP - MANT_DIG.
7495 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7497 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7499 * po/be.po: Revert last change.
7500 * po/zh_CN.po: Likewise.
7501 * po/header.pot: Likewise.
7503 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7505 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7506 link-libc-deps to empty as target-specific variable.
7507 * Makerules (link-libc-args): New variable.
7508 (libc-for-link): Likewise.
7509 (link-libc-deps): Likewise.
7510 (lib%.so): Depend on $(link-libc-deps). Link with
7512 (build-module): Link with $(link-libc-args).
7513 (build-module-asneeded): Likewise.
7514 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7516 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7517 target-specific variable.
7518 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7519 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7520 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7522 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7524 ($(objpfx)libpcprofile.so): Likewise.
7525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7527 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7528 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7531 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7532 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7533 * login/Makefile ($(objpfx)libutil.so): Likewise.
7534 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7535 * math/Makefile ($(objpfx)libm.so): Likewise.
7536 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7537 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7538 variable instead of depending directly on libc.
7539 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7540 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7542 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7544 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7545 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7546 ($(objpfx)libanl.so): Likewise.
7547 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7549 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7551 * sysdeps/i386/fpu/Makefile: Remove file.
7552 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7553 ($(objpfx)libm.so): Remove dependency on ld.so.
7555 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7558 * nis/yp_xdr.c (XDRMAXNAME): Define.
7559 (XDRMAXRECORD): Define.
7560 (xdr_domainname): Use XDRMAXNAME.
7561 (xdr_mapname): Likewise.
7562 (xdr_peername): Likewise.
7563 (xdr_keydat): Use XDRMAXRECORD.
7564 (xdr_valdat): Likewise.
7566 2013-05-30 Jeff Law <law@redhat.com>
7569 * manual/errno.texi (ESTALE): Update to account for more than
7570 just NFS file systems.
7571 * sysdeps/gnu/errlist.c: Regenerated.
7573 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7576 * elf/Makefile (tests): Add tst-null-argv.
7577 (modules-names): Add tst-null-argv-lib.
7578 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7579 (tst-null-argv-ENV): Set environment for tst-null-argv.
7580 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7581 (RTLD_PROGNAME): New macro.
7582 * elf/tst-null-argv.c: New test case.
7583 * elf/tst-null-argv-lib.c: Library for test case.
7584 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7585 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7586 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7587 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7588 * elf/dl-init.c (call_init): Likewise.
7589 (_dl_init): Likewise.
7590 * elf/dl-load.c (print_search_path): Likewise.
7591 (_dl_map_object): Likewise.
7592 * elf/dl-lookup.c (do_lookup_x): Likewise.
7593 (add_dependency): Likewise.
7594 (_dl_lookup_symbol_x): Likewise.
7595 (_dl_debug_bindings): Likewise.
7596 * elf/dl-open.c (_dl_show_scope): Likewise.
7597 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7598 * elf/dl-version.c (match_symbol): Likewise.
7599 (_dl_check_map_versions): Likewise.
7600 * elf/rtld.c (dl_main): Likewise.
7601 (print_unresolved): Use RTLD_PROGNAME.
7602 (print_missing_version): Likewise.
7603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7604 (elf_machine_rela): Likewise.
7605 * sysdeps/powerpc/powerpc32/dl-machine.c
7606 (__process_machine_rela): Likewise.
7607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7609 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7613 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7620 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7622 * po/be.po: Add descriptive title.
7623 * po/zh_CN.po: Likewise.
7624 * po/header.pot: Likewise.
7626 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7628 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7630 (enlarge_archive): Likewise.
7632 2013-05-28 Ben North <ben@redfrontdoor.org>
7634 * manual/arith.texi (frexp): It is the magnitude of the return
7635 value which lies in [0.5, 1), not the return value itself.
7637 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7641 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7643 * stdio-common/bug26.c (main): Correct fscanf template.
7645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7646 declare _dl_skip_args.
7648 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7651 * manual/platform.texi: Add missing @end deftypefun.
7653 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7656 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7657 bit of mantissa of 2^16382.
7658 * math/libm-test.inc (hypot_test_data): Add more tests.
7660 * math/libm-test.inc: Add drem and pow10 to list of tested
7662 (pow10_test): New function.
7663 (drem_test): Likewise.
7664 (drem_test_tonearest): Likewise.
7665 (drem_test_towardzero): Likewise.
7666 (drem_test_downward): Likewise.
7667 (drem_test_upward): Likewise.
7668 (main): Call the new functions.
7670 * math/libm-test.inc (finite_test_data): Remove.
7671 (finite_test): Run tests from isfinite_test_data.
7672 (gamma_test_data): Remove.
7673 (gamma_test): Run tests from lgamma_test_data.
7674 * sysdeps/i386/fpu/libm-test-ulps: Update.
7675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7677 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7679 * manual/platform.texi: Add PowerPC PPR function set documentation.
7680 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7683 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7685 * math/libm-test.inc (MAX_EXP): Define.
7687 (ulp): New function.
7688 (check_float_internal): Use ULPDIFF.
7689 (cpow_test): Disable failing test.
7690 (check_ulp): Test ulp() implemetnation.
7691 (main): Call check_ulp before starting tests.
7693 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7695 * math/gen-libm-test.pl (generate_testfile): Do not handle
7696 START_DATA and END_DATA.
7697 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7699 (acos_tonearest_test_data): Likewise.
7700 (acos_towardzero_test_data): Likewise.
7701 (acos_downward_test_data): Likewise.
7702 (acos_upward_test_data): Likewise.
7703 (acosh_test_data): Likewise.
7704 (asin_test_data): Likewise.
7705 (asin_tonearest_test_data): Likewise.
7706 (asin_towardzero_test_data): Likewise.
7707 (asin_downward_test_data): Likewise.
7708 (asin_upward_test_data): Likewise.
7709 (asinh_test_data): Likewise.
7710 (atan_test_data): Likewise.
7711 (atanh_test_data): Likewise.
7712 (atan2_test_data): Likewise.
7713 (cabs_test_data): Likewise.
7714 (cacos_test_data): Likewise.
7715 (cacosh_test_data): Likewise.
7716 (carg_test_data): Likewise.
7717 (casin_test_data): Likewise.
7718 (casinh_test_data): Likewise.
7719 (catan_test_data): Likewise.
7720 (catanh_test_data): Likewise.
7721 (cbrt_test_data): Likewise.
7722 (ccos_test_data): Likewise.
7723 (ccosh_test_data): Likewise.
7724 (ceil_test_data): Likewise.
7725 (cexp_test_data): Likewise.
7726 (cimag_test_data): Likewise.
7727 (clog_test_data): Likewise.
7728 (clog10_test_data): Likewise.
7729 (conj_test_data): Likewise.
7730 (copysign_test_data): Likewise.
7731 (cos_test_data): Likewise.
7732 (cos_tonearest_test_data): Likewise.
7733 (cos_towardzero_test_data): Likewise.
7734 (cos_downward_test_data): Likewise.
7735 (cos_upward_test_data): Likewise.
7736 (cosh_test_data): Likewise.
7737 (cosh_tonearest_test_data): Likewise.
7738 (cosh_towardzero_test_data): Likewise.
7739 (cosh_downward_test_data): Likewise.
7740 (cosh_upward_test_data): Likewise.
7741 (cpow_test_data): Likewise.
7742 (cproj_test_data): Likewise.
7743 (creal_test_data): Likewise.
7744 (csin_test_data): Likewise.
7745 (csinh_test_data): Likewise.
7746 (csqrt_test_data): Likewise.
7747 (ctan_test_data): Likewise.
7748 (ctan_tonearest_test_data): Likewise.
7749 (ctan_towardzero_test_data): Likewise.
7750 (ctan_downward_test_data): Likewise.
7751 (ctan_upward_test_data): Likewise.
7752 (ctanh_test_data): Likewise.
7753 (ctanh_tonearest_test_data): Likewise.
7754 (ctanh_towardzero_test_data): Likewise.
7755 (ctanh_downward_test_data): Likewise.
7756 (ctanh_upward_test_data): Likewise.
7757 (erf_test_data): Likewise.
7758 (erfc_test_data): Likewise.
7759 (exp_test_data): Likewise.
7760 (exp_tonearest_test_data): Likewise.
7761 (exp_towardzero_test_data): Likewise.
7762 (exp_downward_test_data): Likewise.
7763 (exp_upward_test_data): Likewise.
7764 (exp10_test_data): Likewise.
7765 (exp2_test_data): Likewise.
7766 (expm1_test_data): Likewise.
7767 (fabs_test_data): Likewise.
7768 (fdim_test_data): Likewise.
7769 (finite_test_data): Likewise.
7770 (floor_test_data): Likewise.
7771 (fma_test_data): Likewise.
7772 (fma_towardzero_test_data): Likewise.
7773 (fma_downward_test_data): Likewise.
7774 (fma_upward_test_data): Likewise.
7775 (fmax_test_data): Likewise.
7776 (fmin_test_data): Likewise.
7777 (fmod_test_data): Likewise.
7778 (fpclassify_test_data): Likewise.
7779 (frexp_test_data): Likewise.
7780 (gamma_test_data): Likewise.
7781 (hypot_test_data): Likewise.
7782 (ilogb_test_data): Likewise.
7783 (isfinite_test_data): Likewise.
7784 (isgreater_test_data): Likewise.
7785 (isgreaterequal_test_data): Likewise.
7786 (isinf_test_data): Likewise.
7787 (isless_test_data): Likewise.
7788 (islessequal_test_data): Likewise.
7789 (islessgreater_test_data): Likewise.
7790 (isnan_test_data): Likewise.
7791 (isnormal_test_data): Likewise.
7792 (issignaling_test_data): Likewise.
7793 (isunordered_test_data): Likewise.
7794 (j0_test_data): Likewise.
7795 (j1_test_data): Likewise.
7796 (jn_test_data): Likewise.
7797 (ldexp_test_data): Likewise.
7798 (lgamma_test_data): Likewise.
7799 (lrint_test_data): Likewise.
7800 (lrint_tonearest_test_data): Likewise.
7801 (lrint_towardzero_test_data): Likewise.
7802 (lrint_downward_test_data): Likewise.
7803 (lrint_upward_test_data): Likewise.
7804 (llrint_test_data): Likewise.
7805 (llrint_tonearest_test_data): Likewise.
7806 (llrint_towardzero_test_data): Likewise.
7807 (llrint_downward_test_data): Likewise.
7808 (llrint_upward_test_data): Likewise.
7809 (log_test_data): Likewise.
7810 (log10_test_data): Likewise.
7811 (log1p_test_data): Likewise.
7812 (log2_test_data): Likewise.
7813 (logb_test_data): Likewise.
7814 (logb_downward_test_data): Likewise.
7815 (lround_test_data): Likewise.
7816 (llround_test_data): Likewise.
7817 (modf_test_data): Likewise.
7818 (nearbyint_test_data): Likewise.
7819 (nextafter_test_data): Likewise.
7820 (nexttoward_test_data): Likewise.
7821 (pow_test_data): Likewise.
7822 (pow_tonearest_test_data): Likewise.
7823 (pow_towardzero_test_data): Likewise.
7824 (pow_downward_test_data): Likewise.
7825 (pow_upward_test_data): Likewise.
7826 (remainder_test_data): Likewise.
7827 (remainder_tonearest_test_data): Likewise.
7828 (remainder_towardzero_test_data): Likewise.
7829 (remainder_downward_test_data): Likewise.
7830 (remainder_upward_test_data): Likewise.
7831 (remquo_test_data): Likewise.
7832 (rint_test_data): Likewise.
7833 (rint_tonearest_test_data): Likewise.
7834 (rint_towardzero_test_data): Likewise.
7835 (rint_downward_test_data): Likewise.
7836 (rint_upward_test_data): Likewise.
7837 (round_test_data): Likewise.
7838 (scalb_test_data): Likewise.
7839 (scalbn_test_data): Likewise.
7840 (scalbln_test_data): Likewise.
7841 (signbit_test_data): Likewise.
7842 (sin_test_data): Likewise.
7843 (sin_tonearest_test_data): Likewise.
7844 (sin_towardzero_test_data): Likewise.
7845 (sin_downward_test_data): Likewise.
7846 (sin_upward_test_data): Likewise.
7847 (sincos_test_data): Likewise.
7848 (sinh_test_data): Likewise.
7849 (sinh_tonearest_test_data): Likewise.
7850 (sinh_towardzero_test_data): Likewise.
7851 (sinh_downward_test_data): Likewise.
7852 (sinh_upward_test_data): Likewise.
7853 (sqrt_test_data): Likewise.
7854 (tan_test_data): Likewise.
7855 (tan_tonearest_test_data): Likewise.
7856 (tan_towardzero_test_data): Likewise.
7857 (tan_downward_test_data): Likewise.
7858 (tan_upward_test_data): Likewise.
7859 (tanh_test_data): Likewise.
7860 (tgamma_test_data): Likewise.
7861 (trunc_test_data): Likewise.
7862 (y0_test_data): Likewise.
7863 (y1_test_data): Likewise.
7864 (yn_test_data): Likewise.
7865 (significand_test_data): Likewise.
7867 * math/gen-libm-test.pl (@functions): Remove variable.
7868 (generate_testfile): Don't handle START and END lines.
7869 * math/libm-test.inc (START): New macro.
7871 (END_COMPLEX): Likewise.
7872 (acos_test): Use END macro without arguments.
7873 (acos_test_tonearest): Likewise.
7874 (acos_test_towardzero): Likewise.
7875 (acos_test_downward): Likewise.
7876 (acos_test_upward): Likewise.
7877 (acosh_test): Likewise.
7878 (asin_test): Likewise.
7879 (asin_test_tonearest): Likewise.
7880 (asin_test_towardzero): Likewise.
7881 (asin_test_downward): Likewise.
7882 (asin_test_upward): Likewise.
7883 (asinh_test): Likewise.
7884 (atan_test): Likewise.
7885 (atanh_test): Likewise.
7886 (atan2_test): Likewise.
7887 (cabs_test): Likewise.
7888 (cacos_test): Use END_COMPLEX macro without arguments.
7889 (cacosh_test): Likewise.
7890 (carg_test): Use END macro without arguments.
7891 (casin_test): Use END_COMPLEX macro without arguments.
7892 (casinh_test): Likewise.
7893 (catan_test): Likewise.
7894 (catanh_test): Likewise.
7895 (cbrt_test): Use END macro without arguments.
7896 (ccos_test): Use END_COMPLEX macro without arguments.
7897 (ccosh_test): Likewise.
7898 (ceil_test): Use END macro without arguments.
7899 (cexp_test): Use END_COMPLEX macro without arguments.
7900 (cimag_test): Use END macro without arguments.
7901 (clog_test): Use END_COMPLEX macro without arguments.
7902 (clog10_test): Likewise.
7903 (conj_test): Likewise.
7904 (copysign_test): Use END macro without arguments.
7905 (cos_test): Likewise.
7906 (cos_test_tonearest): Likewise.
7907 (cos_test_towardzero): Likewise.
7908 (cos_test_downward): Likewise.
7909 (cos_test_upward): Likewise.
7910 (cosh_test): Likewise.
7911 (cosh_test_tonearest): Likewise.
7912 (cosh_test_towardzero): Likewise.
7913 (cosh_test_downward): Likewise.
7914 (cosh_test_upward): Likewise.
7915 (cpow_test): Use END_COMPLEX macro without arguments.
7916 (cproj_test): Likewise.
7917 (creal_test): Use END macro without arguments.
7918 (csin_test): Use END_COMPLEX macro without arguments.
7919 (csinh_test): Likewise.
7920 (csqrt_test): Likewise.
7921 (ctan_test): Likewise.
7922 (ctan_test_tonearest): Likewise.
7923 (ctan_test_towardzero): Likewise.
7924 (ctan_test_downward): Likewise.
7925 (ctan_test_upward): Likewise.
7926 (ctanh_test): Likewise.
7927 (ctanh_test_tonearest): Likewise.
7928 (ctanh_test_towardzero): Likewise.
7929 (ctanh_test_downward): Likewise.
7930 (ctanh_test_upward): Likewise.
7931 (erf_test): Use END macro without arguments.
7932 (erfc_test): Likewise.
7933 (exp_test): Likewise.
7934 (exp_test_tonearest): Likewise.
7935 (exp_test_towardzero): Likewise.
7936 (exp_test_downward): Likewise.
7937 (exp_test_upward): Likewise.
7938 (exp10_test): Likewise.
7939 (exp2_test): Likewise.
7940 (expm1_test): Likewise.
7941 (fabs_test): Likewise.
7942 (fdim_test): Likewise.
7943 (finite_test): Likewise.
7944 (floor_test): Likewise.
7945 (fma_test): Likewise.
7946 (fma_test_towardzero): Likewise.
7947 (fma_test_downward): Likewise.
7948 (fma_test_upward): Likewise.
7949 (fmax_test): Likewise.
7950 (fmin_test): Likewise.
7951 (fmod_test): Likewise.
7952 (fpclassify_test): Likewise.
7953 (frexp_test): Likewise.
7954 (gamma_test): Likewise.
7955 (hypot_test): Likewise.
7956 (ilogb_test): Likewise.
7957 (isfinite_test): Likewise.
7958 (isgreater_test): Likewise.
7959 (isgreaterequal_test): Likewise.
7960 (isinf_test): Likewise.
7961 (isless_test): Likewise.
7962 (islessequal_test): Likewise.
7963 (islessgreater_test): Likewise.
7964 (isnan_test): Likewise.
7965 (isnormal_test): Likewise.
7966 (issignaling_test): Likewise.
7967 (isunordered_test): Likewise.
7968 (j0_test): Likewise.
7969 (j1_test): Likewise.
7970 (jn_test): Likewise.
7971 (ldexp_test): Likewise.
7972 (lgamma_test): Likewise.
7973 (lrint_test): Likewise.
7974 (lrint_test_tonearest): Likewise.
7975 (lrint_test_towardzero): Likewise.
7976 (lrint_test_downward): Likewise.
7977 (lrint_test_upward): Likewise.
7978 (llrint_test): Likewise.
7979 (llrint_test_tonearest): Likewise.
7980 (llrint_test_towardzero): Likewise.
7981 (llrint_test_downward): Likewise.
7982 (llrint_test_upward): Likewise.
7983 (log_test): Likewise.
7984 (log10_test): Likewise.
7985 (log1p_test): Likewise.
7986 (log2_test): Likewise.
7987 (logb_test): Likewise.
7988 (logb_test_downward): Likewise.
7989 (lround_test): Likewise.
7990 (llround_test): Likewise.
7991 (modf_test): Likewise.
7992 (nearbyint_test): Likewise.
7993 (nextafter_test): Likewise.
7994 (nexttoward_test): Likewise.
7995 (pow_test): Likewise.
7996 (pow_test_tonearest): Likewise.
7997 (pow_test_towardzero): Likewise.
7998 (pow_test_downward): Likewise.
7999 (pow_test_upward): Likewise.
8000 (remainder_test): Likewise.
8001 (remainder_test_tonearest): Likewise.
8002 (remainder_test_towardzero): Likewise.
8003 (remainder_test_downward): Likewise.
8004 (remainder_test_upward): Likewise.
8005 (remquo_test): Likewise.
8006 (rint_test): Likewise.
8007 (rint_test_tonearest): Likewise.
8008 (rint_test_towardzero): Likewise.
8009 (rint_test_downward): Likewise.
8010 (rint_test_upward): Likewise.
8011 (round_test): Likewise.
8012 (scalb_test): Likewise.
8013 (scalbn_test): Likewise.
8014 (scalbln_test): Likewise.
8015 (signbit_test): Likewise.
8016 (sin_test): Likewise.
8017 (sin_test_tonearest): Likewise.
8018 (sin_test_towardzero): Likewise.
8019 (sin_test_downward): Likewise.
8020 (sin_test_upward): Likewise.
8021 (sincos_test): Likewise.
8022 (sinh_test): Likewise.
8023 (sinh_test_tonearest): Likewise.
8024 (sinh_test_towardzero): Likewise.
8025 (sinh_test_downward): Likewise.
8026 (sinh_test_upward): Likewise.
8027 (sqrt_test): Likewise.
8028 (tan_test): Likewise.
8029 (tan_test_tonearest): Likewise.
8030 (tan_test_towardzero): Likewise.
8031 (tan_test_downward): Likewise.
8032 (tan_test_upward): Likewise.
8033 (tanh_test): Likewise.
8034 (tgamma_test): Likewise.
8035 (trunc_test): Likewise.
8036 (y0_test): Likewise.
8037 (y1_test): Likewise.
8038 (yn_test): Likewise.
8039 (significand_test): Likewise.
8041 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8044 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8046 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8049 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8050 __ppc_mdoio and __ppc_mdoom.
8051 * manual/platform.texi: Document new functions __ppc_yield,
8052 __ppc_mdoio and __ppc_mdoom.
8054 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8056 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8057 (main): Mention "tls" pseudo-hwcap is legacy.
8058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8060 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8062 * math/gen-libm-test.pl (parse_args): Output only string of
8063 arguments as text for test name, not full call or descriptions of
8064 tests for extra outputs.
8065 (generate_testfile): Do not pass function name to parse_args.
8066 Generate this_func variable from START.
8067 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8069 (struct test_ff_f_data): Likewise.
8070 (test_ff_f_data_nexttoward): Likewise.
8071 (struct test_fi_f_data): Likewise.
8072 (struct test_fl_f_data): Likewise.
8073 (struct test_if_f_data): Likewise.
8074 (struct test_fff_f_data): Likewise.
8075 (struct test_c_f_data): Likewise.
8076 (struct test_f_f1_data): Likewise. Remove field extra_name.
8077 (struct test_fF_f1_data): Likewise.
8078 (struct test_ffI_f1_data): Likewise.
8079 (struct test_c_c_data): Rename test_name field to arg_str.
8080 (struct test_cc_c_data): Likewise.
8081 (struct test_f_i_data): Likewise.
8082 (struct test_ff_i_data): Likewise.
8083 (struct test_f_l_data): Likewise.
8084 (struct test_f_L_data): Likewise.
8085 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8087 (COMMON_TEST_SETUP): New macro.
8088 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8089 (COMMON_TEST_CLEANUP): Likewise.
8090 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8091 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8093 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8094 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8096 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8097 (RUN_TEST_fff_f): Take argument string. Call new setup and
8099 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8100 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8102 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8103 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8105 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8106 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8108 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8109 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8111 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8112 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8114 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8115 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8117 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8118 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8120 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8121 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8123 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8124 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8126 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8127 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8129 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8130 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8132 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8133 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8135 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8136 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8138 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8139 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8141 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8142 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8144 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8146 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8148 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8149 to _sifields.sigfault.
8150 (si_addr_lsb): Define new macro.
8151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8155 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8158 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8160 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8162 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8165 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8167 * math/gen-libm-test.pl (parse_args): Do not include expected
8168 result in test name.
8169 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8173 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8176 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8178 * benchtests/Makefile: Sort function entries.
8180 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8181 tanh, asinh, acosh, atanh.
8182 * benchtests/acos-inputs: New file.
8183 * benchtests/acosh-inputs: New file.
8184 * benchtests/asin-inputs: New file.
8185 * benchtests/asinh-inputs: New file.
8186 * benchtests/atanh-inputs: New file.
8187 * benchtests/cosh-inputs: New file.
8188 * benchtests/log-inputs: New file.
8189 * benchtests/sinh-inputs: New file.
8190 * benchtests/tanh-inputs: New file.
8192 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8195 * posix/tst-getaddrinfo4.c: New test.
8196 * posix/Makefile (tests): Add it.
8198 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8202 when no services were used.
8203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8204 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8206 2013-05-21 Andreas Schwab <schwab@suse.de>
8209 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8210 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8212 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8213 redundant variable declarations and reallocation of buffer when
8214 parsing as IPv6 address. Always set NSS status when called from
8215 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8216 buffer too small. Correct computation of needed size.
8217 * nss/Makefile (tests): Add test-digits-dots.
8218 * nss/test-digits-dots.c: New test.
8220 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8222 * benchtests/Makefile: Remove instructions for adding
8224 * benchtests/README: New file to explain how to execute and
8225 enhance the benchmark tests.
8227 2013-05-21 Andreas Schwab <schwab@suse.de>
8230 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8231 * setjmp/tst-sigsetjmp.c: New test.
8233 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8235 * sysdeps/x86_64/memset.S (memset): New implementation.
8236 (__bzero): Likewise.
8237 (__memset_tail): New function.
8239 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8241 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8242 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8243 __memcpy_sse2_unaligned ifunc selection.
8244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8245 Add memcpy-sse2-unaligned.S.
8246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8247 Add: __memcpy_sse2_unaligned.
8249 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8253 math_force_eval before restoring floating-point envrionment.
8254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8259 (__nearbyintl): Use math_force_eval before restoring
8260 floating-point environment.
8261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8263 * math/gen-libm-test.pl (special_functions): Remove.
8264 (parse_args): Don't handle TEST_extra. Handle functions with no
8266 * math/libm-test.inc (struct test_sincos_data): Replace with
8267 struct test_fFF_11_data.
8268 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8269 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8270 (sincos_test_data): Change element type to struct
8271 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8272 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8273 RUN_TEST_LOOP_sincos.
8274 * math/README.libm-test: Don't mention special handling of
8275 individual functions.
8276 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8279 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8283 * math/gen-libm-test.pl (get_variable): Remove function.
8284 (parse_args): Don't show pointer parameters to call in test
8285 names. Use "extra output N" in test names for extra outputs
8286 rather than naming variables.
8288 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8291 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8292 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8293 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8295 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8297 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8300 * math/gen-libm-test.pl (@tests): Remove variable.
8302 (new_test): Remove function.
8303 (show_exceptions): New function.
8304 (special_functions): Use show_exceptions instead of new_test.
8305 (parse_args): Likewise.
8306 (generate_testfile): Pass only function name in generated call to
8307 print_max_error or print_complex_max_error.
8308 (get_ulps): Do not handle complex tests specially.
8309 (output_test): Rename to ...
8310 (get_all_ulps_for_test): ... this. Return a string rather than
8311 printing to a file. Require ulps to be present.
8312 (output_ulps): Generate arrays rather than #defines.
8313 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8314 (struct ulp_data): New type.
8315 (BUILD_COMPLEX_ULP): Remove macro.
8316 (compare_ulp_data): New function.
8317 (find_ulps): Likewise.
8318 (find_test_ulps): Likewise.
8319 (find_function_ulps): Likewise.
8320 (find_complex_function_ulps): Likewise.
8321 (print_max_error): Determine allowed ulps using
8323 (print_complex_max_error): Determine allowed ulps using
8324 find_complex_function_ulps.
8325 (check_float_internal): Determine max ulps using find_test_ulps.
8326 (check_float): Do not take max_ulp parameter. Update call to
8327 check_float_internal.
8328 (check_complex): Likewise.
8329 (check_int): Do not take max_ulp parameter.
8330 (check_long): Likewise.
8331 (check_bool): Likewise.
8332 (check_longlong): Likewise.
8333 (struct test_f_f_data): Remove max_ulp field.
8334 (struct test_ff_f_data): Likewise.
8335 (struct test_ff_f_data_nexttoward): Likewise.
8336 (struct test_fi_f_data): Likewise.
8337 (struct test_fl_f_data): Likewise.
8338 (struct test_if_f_data): Likewise.
8339 (struct test_fff_f_data): Likewise.
8340 (struct test_c_f_data): Likewise.
8341 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8342 (struct test_fF_f1_data): Likewise.
8343 (struct test_ffI_f1_data): Likewise.
8344 (struct test_c_c_data): Remove max_ulp field.
8345 (struct test_cc_c_data): Likewise.
8346 (struct test_f_i_data): Likewise.
8347 (struct test_ff_i_data): Likewise.
8348 (struct test_f_l_data): Likewise.
8349 (struct test_f_L_data): Likewise.
8350 (struct test_sincos_data): Likewise.
8351 (RUN_TEST_f_f): Do not handle ulps.
8352 (RUN_TEST_LOOP_f_f): Likewise.
8353 (RUN_TEST_2_f): Likewise.
8354 (RUN_TEST_LOOP_2_f): Likewise.
8355 (RUN_TEST_fff_f): Likewise.
8356 (RUN_TEST_LOOP_fff_f): Likewise.
8357 (RUN_TEST_c_f): Likewise.
8358 (RUN_TEST_LOOP_c_f): Likewise.
8359 (RUN_TEST_f_f1): Likewise.
8360 (RUN_TEST_LOOP_f_f1): Likewise.
8361 (RUN_TEST_fF_f1): Likewise.
8362 (RUN_TEST_LOOP_fF_f1): Likewise.
8363 (RUN_TEST_fI_f1): Likewise.
8364 (RUN_TEST_LOOP_fI_f1): Likewise.
8365 (RUN_TEST_ffI_f1): Likewise.
8366 (RUN_TEST_LOOP_ffI_f1): Likewise.
8367 (RUN_TEST_c_c): Likewise.
8368 (RUN_TEST_LOOP_c_c): Likewise.
8369 (RUN_TEST_cc_c): Likewise.
8370 (RUN_TEST_LOOP_cc_c): Likewise.
8371 (RUN_TEST_f_i): Likewise.
8372 (RUN_TEST_LOOP_f_i): Likewise.
8373 (RUN_TEST_f_i_tg): Likewise.
8374 (RUN_TEST_LOOP_f_i_tg): Likewise.
8375 (RUN_TEST_ff_i_tg): Likewise.
8376 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8377 (RUN_TEST_f_b): Likewise.
8378 (RUN_TEST_LOOP_f_b): Likewise.
8379 (RUN_TEST_f_b_tg): Likewise.
8380 (RUN_TEST_LOOP_f_b_tg): Likewise.
8381 (RUN_TEST_f_l): Likewise.
8382 (RUN_TEST_LOOP_f_l): Likewise.
8383 (RUN_TEST_f_L): Likewise.
8384 (RUN_TEST_LOOP_f_L): Likewise.
8385 (RUN_TEST_sincos): Likewise.
8386 (RUN_TEST_LOOP_sincos): Likewise.
8388 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8392 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8393 main case of finite arguments, set rounding mode to FE_TONEAREST
8394 and discard exceptions.
8395 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8397 (remainder_tonearest_test_data): New variable.
8398 (remainder_test_tonearest): New function.
8399 (remainder_towardzero_test_data): New variable.
8400 (remainder_test_towardzero): New function.
8401 (remainder_downward_test_data): New variable.
8402 (remainder_test_downward): New function.
8403 (remainder_upward_test_data): New variable.
8404 (remainder_test_upward): New function.
8405 (main): Call the new test functions.
8407 * math/libm-test.inc (struct test_f_f1_data): Remove field
8409 (struct test_fF_f1_data): Likewise.
8410 (struct test_ffI_f1_data): Likewise.
8411 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8412 based on value of EXTRA_EXPECTED.
8413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8414 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8415 EXTRA_VAR based on value of EXTRA_EXPECTED.
8416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8417 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8418 EXTRA_VAR based on value of EXTRA_EXPECTED.
8419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8420 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8421 EXTRA_VAR based on value of EXTRA_EXPECTED.
8422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8423 * math/gen-libm-test.pl (parse_args): Don't output initializers
8424 for extra output values.
8426 * math/libm-test.inc (check_int): Expect result to be exactly
8427 equal to expected value and do not handle ulps.
8428 (check_long): Likewise.
8429 (check_longlong): Likewise.
8431 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8433 (cimag_test_data): Likewise.
8434 (conj_test_data): Likewise.
8435 (copysign_test_data): Likewise.
8436 (cproj_test_data): Likewise.
8437 (creal_test_data): Likewise.
8438 (fabs_test_data): Likewise.
8439 (fdim_test_data): Likewise.
8440 (finite_test_data): Likewise.
8441 (floor_test_data): Likewise.
8442 (fmax_test_data): Likewise.
8443 (fmin_test_data): Likewise.
8444 (fmod_test_data): Likewise.
8445 (fpclassify_test_data): Likewise.
8446 (frexp_test_data): Likewise.
8447 (ilogb_test_data): Likewise.
8448 (isfinite_test_data): Likewise.
8449 (isgreater_test_data): Likewise.
8450 (isgreaterequal_test_data): Likewise.
8451 (isinf_test_data): Likewise.
8452 (isless_test_data): Likewise.
8453 (islessequal_test_data): Likewise.
8454 (islessgreater_test_data): Likewise.
8455 (isnan_test_data): Likewise.
8456 (isnormal_test_data): Likewise.
8457 (issignaling_test_data): Likewise.
8458 (isunordered_test_data): Likewise.
8459 (ldexp_test_data): Likewise.
8460 (lrint_test_data): Likewise.
8461 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8462 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8463 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8464 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8465 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8466 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8468 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8469 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8470 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8471 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8473 (lrint_downward_test_data): Test for "inexact" exceptions.
8474 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8475 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8476 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8478 (lrint_upward_test_data): Test for "inexact" exceptions.
8479 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8481 (llrint_test_data): Test for "inexact" exceptions.
8482 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8483 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8484 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8485 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8486 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8487 (llrint_downward_test_data): Test for "inexact" exceptions.
8488 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8489 (llrint_upward_test_data): Test for "inexact" exceptions.
8490 (logb_test_data): Likewise.
8491 (logb_downward_test_data): Likewise.
8492 (nextafter_test_data): Likewise.
8493 (nexttoward_test_data): Likewise.
8494 (remainder_test_data): Likewise.
8495 (remquo_test_data): Likewise.
8496 (scalbn_test_data): Likewise.
8497 (scalbln_test_data): Likewise.
8498 (signbit_test_data): Likewise.
8499 (sqrt_test_data): Likewise.
8500 (significand_test_data): Likewise.
8502 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8505 * benchtests/bench-modf.c (struct args): Mark arg0 as
8507 * scripts/bench.pl: Mark members of struct args as volatile.
8509 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8512 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8513 negative infinity on POWER6 or lower.
8514 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8516 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8519 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8520 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8521 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8522 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8523 (_FP_SETQNAN): New macro.
8524 (_FP_SETQNAN_SEMIRAW): Likewise.
8525 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8526 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8527 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8528 (FP_EXTEND): Use _FP_FRAC_SNANP.
8529 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8530 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8537 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8539 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8540 with DIVIDE_BY_ZERO_EXCEPTION.
8541 (gamma_test_data): Likewise.
8542 (lgamma_test_data): Likewise.
8543 (log_test_data): Likewise.
8544 (log10_test_data): Likewise.
8545 (log2_test_data): Likewise.
8546 (tgamma_test_data): Likewise.
8548 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8549 (acos_test_tonearest): Likewise.
8550 (acos_test_towardzero): Likewise.
8551 (acos_test_downward): Likewise.
8552 (acos_test_upward): Likewise.
8553 (acosh_test): Likewise.
8554 (asin_test): Likewise.
8555 (asin_test_tonearest): Likewise.
8556 (asin_test_towardzero): Likewise.
8557 (asin_test_downward): Likewise.
8558 (asin_test_upward): Likewise.
8559 (asinh_test): Likewise.
8560 (atan_test): Likewise.
8561 (atanh_test): Likewise.
8562 (atan2_test): Likewise.
8563 (cabs_test): Likewise.
8564 (cacos_test): Likewise.
8565 (cacosh_test): Likewise.
8566 (casin_test): Likewise.
8567 (casinh_test): Likewise.
8568 (catan_test): Likewise.
8569 (catanh_test): Likewise.
8570 (cbrt_test): Likewise.
8571 (ccos_test): Likewise.
8572 (ccosh_test): Likewise.
8573 (cexp_test): Likewise.
8574 (clog_test): Likewise.
8575 (clog10_test): Likewise.
8576 (cos_test): Likewise.
8577 (cos_test_tonearest): Likewise.
8578 (cos_test_towardzero): Likewise.
8579 (cos_test_downward): Likewise.
8580 (cos_test_upward): Likewise.
8581 (cosh_test): Likewise.
8582 (cosh_test_tonearest): Likewise.
8583 (cosh_test_towardzero): Likewise.
8584 (cosh_test_downward): Likewise.
8585 (cosh_test_upward): Likewise.
8586 (cpow_test): Likewise.
8587 (csin_test): Likewise.
8588 (csinh_test): Likewise.
8589 (csqrt_test): Likewise.
8590 (ctan_test): Likewise.
8591 (ctan_test_tonearest): Likewise.
8592 (ctan_test_towardzero): Likewise.
8593 (ctan_test_downward): Likewise.
8594 (ctan_test_upward): Likewise.
8595 (ctanh_test): Likewise.
8596 (ctanh_test_tonearest): Likewise.
8597 (ctanh_test_towardzero): Likewise.
8598 (ctanh_test_downward): Likewise.
8599 (ctanh_test_upward): Likewise.
8600 (erf_test): Likewise.
8601 (erfc_test): Likewise.
8602 (exp_test): Likewise.
8603 (exp_test_tonearest): Likewise.
8604 (exp_test_towardzero): Likewise.
8605 (exp_test_downward): Likewise.
8606 (exp_test_upward): Likewise.
8607 (exp10_test): Likewise.
8608 (exp2_test): Likewise.
8609 (expm1_test): Likewise.
8610 (fmod_test): Likewise.
8611 (gamma_test): Likewise.
8612 (hypot_test): Likewise.
8613 (j0_test): Likewise.
8614 (j1_test): Likewise.
8615 (jn_test): Likewise.
8616 (lgamma_test): Likewise.
8617 (log_test): Likewise.
8618 (log10_test): Likewise.
8619 (log1p_test): Likewise.
8620 (log2_test): Likewise.
8621 (logb_test_downward): Likewise.
8622 (pow_test): Likewise.
8623 (pow_test_tonearest): Likewise.
8624 (pow_test_towardzero): Likewise.
8625 (pow_test_downward): Likewise.
8626 (pow_test_upward): Likewise.
8627 (remainder_test): Likewise.
8628 (remquo_test): Likewise.
8629 (sin_test): Likewise.
8630 (sin_test_tonearest): Likewise.
8631 (sin_test_towardzero): Likewise.
8632 (sin_test_downward): Likewise.
8633 (sin_test_upward): Likewise.
8634 (sincos_test): Likewise.
8635 (sinh_test): Likewise.
8636 (sinh_test_tonearest): Likewise.
8637 (sinh_test_towardzero): Likewise.
8638 (sinh_test_downward): Likewise.
8639 (sinh_test_upward): Likewise.
8640 (sqrt_test): Likewise.
8641 (tan_test): Likewise.
8642 (tan_test_tonearest): Likewise.
8643 (tan_test_towardzero): Likewise.
8644 (tan_test_downward): Likewise.
8645 (tan_test_upward): Likewise.
8646 (tanh_test): Likewise.
8647 (tgamma_test): Likewise.
8648 (y0_test): Likewise.
8649 (y1_test): Likewise.
8650 (yn_test): Likewise.
8652 * math/gen-libm-test.pl (adjust_arg): Remove function.
8653 (special_function): Remove argument $in_func. Only handle
8654 generating output for tables of tests, not inside functions.
8655 (parse_args): Likewise.
8656 (generate_testfile): Remove variable $in_func. Update call to
8658 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8659 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8660 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8661 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8662 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8663 (MAX_VALUE_INIT): Rename macro to max_value.
8664 (MIN_VALUE_INIT): Rename macro to min_value.
8665 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8666 (plus_zero): Remove variable.
8667 (minus_zero): Likewise.
8668 (plus_infty): Likewise.
8669 (minus_infty): Likewise.
8670 (qnan_value): Likewise.
8671 (max_value): Likewise.
8672 (min_value): Likewise.
8673 (min_subnorm_value): Likewise.
8675 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8677 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8678 uint64_t or uint32_t usage.
8679 * crypt/sha256-block.c: Likewise.
8680 * crypt/sha256-crypt.c: Likewise.
8681 * crypt/sha256.c: Likewise.
8682 * crypt/sha512-block.c: Likewise.
8683 * crypt/sha512-crypt.c: Likewise.
8684 * crypt/sha512.c: Likewise.
8685 * debug/backtrace-tst.c: Likewise.
8686 * debug/pcprofiledump.c: Likewise.
8687 * elf/cache.c: Likewise.
8688 * elf/dl-cache.c: Likewise.
8689 * elf/dl-misc.c: Likewise.
8690 * elf/dl-profile.c: Likewise.
8691 * elf/dl-support.c: Likewise.
8692 * elf/ldconfig.c: Likewise.
8693 * elf/sprof.c: Likewise.
8694 * iconv/dummy-repertoire.c: Likewise.
8695 * iconv/iconv_charmap.c: Likewise.
8696 * iconv/skeleton.c: Likewise.
8697 * iconvdata/8bit-generic.c: Likewise.
8698 * iconvdata/cp737.h: Likewise.
8699 * iconvdata/cp775.h: Likewise.
8700 * iconvdata/ibm1008.h: Likewise.
8701 * iconvdata/ibm1025.h: Likewise.
8702 * iconvdata/ibm1046.h: Likewise.
8703 * iconvdata/ibm1097.h: Likewise.
8704 * iconvdata/ibm1112.h: Likewise.
8705 * iconvdata/ibm1122.h: Likewise.
8706 * iconvdata/ibm1123.h: Likewise.
8707 * iconvdata/ibm1124.h: Likewise.
8708 * iconvdata/ibm1129.h: Likewise.
8709 * iconvdata/ibm1130.h: Likewise.
8710 * iconvdata/ibm1132.h: Likewise.
8711 * iconvdata/ibm1133.h: Likewise.
8712 * iconvdata/ibm1137.h: Likewise.
8713 * iconvdata/ibm1140.h: Likewise.
8714 * iconvdata/ibm1141.h: Likewise.
8715 * iconvdata/ibm1142.h: Likewise.
8716 * iconvdata/ibm1143.h: Likewise.
8717 * iconvdata/ibm1144.h: Likewise.
8718 * iconvdata/ibm1145.h: Likewise.
8719 * iconvdata/ibm1146.h: Likewise.
8720 * iconvdata/ibm1147.h: Likewise.
8721 * iconvdata/ibm1148.h: Likewise.
8722 * iconvdata/ibm1149.h: Likewise.
8723 * iconvdata/ibm1153.h: Likewise.
8724 * iconvdata/ibm1154.h: Likewise.
8725 * iconvdata/ibm1155.h: Likewise.
8726 * iconvdata/ibm1156.h: Likewise.
8727 * iconvdata/ibm1157.h: Likewise.
8728 * iconvdata/ibm1158.h: Likewise.
8729 * iconvdata/ibm1160.h: Likewise.
8730 * iconvdata/ibm1161.h: Likewise.
8731 * iconvdata/ibm1162.h: Likewise.
8732 * iconvdata/ibm1163.h: Likewise.
8733 * iconvdata/ibm1164.h: Likewise.
8734 * iconvdata/ibm1166.h: Likewise.
8735 * iconvdata/ibm1167.h: Likewise.
8736 * iconvdata/ibm12712.h: Likewise.
8737 * iconvdata/ibm1390.h: Likewise.
8738 * iconvdata/ibm1399.h: Likewise.
8739 * iconvdata/ibm16804.h: Likewise.
8740 * iconvdata/ibm4517.h: Likewise.
8741 * iconvdata/ibm4899.h: Likewise.
8742 * iconvdata/ibm4909.h: Likewise.
8743 * iconvdata/ibm4971.h: Likewise.
8744 * iconvdata/ibm5347.h: Likewise.
8745 * iconvdata/ibm803.h: Likewise.
8746 * iconvdata/ibm856.h: Likewise.
8747 * iconvdata/ibm901.h: Likewise.
8748 * iconvdata/ibm902.h: Likewise.
8749 * iconvdata/ibm9030.h: Likewise.
8750 * iconvdata/ibm9066.h: Likewise.
8751 * iconvdata/ibm921.h: Likewise.
8752 * iconvdata/ibm922.h: Likewise.
8753 * iconvdata/ibm9448.h: Likewise.
8754 * iconvdata/isiri-3342.h: Likewise.
8755 * iconvdata/jis0201.h: Likewise.
8756 * include/link.h: Likewise.
8757 * include/netdb.h: Likewise.
8758 * inet/check_native.c: Likewise.
8759 * inet/check_pf.c: Likewise.
8760 * inet/getipv4sourcefilter.c: Likewise.
8761 * inet/getnameinfo.c: Likewise.
8762 * inet/getsourcefilter.c: Likewise.
8763 * inet/htonl.c: Likewise.
8764 * inet/setipv4sourcefilter.c: Likewise.
8765 * inet/setsourcefilter.c: Likewise.
8766 * inet/test-inet6_opt.c: Likewise.
8767 * inet/tst-network.c: Likewise.
8768 * locale/C-collate.c: Likewise.
8769 * locale/C-ctype.c: Likewise.
8770 * locale/C-time.c: Likewise.
8771 * locale/C-translit.h: Likewise.
8772 * locale/loadarchive.c: Likewise.
8773 * locale/programs/3level.h: Likewise.
8774 * locale/programs/charmap.c: Likewise.
8775 * locale/programs/charmap.h: Likewise.
8776 * locale/programs/ld-address.c: Likewise.
8777 * locale/programs/ld-collate.c: Likewise.
8778 * locale/programs/ld-ctype.c: Likewise.
8779 * locale/programs/ld-identification.c: Likewise.
8780 * locale/programs/ld-measurement.c: Likewise.
8781 * locale/programs/ld-messages.c: Likewise.
8782 * locale/programs/ld-monetary.c: Likewise.
8783 * locale/programs/ld-name.c: Likewise.
8784 * locale/programs/ld-numeric.c: Likewise.
8785 * locale/programs/ld-paper.c: Likewise.
8786 * locale/programs/ld-telephone.c: Likewise.
8787 * locale/programs/ld-time.c: Likewise.
8788 * locale/programs/linereader.c: Likewise.
8789 * locale/programs/locale.c: Likewise.
8790 * locale/programs/locarchive.c: Likewise.
8791 * locale/programs/locfile.h: Likewise.
8792 * locale/programs/repertoire.c: Likewise.
8793 * locale/programs/simple-hash.c: Likewise.
8794 * locale/programs/simple-hash.h: Likewise.
8795 * malloc/memusage.c: Likewise.
8796 * malloc/memusagestat.c: Likewise.
8797 * nis/nis_defaults.c: Likewise.
8798 * nis/nis_hash.c: Likewise.
8799 * nis/nis_print.c: Likewise.
8800 * nis/nis_xdr.c: Likewise.
8801 * nscd/connections.c: Likewise.
8802 * nscd/hstcache.c: Likewise.
8803 * nscd/nscd_gethst_r.c: Likewise.
8804 * nscd/nscd_getserv_r.c: Likewise.
8805 * nscd/nscd_helper.c: Likewise.
8806 * nscd/servicescache.c: Likewise.
8807 * nss/makedb.c: Likewise.
8808 * nss/nss_db/db-XXX.c: Likewise.
8809 * nss/nss_db/db-initgroups.c: Likewise.
8810 * nss/nss_db/db-netgrp.c: Likewise.
8811 * nss/nss_files/files-network.c: Likewise.
8812 * nss/nss_files/files-parse.c: Likewise.
8813 * posix/bug-regex5.c: Likewise.
8814 * posix/fnmatch_loop.c: Likewise.
8815 * posix/regcomp.c: Likewise.
8816 * posix/regexec.c: Likewise.
8817 * posix/tst-rfc3484-2.c: Likewise.
8818 * posix/tst-rfc3484-3.c: Likewise.
8819 * posix/tst-rfc3484.c: Likewise.
8820 * resolv/nss_dns/dns-canon.c: Likewise.
8821 * resolv/nss_dns/dns-network.c: Likewise.
8822 * resolv/res_init.c: Likewise.
8823 * resolv/res_mkquery.c: Likewise.
8824 * resolv/tst-aton.c: Likewise.
8825 * stdlib/cxa_atexit.c: Likewise.
8826 * stdlib/cxa_finalize.c: Likewise.
8827 * stdlib/gen-fpioconst.c: Likewise.
8828 * stdlib/strtol_l.c: Likewise.
8829 * string/tst-endian.c: Likewise.
8830 * sunrpc/auth_des.c: Likewise.
8831 * sunrpc/clnt_udp.c: Likewise.
8832 * sunrpc/rtime.c: Likewise.
8833 * sunrpc/svcauth_des.c: Likewise.
8834 * sunrpc/xdr.c: Likewise.
8835 * sunrpc/xdr_intXX_t.c: Likewise.
8836 * sunrpc/xdr_rec.c: Likewise.
8837 * sysdeps/generic/ldconfig.h: Likewise.
8838 * sysdeps/generic/ldsodefs.h: Likewise.
8839 * sysdeps/generic/memusage.h: Likewise.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8850 * sysdeps/posix/getaddrinfo.c: Likewise.
8851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8855 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8856 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8857 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8858 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8859 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8860 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8862 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8863 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8864 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8866 * sysdeps/x86_64/dl-tls.h: Likewise.
8867 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8868 * time/alt_digit.c: Likewise.
8869 * time/era.c: Likewise.
8870 * wcsmbs/tst-c16c32-1.c: Likewise.
8872 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8874 * math/libm-test.inc (struct test_sincos_data): New type.
8875 (RUN_TEST_LOOP_sincos): New macro.
8876 (sincos_test_data): New variable.
8877 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8879 2013-05-16 Richard Henderson <rth@redhat.com>
8881 * math/atest-exp2.c (LIMB64): New macro.
8882 (CONSTSZ): New macro.
8883 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8885 (print_mpn_fp): ... to function scope.
8886 (read_mpn_hex): Remove.
8888 (exp2_mpn): Use mp_log2.
8889 (main): Use mp_exp1.
8891 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8893 * math/libm-test.inc: Remove comment about not testing "inexact"
8895 (INEXACT_EXCEPTION): New macro.
8896 (NO_INEXACT_EXCEPTION): Likewise.
8897 (INVALID_EXCEPTION_OK): Update value.
8898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8899 (OVERFLOW_EXCEPTION_OK): Likewise.
8900 (UNDERFLOW_EXCEPTION_OK): Likewise.
8901 (IGNORE_ZERO_INF_SIGN): Likewise.
8902 (ERRNO_UNCHANGED): Likewise.
8903 (ERRNO_EDOM): Likewise.
8904 (ERRNO_ERANGE): Likewise.
8905 (test_exceptions): Handle testing "inexact" exceptions.
8906 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8907 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8908 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8909 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8911 (rint_towardzero_test_data): Likewise.
8912 (rint_downward_test_data): Likewise.
8913 (rint_upward_test_data): Likewise.
8915 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8916 with OVERFLOW_EXCEPTION.
8917 (exp10_test_data): Likewise.
8918 (exp2_test_data): Likewise.
8919 (expm1_test_data): Likewise.
8920 (lgamma_test_data): Likewise.
8921 (pow_test_data): Likewise.
8922 (tgamma_test_data): Likewise.
8923 (yn_test_data): Remove duplicate test of overflow.
8925 * math/libm-test.inc (struct test_cc_c_data): New type.
8926 (RUN_TEST_LOOP_cc_c): New macro.
8927 (cpow_test_data): New variable.
8928 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8930 * math/libm-test.inc (struct test_f_L_data): New type.
8931 (RUN_TEST_LOOP_f_L): New macro.
8932 (llrint_test_data): New variable.
8933 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8934 (llrint_tonearest_test_data): New variable.
8935 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8936 (llrint_towardzero_test_data): New variable.
8937 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8938 (llrint_downward_test_data): New variable.
8939 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8940 (llrint_upward_test_data): New variable.
8941 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8942 (llround_test_data): New variable.
8943 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8945 2013-05-13 Peter Collingbourne <pcc@google.com>
8947 * math/atest-exp2.c (get_log2): Remove const attribute.
8949 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8951 * math/libm-test.inc (struct test_f_l_data): New type.
8952 (RUN_TEST_LOOP_f_l): New macro.
8953 (lrint_test_data): New variable.
8954 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8955 (lrint_tonearest_test_data): New variable.
8956 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8957 (lrint_towardzero_test_data): New variable.
8958 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8959 (lrint_downward_test_data): New variable.
8960 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8961 (lrint_upward_test_data): New variable.
8962 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8963 (lround_test_data): New variable.
8964 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8966 2013-05-15 Peter Collingbourne <pcc@google.com>
8968 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8969 (EXTRACT_WORDS64) Use where appropriate.
8970 (INSERT_WORDS64) Likewise.
8972 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8973 constraints with x constraints.
8974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8976 * malloc/obstack.c (_obstack_compat): Add initializer.
8978 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8981 si_trapno and add si_addr_lsb to _sifields.sigfault.
8982 (si_trapno): Remove macro.
8983 (si_addr_lsb): Define new macro.
8984 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8986 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8988 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8989 instead of TEST_f_l.
8990 (llrint_test_tonearest): Likewise.
8991 (llrint_test_towardzero): Likewise.
8992 (llrint_test_downward): Likewise.
8993 (llrint_test_upward): Likewise.
8994 (llround_test): Likewise.
8996 * math/libm-test.inc (struct test_f_i_data): Add comment.
8997 (RUN_TEST_LOOP_f_b): New macro.
8998 (RUN_TEST_LOOP_f_b_tg): Likewise.
8999 (finite_test_data): New variable.
9000 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9001 (isfinite_test_data): New variable.
9002 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9003 (isinf_test_data): New variable.
9004 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9005 (isnan_test_data): New variable.
9006 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9007 (isnormal_test_data): New variable.
9008 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9009 (issignaling_test_data): New variable.
9010 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9011 (signbit_test_data): New variable.
9012 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9014 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9015 with INVALID_EXCEPTION.
9016 (acosh_test_data): Likewise.
9017 (asin_test_data): Likewise.
9018 (atanh_test_data): Likewise.
9019 (fmod_test_data): Likewise.
9020 (log_test_data): Likewise.
9021 (log10_test_data): Likewise.
9022 (log2_test_data): Likewise.
9023 (pow_test_data): Likewise.
9024 (sqrt_test_data): Likewise.
9025 (y0_test_data): Likewise.
9026 (y1_test_data): Likewise.
9027 (yn_test_data): Likewise.
9029 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9032 * math/libm-test.inc (struct test_ff_i_data): New type.
9033 (RUN_TEST_LOOP_ff_i_tg): New macro.
9034 (isgreater_test_data): New variable.
9035 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9036 (isgreaterequal_test_data): New variable.
9037 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9038 (isless_test_data): New variable.
9039 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9040 (islessequal_test_data): New variable.
9041 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9042 (islessgreater_test_data): New variable.
9043 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9044 (isunordered_test_data): New variable.
9045 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9047 2013-05-14 David S. Miller <davem@davemloft.net>
9049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9051 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9053 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9055 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9057 (struct test_f_i_data): Change type of max_ulp to int.
9059 * math/libm-test.inc (test_ffI_f1_data): New type.
9060 (RUN_TEST_LOOP_ffI_f1): New macro.
9061 (remquo_test_data): New variable.
9062 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9064 * setjmp/tst-setjmp-fp.c: New file.
9065 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9066 (link-libm): New variable.
9067 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9069 * math/libm-test.inc (struct test_f_i_data): New type.
9070 (RUN_TEST_LOOP_f_i): New macro.
9071 (RUN_TEST_LOOP_f_i_tg): Likewise.
9072 (fpclassify_test_data): New variable.
9073 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9074 (ilogb_test_data): New variable.
9075 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9077 * math/libm-test.inc (scalbln_test): Correct function name in END
9080 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9081 (RUN_TEST_LOOP_fI_f1): New macro.
9082 (frexp_test_data): New variable.
9083 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9085 * math/libm-test.inc (struct test_fF_f1_data): New type.
9086 (RUN_TEST_LOOP_fF_f1): New macro.
9087 (modf_test_data): New variable.
9088 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9090 * math/libm-test.inc (struct test_f_f1_data): New type.
9091 (RUN_TEST_LOOP_f_f1): New macro.
9092 (gamma_test_data): New variable.
9093 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9094 (lgamma_test_data): New variable.
9095 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9097 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9100 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9101 (main): Comment "tls" pseudo-hwcap.
9103 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9105 * math/libm-test.inc (struct test_fl_f_data): New type.
9106 (RUN_TEST_LOOP_fl_f): New variable.
9107 (scalbln_test_data): New variable.
9108 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9110 * math/libm-test.inc (struct test_fi_f_data): New type.
9111 (RUN_TEST_LOOP_fi_f): New macro.
9112 (ldexp_test_data): New variable.
9113 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9114 (scalbn_test_data): New variable.
9115 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9117 * math/libm-test.inc (struct test_c_f_data): New type.
9118 (RUN_TEST_LOOP_c_f): New macro.
9119 (cabs_test_data): New variable.
9120 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9121 (carg_test_data): New variable.
9122 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9123 (cimag_test_data): New variable.
9124 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9125 (creal_test_data): New variable.
9126 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9128 * math/libm-test.inc (struct test_if_f_data): New type.
9129 (RUN_TEST_LOOP_if_f): New macro.
9130 (jn_test_data): New variable.
9131 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9132 (yn_test_data): New variable.
9133 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9135 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9137 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9139 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9140 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9142 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9144 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9145 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9146 (bench-deps): Add bench-timing.h.
9147 * benchtests-bench-skeleton.c: Include bench-timing.h.
9148 (main): Use TIMING_* macros instead of clock_gettime.
9149 * benchtests/bench-timing.h: New file.
9152 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9153 Renamed from _LIB_VERSION.
9154 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9156 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9158 * math/libm-test.inc (struct test_fff_f_data): New type.
9159 (RUN_TEST_LOOP_fff_f): New macro.
9160 (fma_test_data): New variable.
9161 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9162 (fma_towardzero_test_data): New variable.
9163 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9164 (fma_downward_test_data): New variable.
9165 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9166 (fma_upward_test_data): New variable.
9167 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9169 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9170 (struct test_c_c_data): New type.
9171 (RUN_TEST_LOOP_c_c): New macro.
9172 (cacos_test_data): New variable.
9173 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9174 (cacosh_test_data): New variable.
9175 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9176 (casin_test_data): New variable.
9177 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9178 (casinh_test_data): New variable.
9179 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9180 (catan_test_data): New variable.
9181 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9182 (catanh_test_data): New variable.
9183 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9184 (ccos_test_data): New variable.
9185 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9186 (ccosh_test_data): New variable.
9187 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9188 (cexp_test_data): New variable.
9189 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9190 (clog_test_data): New variable.
9191 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9192 (clog10_test_data): New variable.
9193 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9194 (conj_test_data): New variable.
9195 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9196 (cproj_test_data): New variable.
9197 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9198 (csin_test_data): New variable.
9199 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9200 (csinh_test_data): New variable.
9201 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9202 (csqrt_test_data): New variable.
9203 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9204 (ctan_test_data): New variable.
9205 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9206 (ctan_tonearest_test_data): New variable.
9207 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9208 (ctan_towardzero_test_data): New variable.
9209 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9210 (ctan_downward_test_data): New variable.
9211 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9212 (ctan_upward_test_data): New variable.
9213 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9214 (ctanh_test_data): New variable.
9215 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9216 (ctanh_tonearest_test_data): New variable.
9217 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9218 (ctanh_towardzero_test_data): New variable.
9219 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9220 (ctanh_downward_test_data): New variable.
9221 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9222 (ctanh_upward_test_data): New variable.
9223 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9224 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9227 * math/libm-test.inc (struct test_ff_f_data): New type.
9228 (struct test_ff_f_data_nexttoward): Likewise.
9229 (RUN_TEST_LOOP_2_f): New macro.
9230 (RUN_TEST_LOOP_ff_f): Likewise.
9231 (atan2_test_data): New variable.
9232 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9233 (copysign_test_data): New variable.
9234 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9235 (fdim_test_data): New variable.
9236 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9237 (fmax_test_data): New variable.
9238 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9239 (fmin_test_data): New variable.
9240 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9241 (fmod_test_data): New variable.
9242 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9243 (hypot_test_data): New variable.
9244 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9245 (nextafter_test_data): New variable.
9246 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9247 (nexttoward_test_data): New variable.
9248 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9249 (pow_test_data): New variable.
9250 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9251 (pow_tonearest_test_data): New variable.
9252 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9253 (pow_towardzero_test_data): New variable.
9254 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9255 (pow_downward_test_data): New variable.
9256 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9257 (pow_upward_test_data): New variable.
9258 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9259 (remainder_test_data): New variable.
9260 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9261 (scalb_test_data): New variable.
9262 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9263 * sysdeps/i386/fpu/libm-test-ulps: Update.
9265 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9267 * math/libm-test.inc (fma_test): Use max_value instead of local
9269 (nextafter_test): Likewise.
9271 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9272 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9273 (acos_downward_test_data): New variable.
9274 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9275 (acos_upward_test_data): New variable.
9276 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9277 (acosh_test_data): New variable.
9278 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9279 (asin_test_data): New variable.
9280 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9281 (asin_tonearest_test_data): New variable.
9282 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9283 (asin_towardzero_test_data): New variable.
9284 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9285 (asin_downward_test_data): New variable.
9286 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9287 (asin_upward_test_data): New variable.
9288 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9289 (asinh_test_data): New variable.
9290 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9291 (atan_test_data): New variable.
9292 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9293 (atanh_test_data): New variable.
9294 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9295 (cbrt_test_data): New variable.
9296 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9297 (ceil_test_data): New variable.
9298 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9299 (cos_test_data): New variable.
9300 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9301 (cos_tonearest_test_data): New variable.
9302 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9303 (cos_towardzero_test_data): New variable.
9304 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9305 (cos_downward_test_data): New variable.
9306 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9307 (cos_upward_test_data): New variable.
9308 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9309 (cosh_test_data): New variable.
9310 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9311 (cosh_tonearest_test_data): New variable.
9312 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9313 (cosh_towardzero_test_data): New variable.
9314 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9315 (cosh_downward_test_data): New variable.
9316 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9317 (cosh_upward_test_data): New variable.
9318 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9319 (erf_test_data): New variable.
9320 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9321 (erfc_test_data): New variable.
9322 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9323 (exp_test_data): New variable.
9324 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9325 (exp_tonearest_test_data): New variable.
9326 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9327 (exp_towardzero_test_data): New variable.
9328 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9329 (exp_downward_test_data): New variable.
9330 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9331 (exp_upward_test_data): New variable.
9332 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9333 (exp10_test_data): New variable.
9334 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9335 (exp2_test_data): New variable.
9336 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9337 (expm1_test_data): New variable.
9338 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9339 (fabs_test_data): New variable.
9340 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9341 (floor_test_data): New variable.
9342 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9343 (j0_test_data): New variable.
9344 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9345 (j1_test_data): New variable.
9346 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9347 (log_test_data): New variable.
9348 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9349 (log10_test_data): New variable.
9350 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9351 (log1p_test_data): New variable.
9352 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9353 (log2_test_data): New variable.
9354 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9355 (logb_test_data): New variable.
9356 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9357 (logb_downward_test_data): New variable.
9358 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9359 (nearbyint_test_data): New variable.
9360 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9361 (rint_test_data): New variable.
9362 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9363 (rint_tonearest_test_data): New variable.
9364 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9365 (rint_towardzero_test_data): New variable.
9366 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9367 (rint_downward_test_data): New variable.
9368 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9369 (rint_upward_test_data): New variable.
9370 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9371 (round_test_data): New variable.
9372 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9373 (sin_test_data): New variable.
9374 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9375 (sin_tonearest_test_data): New variable.
9376 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9377 (sin_towardzero_test_data): New variable.
9378 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9379 (sin_downward_test_data): New variable.
9380 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9381 (sin_upward_test_data): New variable.
9382 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9383 (sinh_test_data): New variable.
9384 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9385 (sinh_tonearest_test_data): New variable.
9386 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9387 (sinh_towardzero_test_data): New variable.
9388 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9389 (sinh_downward_test_data): New variable.
9390 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9391 (sinh_upward_test_data): New variable.
9392 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9393 (sqrt_test_data): New variable.
9394 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9395 (tan_test_data): New variable.
9396 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9397 (tan_tonearest_test_data): New variable.
9398 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9399 (tan_towardzero_test_data): New variable.
9400 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9401 (tan_downward_test_data): New variable.
9402 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9403 (tan_upward_test_data): New variable.
9404 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9405 (tanh_test_data): New variable.
9406 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9407 (tgamma_test_data): New variable.
9408 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9409 (trunc_test_data): New variable.
9410 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9411 (y0_test_data): New variable.
9412 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9413 (y1_test_data): New variable.
9414 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9415 (significand_test_data): New variable.
9416 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9418 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9421 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9423 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9425 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9427 2013-05-10 Andreas Jaeger <aj@suse.de>
9430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9431 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9433 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9435 * math/gen-libm-test.pl (adjust_arg): New function.
9436 (special_functions): Handle generating output in both functions
9438 (parse_args): Likewise.
9439 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9440 $in_func argument to parse_args.
9441 * math/libm-test.inc (struct test_f_f_data): New type.
9442 (IF_ROUND_INIT_): New macro.
9443 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9444 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9445 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9446 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9447 (ROUND_RESTORE_): Likewise.
9448 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9449 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9450 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9451 (ROUND_RESTORE_FE_UPWARD): Likewise.
9452 (RUN_TEST_LOOP_f_f): New macro.
9453 (acos_test_data): New variable.
9454 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9455 (acos_tonearest_test_data): New variable.
9456 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9458 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9460 * benchtests/bench-skeleton.c (startup): Fix coding style.
9462 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9465 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9466 negative infinity argument.
9467 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9468 negative infinity argument.
9469 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9470 negative infinity argument.
9471 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9474 2013-05-10 Florian Weimer <fweimer@redhat.com>
9476 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9477 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9478 * iconv/iconv_prog.c (main): Likewise.
9479 * locale/programs/charmap-dir.c (charmap_readdir)
9480 (fopen_uncompressed): Likewise.
9481 * locale/programs/locfile.c (siblings_uncached)
9482 (write_locale_data): Use lstat64 instead of lstat.
9483 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9486 2013-05-10 Andreas Jaeger <aj@suse.de>
9489 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9493 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9495 * elf/dl-close.c (_dl_close_worker): Add comments.
9497 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9502 (__ieee754_rem_pio2l): Update comments.
9505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9507 (__ieee754_rem_pio2l): Update comments.
9509 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9510 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9512 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9515 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9516 (M_PI_34_LOG10El): Likewise.
9517 (M_PI2_LOG10El): Likewise.
9518 (M_PI4_LOG10El): Likewise.
9519 (M_PI_LOG10El): Likewise.
9521 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9525 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9527 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9528 (MINUS_ZERO_INIT): Likewise.
9529 (PLUS_INFTY_INIT): Likewise.
9530 (MINUS_INFTY_INIT): Likewise.
9531 (QNAN_VALUE_INIT): Likewise.
9532 (MAX_VALUE_INIT): Likewise.
9533 (MIN_VALUE_INIT): Likewise.
9534 (MIN_SUBNORM_VALUE_INIT): Likewise.
9535 (plus_zero): Initialize with PLUS_ZERO_INIT.
9536 (minus_zero): Initialize with MINUS_ZERO_INIT.
9537 (plus_infty): Initialize with PLUS_INFTY_INIT.
9538 (minus_infty): Initialize with MINUS_INFTY_INIT.
9539 (qnan_value): Initialize with QNAN_VALUE_INIT.
9540 (max_value): Initialize with MAX_VALUE_INIT.
9541 (min_value): Initialize with MIN_VALUE_INIT.
9542 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9544 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9545 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9546 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9547 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9549 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9550 (RUN_TEST_2_f): Likewise.
9551 (RUN_TEST_ff_f): Likewise.
9552 (RUN_TEST_fi_f): Likewise.
9553 (RUN_TEST_fl_f): Likewise.
9554 (RUN_TEST_fff_f): Likewise.
9555 (RUN_TEST_c_f): Likewise.
9556 (RUN_TEST_f_f1): Likewise.
9557 (RUN_TEST_fF_f1): Likewise.
9558 (RUN_TEST_fI_f1): Likewise.
9559 (RUN_TEST_ffI_f1): Likewise.
9560 (RUN_TEST_c_c): Likewise.
9561 (RUN_TEST_cc_c): Likewise.
9562 (RUN_TEST_f_i): Likewise.
9563 (RUN_TEST_f_i_tg): Likewise.
9564 (RUN_TEST_ff_i_tg): Likewise.
9565 (RUN_TEST_f_b): Likewise.
9566 (RUN_TEST_f_b_tg): Likewise.
9567 (RUN_TEST_f_l): Likewise.
9568 (RUN_TEST_f_L): Likewise.
9569 (RUN_TEST_sincos): Likewise.
9570 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9571 whether to show exceptions. Do not include ");\n" in return
9573 (special_functions): Output call to RUN_TEST_sincos instead of
9574 check_float calls. Update calls to new_test.
9575 (parse_args): Output call to single RUN_TEST_* macro instead of
9576 check_* calls and other assignments. Update calls to new_test.
9582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9583 input to result for tgamma overflow.
9584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9585 (gamma_coeff): New variable.
9586 (NCOEFF): New macro.
9587 (gamma_positive): New function.
9588 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9589 underflow here. Use gamma_positive instead of exp (lgamma) for
9591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9592 (gamma_coeff): New variable.
9593 (NCOEFF): New macro.
9594 (gammaf_positive): New function.
9595 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9596 underflow here. Use gamma_positive instead of exp (lgamma) for
9598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9599 (gamma_coeff): New variable.
9600 (NCOEFF): New macro.
9601 (gammal_positive): New function.
9602 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9603 underflow here. Use gamma_positive instead of exp (lgamma) for
9605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9606 (gamma_coeff): New variable.
9607 (NCOEFF): New macro.
9608 (gammal_positive): New function.
9609 (__ieee754_gammal_r): Handle positive infinity, overflow and
9610 underflow here. Handle NaN the same as positive infinity. Remove
9611 check x < 0xffffffff for negative integers. Use gamma_positive
9612 instead of exp (lgamma) for other arguments.
9613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9614 (gamma_coeff): New variable.
9615 (NCOEFF): New macro.
9616 (gammal_positive): New function.
9617 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9618 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9623 * sysdeps/generic/math_private.h (__gamma_productf): New
9625 (__gamma_product): Likewise.
9626 (__gamma_productl): Likewise.
9627 * math/Makefile (libm-calls): Add gamma_product.
9628 * math/libm-test.inc (tgamma_test): Add more tests.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9632 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9634 * benchtests/bench-skeleton.c (main): Preheat CPU.
9636 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9638 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9640 2013-05-07 Roland McGrath <roland@hack.frob.com>
9642 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9643 and _dl_skip_args_internal.
9645 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9647 * manual/message.texi (Message Translation): Talk about users.
9648 Message to key mapping impacts design.
9650 2013-05-06 Roland McGrath <roland@hack.frob.com>
9652 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9654 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9656 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9657 * sysdeps/wordsize-64/glob64.c: ... here.
9659 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9660 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9663 * debug/getlogin_r_chk.c: Moved to ...
9664 * login/getlogin_r_chk.c: ... here.
9665 * debug/Makefile (routines): Move getlogin_r_chk to ...
9666 * login/Makefile (routines): ... here.
9667 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9668 * login/Versions (libc: GLIBC_2.4): ... here.
9670 * io/poll.c (__poll): Renamed from poll.
9671 Add libc_hidden_def.
9672 (poll): Define as weak alias.
9674 * debug/ptsname_r_chk.c: Moved to ...
9675 * login/ptsname_r_chk.c: ... here.
9676 * debug/Makefile (routines): Move ptsname_r_chk to ...
9677 * login/Makefile (routines): ... here.
9678 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9679 * login/Versions (libc: GLIBC_2.4): ... here.
9681 * posix/getlogin.c: Moved to ...
9682 * login/getlogin.c: ... here.
9683 * posix/getlogin_r.c: Moved to ...
9684 * login/getlogin_r.c: ... here.
9685 * posix/getlogin_r.c: Moved to ...
9686 * login/getlogin_r.c: ... here.
9687 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9688 * login/Makefile (routines): ... here.
9689 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9690 * login/Versions (libc: GLIBC_2.0): ... here.
9692 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9693 (setrlimit): Define as weak alias.
9695 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9696 Call __ names for open, ftruncate, and close.
9697 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9698 (truncate): Define as weak alias.
9700 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9702 * math/gen-libm-test.pl (parse_args): Initialize x before each
9703 test of frexp, modf and remquo.
9705 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9708 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9712 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9716 2013-05-06 Roland McGrath <roland@hack.frob.com>
9718 * elf/dl-writev.h: New file.
9719 * elf/dl-misc.c: Include it.
9720 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9721 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9723 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9725 * math/libm-test.inc (noXFails): Remove variable.
9726 (noXPasses): Likewise.
9727 (BUILD_COMPLEX_INT): Remove macro.
9728 (print_screen): Remove xfail argument.
9729 (print_screen_max_error): Likewise.
9730 (update_stats): Likewise.
9731 (print_max_error): Likewise. Update calls to other affected
9733 (print_complex_max_error): Likewise.
9734 (test_single_exception): Update calls to print_screen.
9735 (test_single_errno): Likewise.
9736 (check_float_internal): Remove xfail argument. Update calls to
9737 other affected functions.
9738 (check_float): Likewise.
9739 (check_complex): Likewise.
9740 (check_int): Likewise.
9741 (check_long): Likewise.
9742 (check_bool): Likewise.
9743 (check_longlong): Likewise.
9744 (main): Don't print noXFails and noXPasses.
9745 * math/gen-libm-test.pl (top level): Don't mention expected
9746 failure handling in comment.
9747 (new_test): Don't handle expected failures.
9748 (parse_args): Don't mention expected failure handling in comment.
9749 (generate_testfile): Don't handle expected failures.
9750 (parse_ulps): Likewise.
9751 (print_ulps_file): Likewise.
9752 (get_failure): Remove function.
9753 (output_test): Don't handle expected failures.
9754 * make/README.libm-test: Don't mention expected failure handling.
9756 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9757 (minus_zero): Likewise.
9758 (plus_infty): Likewise.
9759 (minus_infty): Likewise.
9760 (qnan_value): Likewise.
9761 (max_value): Likewise.
9762 (min_value): Likewise.
9763 (min_subnorm_value): Likewise.
9764 (initialize): Do not initialize those variables dynamically.
9766 2013-05-03 Roland McGrath <roland@hack.frob.com>
9768 * io/open.c (__open_2): Moved to ...
9769 * io/open_2.c: ... this new file.
9770 * io/open64.c (__open64_2): Moved to ...
9771 * io/open64_2.c: ... this new file.
9772 * io/openat.c (__openat_2): Moved to ...
9773 * io/openat_2.c: ... this new file.
9774 * io/openat64.c (__openat64_2): Moved to ...
9775 * io/openat64_2.c: ... this new file.
9776 * io/Makefile (routines): Add them.
9777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9778 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9779 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9780 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9781 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9782 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9783 (__openat64): Add hidden_ver.
9784 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9785 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9787 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9788 Separately conditionalize setting of GLRO(dl_sysinfo) so
9789 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9790 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9792 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9797 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9798 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9799 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9800 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9801 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9803 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9805 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9808 * math/libm-test.inc (hypot_test): Do not use
9809 IGNORE_ZERO_INF_SIGN.
9811 2013-05-03 Andreas Jaeger <aj@suse.de>
9813 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9815 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9816 (PF_MAX): Adjust for VSOCK change.
9818 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9822 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9825 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9826 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9827 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9829 2013-05-02 David S. Miller <davem@davemloft.net>
9831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9833 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9835 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9837 2013-05-01 Roland McGrath <roland@hack.frob.com>
9839 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9841 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9844 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9845 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9846 Use __attribute__ ((__gnu_inline__)).
9847 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9848 Don't use __attribute__ ((__gnu_inline__)).
9850 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9853 * math/s_catan.c (__catan): Handle small real or imaginary part of
9854 input specially to avoid spurious underflow.
9855 * math/s_catanf.c (__catanf): Likewise.
9856 * math/s_catanh.c (__catanh): Likewise.
9857 * math/s_catanhf.c (__catanhf): Likewise.
9858 * math/s_catanhl.c (__catanhl): Likewise.
9859 * math/s_catanl.c (__catanl): Likewise.
9860 * math/libm-test.inc (catan_test): Add more tests.
9861 (catanh_test): Likewise.
9862 * sysdeps/i386/fpu/libm-test-ulps: Update.
9863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9865 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9869 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9872 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9873 accurately for denominator in atan2.
9874 * math/s_catanf.c (__catanf): Likewise.
9875 * math/s_catanh.c (__catanh): Likewise.
9876 * math/s_catanhf.c (__catanhf): Likewise.
9877 * math/s_catanhl.c (__catanhl): Likewise.
9878 * math/s_catanl.c (__catanl): Likewise.
9879 * math/libm-test.inc (catan_test): Add more tests.
9880 (catanh_test): Likewise.
9881 * sysdeps/i386/fpu/libm-test-ulps: Update.
9882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9884 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9886 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9888 * benchtests/Makefile (bench): Remove slow benchmarks.
9889 * benchtests/atan-inputs: Add slow benchmark inputs.
9890 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9891 (BENCH_FUNC): Accept variant offset.
9893 * benchtests/bench-skeleton.c (main): Run benchmark for each
9895 * benchtests/cos-inputs: Add slow benchmark inputs.
9896 * benchtests/exp-inputs: Likewise.
9897 * benchtests/pow-inputs: Likewise.
9898 * benchtests/sin-inputs: Likewise.
9899 * benchtests/slowatan-inputs: Remove.
9900 * benchtests/slowatan.c: Remove.
9901 * benchtests/slowcos-inputs: Remove.
9902 * benchtests/slowcos.c: Remove.
9903 * benchtests/slowexp-inputs: Remove.
9904 * benchtests/slowexp.c: Remove.
9905 * benchtests/slowpow-inputs: Remove.
9906 * benchtests/slowpow.c: Remove.
9907 * benchtests/slowsin-inputs: Remove.
9908 * benchtests/slowsin.c: Remove.
9909 * benchtests/slowtan-inputs: Remove.
9910 * benchtests/slowtan.c: Remove.
9911 * benchtests/tan-inputs: Add slow benchmark inputs.
9912 * scripts/bench.pl: Parse comments and directives.
9914 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9916 ($(objpfx)bench-%.c): Remove *-ITER.
9917 * benchtests/bench-modf.c: Remove definition of ITER.
9918 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9919 (main): Loop for DURATION seconds instead of fixed number of
9921 * scripts/bench.pl: Don't expect iterations in parameters.
9923 2013-04-29 Roland McGrath <roland@hack.frob.com>
9925 * io/fchdir.c (__fchdir): Renamed from fchdir.
9926 (fchdir): Define as weak alias.
9928 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9930 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9931 (ERRNO_EDOM): Likewise.
9932 (ERRNO_ERANGE): Likewise.
9933 (noErrnoTests): New variable.
9934 (init_max_error): Set errno to 0.
9935 (test_single_errno): New function.
9936 (test_errno): Likewise.
9937 (check_float_internal): Call test_errno. Set errno to 0.
9938 (check_complex): Refer to errno tests in comment.
9939 (check_int): Call test_errno. Set errno to 0.
9940 (check_long): Likewise.
9941 (check_bool): Likewise.
9942 (check_longlong): Likewise.
9943 (cos_test): Use ERRNO_* flags for errno tests instead of
9945 (expm1_test): Likewise.
9946 (fmod_test): Likewise.
9947 (ilogb_test): Likewise.
9948 (lgamma_test): Likewise.
9949 (pow_test): Likewise.
9950 (remainder_test): Likewise.
9951 (sin_test): Likewise.
9952 (tan_test): Likewise.
9953 (yn_test): Likewise.
9954 (initialize): Set errno to 0.
9955 (main): Print number of errno tests.
9956 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9958 2013-04-29 Andreas Jaeger <aj@suse.de>
9961 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9965 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9966 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9970 * stdlib/random.c (__initstate): Return NULL if
9974 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9975 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9978 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9982 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9984 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9985 of individual tests.
9986 (casin_test): Likewise.
9987 (casinh_test): Likewise.
9989 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9992 * math/s_catan.c (__catan): Handle arguments with large real or
9993 imaginary part separately without squaring.
9994 * math/s_catanf.c (__catanf): Likewise.
9995 * math/s_catanh.c (__catanh): Likewise.
9996 * math/s_catanhf.c (__catanhf): Likewise.
9997 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9999 (__catanhl): Handle arguments with large real or imaginary part
10000 separately without squaring.
10001 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10003 (__catanl): Handle arguments with large real or imaginary part
10004 separately without squaring.
10005 * math/libm-test.inc (catan_test): Add more tests.
10006 (catanh_test): Likewise.
10007 * sysdeps/i386/fpu/libm-test-ulps: Update.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10010 2013-04-27 Andreas Jaeger <aj@suse.de>
10013 * stdlib/stdlib.h: Update guards for qecvt.
10014 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10017 2013-04-27 Allan McRae <allan@archlinux.org>
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10021 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10024 * math/s_catan.c: Include <float.h>.
10025 (__catan): Ensure underflow exception occurs for underflowed
10027 * math/s_catanf.c: Include <float.h>.
10028 (__catanf): Ensure underflow exception occurs for underflowed
10030 * math/s_catanh.c: Include <float.h>.
10031 (__catanh): Ensure underflow exception occurs for underflowed
10033 * math/s_catanhf.c: Include <float.h>.
10034 (__catanhf): Ensure underflow exception occurs for underflowed
10036 * math/s_catanhl.c: Include <float.h>.
10037 (__catanhl): Ensure underflow exception occurs for underflowed
10039 * math/s_catanl.c: Include <float.h>.
10040 (__catanl): Ensure underflow exception occurs for underflowed
10042 * math/libm-test.inc (catan_test): Add more tests.
10043 (catanh_test): Likewise.
10046 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10047 underflowed result.
10048 * math/s_ccoshf.c (__ccoshf): Likewise.
10049 * math/s_ccoshl.c (__ccoshl): Likewise.
10050 * math/s_csin.c (__csin): Likewise.
10051 * math/s_csinf.c (__csinf): Likewise.
10052 * math/s_csinh.c (__csinh): Likewise.
10053 * math/s_csinhf.c (__csinhf): Likewise.
10054 * math/s_csinhl.c (__csinhl): Likewise.
10055 * math/s_csinl.c (__csinl): Likewise.
10056 * math/libm-test.inc (ccos_test): Add more tests.
10057 (ccosh_test): Likewise.
10058 (csin_test): Likewise.
10059 (csinh_test): Likewise.
10061 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10063 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10064 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10065 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10066 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10067 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10068 powerpc/power5+/fpu folders.
10069 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10072 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10076 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10078 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10079 additions to variable.
10080 [$(config-machine) = x86_64] (modules-names): Likewise.
10081 ($(objpfx)tst-audit3): Remove dependency.
10082 ($(objpfx)tst-audit3.out): Likewise.
10083 ($(objpfx)tst-audit4): Likewise.
10084 ($(objpfx)tst-audit4.out): Likewise.
10085 ($(objpfx)tst-audit5): Likewise.
10086 ($(objpfx)tst-audit5.out): Likewise.
10087 ($(objpfx)tst-audit6): Likewise.
10088 ($(objpfx)tst-audit6.out): Likewise.
10089 ($(objpfx)tst-audit7): Likewise.
10090 ($(objpfx)tst-audit7.out): Likewise.
10091 (tst-audit3-ENV): Remove variable.
10092 (tst-audit4-ENV): Likewise.
10093 (tst-audit5-ENV): Likewise.
10094 (tst-audit6-ENV): Likewise.
10095 (tst-audit7-ENV): Likewise.
10096 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10097 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10098 addition to variable.
10099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10104 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10105 tst-audit3, tst-audit4 and tst-audit5.
10106 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10107 tst-audit6 and tst-audit7.
10108 [$(subdir) = elf] (modules-names): Add audit modules for those
10110 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10111 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10112 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10113 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10114 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10115 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10116 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10117 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10118 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10119 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10120 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10121 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10122 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10123 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10124 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10125 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10127 [$(subdir) = elf && $(config-cflags-avx) = yes]
10128 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10129 [$(subdir) = elf && $(config-cflags-avx) = yes]
10130 (CFLAGS-tst-auditmod4a.c): Likewise.
10131 [$(subdir) = elf && $(config-cflags-avx) = yes]
10132 (CFLAGS-tst-auditmod4b.c): Likewise.
10133 [$(subdir) = elf && $(config-cflags-avx) = yes]
10134 (CFLAGS-tst-auditmod6b.c): Likewise.
10135 [$(subdir) = elf && $(config-cflags-avx) = yes]
10136 (CFLAGS-tst-auditmod6c.c): Likewise.
10137 [$(subdir) = elf && $(config-cflags-avx) = yes]
10138 (CFLAGS-tst-auditmod7b.c): Likewise.
10139 * elf/tst-audit3.c: Move to ...
10140 * sysdeps/x86_64/tst-audit3.c: ... here.
10141 * elf/tst-audit4.c: Move to ...
10142 * sysdeps/x86_64/tst-audit4.c: ... here.
10143 * elf/tst-audit5.c: Move to ...
10144 * sysdeps/x86_64/tst-audit5.c: ... here.
10145 * elf/tst-audit6.c: Move to ...
10146 * sysdeps/x86_64/tst-audit6.c: ... here.
10147 * elf/tst-audit7.c: Move to ...
10148 * sysdeps/x86_64/tst-audit7.c: ... here.
10149 * elf/tst-auditmod3a.c: Move to ...
10150 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10151 * elf/tst-auditmod3b.c: Move to ...
10152 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10153 * elf/tst-auditmod4a.c: Move to ...
10154 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10155 * elf/tst-auditmod4b.c: Move to ...
10156 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10157 * elf/tst-auditmod5a.c: Move to ...
10158 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10159 * elf/tst-auditmod5b.c: Move to ...
10160 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10161 * elf/tst-auditmod6a.c: Move to ...
10162 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10163 * elf/tst-auditmod6b.c: Move to ...
10164 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10165 * elf/tst-auditmod6c.c: Move to ...
10166 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10167 * elf/tst-auditmod7a.c: Move to ...
10168 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10169 * elf/tst-auditmod7b.c: Move to ...
10170 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10172 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10175 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10176 define unconditionally.
10177 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10178 define unconditionally.
10179 (INT8_C, INT16_C, etc.): Likewise.
10181 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10183 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10184 __ehdr_start with hidden visibility.
10186 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10188 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10190 * math/libm-test.inc (cos_test): Use accurate hex constants.
10191 (sincost_test): Likewise.
10193 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10195 * math/libm-test.inc (catan_test): Add more tests.
10196 (catanh_test): Likewise.
10198 * math/s_catanf.c (__catanf): Use suffixed floating-point
10200 * math/s_catanhf.c (__catanhf): Likewise.
10201 * math/s_catanhl.c (__catanhl): Likewise.
10202 * math/s_catanl.c (__catanl): Likewise.
10205 * math/s_catan.c (__catan): Calculate imaginary part of result
10206 with log1p not log unless computing log of number close to 0.
10207 * math/s_catanf.c (__catanf): Likewise.
10208 * math/s_catanl.c (__catanl): Likewise.
10209 * math/s_catanh.c (__catanh): Calculate real part of result with
10210 log1p not log unless computing log of number close to 0.
10211 * math/s_catanhf.c (__catanhf): Likewise.
10212 * math/s_catanhl.c (__catanhl): Likewise.
10213 * math/libm-test.inc (catan_test): Add more tests.
10214 (catanh_test): Likewise.
10215 * sysdeps/i386/fpu/libm-test-ulps: Update.
10216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10218 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10220 * benchtests/Makefile: Mention files in which fast and slow
10221 paths of math functions are implemented.
10223 2013-04-23 Roland McGrath <roland@hack.frob.com>
10225 * sysdeps/posix/timespec_get.c: New file.
10227 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10229 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10231 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10233 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10234 powerpc/power5/fpu folders.
10235 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10236 * benchtests/Makefile: Add modf testcase.
10237 * benchtests/bench-modf.c: New file: Benchmark test for mo
10239 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10242 * time/Makefile (tests): Add tst-strptime-whitespace.
10243 * time/strptime_l.c (get_number): Use ISSPACE.
10244 (__strptime_internal): Likewise.
10245 * time/tst-strptime-whitespace.c: New test case.
10247 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10249 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10251 (_nss_files_init): Set it here.
10253 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10256 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10259 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10261 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10263 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10268 2013-04-21 David S. Miller <davem@davemloft.net>
10270 * po/ru.po: Update Russion translation from translation project.
10272 2013-04-17 Adam Conrad <adconrad@0c3.net>
10274 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10277 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10279 * configure.in: Remove i386 configure warning. Remove i386 case.
10280 * configure: Regenerate.
10281 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10282 Add example to error message.
10283 * sysdeps/i386/configure: Regenerate.
10285 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10287 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10289 * benchtests/cos-inputs: New file.
10290 * benchtests/slowcos-inputs: New file.
10291 * benchtests/slowcos.c: New file.
10292 * benchtests/slowtan-inputs: New file.
10293 * benchtests/slowtan.c: New file.
10294 * benchtests/tan-inputs: New file.
10296 2013-04-16 Roland McGrath <roland@hack.frob.com>
10298 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10301 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10303 * benchtests/Makefile: Include cppflags-iterator.mk to add
10304 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10306 * Makefile.in (bench-clean): New target.
10307 * benchtests/Makefile (bench-clean): Likewise.
10309 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10311 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10313 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10315 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10317 2013-04-15 Andreas Schwab <schwab@suse.de>
10319 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10321 * nscd/pwdcache.c (cache_addpw): Likewise.
10322 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10325 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10327 * benchtests/Makefile (bench): Write all output to
10328 bench-out.tmp together.
10330 2013-04-15 Andreas Schwab <schwab@suse.de>
10332 * nscd/nscd.c (main): Don't fork again after closing files.
10334 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10336 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10338 * benchtests/Rules (bench-deps): Collect dependencies into a
10339 single variable. Add Makefile to dependencies.
10340 ($(objpfx)bench-%.c): Depend on bench-deps.
10342 2013-04-12 Roland McGrath <roland@hack.frob.com>
10343 Xavier Roche <roche+kml2@exalead.com>
10346 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10347 just that it's a file descriptor.
10348 * manual/llio.texi (Synchronizing AIO Operations): Update description
10349 for EBADF error from aio_fsync.
10351 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10353 * Rules (bench): Move target definition...
10354 * benchtests/Makefile: ... here.
10356 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10358 * math/libm-test.inc (cos_test): Fix PI/2 test.
10359 (sincos_test): Likewise.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10361 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10363 2013-04-11 Andreas Schwab <schwab@suse.de>
10366 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10367 accept exponent character only when digits were seen.
10368 * stdio-common/Makefile (tests): Add bug26.
10369 * stdio-common/bug26.c: New file.
10372 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10375 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10377 * Makeconfig (rtld-prefix): Define built linker prefix.
10378 * Rules (run-bench): Use it.
10379 * math/Makefile (run-regen-ulps): Likewise.
10381 * Rules (bench): Remove eval.
10383 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10384 Roland McGrath <roland@hack.frob.com>
10385 Ondrej Bilka <neleai@seznam.cz>
10388 * time/getdate.c: Include ctype.h and alloca.h.
10389 (__getdate_r): Trim leading and trailing spaces of input.
10390 * time/tst-getdate.c (tests): Add tests with leading and
10393 2013-04-08 Roland McGrath <roland@hack.frob.com>
10396 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10397 when computing value.
10399 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10401 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10402 Use testrun.sh to run libm tests.
10405 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10407 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10410 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10412 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10414 * Makefile.in (regen-ulps): New target.
10415 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10416 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10417 [ifneq (no,$(PERL)] (regen-ulps): New target.
10418 [ifeq (no,$(PERL)] (regen-ulps): New target.
10419 * math/libm-test.inc (ulps_file_name): Define.
10420 (output_dir): New variable.
10421 (options): Add "output-dir" option.
10422 (parse_opt): Handle 'o' case.
10423 (main): If output_dir is non-NULL use it as a prefix
10425 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10427 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10429 [BZ #10060, #10062]
10430 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10431 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10432 fail configure if __sync_val_compare_and_swap is not inlined.
10433 * sysdeps/i386/configure: Regenerate.
10434 * configure.in: Build for i686 when configured for i386.
10435 * configure: Regenerate.
10436 * README: Remove i386 reference.
10438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10440 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10443 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10445 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10446 (lmsnanval): New variables.
10447 (F): Add conversion tests.
10448 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10449 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10451 * stdio-common/tstdiomisc.c (F): Properly collect individual
10454 [BZ #14686, #15336]
10455 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10456 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10457 Instead, use input NaN values or generate a qNaN by arithmetic
10458 operation. Also fix bugs to comply with the standard.
10459 * math/libm-test.inc (remainder_test): Add more tests.
10461 [BZ #15335, #15342]
10462 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10464 input NaN values or generate a qNaN by arithmetic operation.
10466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10469 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10472 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10475 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10476 underflowed result.
10477 * math/s_cexpf.c (__cexpf): Likewise.
10478 * math/s_cexpl.c (__cexpl): Likewise.
10479 * math/libm-test.inc (cexp_test): Add more tests.
10481 2013-04-03 Andreas Schwab <schwab@suse.de>
10484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10485 order arrays from heap if bigger than alloca cutoff.
10487 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10489 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10490 (SNAN_TESTS_double): Refer to GCC PR56831.
10491 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10494 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10496 * Rules (bench): Move bench.out after the run is complete.
10498 * Rules (bench): Echo currently running benchmark.
10500 * benchtests/Makefile (bench): Add atan and slowatan.
10501 * benchtests/atan-inputs: New file.
10502 * benchtests/slowatan-inputs: New file.
10503 * benchtests/slowatan.c: New file.
10505 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10510 * sysdeps/unix/sysv/linux/kernel-features.h
10511 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10512 __ASSUME_XFS_RESTRICTED_CHOWN.
10513 * sysdeps/unix/sysv/linux/pathconf.c
10514 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10515 Save and restore errno.
10517 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10520 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10521 arguments using __kernel_casinh.
10522 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10523 arguments using __kernel_casinhf.
10524 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10525 arguments using __kernel_casinhl.
10526 * math/libm-test.inc (cacosh_test): Add more tests.
10527 * sysdeps/i386/fpu/libm-test-ulps: Update.
10528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10530 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10532 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10535 * bench/Makefile (bench): Add sin and slowsin.
10536 * benchtests/sin-inputs: New file.
10537 * benchtests/slowsin-inputs: New file.
10538 * benchtests/slowsin.c: New file.
10540 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10541 (bench): Add slowexp and slowpow.
10542 (exp-ITER): Increase iterations.
10543 (pow-ITER): Likewise.
10544 * benchtests/exp-inputs: Change input.
10545 * benchtests/pow-inputs: Likewise.
10546 * benchtests/slowexp-inputs: New file.
10547 * benchtests/slowexp.c: New file.
10548 * benchtests/slowpow-inputs: New file.
10549 * benchtests/slowpow.c: New file.
10551 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10558 * benchtests/Makefile: Add rint benchtest.
10559 * benchtests/rint-inputs: Input for rint benchtest.
10561 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10563 * Versions.def (libm): Add GLIBC_2.18.
10564 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10565 hidden libm prototypes.
10566 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10567 * math/Makefile (libm-calls): Add s_issignaling.
10568 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10569 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10570 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10572 * math/math.h [__USE_GNU] (issignaling): New macro.
10573 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10574 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10576 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10579 * manual/arith.texi (issignaling): New section.
10580 * manual/libm-err-tab.pl (@all_functions): Update comment.
10581 * math/gen-libm-test.pl (parse_args): Apply special handling for
10583 * math/libm-test.inc (print_float, issignaling_test): New
10585 (check_float_internal): Add issignaling checks.
10586 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10587 default definition.
10588 * sysdeps/powerpc/math-tests.h: New file.
10589 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10591 * math/test-snan.c (TEST_FUNC): Likewise.
10593 2013-03-30 David S. Miller <davem@davemloft.net>
10595 * po/de.po: Update from translation team.
10597 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10601 imaginary part less than 1.0 and real part less than 0.5
10603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10605 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10606 (cacos_test): Add more tests.
10607 (casin_test): Likewise.
10608 (casinh_test): Likewise.
10609 * sysdeps/i386/fpu/libm-test-ulps: Update.
10610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10612 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10614 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10615 ONE with its value.
10617 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10618 (__pow_mp): Replace ONE and MONE with their values.
10619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10621 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10622 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10626 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10628 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10629 (__pow_mp): Replace ZERO and MZERO with their values.
10630 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10635 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10638 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10640 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10642 2013-03-28 Roland McGrath <roland@hack.frob.com>
10644 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10645 Declare with __attribute__ ((weak)).
10646 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10647 Call __call_tls_dtors only if it's not NULL.
10649 2013-03-28 Roland McGrath <roland@hack.frob.com>
10651 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10652 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10653 magic __ehdr_start linker symbol if it's defined.
10654 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10655 them up here if it was already done.
10657 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10658 (_dl_aux_init): Use const in cast when setting it.
10659 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10660 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10661 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10663 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10665 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10666 * csu/libc-tls.c: Nor here.
10667 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10669 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10670 (__libc_message): Never call vsyslog.
10672 2013-03-28 Alan Modra <amodra@gmail.com>
10674 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10676 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10679 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10686 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10689 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10690 Don't add gid passed as argument.
10692 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10694 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10697 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10698 imaginary part between 1.0 and 1.5 and real part less than 0.5
10700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10702 * math/libm-test.inc (cacos_test): Add more tests.
10703 (casin_test): Likewise.
10704 (casinh_test): Likewise.
10705 * sysdeps/i386/fpu/libm-test-ulps: Update.
10706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10710 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10713 (denorm): Likewise.
10714 (__dbl_mp): Likewise.
10715 (add_magnitudes): Likewise.
10716 (sub_magnitudes): Likewise.
10724 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10726 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10727 (__dubcos): Likewise.
10728 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10729 (__ieee754_acos): Likewise.
10730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10732 (__exp1): Likewise.
10733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10736 (my_log2): Likewise.
10737 (checkint): Likewise.
10738 * sysdeps/ieee754/dbl-64/e_remainder.c
10739 (__ieee754_remainder): Likewise.
10740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10742 (bsloww): Likewise.
10743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10745 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10747 MANTISSA_STORE_T to store computations on mantissa. Use
10748 macros for rounding and division.
10749 (denorm): Likewise.
10750 (__dbl_mp): Likewise.
10751 (add_magnitudes): Likewise.
10752 (sub_magnitudes): Likewise.
10755 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10756 powers of two in terms of TWOPOW macro.
10757 (mp_no): Make type of mantissa as MANTISSA_T.
10758 [!RADIXI]: Define RADIXI.
10759 [!TWO52]: Define TWO52.
10760 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10762 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10764 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10765 llroundl symbol when building for PPC32.
10767 2013-03-24 Mark H Weaver <mhw@netris.org>
10769 * manual/arith.texi (Normalization Functions): Fix prototypes for
10770 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10772 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10776 high value to check if expl overflow.
10777 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10778 to check for underflow and overflow.
10779 * math/libm-test.inc: Add exp test.
10781 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10784 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10787 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10789 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10792 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10794 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10795 wrap blocks consisting of several statements.
10797 * sysdeps/generic/math-tests.h: New file.
10798 * sysdeps/i386/fpu/math-tests.h: Likewise.
10799 * math/test-snan.c: Include it.
10800 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10802 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10806 (__ieee754_j0l): Do not improve calculations using cos of twice
10807 input for inputs above LDBL_MAX / 2.0L.
10808 (__ieee754_y0l): Likewise.
10809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10810 (__ieee754_j1l): Do not improve calculations using cos of twice
10811 input for inputs above LDBL_MAX / 2.0L.
10812 (__ieee754_y1l): Likewise.
10813 * math/libm-test.inc (j0_test): Add another test.
10814 (j1_test): Likewise.
10815 (y0_test): Likewise.
10816 (y1_test): Likewise.
10817 * sysdeps/i386/fpu/libm-test-ulps: Update.
10819 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10821 * Rules ($(objpfx)bench-%.c): Include code from a C source
10824 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10827 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10828 imaginary part 1.0 and real part less than 0.5 specially.
10829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10831 * math/libm-test.inc (cacos_test): Add more tests.
10832 (casin_test): Likewise.
10833 (casinh_test): Likewise.
10834 * sysdeps/i386/fpu/libm-test-ulps: Update.
10835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10837 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10840 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10842 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10844 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10845 * config.make.in (config-cflags-sse4): Remove variable.
10846 (config-cflags-avx): Likewise.
10847 (config-cflags-sse2avx): Likewise.
10848 (config-cflags-novzeroupper): Likewise.
10849 (config-asflags-i686): Likewise.
10850 (have-mfma4): Likewise.
10851 (have-as-vis3): Likewise.
10853 * configure.in (MIG): Do not AC_SUBST.
10854 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10855 (libc_cv_cc_sse4): Do not AC_SUBST.
10856 (libc_cv_cc_avx): Likewise.
10857 (libc_cv_cc_sse2avx): Likewise.
10858 (libc_cv_cc_novzeroupper): Likewise.
10859 (libc_cv_cc_fma4): Likewise.
10860 (libc_cv_as_i686): Likewise.
10861 (libc_cv_sparc_as_vis3): Likewise.
10862 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10864 (config-asflags-i686): Likewise.
10865 (config-cflags-avx): Likewise.
10866 (config-cflags-sse2avx): Likewise.
10867 (have-mfma4): Likewise.
10868 (config-cflags-novzeroupper): Likewise.
10869 * sysdeps/mach/configure.in (MIG): Likewise.
10870 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10871 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10873 (config-cflags-avx): Likewise.
10874 (config-cflags-sse2avx): Likewise.
10875 (have-mfma4): Likewise.
10876 (config-cflags-novzeroupper): Likewise.
10877 * configure: Regenerated.
10878 * sysdeps/i386/configure: Likewise.
10879 * sysdeps/mach/configure: Likewise.
10880 * sysdeps/sparc/configure: Likewise.
10881 * sysdeps/x86_64/configure: Likewise.
10883 2013-03-20 Roland McGrath <roland@hack.frob.com>
10886 * locale/programs/localedef.c (options): Put N_ translation marker
10887 on argument names, not just descriptions.
10889 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10891 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10893 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10896 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10898 2013-03-19 Roland McGrath <roland@hack.frob.com>
10900 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10901 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10902 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10903 [!BEFORE_ABORT] (before_abort): New function.
10904 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10905 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10906 (writev_for_fatal): New function.
10907 (WRITEV_FOR_FATAL): New macro; call that.
10908 (backtrace_and_maps): New function.
10909 (BEFORE_ABORT): New macro; call that.
10910 (struct str_list): Type removed.
10911 (__libc_message, __libc_fatal): Functions removed.
10912 Include <sysdeps/posix/libc_fatal.c> instead.
10914 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10916 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10918 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10921 2013-03-19 Andreas Schwab <schwab@suse.de>
10923 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10924 * sysdeps/gnu/configure: Regenerate.
10926 * configure.in: Substitute libc_cv_rtlddir.
10927 * configure: Regenerate.
10928 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10929 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10930 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10931 * elf/Makefile (install-others, CFLAGS-interp.c)
10932 (ldso_install, common-ldd-rewrite): Likewise.
10933 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10934 $(inst_slibdir)/$(rtld-installed-name).
10935 * scripts/rellns-sh: Add -p option.
10936 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10939 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10941 * manual/nptl.texi: Renamed to ...
10942 * manual/threads.texi: ... this.
10943 * manual/Makefile (chapters): Update.
10945 2013-03-18 Roland McGrath <roland@hack.frob.com>
10948 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10949 on argument names, not just descriptions.
10950 * malloc/memusagestat.c (options): Likewise.
10951 * nss/getent.c (options): Likewise.
10953 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10956 * iconv/iconv_prog.c (options): Put N_ translation marker
10957 on argument names, not just descriptions.
10958 * iconv/iconvconfig.c (options): Likewise.
10960 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10962 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10963 implementation which is faster on all x86_64 architectures.
10964 Tested on AMD, Intel Nehalem, SNB, IVB.
10965 * sysdeps/x86_64/strnlen.S: Likewise.
10967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10968 Remove all multiarch strlen and strnlen versions.
10969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10970 Remove strlen and strnlen related parts.
10972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10973 Inline strlen part.
10974 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10976 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10977 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10978 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10979 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10980 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10981 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10983 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10985 * manual/memory.texi (Malloc Tunable Parameters):
10986 Sort parameters alphabetically. Add comments for missing entries.
10988 2013-03-17 David S. Miller <davem@davemloft.net>
10990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10992 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10995 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10996 for arguments at most half maximum finite value.
10997 * math/libm-test.inc (j0_test): Add more tests.
10998 (j1_test): Likewise.
10999 (y0_test): Likewise.
11000 (y1_test): Likewise.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11006 1 / x and functions P and Q for arguments above 0x1p256L.
11007 (__ieee754_y0l): Likewise.
11008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11009 (__ieee754_y1l): Likewise.
11010 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11011 (j1_test): Likewise.
11012 (y0_test): Likewise.
11013 (y1_test): Likewise.
11015 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11017 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11020 2013-03-15 Roland McGrath <roland@hack.frob.com>
11022 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11023 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11024 zero since it's initialized to EXEC_PAGESIZE.
11026 * sysdeps/unix/sysv/linux/ldsodefs.h
11027 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11028 * sysdeps/generic/ldsodefs.h: ... here.
11030 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11032 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11034 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11036 * math/test-snan.c: Renamed from
11037 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11038 * math/Makefile (tests): Add test-snan.
11039 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11042 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11043 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11045 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11046 __builtin_nan family of functions.
11047 * math/libm-test.inc (initialize): Initialize qnan_value with
11048 __builtin_nan family of functions.
11049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11051 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11053 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11054 storage class. Initialize qNaN_var and sNaN_var with
11055 __builtin_nan and __builtin_nans families of functions,
11058 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11059 (sqrt_test): Remove duplicate test with qNaN input.
11060 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11061 (round_test, signbit_test, significand_test): Note missing +/-Inf
11062 as well as qNaN tests.
11064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11065 qNaN_var. Fix a few strings, too.
11066 * math/libm-test.inc (nan_value): Rename to qnan_value.
11067 * math/gen-libm-test.pl (%beautify): Adjust to that.
11068 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11069 * math/test-misc.c (main): Likewise.
11070 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11071 to __qnan_bytes, and __qnan_union, respectively.
11072 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11074 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11075 and lqnanval, respectively.
11076 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11077 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11079 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11081 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11082 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11085 * math/test-misc.c (main): Fix copy'n'pastos.
11086 * misc/tst-efgcvt.c (special): Likewise.
11088 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11089 Remove declarations.
11091 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11093 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11094 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11095 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11096 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11098 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11101 macro to return vdso values correctly in IFUNC implementations.
11102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11103 Optimization by using IFUNC.
11105 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11106 Richard Henderson <rth@redhat.com>
11107 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11109 * Makefile.in (bench): New target.
11110 * NEWS: Mention the benchmark framework.
11111 * Rules (bench): Likewise.
11112 (binaries-bench): Generate binaries for functions to
11114 * benchtests/Makefile: New makefile for benchmark tests.
11115 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11117 * benchtests/exp-inputs: New input file for EXP function.
11118 * benchtests/pow-inputs: New input file for POW function.
11119 * scripts/bench.pl: New script to generate source files for
11120 benchmark programs.
11122 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11124 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11126 computations on mantissa. Use macros for rounding and
11128 (denorm): Likewise.
11129 (__dbl_mp): Likewise.
11130 (add_magnitudes): Likewise.
11131 (sub_magnitudes): Likewise.
11134 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11135 powers of two in terms of TWOPOW macro.
11136 (mp_no): Make type of mantissa as MANTISSA_T.
11137 [!RADIXI]: Define RADIXI.
11138 [!TWO52]: Define TWO52.
11139 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11141 * manual/nptl.texi (cindex): Modify threads to pthreads.
11143 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11145 * sysdeps/x86_64/preconfigure: Regenerated.
11147 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11150 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11152 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11153 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11155 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11156 * math/libm-test.inc (j0_test): Do not allow one spurious
11157 underflow exception.
11158 (y1_test): Likewise.
11160 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11162 * manual/Makefile (chapters): Add nptl.
11163 * manual/debug.texi (Debugging Support): Add link to Threads
11165 * manual/nptl.texi: New file.
11167 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11169 2013-03-14 Petr Baudis <pasky@ucw.cz>
11171 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11172 for non-NULL pointer before the memory validity test. Pointed
11173 out by Holger Brunck <holger.brunck@keymile.com>.
11175 2013-03-13 Andreas Schwab <schwab@suse.de>
11177 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11180 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11182 * timezone/zic.c: Update from tzcode 2013b.
11184 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11186 * manual/install.texi (Configuring and compiling):
11187 Mention i686 and i586.
11188 * INSTALL: Regenerate.
11190 2013-03-12 Roland McGrath <roland@hack.frob.com>
11192 * sysdeps/init_array/elf-init.c: New file.
11194 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11195 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11197 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11198 __gmon_start__ as global, but as static with a .preinit_array pointer.
11199 * sysdeps/init_array/gmon-start.c: New file. Use that.
11200 * sysdeps/init_array/crti.S: New file, empty except for comments.
11201 * sysdeps/init_array/crtn.S: Likewise.
11203 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11205 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11208 Remove Prefer_SSE_for_memop.
11209 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11210 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11211 HAS_PREFER_SSE_FOR_MEMOP.
11212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11215 Remove bzero, memset ifunc support.
11216 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11217 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11221 2013-03-11 Andreas Schwab <schwab@suse.de>
11224 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11227 (GLIBC_2.16): Remove pthread_atfork.
11229 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11231 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11232 (ptestcases.h): Likewise.
11234 2013-03-08 Roland McGrath <roland@hack.frob.com>
11236 * Makeconfig ($(common-objpfx)config.status): Depend on
11237 sysdeps/*/preconfigure{,.in} too.
11239 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11241 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11242 (__free_hook): Use void * instead of __malloc_ptr_t.
11243 (__malloc_hook): Likewise.
11244 (__realloc_hook): Likewise.
11245 (__memalign_hook): Likewise.
11246 (__after_morecore_hook): Likewise.
11247 * malloc/arena.c (save_malloc_hook): Likewise.
11248 (save_free_hook): Likewise.
11249 * malloc/hooks.c (malloc_hook_ini): Likewise.
11250 (realloc_hook_ini): Likewise.
11251 (memalign_hook_ini): Likewise.
11252 * malloc/malloc.c (malloc_hook_ini): Likewise.
11253 (realloc_hook_ini): Likewise.
11254 (memalign_hook_ini): Likewise.
11255 (__free_hook): Likewise.
11256 (__malloc_hook): Likewise.
11257 (__realloc_hook): Likewise.
11258 (__memalign_hook): Likewise.
11259 (__libc_malloc): Likewise.
11260 (__libc_free): Likewise.
11261 (__libc_realloc): Likewise.
11262 (__libc_memalign): Likewise.
11263 (__libc_valloc): Likewise.
11264 (__libc_pvalloc): Likewise.
11265 (__libc_calloc): Likewise.
11266 (__posix_memalign): Likewise.
11267 * malloc/morecore.c (__sbrk): Likewise.
11268 (__default_morecore): Likewise.
11270 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11272 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11273 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11274 __malloc_ptrdiff_t.
11276 * malloc/malloc.h (__malloc_size_t): Remove macro.
11277 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11279 (old_memalign_hook): Likewise.
11280 (old_realloc_hook): Likewise.
11281 (struct hdr): Likewise.
11283 (mallochook): Likewise.
11284 (memalignhook): Likewise.
11285 (reallochook): Likewise.
11286 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11287 (tr_old_realloc_hook): Likewise.
11288 (tr_old_memalign_hook): Likewise.
11289 (tr_mallochook): Likewise.
11290 (tr_reallochook): Likewise.
11291 (tr_memalignhook): Likewise.
11293 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11296 default_ldbl_pack and using as default implementation.
11297 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11299 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11300 redundant definition.
11301 (ldbl_insert_mantissa): Likewise.
11302 (ldbl_canonicalize): Likewise.
11303 (ldbl_nearbyint): Likewise.
11304 (ldbl_pack): Rename to ldbl_pack_ppc.
11305 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11306 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11307 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11309 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11312 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11314 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11317 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11318 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11320 2013-03-07 Andreas Jaeger <aj@suse.de>
11322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11325 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11328 Include mpa.h and declare __MPEXP.
11329 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11331 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11334 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11337 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11338 (__slowpow): Use long double EXPL and LOGL functions to
11340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11341 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11342 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11344 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11345 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11348 intermediate variable to calculate exponent.
11350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11354 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11355 [!NO__SQR]: Define __sqr.
11356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11357 and NO__SQR. Remove all code except __mul and __sqr. Include
11358 sysdeps/ieee754/dbl-64/mpa.c.
11359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11362 * posix/Makefile (tests): Add tst-pathconf.
11363 * posix/tst-pathconf.c: New test case.
11364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11368 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11370 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11372 2013-03-06 Andreas Jaeger <aj@suse.de>
11374 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11375 definition via __MAP_ANONYMOUS.
11377 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11378 it's not part of Linux headers.
11380 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11381 (MAP_HUGE_MASK): Define.
11383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11389 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11394 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11396 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11397 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11398 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11399 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11400 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11406 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11407 Handle f2fs and efivarfs.
11409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11412 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11413 (EFIVARFS_MAGIC): Add.
11414 (F2FS_LINK_MAX): Add.
11416 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11418 * stdio-common/vfprintf.c: Replace __builtin_expect with
11421 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11424 * sysdeps/generic/bp-sym.h: Remove file.
11425 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11427 <bp-sym.h> and <bp-asm.h>.
11428 (__longjmp): Don't use BP_SYM.
11429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11431 (memcpy): Don't use BP_SYM.
11432 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11433 <bp-sym.h> and <bp-asm.h>.
11434 (memcpy): Don't use BP_SYM.
11435 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11437 (memcpy): Don't use BP_SYM.
11438 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11440 (memset): Don't use BP_SYM.
11441 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11442 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11443 (__bzero): Don't use BP_SYM.
11444 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11445 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11447 <bp-sym.h> and <bp-asm.h>.
11448 (memcmp): Don't use BP_SYM. Remove comment about bounded
11450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11451 <bp-sym.h> and <bp-asm.h>.
11452 (memcpy): Don't use BP_SYM.
11453 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11454 <bp-sym.h> and <bp-asm.h>.
11455 (memset): Don't use BP_SYM.
11456 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11457 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11458 (__bzero): Don't use BP_SYM.
11459 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11460 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11462 <bp-sym.h> and <bp-asm.h>.
11463 (strncmp): Don't use BP_SYM. Remove comment about bounded
11465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11466 <bp-sym.h> and <bp-asm.h>.
11467 (memcpy): Don't use BP_SYM.
11468 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11469 <bp-sym.h> and <bp-asm.h>.
11470 (memset): Don't use BP_SYM.
11471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11473 (__bzero): Don't use BP_SYM.
11474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11477 <bp-sym.h> and <bp-asm.h>.
11478 (__memchr): Don't use BP_SYM.
11479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11480 <bp-sym.h> and <bp-asm.h>.
11481 (memcmp): Don't use BP_SYM. Remove comment about bounded
11483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11484 <bp-sym.h> and <bp-asm.h>.
11485 (memcpy): Don't use BP_SYM.
11486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11487 <bp-sym.h> and <bp-asm.h>.
11488 (__mempcpy): Don't use BP_SYM.
11489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11490 <bp-sym.h> and <bp-asm.h>.
11491 (__memrchr): Don't use BP_SYM.
11492 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11493 <bp-sym.h> and <bp-asm.h>.
11494 (memset): Don't use BP_SYM.
11495 (__bzero): Likewise.
11496 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11497 <bp-sym.h> and <bp-asm.h>.
11498 (__rawmemchr): Don't use BP_SYM.
11499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11500 <bp-sym.h> and <bp-asm.h>.
11501 (__STRCMP): Don't use BP_SYM.
11502 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11503 <bp-sym.h> and <bp-asm.h>.
11504 (strchr): Don't use BP_SYM.
11505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11506 <bp-sym.h> and <bp-asm.h>.
11507 (__strchrnul): Don't use BP_SYM.
11508 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11509 <bp-sym.h> and <bp-asm.h>.
11510 (strlen): Don't use BP_SYM.
11511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11512 <bp-sym.h> and <bp-asm.h>.
11513 (strncmp): Don't use BP_SYM. Remove comment about bounded
11515 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11516 <bp-sym.h> and <bp-asm.h>.
11517 (__strnlen): Don't use BP_SYM.
11518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11519 <bp-sym.h> and <bp-asm.h>.
11520 (__GI__setjmp): Don't use BP_SYM.
11521 (_setjmp): Likewise.
11522 (__sigsetjmp): Likewise.
11523 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11524 (L(start_addresses)): Don't use BP_SYM.
11525 (_start): Likewise.
11526 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11528 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11529 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11532 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11534 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11535 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11536 about bounded pointers.
11537 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11538 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11539 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11541 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11542 about bounded pointers. Remove GKM FIXME comments.
11543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11544 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11546 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11547 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11548 Remove GKM FIXME comments.
11549 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11550 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11551 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11553 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11554 about bounded pointers. Remove GKM FIXME comment.
11555 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11557 (strncmp): Don't use BP_SYM. Remove comment about bounded
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11560 <bp-sym.h> and <bp-asm.h>.
11561 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11563 <bp-sym.h> and <bp-asm.h>.
11564 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11567 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11569 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11572 2013-03-05 David S. Miller <davem@davemloft.net>
11574 * po/es.po: Update from translation team.
11576 2013-03-05 Andreas Jaeger <aj@suse.de>
11578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11579 <bits/mman-linux.h>.
11580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11583 <bits/mman-linux.h> to end of file.
11584 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11586 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11587 <bits/mman-linux.h> to end of file.
11588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11591 <bits/mman-linux.h> to end of file.
11593 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11594 (MCL_CURRENT, MCL_FUTURE): Define here.
11596 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11603 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11606 fourth parameter needed for rt_sigprocmask syscall.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11609 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11611 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11612 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11614 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11617 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11618 comment about bounded pointers.
11619 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11620 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11622 2013-03-04 Andreas Jaeger <aj@suse.de>
11624 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11625 common definitions.
11627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11628 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11634 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11638 __ieee754_sqrl instead of __sqrl.
11640 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11642 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11643 * sysdeps/powerpc/fpu_control.h: ... here.
11644 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11645 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11646 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11647 * sysdeps/powerpc/bits/mathinline.h: ... here.
11649 2013-03-01 Roland McGrath <roland@hack.frob.com>
11651 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11652 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11653 to just [NEED_DL_SYSINFO_DSO].
11654 * elf/dl-support.c: Likewise.
11655 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11656 * elf/rtld.c (dl_main): Likewise.
11657 * elf/setup-vdso.h (setup_vdso): Likewise.
11658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11659 * sysdeps/unix/sysv/linux/dl-sysdep.c
11660 (_dl_discover_osversion): Likewise.
11662 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11664 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11665 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11667 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 * NEWS: Mention libm performance improvements and non-x86 PI
11672 * csu/libc-start.c (__pthread_initialize_minimal): Change
11673 function arguments.
11674 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11676 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11679 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11680 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11681 <bp-sym.h> and <bp-asm.h>.
11682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11685 (memcpy): Don't use BP_SYM.
11686 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11688 (__mpn_add_n): Don't use BP_SYM.
11689 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11690 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11692 (__mpn_addmul_1): Don't use BP_SYM.
11693 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11694 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11696 (_setjmp): Don't use BP_SYM.
11697 (__novmx_setjmp): Likewise.
11698 (__GI__setjmp): Likewise.
11699 (__vmx_setjmp): Likewise.
11700 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11702 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11703 (__bzero): Don't use BP_SYM.
11704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11707 <bp-sym.h> and <bp-asm.h>.
11708 (memcpy): Don't use BP_SYM.
11709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11710 <bp-sym.h> and <bp-asm.h>.
11711 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11713 <bp-sym.h> and <bp-asm.h>.
11714 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11715 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11717 (__mpn_lshift): Don't use BP_SYM.
11718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11719 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11721 (memset): Don't use BP_SYM.
11722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11724 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11726 (__mpn_mul_1): Don't use BP_SYM.
11727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11729 <bp-sym.h> and <bp-asm.h>.
11730 (memcmp): Don't use BP_SYM.
11731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11732 <bp-sym.h> and <bp-asm.h>.
11733 (memcpy): Don't use BP_SYM.
11734 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11735 <bp-sym.h> and <bp-asm.h>.
11736 (memset): Don't use BP_SYM.
11737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11738 <bp-sym.h> and <bp-asm.h>.
11739 (strncmp): Don't use BP_SYM.
11740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11741 <bp-sym.h> and <bp-asm.h>.
11742 (memcpy): Don't use BP_SYM.
11743 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11744 <bp-sym.h> and <bp-asm.h>.
11745 (memset): Don't use BP_SYM.
11746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11747 <bp-sym.h> and <bp-asm.h>.
11748 (__memchr): Don't use BP_SYM.
11749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11750 <bp-sym.h> and <bp-asm.h>.
11751 (memcmp): Don't use BP_SYM.
11752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11753 <bp-sym.h> and <bp-asm.h>.
11754 (memcpy): Don't use BP_SYM.
11755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11756 <bp-sym.h> and <bp-asm.h>.
11757 (__mempcpy): Don't use BP_SYM.
11758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11759 <bp-sym.h> and <bp-asm.h>.
11760 (__memrchr): Don't use BP_SYM.
11761 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11762 <bp-sym.h> and <bp-asm.h>.
11763 (memset): Don't use BP_SYM.
11764 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11765 <bp-sym.h> and <bp-asm.h>.
11766 (__rawmemchr): Don't use BP_SYM.
11767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11768 <bp-sym.h> and <bp-asm.h>.
11769 (__STRCMP): Don't use BP_SYM.
11770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11771 <bp-sym.h> and <bp-asm.h>.
11772 (strchr): Don't use BP_SYM.
11773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11774 <bp-sym.h> and <bp-asm.h>.
11775 (__strchrnul): Don't use BP_SYM.
11776 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11777 <bp-sym.h> and <bp-asm.h>.
11778 (strlen): Don't use BP_SYM.
11779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11780 <bp-sym.h> and <bp-asm.h>.
11781 (strncmp): Don't use BP_SYM.
11782 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11783 <bp-sym.h> and <bp-asm.h>.
11784 (__strnlen): Don't use BP_SYM.
11785 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11787 (__mpn_rshift): Don't use BP_SYM.
11788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11790 <bp-sym.h> and <bp-asm.h>.
11791 (__sigsetjmp): Don't use BP_SYM.
11792 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11793 (L(start_addresses)): Don't use BP_SYM.
11794 (_start): Likewise.
11795 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11797 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11798 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11799 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11800 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11802 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11803 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11804 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11805 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11807 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11810 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11812 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11814 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11815 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11816 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11818 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11820 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11822 (strncmp): Don't use BP_SYM,
11823 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11825 (__mpn_sub_n): Don't use BP_SYM.
11826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11827 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11829 (__mpn_submul_1): Don't use BP_SYM.
11830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11832 <bp-sym.h> and <bp-asm.h>.
11833 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11839 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11842 Use ZK to minimize writes to Z.
11843 (sub_magnitudes): Simplify code a bit.
11844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11845 Use ZK to minimize writes to Z.
11846 (sub_magnitudes): Simplify code a bit.
11848 2013-02-27 Roland McGrath <roland@hack.frob.com>
11850 * csu/gmon-start.c: Add special exception to license text.
11852 2013-02-27 Richard Henderson <rth@redhat.com>
11854 * scripts/config.guess: Update from config.git.
11855 * scripts/config.sub: Likewise.
11857 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11861 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11863 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11865 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11867 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11869 2013-02-26 Roland McGrath <roland@hack.frob.com>
11871 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11872 [$(build-shared = yes].
11874 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11876 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11877 (__mul): Reduce iterations for calculating mantissa.
11879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11881 (__mpranred): Likewise.
11884 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11885 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11887 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11889 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11890 Define __attribute__.
11892 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11894 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11896 * posix/regex_internal.h (__attribute): Remove.
11897 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11898 (re_string_context_at): Likewise.
11899 (bitset_not): Use __attribute__ and mark function as possibly
11901 (bitset_merge): Likewise.
11902 (bitset_mask): Likewise.
11903 (re_string_char_size_at): Likewise.
11904 (re_string_wchar_at): Likewise.
11905 (re_string_elem_size_at): Likewise.
11907 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11913 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11917 (denorm): Likewise.
11918 (__dbl_mp): Likewise.
11919 (add_magnitudes): Likewise.
11920 (sub_magnitudes): Likewise.
11924 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11927 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11930 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11934 up changes with default code.
11935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11938 2013-02-24 Allan McRae <allan@archlinux.org>
11940 * manual/socket.texi (The Internet Namespace): Order menu items
11941 to match that in the file.
11943 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11944 node listing of the info page menu.
11946 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11949 * sysdeps/i386/bp-asm.h: Remove file.
11950 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11951 (PARMS): Do not use macros from bp-asm.h.
11955 (__mpn_add_n): Do not use BP_SYM
11956 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11958 (PARMS): Do not use macros from bp-asm.h.
11961 (__mpn_addmul_1): Do not use BP_SYM
11962 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11964 (PARMS): Do not use macros from bp-asm.h.
11965 (SIGMSK): Likewise.
11966 (_setjmp): Likewise. Do not use BP_SYM.
11967 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11969 (PARMS): Do not use macros from bp-asm.h.
11970 (SIGMSK): Likewise.
11971 (setjmp): Likewise. Do not use BP_SYM.
11972 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11974 (PARMS): Do not use macros from bp-asm.h.
11975 (__frexp): Do not use BP_SYM.
11977 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11979 (PARMS): Do not use macros from bp-asm.h.
11980 (__frexpf): Do not use BP_SYM.
11981 (frexpf): Likewise.
11982 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11984 (PARMS): Do not use macros from bp-asm.h.
11985 (__frexpl): Do not use BP_SYM.
11986 (frexpl): Likewise.
11987 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11989 (PARMS): Do not use macros from bp-asm.h.
11990 (__remquo): Do not use BP_SYM.
11991 (remquo): Likewise.
11992 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11994 (PARMS): Do not use macros from bp-asm.h.
11995 (__remquof): Do not use BP_SYM.
11996 (remquof): Likewise.
11997 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11999 (PARMS): Do not use macros from bp-asm.h.
12000 (__remquol): Do not use BP_SYM.
12001 (remquol): Likewise.
12002 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12004 (PARMS): Do not use macros from bp-asm.h.
12007 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12008 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12010 (PARMS): Do not use macros from bp-asm.h.
12011 (strlen): Do not use BP_SYM.
12012 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12014 (PARMS): Do not use macros from bp-asm.h.
12018 (__mpn_add_n): Do not use BP_SYM.
12019 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12021 (PARMS): Do not use macros from bp-asm.h.
12024 (__mpn_addmul_1): Do not use BP_SYM.
12025 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12028 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12030 (PARMS): Do not use macros from bp-asm.h.
12033 (__mpn_lshift): Do not use BP_SYM.
12034 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12036 (PARMS): Do not use macros from bp-asm.h.
12040 (memcpy): Likewise. Do not use BP_SYM.
12041 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12042 libc_hidden_def and weak_alias.
12043 (mempcpy): Do not use BP_SYM in weak_alias.
12044 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12046 (PARMS): Do not use macros from bp-asm.h.
12049 [!BZERO_P] (CHR): Likewise.
12050 (memset): Likewise. Do not use BP_SYM.
12051 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12053 (PARMS): Do not use macros from bp-asm.h.
12056 (__mpn_mul_1): Do not use BP_SYM.
12057 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12059 (PARMS): Do not use macros from bp-asm.h.
12062 (__mpn_rshift): Do not use BP_SYM.
12063 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12065 (PARMS): Do not use macros from bp-asm.h.
12068 (strchr): Likewise. Do not use BP_SYM.
12069 (index): Do not use BP_SYM in weak_alias.
12070 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12072 (PARMS): Do not use macros from bp-asm.h.
12075 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12076 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12078 (PARMS): Do not use macros from bp-asm.h.
12079 (strlen): Do not use BP_SYM.
12080 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12082 (PARMS): Do not use macros from bp-asm.h.
12086 (__mpn_sub_n): Do not use BP_SYM.
12087 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12089 (PARMS): Do not use macros from bp-asm.h.
12092 (__mpn_submul_1): Do not use BP_SYM.
12093 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12095 (PARMS): Do not use macros from bp-asm.h.
12099 (__mpn_add_n): Do not use BP_SYM.
12100 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12103 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12105 (PARMS): Do not use macros from bp-asm.h.
12108 (memcmp): Do not use BP_SYM.
12109 (bcmp): Do not use BP_SYM in weak_alias.
12110 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12112 (PARMS): Do not use macros from bp-asm.h.
12116 (memcpy): Likewise. Do not use BP_SYM.
12117 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12119 (PARMS): Do not use macros from bp-asm.h.
12123 (memmove): Likewise. Do not use BP_SYM.
12124 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12126 (PARMS): Do not use macros from bp-asm.h.
12130 (__mempcpy): Likewise. Do not use BP_SYM.
12131 (mempcpy): Do not use BP_SYM in weak_alias.
12132 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12134 (PARMS): Do not use macros from bp-asm.h.
12137 [!BZERO_P] (CHR): Likewise.
12138 (memset): Likewise. Do not use BP_SYM.
12139 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12141 (PARMS): Do not use macros from bp-asm.h.
12143 (strcmp): Do not use BP_SYM.
12144 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12146 (PARMS): Do not use macros from bp-asm.h.
12149 [USE_AS_STRTOK_R] (SAVE): Likewise.
12150 (FUNCTION): Likewise. Do not use BP_SYM.
12151 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12153 (strtok_r): Likewise.
12154 (__GI___strtok_r): Likewise.
12155 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12156 (PARMS): Do not use macros from bp-asm.h.
12159 (__mpn_lshift): Do not use BP_SYM.
12160 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12161 (PARMS): Do not use macros from bp-asm.h.
12164 (__memchr): Do not use BP_SYM.
12165 (memchr): Do not use BP_SYM in weak_alias.
12166 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12167 (PARMS): Do not use macros from bp-asm.h.
12170 (memcmp): Do not use BP_SYM.
12171 (bcmp): Do not use BP_SYM in weak_alias.
12172 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12173 (PARMS): Do not use macros from bp-asm.h.
12176 (__mpn_mul_1): Do not use BP_SYM.
12177 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12179 (PARMS): Do not use macros from bp-asm.h.
12182 (__rawmemchr): Do not use BP_SYM.
12183 (rawmemchr): Do not use BP_SYM in weak_alias.
12184 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12185 (PARMS): Do not use macros from bp-asm.h.
12188 (__mpn_rshift): Do not use BP_SYM.
12189 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12190 (PARMS): Do not use macros from bp-asm.h.
12191 (SIGMSK): Likewise.
12192 (__sigsetjmp): Likewise. Do not use BP_SYM.
12193 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12194 (_start): Do not use BP_SYM.
12195 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12196 (PARMS): Do not use macros from bp-asm.h.
12199 (__stpcpy): Likewise. Do not use BP_SYM.
12200 (stpcpy): Do not use BP_SYM in weak_alias.
12201 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12203 (PARMS): Do not use macros from bp-asm.h.
12207 (__stpncpy): Likewise. Do not use BP_SYM.
12208 (stpncpy): Do not use BP_SYM in weak_alias.
12209 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12210 (PARMS): Do not use macros from bp-asm.h.
12213 (strchr): Likewise. Do not use BP_SYM.
12214 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12216 (PARMS): Do not use macros from bp-asm.h.
12219 (__strchrnul): Likewise. Do not use BP_SYM.
12220 (strchrnul): Do not use BP_SYM in weak_alias.
12221 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12223 (PARMS): Do not use macros from bp-asm.h.
12225 (strcspn): Do not use BP_SYM.
12226 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12228 (PARMS): Do not use macros from bp-asm.h.
12231 (strpbrk): Likewise. Do not use BP_SYM.
12232 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12234 (PARMS): Do not use macros from bp-asm.h.
12237 (strrchr): Likewise. Do not use BP_SYM.
12238 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12239 (PARMS): Do not use macros from bp-asm.h.
12241 (strspn): Do not use BP_SYM.
12242 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12243 (PARMS): Do not use macros from bp-asm.h.
12247 (FUNCTION): Likewise. Do not use BP_SYM.
12248 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12250 (strtok_r): Likewise.
12251 (__GI___strtok_r): Likewise.
12252 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12253 (PARMS): Do not use macros from bp-asm.h.
12257 (__mpn_sub_n): Do not use BP_SYM.
12258 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12260 (PARMS): Do not use macros from bp-asm.h.
12263 (__mpn_submul_1): Do not use BP_SYM.
12264 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12266 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12268 (PARMS): Do not use macros from bp-asm.h.
12273 (__clone): Do not use BP_SYM.
12274 (clone): Do not use BP_SYM in weak_alias.
12275 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12277 (PARMS): Do not use macros from bp-asm.h.
12279 (__mmap64): Do not use BP_SYM.
12280 (mmap64): Do not use BP_SYM in weak_alias.
12281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12282 <bp-sym.h> and <bp-asm.h>.
12283 (PARMS): Do not use macros from bp-asm.h.
12284 (__posix_fadvise64_l64): Do not use BP_SYM.
12285 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12286 (PARMS): Do not use macros from bp-asm.h.
12288 (semtimedop): Do not use BP_SYM.
12289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12292 2013-02-21 Allan McRae <allan@archlinux.org>
12294 * manual/message.texi (Charset conversion in gettext):
12295 Move @end statement to beginning of line.
12297 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12305 (denorm): Likewise.
12306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12309 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12311 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12312 tail-call to the resolved function if pltexit isn't needed.
12314 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12317 or Y being zero as being unlikely.
12318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12321 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12323 * manual/nss.texi (System Databases and Name Service Switch):
12324 Remove frobnicate @pxref.
12326 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12328 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12329 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12331 2013-02-20 Petr Machata <pmachata@redhat.com>
12333 * elf/elf.h (R_ARM_TARGET1): New macro.
12334 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12335 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12336 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12337 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12338 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12339 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12340 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12341 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12342 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12343 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12344 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12345 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12346 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12347 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12348 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12349 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12350 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12351 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12352 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12353 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12354 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12355 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12356 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12357 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12358 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12359 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12360 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12361 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12362 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12363 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12364 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12365 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12366 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12367 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12368 (R_ARM_THM_GOT_BREL12): Likewise.
12369 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12370 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12371 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12372 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12373 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12374 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12375 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12376 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12377 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12379 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12381 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12382 __attribute_used__ to __attribute__ ((unused)).
12384 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12389 comment formatting.
12390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12392 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12395 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12397 (ENTER): Remove both macro definitions.
12399 (CHECK_BOUNDS_LOW): Likewise.
12400 (CHECK_BOUNDS_HIGH): Likewise.
12401 (CHECK_BOUNDS_BOTH): Likewise.
12402 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12403 (RETURN_BOUNDED_POINTER): Likewise.
12404 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12405 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12406 (POP_ERRNO_LOCATION_RETURN): Likewise.
12407 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12408 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12409 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12411 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12412 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12413 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12414 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12415 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12416 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12417 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12418 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12419 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12420 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12421 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12422 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12423 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12424 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12427 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12429 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12430 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12431 * sysdeps/i386/i586/memset.S (memset): Likewise.
12432 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12433 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12434 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12436 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12437 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12438 Change uses of L(2) to L(out).
12439 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12440 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12441 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12442 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12443 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12448 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12449 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12450 (RETURN): Do not use macro LEAVE.
12451 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12452 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12453 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12454 * sysdeps/i386/i686/memset.S (memset): Likewise.
12455 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12456 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12457 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12458 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12461 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12462 L(1_2) and L(1_3) into L(1).
12463 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12464 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12465 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12466 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12467 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12468 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12469 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12470 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12471 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12473 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12475 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12476 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12477 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12478 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12479 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12480 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12481 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12482 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12483 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12484 * sysdeps/i386/strspn.S (strspn): Likewise.
12485 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12487 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12488 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12490 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12491 L(1_3) into L(1_1).
12492 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12493 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12494 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12496 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12498 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12500 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12503 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12505 * math/atest-exp.c (exp_mpn): Remove ROUND.
12506 * math/atest-exp2.c (exp_mpn): Likewise.
12507 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12509 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12510 * stdlib/tst-tls-atexit-lib.c: Likewise.
12511 * stdlib/tst-tls-atexit.c: Likewise.
12513 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12515 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12516 and __attribute_alloc_size__.
12518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12520 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12521 __attribute_alloc_size__.
12522 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12523 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12527 * include/programs/xmalloc.h: New file.
12528 * catgets/gencat.c: Include it.
12529 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12530 * elf/pldd.c: Likewise.
12531 * iconv/iconv_charmap.c: Likewise.
12532 * iconv/iconvconfig.c: Likewise.
12533 * iconv/strtab.c: Likewise.
12534 * locale/programs/locale.c: Likewise.
12535 * locale/programs/localedef.h: Likewise.
12536 * locale/programs/simple-hash.c: Likewise.
12537 * nscd/nscd.h: Likewise.
12538 * nss/makedb.c: Likewise.
12539 * sysdeps/generic/ldconfig.h: Likewise.
12541 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12543 * Versions.def: Add GLIBC_2.18.
12544 * include/link.h (struct link_map): New member l_tls_dtor_count.
12545 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12546 (__call_tls_dtors): Likewise.
12547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12548 __cxa_thread_atexit_impl.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12565 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12566 (tests): Add test case tst-tls-atexit.
12567 (modules-names): Add shared library for tst-tls-atexit.
12568 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12569 (GLIBC_PRIVATE): Add __call_tls_dtors.
12570 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12572 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12573 * stdlib/tst-tls-atexit.c: New test case.
12574 * stdlib/tst-tls-atexit-lib.c: New test case.
12576 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12578 * elf/Versions (ld): Add _dl_find_dso_for_object.
12579 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12580 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12581 (dl_open_worker): Use _dl_find_dso_for_object.
12582 * elf/dl-sym.c (do_sym): Likewise.
12583 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12585 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12587 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12588 Syntactic changes only.
12589 (_dl_runtime_profile): Do a tail-call to the resolved function.
12591 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12594 * sysdeps/x86_64/bp-asm.h: Remove file.
12595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12596 <bp-sym.h> and <bp-asm.h>.
12597 (__clone): Do not use BP_SYM.
12598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12599 <bp-sym.h> and <bp-asm.h>.
12600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12601 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12603 (_setjmp): Do not use BP_SYM.
12604 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12606 (setjmp): Do not use BP_SYM.
12607 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12609 (mempcpy): Do not use BP_SYM in weak_alias.
12610 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12612 (strchr): Do not use BP_SYM.
12613 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12615 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12616 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12617 (_start): Do not use BP_SYM.
12618 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12620 (strcat): Do not use BP_SYM.
12621 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12623 (STRCMP): Do not use BP_SYM.
12624 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12626 (STRCPY): Do not use BP_SYM.
12627 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12629 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12631 (FUNCTION): Do not use BP_SYM.
12632 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12634 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12636 2013-02-17 Andreas Jaeger <aj@suse.de>
12638 * time/Versions: Sort entries.
12639 * string/Versions: Likewise.
12640 * resolv/Versions: Likewise.
12641 * posix/Versions: Likewise.
12642 * iconv/Versions: Likewise.
12643 * elf/Versions: Likewise.
12644 * wcsmbs/Versions: Likewise.
12646 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12649 loop termination condition.
12651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12652 variable to calculate EZ.
12655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12656 the lower precision input.
12658 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12661 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12662 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12663 (run-via-rtld-prefix): Do not handle %-bp tests.
12664 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12665 (all-object-suffixes): Remove .ob.
12666 (bppfx): Remove variable.
12667 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12668 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12669 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12670 [$(build-bounded) = yes] (libtype.ob): Likewise.
12671 * Makerules (elide-routines.ob): Remove variable.
12672 (do-tests-clean): Do not handle *-bp.out.
12673 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12674 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12675 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12676 (tests): Do not include $(tests-bp.out).
12677 (xtests): Do not include $(xtests-bp.out).
12678 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12679 [$(build-bounded) = yes] ($(addprefix
12680 $(objpfx),$(binaries-bounded))): Remove rule.
12681 ($(objpfx)%-bp.out): Remove rule.
12682 * config.make.in (build-bounded): Remove variable.
12683 * crypt/Makefile [$(build-bounded) = yes]
12684 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12685 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12686 append to variable.
12687 [$(build-bounded) = yes] (install-lib): Likewise.
12688 [$(build-bounded) = yes] (generated): Likewise.
12689 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12691 * intl/Makefile [$(build-bounded) = yes]
12692 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12693 * math/Makefile [$(build-bounded) = yes]
12694 ($(tests:%=$(objpfx)%-bp): Likewise.
12695 * misc/Makefile [$(build-bounded) = yes]
12696 ($(objpfx)tst-tsearch-bp): Likewise.
12697 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12698 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12700 * string/Makefile (o-objects.ob): Remove variable.
12701 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12702 (CFLAGS-.ob): Remove variable.
12703 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12705 both definitions of variable.
12706 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12707 (ASFLAGS-.ob): Remove variable.
12709 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12712 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12713 Remove __BOUNDED_POINTERS__ from condition.
12714 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12715 * string/bits/string2.h [!__NO_STRING_INLINES &&
12716 !__BOUNDED_POINTERS__]: Likewise.
12717 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12719 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12720 Remove conditional code.
12721 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12722 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12723 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12727 * csu/libc-start.c: Do not include <bp-sym.h>.
12728 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12729 * elf/dl-open.c: Do not include <bp-sym.h>.
12730 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12731 * math/fegetenv.c: Do not include <bp-sym.h>.
12732 (fegetenv): Do not use BP_SYM in versioned symbols.
12733 * nptl/sysdeps/pthread/bits/libc-lockP.h
12734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12737 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12739 (__pthread_mutex_destroy): Likewise.
12740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12741 (__pthread_mutex_lock): Likewise.
12742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12743 (__pthread_mutex_trylock): Likewise.
12744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12745 (__pthread_mutex_unlock): Likewise.
12746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12747 (__pthread_mutexattr_init): Likewise.
12748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12749 (__pthread_mutexattr_destroy): Likewise.
12750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12751 (__pthread_mutexattr_settype): Likewise.
12752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12753 (__pthread_rwlock_init): Likewise.
12754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12755 (__pthread_rwlock_destroy): Likewise.
12756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12757 (__pthread_rwlock_rdlock): Likewise.
12758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12759 (__pthread_rwlock_tryrdlock): Likewise.
12760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12761 (__pthread_rwlock_wrlock): Likewise.
12762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12763 (__pthread_rwlock_trywrlock): Likewise.
12764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12765 (__pthread_rwlock_unlock): Likewise.
12766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12767 (__pthread_key_create): Likewise.
12768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12769 (__pthread_setspecific): Likewise.
12770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12771 (__pthread_getspecific): Likewise.
12772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12775 (_pthread_cleanup_push_defer): Likewise.
12776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12777 (_pthread_cleanup_pop_restore): Likewise.
12778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12779 (pthread_setcancelstate): Likewise.
12780 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12782 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12783 (memchr): Do not use BP_SYM in weak_alias.
12784 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12785 (fegetenv): Do not use BP_SYM in versioned symbols.
12786 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12787 (fesetenv): Do not use BP_SYM in versioned symbols.
12788 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12789 (feupdateenv): Do not use BP_SYM in versioned symbols.
12790 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12791 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12792 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12793 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12794 (open64): Do not use BP_SYM in weak_alias.
12795 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12796 (fegetenv): Do not use BP_SYM in versioned symbols.
12797 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12798 (fesetenv): Do not use BP_SYM in versioned symbols.
12799 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12800 (feupdateenv): Do not use BP_SYM in versioned symbols.
12801 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12802 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12803 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12804 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12805 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12806 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12807 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12809 (__libc_start_main): Do not use BP_SYM.
12811 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12814 redundant return line.
12816 (denorm): Likewise.
12817 (dbl_mp): Likewise.
12818 (sub_magnitudes): Likewise.
12824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12826 (denorm): Likewise.
12827 (dbl_mp): Likewise.
12828 (sub_magnitudes): Likewise.
12835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12842 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12844 of __mul for squares.
12845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12852 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12855 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12857 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12858 prototype or function definition. Rename ubp_* variables and
12859 parameters. Remove argv definitions conditional on
12860 [__BOUNDED_POINTERS__].
12861 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12862 * elf/dl-runtime.c (_dl_fixup): Likewise.
12863 * include/set-hooks.h (RUN_HOOK): Likewise.
12864 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12866 * string/strcpy.c (strcpy): Do not use __unbounded.
12867 * sysdeps/generic/frame.h (struct layout): Likewise.
12868 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12869 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12870 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12871 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12872 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12873 (__backtrace): Likewise.
12874 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12876 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12877 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12878 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12880 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12881 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12883 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12884 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12885 Do not use __unbounded.
12886 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12887 Rename __unboundedrlimits parameter to rlimits in prototype.
12888 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12889 Do not use __unbounded.
12890 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12891 not use __ptrvalue.
12892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12893 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12894 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12895 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12896 __ptrvalue or __unbounded.
12897 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12898 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12900 (__new_msgctl): Do not use __ptrvalue.
12901 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12903 (__libc_msgrcv): Do not use __ptrvalue.
12904 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12905 startup_info): Do not use __unbounded.
12906 (__libc_start_main): Likewise. Rename ubp_* variables and
12907 parameters. Remove argv definitions conditional on
12908 [__BOUNDED_POINTERS__].
12909 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12911 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12915 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12917 (__new_shmctl): Do not use __ptrvalue.
12918 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12919 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12921 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12923 (__libc_sigaction): Likewise.
12924 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12929 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12931 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12933 * string/mempcpy.c: Implement by calling memcpy.
12935 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12943 values in the mantissa.
12945 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12946 minimize writes to Z.
12947 (sub_magnitudes): Simplify code a bit.
12949 2013-02-12 Roland McGrath <roland@hack.frob.com>
12951 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12952 from the message. The linker prefixes all warnings with that already.
12954 2013-02-12 Andreas Schwab <schwab@suse.de>
12957 * posix/regexec.c (extend_buffers): Add parameter min_len.
12958 (check_matching): Pass minimum needed length.
12959 (clean_state_log_if_needed): Likewise.
12960 (get_subexp): Likewise.
12961 * posix/Makefile (tests): Add bug-regex34.
12962 (bug-regex34-ENV): Define.
12963 * posix/bug-regex34.c: New file.
12966 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12967 elements compare against the byte sequence of it, not its name.
12968 * posix/Makefile (tests): Add bug-regex35.
12969 (bug-regex35-ENV): Define.
12970 * posix/bug-regex35.c: New file.
12972 2013-02-11 Tom de Vries <tom@codesourcery.com>
12974 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12976 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12977 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12978 (CHECK_EOL): Add undef.
12980 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12982 * bits/stdlib-bsearch.h: New file.
12983 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12984 * stdlib/stdlib.h: Likewise.
12986 2013-02-11 Roland McGrath <roland@hack.frob.com>
12988 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12989 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12991 * manual/search.texi (Array Search Function): Add missing const in
12993 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12994 declaration to use rlim_t.
12995 (Basic Scheduling Functions): Remove erroneous const from
12996 sched_getparam prototype. Remove erroneous * from
12997 sched_get_priority_max and sched_get_priority_min prototypes.
12998 (Resource Usage): Fix summary @comment on vtimes to refer to
12999 sys/vtimes.h rather than vtimes.h.
13000 Add missing *s in vtimes prototype.
13001 (Limits on Resources): Fix ulimit prototype to return long int.
13002 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13003 prototypes to use long int rather than double.
13004 (BSD Random): Fix initstate and setstate to use char *, not void *.
13005 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13006 prototype to make second argument 'struct aiocb64 *const[]'.
13007 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13008 (Status of AIO Operations): Remove erroneous const in aio_return and
13009 aio_return64 prototypes.
13010 (Synchronizing I/O): Fix sync prototype to return void.
13011 * manual/startup.texi (Suboptions): Remove an erroneous const in
13012 getsubopt prototype.
13013 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13014 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13015 use size_t rather than int.
13016 (Scanning All Users): Likewise for getpwent_r.
13017 (Setting Groups): Add missing const to setgroups prototype.
13018 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13019 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13020 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13021 'const void *' rather than 'const char *'.
13022 (Host Address Functions): Likewise for inet_ntop.
13023 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13024 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13025 ssize_t for return value.
13026 (Sending Data): Likewise for send, sendto, sendmsg.
13027 (Socket Option Functions): Add a missing const in setsockopt prototype.
13028 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13029 use wchar_t for the argument.
13030 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13031 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13033 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13034 double/float/long double for second argument.
13035 Fix return types of significand, significandf, significandl.
13036 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13037 argument in fchmod prototype.
13038 (File Owner): Use uid_t and gid_t in fchown prototype.
13039 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13040 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13041 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13042 use 'const struct dirent **' as argument types to CMP function pointer
13044 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13045 (File Times): Fix summary magic @comment for struct utimbuf and utime
13046 to refer to utime.h, not time.h.
13047 * manual/string.texi (Argz Functions): Add missing const in
13048 argz_extract and argz_next prototypes.
13049 (Finding Tokens in a String): Likewise for basename.
13050 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13051 (Copying and Concatenation): Fix typo in wmemmove prototype.
13052 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13053 (Signal Stack): Remove erroneous const in sigstack prototype.
13054 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13056 (Simple Calendar Time): Likewise for stime.
13057 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13059 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13060 say sys/sysctl.h instead.
13061 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13062 and vsyslog prototypes.
13064 2013-02-11 Tom de Vries <tom@codesourcery.com>
13066 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13069 2013-02-11 Roland McGrath <roland@hack.frob.com>
13071 * misc/sys/mman.h: Fix typo in mremap comment.
13073 2013-02-08 Roland McGrath <roland@hack.frob.com>
13075 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13076 the '\0' terminator.
13078 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13081 * debug/segfault.c: Don't include <bp-checks.h>.
13082 * sysdeps/generic/bp-checks.h: Remove file.
13083 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13084 (__GETDENTS): Don't use CHECK_N.
13085 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13087 (__getgroups): Don't use CHECK_N.
13088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13089 (setgroups): Don't use CHECK_N.
13090 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13091 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13092 (__libc_msgrcv): Don't use CHECK_N.
13093 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13094 (__libc_msgsnd): Don't use CHECK_N.
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13097 (__libc_pread): Don't use CHECK_N.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13099 include <bp-checks.h>.
13100 (__libc_pread64): Don't use CHECK_N.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13102 include <bp-checks.h>.
13103 (__libc_pwrite): Don't use CHECK_N.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13105 include <bp-checks.h>.
13106 (__libc_pwrite64): Don't use CHECK_N.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13109 (__libc_pread): Don't use CHECK_N.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13111 include <bp-checks.h>.
13112 (__libc_pread64): Don't use CHECK_N.
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13114 include <bp-checks.h>.
13115 (__libc_pwrite): Don't use CHECK_N.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13117 include <bp-checks.h>.
13118 (__libc_pwrite64): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13120 (do_pread): Don't use CHECK_N.
13121 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13122 (do_pread64): Don't use CHECK_N.
13123 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13124 (do_pwrite): Don't use CHECK_N.
13125 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13126 (do_pwrite64): Don't use CHECK_N.
13127 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13128 (__libc_readv): Don't use CHECK_N.
13129 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13130 (semop): Don't use CHECK_N.
13131 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13133 (semtimedop): Don't use CHECK_N.
13134 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13135 (__libc_pread): Don't use CHECK_N.
13136 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13138 (__libc_pread64): Don't use CHECK_N.
13139 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13141 (__libc_pwrite): Don't use CHECK_N.
13142 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13144 (__libc_pwrite64): Don't use CHECK_N.
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13147 (__libc_msgrcv): Don't use CHECK_N.
13148 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13149 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13150 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13151 (__libc_writev): Don't use CHECK_N.
13153 2013-02-08 Roland McGrath <roland@hack.frob.com>
13155 * string/strcpy.c: Removed unused variable.
13157 * Makeconfig (+sysdep-includes): Define with := rather than =.
13158 Use an existing include/ subdir of each sysdeps dir before it.
13160 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13162 * nscd/connection.c (register_traced_file): Comment function.
13163 [HAVE_INOTIFY] (union __inev): Define.
13164 [HAVE_INOTIFY] (inotify_check_files): New function.
13165 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13166 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13168 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13170 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13172 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13173 loaded if not already and that a failure is permanent.
13175 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13178 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13179 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13181 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13184 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13185 (CHECK_1_NULL_OK): Likewise.
13186 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13187 (__fxstat): Do not use CHECK_1.
13188 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13190 (___fxstat64): Do not use CHECK_1.
13191 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13193 (__fxstatat): Do not use CHECK_1.
13194 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13196 (__fxstatat64): Do not use CHECK_1.
13197 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13199 (__fxstat): Do not use CHECK_1.
13200 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13202 (__fxstatat): Do not use CHECK_1.
13203 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13205 (__getresgid): Do not use CHECK_1.
13206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13208 (__getresuid): Do not use CHECK_1.
13209 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13211 (__lxstat): Do not use CHECK_1.
13212 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13214 (__old_msgctl): Do not use CHECK_1.
13215 (__new_msgctl): Likewise.
13216 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13218 (__new_setrlimit): Do not use CHECK_1.
13219 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13221 (__old_shmctl): Do not use CHECK_1.
13222 (__new_shmctl): Likewise.
13223 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13225 (__xstat): Do not use CHECK_1.
13226 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13227 (__lxstat): Do not use CHECK_1.
13228 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13230 (___lxstat64): Do not use CHECK_1.
13231 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13232 (__old_msgctl): Do not use CHECK_1.
13233 (__new_msgctl): Likewise.
13234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13236 (__gettimeofday): Do not use CHECK_1.
13237 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13238 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13239 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13241 (__gettimeofday): Do not use CHECK_1.
13242 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13243 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13244 (__new_shmctl): Do not use CHECK_1.
13245 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13247 (do_sigtimedwait): Do not use CHECK_1.
13248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13250 (do_sigwaitinfo): Do not use CHECK_1.
13251 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13253 (msgctl): Do not use CHECK_1.
13254 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13256 (shmctl): Do not use CHECK_1.
13257 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13258 (ustat): Do not use CHECK_1.
13259 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13261 (__fxstat): Do not use CHECK_1.
13262 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13264 (__fxstatat): Do not use CHECK_1.
13265 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13267 (__lxstat): Do not use CHECK_1.
13268 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13270 (__xstat): Do not use CHECK_1.
13271 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13272 (__xstat): Do not use CHECK_1.
13273 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13274 (___xstat64): Do not use CHECK_1.
13277 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13279 (CHECK_BOUNDS_HIGH): Likewise.
13280 * string/strcpy.c: Do not include <bp-checks.h>.
13281 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13283 2013-02-07 Roland McGrath <roland@hack.frob.com>
13285 * nscd/nscd-client.h (__nscd_drop_map_ref):
13286 Add __attribute__ ((unused)).
13287 * nis/nss-nisplus.h (niserr2nss): Likewise.
13289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13290 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13292 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13293 Remove inline keyword.
13294 * include/rounding-mode.h (round_away): Likewise.
13295 * libio/wfileops.c (adjust_wide_data): Likewise.
13296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13297 (__m128i_strloadu_tolower): Likewise.
13298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13299 (__m128i_strloadu_tolower): Likewise.
13300 * time/mktime.c (ydhms_diff): Likewise.
13301 * locale/elem-hash.h (elem_hash): Likewise.
13302 * locale/setlocale.c (setdata): Likewise.
13303 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13304 (re_string_wchar_at): Likewise.
13305 (bitset_not, bitset_merge, bitset_mask): Likewise.
13306 [!(__GNUC__ > 3)] (inline): Remove macro.
13307 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13308 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13309 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13310 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13311 * string/memcmp.c (memcmp_bytes): Likewise.
13312 * locale/programs/locarchive.c (compute_hashval): Likewise.
13313 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13314 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13315 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13316 * nss/getent.c (print_rpc, print_protocols): Likewise.
13317 (print_passwd, print_group, print_aliases): Likewise.
13318 * nis/nss-nisplus.h (niserr2nss): Likewise.
13319 * nscd/connections.c (restart_p): Likewise.
13320 Change return type to bool.
13322 2013-02-05 Roland McGrath <roland@hack.frob.com>
13324 * Makeconfig (all-Depend-files): Add existing
13325 $(sorted-subdirs:=/Depend) files.
13326 (all-subdirs): Remove nss.
13327 * sysdeps/unix/inet/Subdirs: Add it here instead.
13328 * hesiod/Depend: New file.
13330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13331 instead of calling alloca.
13333 * io/lseek.c (__lseek): Rename to __libc_lseek.
13334 Define __lseek as an alias.
13336 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13338 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13340 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13341 else clause and remove check for non-standard endianness.
13343 2013-02-04 David S. Miller <davem@davemloft.net>
13345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13347 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13350 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13351 (__ubp_memchr): Remove prototype.
13352 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13353 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13354 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13355 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13356 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13358 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13359 (__ubp_memchr): Likewise.
13360 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13361 (__ubp_memchr): Likewise.
13362 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13363 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13364 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13365 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13367 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13368 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13369 (__getcwd): Do not use CHECK_STRING.
13370 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13372 (__real_chown): Do not use CHECK_STRING.
13373 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13375 (fchownat): Do not use CHECK_STRING.
13376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13380 (__lchown): Do not use CHECK_STRING.
13381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13382 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13383 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13384 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13386 include <bp-checks.h>.
13387 (truncate64): Do not use CHECK_STRING.
13388 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13390 (__real_chown): Do not use CHECK_STRING.
13391 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13393 (__lchown): Do not use CHECK_STRING.
13394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13396 (__chown): Do not use CHECK_STRING.
13397 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13399 (truncate64): Do not use CHECK_STRING.
13400 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13402 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13403 (__xmknod): Do not use CHECK_STRING.
13404 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13406 (__xmknodat): Do not use CHECK_STRING.
13407 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13408 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13410 2013-02-04 Andreas Schwab <schwab@suse.de>
13413 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13414 * include/netdb.h: Likewise for h_errno.
13415 * elf/tst-stackguard1.c: Include <tls.h>.
13417 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13419 * elf/link.h (struct link_map): Extend the l_addr comment.
13420 * include/link.h (struct link_map): Likewise.
13422 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13425 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13426 (BOUNDED_1): Remove macro.
13427 * debug/backtrace.c: Don't include <bp-checks.h>.
13428 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13429 (__backtrace): Likewise.
13430 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13432 (__backtrace): Don't use BOUNDED_1.
13433 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13435 (__backtrace): Don't use BOUNDED_1.
13436 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13437 (__backtrace): Don't use BOUNDED_1.
13438 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13439 (shmat): Don't use BOUNDED_N.
13441 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13444 * sysdeps/generic/bp-start.h: Remove file.
13445 * csu/libc-start.c: Don't include <bp-start.h>.
13446 (LIBC_START_MAIN): Set up __environ directly instead of using
13447 INIT_ARGV_and_ENVIRON.
13448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13452 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13454 (CHECK_FCNTL): Likewise.
13455 (CHECK_N_PAGES): Likewise.
13458 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13460 (CHECK_SIGSET_NULL_OK): Likewise.
13461 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13463 (sigpending): Don't use CHECK_SIGSET.
13464 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13466 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13467 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13469 (do_sigsuspend): Don't use CHECK_SIGSET.
13470 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13472 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13473 (do_sigwait): Don't use CHECK_SIGSET.
13474 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13477 include <bp-checks.h>.
13478 (sigpending): Don't use CHECK_SIGSET.
13479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13480 include <bp-checks.h>.
13481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13482 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13484 (sigpending): Don't use CHECK_SIGSET.
13485 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13490 * sysdeps/generic/bp-semctl.h: Remove file.
13491 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13492 <bp-checks.h> and <bp-semctl.h>.
13493 (__old_semctl): Don't use CHECK_SEMCTL.
13494 (__new_semctl): Likewise.
13495 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13497 (__old_semctl): Don't use CHECK_SEMCTL.
13498 (__new_semctl): Likewise.
13499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13500 <bp-checks.h> and <bp-semctl.h>.
13501 (__old_semctl): Don't use CHECK_SEMCTL.
13502 (__new_semctl): Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13504 <bp-checks.h> and <bp-semctl.h>.
13505 (semctl): Don't use CHECK_SEMCTL.
13508 * Makerules (elide-bp-thunks): Remove variable.
13509 (elide-routines.oS): Don't use $(elide-bp-thunks).
13510 (elide-routines.os): Likewise.
13511 (elide-routines.o): Likewise.
13512 (elide-routines.op): Likewise.
13513 (elide-routines.og): Likewise.
13514 (objects): Don't use $(bp-thunks).
13515 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13517 (common-generated): Do not add s-proto-bp.d.
13518 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13521 Do not generate makefile rules for bounded-pointer thunks.
13522 * sysdeps/generic/bp-thunks.h: Remove file.
13523 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13524 * sysdeps/unix/s-proto-bp.S: Likewise.
13527 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13528 parts of result separately when argument is not close to line from
13529 -i to i and one part of argument is small.
13530 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13531 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13532 * math/libm-test.inc (cacos_test): Add more tests.
13533 (casin_test): Likewise.
13534 (casinh_test): Likewise.
13535 * sysdeps/i386/fpu/libm-test-ulps: Update.
13536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13538 2013-01-31 David S. Miller <davem@davemloft.net>
13540 * po/de.po: Update from translation team.
13542 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13544 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13546 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13548 * configure.in (_AC_PROG_CC_C89): New definition.
13549 * configure: Regenerate.
13551 * configure.in (AC_PROG_CPP): New definition.
13552 * configure: Regenerate.
13554 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13556 * debug/tst-backtrace.h: New file.
13557 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13558 (ret): Remove variable.
13560 (FAIL): Remove macro.
13561 (NO_INLINE): Likewise.
13562 (fn1): Use match function instead of strstr.
13563 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13564 (ret): Remove variable.
13566 (FAIL): Remove macro.
13567 (NO_INLINE): Likewise.
13568 (fn): Use match function instead of strstr.
13569 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13570 (ret): Remove variable.
13572 (FAIL): Remove macro.
13573 (NO_INLINE): Likewise.
13574 (handle_signal): Use match function instead of strstr.
13575 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13576 (ret): Remove variable.
13578 (FAIL): Remove macro.
13579 (NO_INLINE): Likewise.
13580 (handle_signal): Use match function instead of strstr.
13582 2013-01-23 Roland McGrath <roland@hack.frob.com>
13584 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13586 2013-01-23 David S. Miller <davem@davemloft.net>
13588 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13589 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13590 argument of CAS if possible.
13591 * sysdeps/sparc/sparc64/bits/atomic.h
13592 (__arch_compare_and_exchange_val_32_acq): Likewise.
13593 (__arch_compare_and_exchange_val_64_acq): Likewise.
13595 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13597 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13598 * sysdeps/posix/ulimit.c: ... this.
13599 Include <limits.h>.
13600 * sysdeps/unix/bsd/ulimit.c: Remove file.
13602 2013-01-23 Adam Conrad <adconrad@0c3.net>
13604 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13605 (LDFLAGS-tst-array5): Likewise.
13607 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13610 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13611 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13612 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13613 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13615 2013-01-21 David S. Miller <davem@davemloft.net>
13617 * sysdeps/sparc/backtrace.c: New file.
13618 * sysdeps/sparc/sparc32/backtrace.h: New file.
13619 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13620 * sysdeps/sparc/sparc64/backtrace.h: New file.
13621 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13622 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13625 2013-01-21 Andreas Schwab <schwab@suse.de>
13628 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13631 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13637 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13638 Mark Mitchell <mark@codesourcery.com>
13639 Tom de Vries <tom@codesourcery.com>
13640 Paul Pluzhnikov <ppluzhnikov@google.com>
13642 * debug/tst-backtrace2.c: New file.
13643 * debug/tst-backtrace3.c: Likewise.
13644 * debug/tst-backtrace4.c: Likewise.
13645 * debug/tst-backtrace5.c: Likewise.
13646 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13647 (CFLAGS-tst-backtrace3.c): Likewise.
13648 (CFLAGS-tst-backtrace4.c): Likewise.
13649 (CFLAGS-tst-backtrace5.c): Likewise.
13650 (LDFLAGS-tst-backtrace2): Likewise.
13651 (LDFLAGS-tst-backtrace3): Likewise.
13652 (LDFLAGS-tst-backtrace4): Likewise.
13653 (LDFLAGS-tst-backtrace5): Likewise.
13654 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13655 tst-backtrace4 and tst-backtrace5.
13657 2013-01-18 Anton Blanchard <anton@samba.org>
13658 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13660 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13661 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13663 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13665 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13666 "+r" and remove output regs list as redundant. Add explicit inline
13667 asm to specify register of return val to work around compiler codegen
13668 bug. Remove (int) cast on return value. Add return type parameter to
13669 use in macro so that this macro does not truncate return value for
13671 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13672 pass to INTERNAL_VSYSCALL_NCS.
13673 (INLINE_VSYSCALL): Add 'long int' as return type to
13674 INTERNAL_VSYSCALL_NCS macro invocation.
13675 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13676 INTERNAL_VSYSCALL_NCS macro invocation.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13679 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13682 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13683 Fix application of SIMD FP exception mask.
13685 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13686 mp_no from a power of two.
13687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13688 __mpexp_twomm1. Use __pow_mp.
13690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13693 2013-01-17 David S. Miller <davem@davemloft.net>
13695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13697 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13700 * include/complex.h: Condition contents on [!_COMPLEX_H].
13701 (__kernel_casinhf): New prototype.
13702 (__kernel_casinh): Likewise.
13703 (__kernel_casinhl): Likewise.
13704 * math/Makefile (libm_calls): Add k_casinh.
13705 * math/k_casinh.c: New file.
13706 * math/k_casinhf.c: Likewise.
13707 * math/k_casinhl.c: Likewise.
13708 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13709 finite nonzero arguments.
13710 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13711 finite nonzero arguments.
13712 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13713 finite nonzero arguments.
13714 * math/s_casinh.c: Do not include <float.h>.
13715 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13716 * math/s_casinhf.c: Do not include <float.h>.
13717 (__casinhf): Move code for finite nonzero arguments to
13719 * math/s_casinhl.c: Do not include <float.h>.
13720 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13722 (__casinhl): Move code for finite nonzero arguments to
13724 * math/libm-test.inc (cacos_test): Add more tests.
13725 * sysdeps/i386/fpu/libm-test-ulps: Update.
13726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13730 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13731 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13732 [!HAVE_MREMAP]: Remove [defined linux] case.
13733 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13735 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13737 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13739 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13741 * elf/elf.h (R_386_SIZE32): New relocation.
13742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13744 (elf_machine_rela): Likewise.
13745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13746 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13748 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13750 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13751 (FP_FAST_FMA): Do not define.
13752 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13753 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13754 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13755 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13756 !_SOFT_FLOAT]: Likewise.
13757 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13761 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13764 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13765 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13768 2013-01-16 Andreas Schwab <schwab@suse.de>
13771 * include/stdlib.h (__mktemp): Add declaration.
13772 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13773 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13775 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13777 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13779 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13780 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13781 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13783 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13784 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13788 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13789 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13793 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13795 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13797 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13799 2013-01-15 David S. Miller <davem@davemloft.net>
13801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13802 trunc{,f} to libm-sysdep_routes.
13803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13813 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13817 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13821 nearbyint{,f} to libm-sysdep_routes.
13822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13843 libc_feholdexcept and libc_fesetenv.
13845 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13847 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13849 2013-01-14 David S. Miller <davem@davemloft.net>
13851 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13852 (SPARC_ASM_VIS2_IFUNC): Likewise.
13853 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13855 use of 'siam' instruction.
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13889 routines to libm-sysdep_routines.
13890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13893 fdim/fdimf to libm-sysdep_routines.
13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13902 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13903 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13904 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13905 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13907 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13910 to optimize copies.
13912 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13917 local variable MPTWO.
13918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13921 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13923 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13926 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13928 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13930 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13932 * manual/pattern.texi (glob_t): Document gl_flags.
13933 (glob64_t): Likewise.
13935 2013-01-11 David S. Miller <davem@davemloft.net>
13937 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13938 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13939 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13940 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13941 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13942 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13943 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13944 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13945 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13946 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13947 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13948 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13949 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13952 sparc V9 rather than using V8 code.
13953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13961 2013-01-11 Roland McGrath <roland@hack.frob.com>
13963 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13964 not in the main loop.
13965 * configure: Regenerated.
13967 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13969 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13970 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13972 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13973 [!__GLIBC_HAVE_LONG_LONG] case.
13974 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13975 condition to just #else.
13976 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13977 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13978 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13979 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13981 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13982 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13983 #elif condition to just #else.
13984 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13985 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13986 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13987 #elif condition to just #else.
13989 2013-01-11 Steve Ellcey <sellcey@mips.com>
13991 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13992 (EF_MIPS_ARCH_64): Fix value.
13993 (EF_MIPS_ARCH_32R2): New.
13994 (EF_MIPS_ARCH_64R2): New.
13996 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13998 * Makeconfig (+link-pie-before-libc): New.
13999 (+link-pie-after-libc): Likewise.
14000 (+link-pie-tests): Likewise.
14001 (+link-pie): Rewritten.
14002 (link-before-libc): Remove $(config-LDFLAGS).
14003 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14004 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14005 (config-LDFLAGS): Renamed to ...
14006 (rtld-LDFLAGS): This.
14007 (rtld-tests-LDFLAGS): New macro.
14008 (link-libc-rpath-link): Likewise.
14009 (link-libc-tests-rpath-link): Likewise.
14010 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14011 (link-libc): Prepand $(link-libc-rpath-link).
14012 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14013 (test-program-prefix): New macro.
14014 (test-via-rtld-prefix): Likewise.
14015 (test-program-cmd): Likewise.
14016 (host-test-program-cmd): Likewise.
14017 * Makefile ($(common-objpfx)testrun.sh): Replace
14018 $(run-program-prefix) with $(test-program-prefix).
14019 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14021 ($(common-objpfx)shlib.lds): Likewise.
14022 (build-module-helper): Likewise.
14023 ($(common-objpfx)format.lds): Likewise.
14024 * Rules (binaries-pie-tests): New.
14025 (binaries-pie-notests): Likewise.
14026 (binaries-pie): Rewritten.
14027 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14028 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14029 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14030 (make-test-out): Replace $(host-built-program-cmd) with
14031 $(host-test-program-cmd).
14032 * config.make.in (build-hardcoded-path-in-tests): New variable.
14033 * configure.in (--enable-hardcoded-path-in-tests): New configure
14035 (hardcoded_path_in_tests): New AC_SUBST.
14036 * configure: Regenerated.
14037 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14038 $(built-program-cmd) with $(test-program-cmd).
14039 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14040 (test_program_cmd): This.
14041 * elf/Makefile ($(objpfx)order.out): Run test with
14042 $(test-program-prefix).
14043 ($(objpfx)order2.out): Likewise.
14044 ($(objpfx)tst-initorder.out): Likewise.
14045 ($(objpfx)tst-initorder2.out): Likewise.
14046 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14047 $(test-program-cmd).
14048 ($(objpfx)tst-array1-static.out): Likewise.
14049 ($(objpfx)tst-array2.out): Likewise.
14050 ($(objpfx)tst-array3.out): Likewise.
14051 ($(objpfx)tst-array4.out): Likewise.
14052 ($(objpfx)tst-array5.out): Likewise.
14053 ($(objpfx)tst-array5-static.out): Likewise.
14054 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14055 $(test-program-cmd).
14056 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14057 $(run-program-prefix) with $(test-program-prefix).
14058 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14059 (test_program_prefix): This.
14060 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14061 $(run-program-prefix) with $(test-program-prefix).
14062 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14063 (test_program_prefix): This.
14064 * iconvdata/tst-tables.sh: Likewise.
14065 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14066 $(run-program-prefix) with $(test-program-prefix).
14067 ($(objpfx)tst-translit.out): Likewise.
14068 ($(objpfx)tst-gettext2.out): Likewise.
14069 ($(objpfx)tst-gettext4.out): Likewise.
14070 ($(objpfx)tst-gettext6.out): Likewise.
14071 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14072 (test_program_prefix): This.
14073 * intl/tst-gettext2.sh: Likewise.
14074 * intl/tst-gettext4.sh Likewise.
14075 * intl/tst-gettext6.sh: Likewise.
14076 * intl/tst-translit.sh: Likewise.
14077 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14078 with $(test-program-cmd).
14079 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14080 $(run-program-prefix) with $(test-program-prefix).
14081 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14082 (test_program_prefix): This.
14083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14084 $(run-program-prefix) with $(test-program-prefix).
14085 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14086 (test_program_prefix): This.
14087 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14088 * posix/Makefile ($(objpfx)globtest.out): Replace
14089 $(run-via-rtld-prefix) and $(test-wrapper) with
14090 $(test-program-prefix) and $(test-via-rtld-prefix).
14091 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14092 $(test-program-prefix).
14093 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14094 $(host-test-program-cmd).
14095 (tst-spawn-ARGS): Likewise.
14096 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14097 $(test-program-prefix).
14098 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14099 (test_via_rtld_prefix): This.
14100 (test_wrapper): Renamed to ...
14101 (test_program_prefix): This.
14102 (run_program_prefix): Replaced by test_program_prefix.
14103 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14104 (test_program_prefix): This.
14105 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14106 with $(host-test-program-cmd).
14107 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14108 $(run-program-prefix) with $(test-program-prefix).
14109 ($(objpfx)tst-printf.out): Likewise.
14110 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14111 $(test-program-cmd).
14112 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14113 (test_program_prefix): This.
14114 * stdio-common/tst-unbputc.sh: Likewise.
14115 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14116 $(run-program-prefix) with $(test-program-prefix).
14117 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14118 (test_program_prefix): This.
14119 * string/Makefile ($(objpfx)tst-svc.out): Replace
14120 $(built-program-cmd) with $(test-program-cmd).
14122 2013-01-11 Andreas Jaeger <aj@suse.de>
14125 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14126 value. Sync with Linux 3.7.
14128 2013-01-10 David S. Miller <davem@davemloft.net>
14130 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14131 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14132 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14134 2013-01-10 Roland McGrath <roland@hack.frob.com>
14136 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14138 * configure: Regenerated.
14140 2013-01-10 David S. Miller <davem@davemloft.net>
14142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14143 sparc V9 rather than using V8 code.
14144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14147 2013-01-10 Roland McGrath <roland@hack.frob.com>
14149 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14150 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14151 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14152 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14153 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14154 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14155 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14156 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14157 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14158 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14159 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14160 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14161 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14162 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14163 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14164 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14165 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14166 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14167 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14168 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14169 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14170 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14171 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14172 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14173 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14174 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14175 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14177 2013-01-10 David S. Miller <davem@davemloft.net>
14179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14181 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14183 * posix/Makefile (tests-static): New variable.
14184 (tests): Add $(tests-static).
14185 (tst-exec-static-ARGS): New variable.
14186 (tst-spawn-static-ARGS): Likewise.
14187 * posix/tst-exec-static.c: New file.
14188 * posix/tst-spawn-static.c: Likewise.
14189 * posix/tst-exec.c: Support run directly.
14190 * posix/tst-spawn.c: Likewise.
14192 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14194 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14196 * math/bits/mathcalls.h (llrint): Likewise.
14197 (llround): Likewise.
14198 * stdlib/stdlib.h (struct drand48_data): Likewise.
14199 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14200 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14201 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14205 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14206 (elf_greg_t): Likewise.
14207 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14208 (__jmp_buf): Likewise.
14209 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14211 (llrint): Likewise, for all definitions.
14212 (llrintl): Likewise.
14214 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14215 Remove [__GNUC__] condition.
14216 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14217 condition to just [__USE_ISOC99].
14218 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14220 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14223 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14224 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14226 (_POSIX_V6_ILP32_OFF32): Likewise.
14227 (_XBS5_ILP32_OFF32): Likewise.
14228 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14229 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14231 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14236 doubles __mpexp_twomm1. Adjust usage.
14237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14240 2013-01-10 Andreas Schwab <schwab@suse.de>
14243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14244 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14246 2013-01-09 David S. Miller <davem@davemloft.net>
14249 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14250 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14251 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14252 TCP_FASTOPEN): Define.
14253 (tcp_repair_opt): New structure.
14254 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14256 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14257 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14258 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14259 (tcp_cookie_transactions): New structure.
14261 2013-01-09 Anton Blanchard <anton@samba.org>
14263 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14264 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14268 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14270 * include/features.h (__USE_ANSI): Remove.
14272 2013-01-09 Roland McGrath <roland@hack.frob.com>
14274 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14276 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14278 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14280 * sysdeps/s390/fpu/libm-test-ulps: Update.
14282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14284 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14288 (denorm): Likewise.
14289 (__mp_dbl): Likewise.
14290 (__dbl_mp): Likewise.
14291 (add_magnitudes): Likewise.
14292 (sub_magnitudes): Likewise.
14298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14302 (denorm): Likewise.
14303 (__mp_dbl): Likewise.
14304 (__dbl_mp): Likewise.
14305 (add_magnitudes): Likewise.
14306 (sub_magnitudes): Likewise.
14312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14316 (denorm): Likewise.
14317 (__mp_dbl): Likewise.
14318 (__dbl_mp): Likewise.
14319 (add_magnitudes): Likewise.
14320 (sub_magnitudes): Likewise.
14327 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14329 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14330 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14331 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14332 2 && __USE_EXTERN_INLINES]: Likewise.
14334 2013-01-08 Andreas Jaeger <aj@suse.de>
14337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14339 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14340 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14342 2013-01-07 Anton Blanchard <anton@samba.org>
14344 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14345 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14346 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14347 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14348 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14350 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14351 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14354 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14358 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14362 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14364 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14369 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14371 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14373 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14374 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14377 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14384 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14385 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14386 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14388 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14390 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14391 (__MALLOC_PMT): Likewise.
14392 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14393 [__GNUC__], only on [_LIBC].
14394 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14395 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14396 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14397 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14398 forward declaration.
14399 (realloc_hook_ini): Likewise.
14400 (memalign_hook_ini): Likewise.
14401 (__libc_memalign): Do not use __MALLOC_PMT in variable
14403 (__libc_valloc): Likewise.
14404 (__libc_pvalloc): Likewise.
14405 (__libc_calloc): Likewise.
14406 (__posix_memalign): Likewise.
14409 * math/s_casinh.c: Include <float.h>.
14410 (__casinh): Do not do computation with squaring and square root
14411 for large arguments.
14412 * math/s_casinhf.c: Include <float.h>.
14413 (__casinhf): Do not do computation with squaring and square root
14414 for large arguments.
14415 * math/s_casinhl.c: Include <float.h>.
14416 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14417 (__casinhl): Do not do computation with squaring and square root
14418 for large arguments.
14419 * math/libm-test.inc (casin_test): Add more tests.
14420 (casinh_test): Likewise.
14421 * sysdeps/i386/fpu/libm-test-ulps: Update.
14422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14424 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14426 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14427 (__x86_64_raw_data_cache_size): Likewise.
14428 (__x86_64_data_cache_size_half): Likewise.
14429 (__x86_64_raw_data_cache_size_half): Likewise.
14430 (__x86_64_shared_cache_size): Likewise.
14431 (__x86_64_raw_shared_cache_size): Likewise.
14432 (__x86_64_shared_cache_size_half): Likewise.
14433 (__x86_64_raw_shared_cache_size_half): Likewise.
14434 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14436 (__x86_data_cache_size): This.
14437 (__x86_64_raw_data_cache_size): Renamed to ...
14438 (__x86_raw_data_cache_size): This.
14439 (__x86_64_data_cache_size_half): Renamed to ...
14440 (__x86_data_cache_size_half): This.
14441 (__x86_64_raw_data_cache_size_half): Renamed to ...
14442 (__x86_raw_data_cache_size_half): This.
14443 (__x86_64_shared_cache_size): Renamed to ...
14444 (__x86_shared_cache_size): This.
14445 (__x86_64_raw_shared_cache_size): Renamed to ...
14446 (__x86_raw_shared_cache_size): This.
14447 (__x86_64_shared_cache_size_half): Renamed to ...
14448 (__x86_shared_cache_size_half): This.
14449 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14450 (__x86_raw_shared_cache_size_half): This.
14451 * sysdeps/x86_64/memcpy.S: Updated.
14452 * sysdeps/x86_64/memset.S: Likewise.
14453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14457 2013-01-04 David S. Miller <davem@davemloft.net>
14459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14461 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14463 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14464 1 to avoid redefinition warning.
14465 (__USE_GNU): Don't define.
14466 (init_signaling_nan): Protoize.
14468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14470 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14472 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14474 (__cpymn): Likewise.
14475 (norm): Remove commented code.
14476 (denorm): Likewise.
14477 (__mp_dbl): Likewise.
14479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14480 (__cpymn): Likewise.
14481 (norm): Remove commented code.
14482 (denorm): Likewise.
14483 (__mp_dbl): Likewise.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14487 mp_no value for 1.0 and 2.0.
14488 (norm): Use RADIXI instead of radixi.d.
14489 (denorm): Likewise.
14490 (__mul): Use 0.0 instead of zero.d.
14491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14492 mp_no value for 1.0 and 2.0.
14493 (norm): Use RADIXI instead of radixi.d.
14494 (denorm): Likewise.
14495 (__mul): Use 0.0 instead of zero.d.
14497 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14500 * math/s_casinh.c (__casinh): Reduce finite argument to first
14501 quadrant then set signs of results at the end.
14502 * math/s_casinhf.c (__casinhf): Likewise.
14503 * math/s_casinhl.c (__casinhl): Likewise.
14504 * math/libm-test.inc (casin_test): Add more tests.
14505 (casinh_test): Likewise.
14506 * sysdeps/i386/fpu/libm-test-ulps: Update.
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14511 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14513 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14515 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14517 (denorm): Likewise.
14518 (__mp_dbl): Likewise.
14521 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14522 and adjust the header comment.
14524 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14525 variable name from declaration.
14527 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14530 Initialize COMMON_CPUID_INDEX_7 element.
14531 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14532 (CPUID_RTM): Likewise.
14533 (HAS_RTM): Likewise.
14534 (COMMON_CPUID_INDEX_7): New enum.
14536 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14539 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14540 size is zero, record memory as freed.
14542 2013-01-03 Andreas Jaeger <aj@suse.de>
14544 * po/ia.po: Add new Interlingua translation.
14546 2012-01-03 Allan McRae <allan@archlinux.org>
14548 * locale/programs/localedef.c: Fix description of '--posix' flag.
14550 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14552 * NEWS: Update dates in second copyright notice.
14553 * README: Update copyright dates in example.
14554 * manual/libc.texinfo: Update copyright dates.
14555 * scripts/test-installation.pl: Update copyright date in --version
14558 * hurd/ctty-input.c: Fix copyright notice formatting.
14559 * hurd/ctty-output.c: Likewise.
14560 * hurd/dtable.c: Likewise.
14561 * hurd/hurd-raise.c: Likewise.
14562 * hurd/hurdprio.c: Likewise.
14563 * hurd/msgportdemux.c: Likewise.
14564 * misc/sys/file.h: Likewise.
14565 * misc/sys/ioctl.h: Likewise.
14566 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14567 * sysdeps/mach/hurd/chdir.c: Likewise.
14568 * sysdeps/mach/hurd/fchdir.c: Likewise.
14569 * sysdeps/mach/hurd/rename.c: Likewise.
14570 * sysdeps/mach/hurd/rmdir.c: Likewise.
14571 * sysdeps/mach/hurd/seekdir.c: Likewise.
14572 * sysdeps/mach/hurd/setsid.c: Likewise.
14573 * sysdeps/posix/wait3.c: Likewise.
14575 * All files with FSF copyright notices: Update copyright dates
14576 using scripts/update-copyrights.
14577 * intl/plural.c: Regenerated.
14578 * locale/programs/charmap-kw.h: Likewise.
14579 * locale/programs/locfile-kw.h: Likewise.
14581 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14583 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14587 calculation loop and add branch prediction.
14589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14590 check access beyond bounds of m1np.
14592 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14594 (__inv): Remove local variable MPTWO to use the global
14596 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14597 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14599 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14600 MP3HALFS static const.
14602 2013-01-01 David S. Miller <davem@davemloft.net>
14604 * po/ca.po: Update from translation team.
14606 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14608 * scripts/update-copyrights: New file.
14609 * Makeconfig: Reformat copyright notice.
14610 * ctype/ctype.h: Likewise.
14611 * debug/swprintf_chk.c: Likewise.
14612 * elf/dl-cache.c: Likewise.
14613 * elf/dl-debug.c: Likewise.
14614 * elf/dl-object.c: Likewise.
14615 * grp/initgroups.c: Likewise.
14616 * hurd/Makefile: Likewise.
14617 * hurd/hurd/signal.h: Likewise.
14618 * hurd/hurdfault.c: Likewise.
14619 * hurd/hurdioctl.c: Likewise.
14620 * hurd/hurdlookup.c: Likewise.
14621 * hurd/intr-msg.c: Likewise.
14622 * iconv/gconv_open.c: Likewise.
14623 * libio/swprintf.c: Likewise.
14624 * locale/lc-ctype.c: Likewise.
14625 * locale/nl_langinfo.c: Likewise.
14626 * mach/Machrules: Likewise.
14627 * mach/Makefile: Likewise.
14628 * malloc/obstack.h: Likewise.
14629 * manual/Makefile: Likewise.
14630 * manual/tsort.awk: Likewise.
14631 * misc/bits/stab.def: Likewise.
14632 * nis/nis_print_group_entry.c: Likewise.
14633 * nis/nis_table.c: Likewise.
14634 * nis/nss_compat/compat-pwd.c: Likewise.
14635 * nis/nss_compat/compat-spwd.c: Likewise.
14636 * po/Makefile: Likewise.
14637 * posix/fnmatch.c: Likewise.
14638 * posix/regex.h: Likewise.
14639 * resolv/Makefile: Likewise.
14640 * resolv/nss_dns/dns-network.c: Likewise.
14641 * resolv/res_hconf.c: Likewise.
14642 * scripts/gen-sorted.awk: Likewise.
14643 * soft-fp/soft-fp.h: Likewise.
14644 * stdio-common/printf.h: Likewise.
14645 * stdlib/monetary.h: Likewise.
14646 * stdlib/random.c: Likewise.
14647 * stdlib/random_r.c: Likewise.
14648 * sysdeps/generic/Makefile: Likewise.
14649 * sysdeps/gnu/Makefile: Likewise.
14650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14678 * sysdeps/mach/hurd/errnos.awk: Likewise.
14679 * sysdeps/mach/hurd/fork.c: Likewise.
14680 * sysdeps/mach/hurd/getcwd.c: Likewise.
14681 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14682 * sysdeps/mach/hurd/mmap.c: Likewise.
14683 * sysdeps/mach/hurd/utimes.c: Likewise.
14684 * sysdeps/mach/hurd/xmknod.c: Likewise.
14685 * sysdeps/posix/profil.c: Likewise.
14686 * sysdeps/posix/readdir_r.c: Likewise.
14687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14688 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14689 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14690 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14692 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14698 * sysdeps/pthread/lio_listio.c: Likewise.
14699 * sysdeps/sparc/dl-procinfo.h: Likewise.
14700 * sysdeps/unix/i386/sysdep.S: Likewise.
14701 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14702 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14703 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14704 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14706 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14707 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14708 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14709 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14710 * sysdeps/wordsize-32/divdi3.c: Likewise.
14711 * time/sys/time.h: Likewise.
14712 * wcsmbs/Makefile: Likewise.
14714 2013-01-01 David S. Miller <davem@davemloft.net>
14716 * po/fr.po: Update from translation team.
14718 * catgets/gencat.c: Update copyright year.
14719 * csu/version.c: Likewise.
14720 * debug/catchsegv.sh: Likewise.
14721 * debug/pcprofiledump.c: Likewise.
14722 * debug/xtrace.sh: Likewise.
14723 * elf/ldconfig.c: Likewise.
14724 * elf/ldd.bash.in: Likewise.
14725 * elf/pldd.c: Likewise.
14726 * elf/sotruss.ksh: Likewise.
14727 * elf/sprof.c: Likewise.
14728 * iconv/iconv_prog.c: Likewise.
14729 * iconv/iconvconfig.c: Likewise.
14730 * locale/programs/locale.c: Likewise.
14731 * locale/programs/localedef.c: Likewise.
14732 * login/programs/pt_chown.c: Likewise.
14733 * malloc/memusage.sh: Likewise.
14734 * malloc/memusagestat.c: Likewise.
14735 * malloc/mtrace.pl: Likewise.
14736 * nscd/nscd.c: Likewise.
14737 * nss/getent.c: Likewise.
14738 * nss/makedb.c: Likewise.
14739 * posix/getconf.c: Likewise.
14741 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14743 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14746 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14748 * math/bits/mathcalls.h (modf): Use __nonnull.
14750 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14752 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14753 (split): Use macro CN instead of the bare value.
14754 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14757 instead of the bare value.
14758 (power1): Likewise.
14760 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14764 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14766 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14768 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14770 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14771 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14773 2012-12-28 Andreas Jaeger <aj@suse.de>
14775 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14776 values are from Linux 3.7.
14778 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14779 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14781 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14783 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14786 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14788 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14789 variables with preprocessor constants.
14790 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14791 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14792 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14794 2012-12-27 Bruno Haible <bruno@clisp.org>
14797 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14800 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14803 and use variable directly.
14804 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14808 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14811 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14813 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14814 include directive. Remove local variable MPONE.
14815 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14816 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14819 2012-12-25 David S. Miller <davem@davemloft.net>
14821 * version.h (RELEASE): Set to "development".
14822 (VERSION): Set to "2.17.90".
14823 * NEWS: Add 2.18 section.
14825 2012-12-21 David S. Miller <davem@davemloft.net>
14827 * po/hr.po: Update from translation team.
14829 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14831 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14833 2012-12-19 Steve Ellcey <sellcey@mips.com>
14835 * NEWS: Mention new memcpy for MIPS.
14837 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14839 * manual/contrib.texi (Contributors): Spelling correction.
14841 2012-12-15 David S. Miller <davem@davemloft.net>
14843 * po/ru.po: Update from translation team.
14845 2012-12-13 David S. Miller <davem@davemloft.net>
14847 * NEWS: Mention IFUNC testsuite enhancements.
14849 * po/pl.po: Update from translation team.
14850 * po/bg.po: Likewise.
14852 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14853 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14855 2012-12-11 David S. Miller <davem@davemloft.net>
14857 * po/sv.po: Update from translation team.
14859 * po/vi.po: Update from translation team.
14861 * po/cs.po: Update from translation team.
14863 * po/de.po: Update from translation team.
14864 * po/eo.po: Likewise.
14865 * po/nl.po: Likewise.
14867 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14870 * manual/argp.texi (Argp Helper Functions): Move node to follow
14871 Argp Parsing State.
14874 * manual/conf.texi (Limits on File System Capacity): Mention if
14875 terminating null is included in the max size.
14877 2012-12-10 Andreas Jaeger <aj@suse.de>
14879 * po/cs.po: Update from translation team.
14881 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14883 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14884 void pointer and cast to uintptr_t.
14885 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14887 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14888 * sysdeps/s390/s390-64/memset.S: Likewise.
14890 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14893 * menual/message.texi (Message Translation): Fix typos.
14894 (Helper programs for gettext): Likewise.
14896 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14899 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14902 2012-12-07 David S. Miller <davem@davemloft.net>
14904 * po/libc.pot: Update.
14906 2012-12-07 Richard Henderson <rth@redhat.com>
14909 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14910 normal/normal case to before the switch.
14911 (_FP_DIV): Likewise.
14913 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14914 Mike Frysinger <vapier@gentoo.org>
14916 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14917 check for __NR_fadvise64_64.
14919 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14921 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14922 0, not just to plain "0" as a statement.
14923 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14926 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14928 * NEWS: Use sourceware.org in Bugzilla URL.
14930 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14933 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14935 * stdio-common/tst-put-error.c (do_test): Add newline to the
14936 padded test to ensure flush.
14938 2012-12-05 Jeff Law <law@redhat.com>
14940 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14942 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14944 * README: Don't refer to ports add-on as distributed separately.
14945 Mention AArch64 in list of systems supported in the ports add-on.
14947 * LICENSES: Add more non-FSF copyright and license notices.
14949 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14952 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14954 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14955 10000 as width of padded output.
14957 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14959 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14962 variable LX with __attribute__ ((unused)).
14963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14965 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14968 with __attribute__ ((unused)).
14970 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14972 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14974 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14976 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14977 (CFLAGS-nldbl-acos.c): New variable.
14978 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15007 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15008 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15009 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15010 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15011 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15012 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15058 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15059 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15060 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15061 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15062 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15063 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15064 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15065 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15066 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15071 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15072 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15073 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15074 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15080 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15081 whole low double instead of just low 47 bits when splitting values
15084 2012-12-03 Allan McRae <allan@archlinux.org>
15086 * manual/stdio.texi (Predefined Printf Handlers): Remove
15087 @hsep and @vsep usage.
15089 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15091 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15092 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15094 2012-12-03 Jeff Law <law@redhat.com>
15096 * time/sys/time.h (settimeofday): Do not mark TV argument
15099 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15101 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15102 when currently writing and seek to current position when not.
15103 * libio/Makefile (tests): Remove bug-fclose1.
15104 * libio/bug-fclose1.c: Delete.
15106 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15108 * manual/arith.texi (feenableexcept): Fix typo.
15109 (fedisableexcept): Likewise.
15111 2012-11-30 Roland McGrath <roland@hack.frob.com>
15113 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15114 second, differently-typed declaration, rather than a cast.
15116 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15118 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15119 * include/rpc/svc.h: ... here.
15121 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15124 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15125 depending n and resplen2 to catch cases where answer
15128 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15130 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15131 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15133 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15137 2012-11-29 Roland McGrath <roland@hack.frob.com>
15139 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15141 2012-11-28 Jeff Law <law@redhat.com>
15144 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15145 dataset_temporary. Track alloca usage into alloca_used.
15146 If dataset is large allocate and release it via malloc/free.
15148 2012-06-04 Florian Weimer <fweimer@redhat.com>
15151 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15153 2012-11-28 David S. Miller <davem@davemloft.net>
15155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15157 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15160 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15161 of pi/2 rounded to nearest to 64 bits.
15162 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15163 nearest to 64 bits.
15164 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15167 2012-11-28 Jeff Law <law@redhat.com>
15168 Martin Osvald <mosvald@redhat.com>
15171 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15172 * sunrpc/svc.c: Include time.h.
15173 (__svc_accept_failed): New function.
15174 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15175 any reason other than EINTR, call __svc_accept_failed.
15176 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15177 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15179 2012-11-28 Andreas Schwab <schwab@suse.de>
15181 * scripts/abilist.awk: Also handle indirect functions in .opd
15184 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15187 * sysdeps/x86/fpu/powl_helper.c: New file.
15188 * sysdeps/x86/fpu/Makefile: Likewise.
15189 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15191 (__ieee754_powl): Use __powl_helper for finite arguments except
15192 integer exponents below 8.
15193 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15195 (__ieee754_powl): Use __powl_helper for finite arguments except
15196 integer exponents below 8.
15197 * math/libm-test.inc (pow_test): Add more tests and enable some
15198 previously disabled tests.
15199 * sysdeps/i386/fpu/libm-test-ulps: Update.
15200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15202 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15203 Carlos O'Donell <carlos_odonell@mentor.com>
15205 * nss/makedb.c (is_prime): Assert that input is odd and greater
15206 than 4. Note that fact in a comment too.
15207 (next_prime): Add 4 to input.
15209 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15212 * libio/Makefile (tests): Add test case tst-fwrite-error.
15213 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15214 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15215 * libio/tst-fwrite-error.c: New test case.
15217 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15219 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15220 before casting to void *.
15221 * include/libc-internal.h (__pointer_type): New macro.
15222 (__integer_if_pointer_type_sub): Likewise.
15223 (__integer_if_pointer_type): Likewise.
15224 (cast_to_integer): Likewise.
15225 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15226 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15227 before casting to atomic64_t.
15228 (atomic_exchange_acq): Likewise.
15229 (__arch_exchange_and_add_body): Likewise.
15230 (__arch_add_body): Likewise.
15231 (atomic_add_negative): Likewise.
15232 (atomic_add_zero): Likewise.
15234 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15237 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15238 (add_fdes): Likewise.
15239 (linear_search_fdes): Likewise.
15240 (binary_search_unencoded_fdes): Likewise.
15242 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15244 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15246 2012-11-24 Adam Conrad <adconrad@0c3.net>
15248 * configure.in: Autodetect C++ header directories.
15249 * configure: Regenerated.
15251 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15253 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15255 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15259 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15261 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15262 LDBL_MANT_DIG == 106]: Disable some tests.
15263 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15265 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15270 input for small inputs. Return +/- pi/2 for large inputs.
15271 * math/libm-test.inc (atan_test): Add more tests.
15273 * sysdeps/generic/unwind-dw2-fde-glibc.c
15274 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15275 __attribute__ ((unused)).
15278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15279 x * y if x and y are nonzero and z is zero.
15282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15283 nonzero exponents with absolute value below 0x1p-117 to +/-
15287 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15288 up arguments below 2**-450, not just those below 2**-500.
15289 * math/libm-test.inc (hypot_test): Add another test.
15292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15293 Return a+b for ratio over 2**120, not 2**60.
15294 * math/libm-test.inc (hypot_test): Add another test.
15296 * math/libm-test.inc (clog_test): Use
15297 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15298 (clog10_test): Likewise.
15301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15303 2012-11-22 Andreas Schwab <schwab@suse.de>
15305 * sysdeps/i386/fpu/libm-test-ulps: Update.
15307 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15309 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15310 printf output with newline.
15312 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15315 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15316 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15317 -z nodlopen, -z initfirst and -z execstack support.
15318 * configure: Regenerated.
15320 * elf/elf.h (DF_1_NODIRECT): New macro.
15321 (DF_1_IGNMULDEF): Likewise.
15322 (DF_1_NOKSYMS): Likewise.
15323 (DF_1_NOHDR): Likewise.
15324 (DF_1_EDITED): Likewise.
15325 (DF_1_NORELOC): Likewise.
15326 (DF_1_SYMINTPOSE): Likewise.
15327 (DF_1_GLOBAUDIT): Likewise.
15328 (DF_1_SINGLETON): Likewise.
15329 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15330 DT_1_SUPPORTED_MASK bits.
15331 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15333 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15335 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15337 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15339 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15343 (sendmmsg): Move declarations...
15344 * socket/sys/socket.h: ... here.
15345 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15346 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15348 * socket/recvmmsg.c: ... this new file.
15349 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15350 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15351 definition of __sendmmsg hidden.
15352 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15353 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15354 Move ENOSYS stub into and include it from...
15355 * socket/sendmmsg.c: ... this new file.
15356 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15357 (sysdep_routines): Move recvmmsg and sendmmsg...
15358 * socket/Makefile (routines): ... here.
15359 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15360 (GLIBC_PRIVATE): Add __sendmmsg.
15361 * include/sys/socket.h (__sendmmsg): Add declarations.
15362 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15365 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15368 variable I1 with __attribute__ ((unused)).
15369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15371 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15373 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15374 DUMMY variables with __attribute__ ((unused)).
15376 * bits/byteswap.h: Include <bits/types.h>.
15377 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15379 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15381 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15382 string_t. Do not manually set errno.
15383 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15384 length with __strnlen. Make sure to both set errno and return it on
15387 2012-11-19 David S. Miller <davem@davemloft.net>
15389 With help from Joseph Myers.
15390 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15391 very large arguments properly.
15392 * math/libm-test.inc (atan_test): New tests.
15393 (atan2_test): New tests.
15394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15397 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15400 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15403 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15404 [POSIX] (EADDRNOTAVAIL): Likewise.
15405 [POSIX] (EAFNOSUPPORT): Likewise.
15406 [POSIX] (EALREADY): Likewise.
15407 [POSIX] (ECONNABORTED): Likewise.
15408 [POSIX] (ECONNREFUSED): Likewise.
15409 [POSIX] (ECONNRESET): Likewise.
15410 [POSIX] (EDESTADDRREQ): Likewise.
15411 [POSIX] (EDQUOT): Likewise.
15412 [POSIX] (EHOSTUNREACH): Likewise.
15413 [POSIX] (EIDRM): Likewise.
15414 [POSIX] (EISCONN): Likewise.
15415 [POSIX] (ELOOP): Likewise.
15416 [POSIX] (EMULTIHOP): Likewise.
15417 [POSIX] (ENETDOWN): Likewise.
15418 [POSIX] (ENETUNREACH): Likewise.
15419 [POSIX] (ENOBUFS): Likewise.
15420 [POSIX] (ENODATA): Likewise.
15421 [POSIX] (ENOLINK): Likewise.
15422 [POSIX] (ENOMSG): Likewise.
15423 [POSIX] (ENOPROTOOPT): Likewise.
15424 [POSIX] (ENOSR): Likewise.
15425 [POSIX] (ENOSTR): Likewise.
15426 [POSIX] (ENOTCONN): Likewise.
15427 [POSIX] (ENOTSOCK): Likewise.
15428 [POSIX] (EOPNOTSUPP): Likewise.
15429 [POSIX] (EOVERFLOW): Likewise.
15430 [POSIX] (EPROTO): Likewise.
15431 [POSIX] (EPROTONOSUPPORT): Likewise.
15432 [POSIX] (EPROTOTYPE): Likewise.
15433 [POSIX] (ESTALE): Likewise.
15434 [POSIX] (ETIME): Likewise.
15435 [POSIX] (ETXTBSY): Likewise.
15436 [POSIX] (EWOULDBLOCK): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15438 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15439 [POSIX] (SEEK_CUR): Likewise.
15440 [POSIX] (SEEK_END): Likewise.
15441 [POSIX || UNIX98] (mode_t): Do not require.
15442 [POSIX] (off_t): Likewise.
15443 [POSIX] (pid_t): Likewise.
15444 [POSIX] (sys/stat.h): Do not allow header.
15445 [POSIX] (unistd.h): Likewise.
15446 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15447 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15448 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15449 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15451 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15452 sigevent): Specify elements.
15453 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15455 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15456 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15458 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15459 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15460 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15461 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15462 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15463 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15464 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15465 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15467 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15468 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15469 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15470 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15479 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15480 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15484 Specify lower bound on value.
15485 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15491 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15492 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15494 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15496 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15513 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15515 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15522 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15527 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15530 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15534 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15535 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15536 specify as optional.
15537 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15540 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15541 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15542 [XPG3] (NL_LANGMAX): Likewise.
15543 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15544 [POSIX || XPG3] (NL_NMAX): Likewise.
15545 [POSIX || XPG3] (NL_SETMAX): Likewise.
15546 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15547 [XPG3] (NZERO): Likewise.
15548 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15549 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15550 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15551 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15552 (REG_ERANGE): Expect.
15553 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15555 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15556 Use (void) in prototype.
15557 [POSIX] (*_t): Allow.
15558 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15559 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15560 (WRDE_BADVAL): Expect.
15562 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15564 [XPG3 || XPG4] (O_RSYNC): Likewise.
15565 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15567 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15568 [XPG3 || XPG4] (sigqueue): Likewise.
15569 [XPG3 || XPG4] (sigtimedwait): Likewise.
15570 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15571 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15572 [XPG3 || XPG4] (vsnprintf): Likewise.
15573 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15575 [XPG3 || XPG4] (blksize_t): Likewise.
15576 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15578 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15579 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15580 [XPG3 || XPG4] (struct itimerspec): Likewise.
15581 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15582 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15583 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15584 [XPG3 || XPG4] (clockid_t): Likewise.
15585 [XPG3 || XPG4] (timer_t): Likewise.
15586 [XPG3 || XPG4] (clock_getres): Likewise.
15587 [XPG3 || XPG4] (clock_gettime): Likewise.
15588 [XPG3 || XPG4] (clock_settime): Likewise.
15589 [XPG3 || XPG4] (nanosleep): Likewise.
15590 [XPG3 || XPG4] (timer_create): Likewise.
15591 [XPG3 || XPG4] (timer_delete): Likewise.
15592 [XPG3 || XPG4] (timer_gettime): Likewise.
15593 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15594 [XPG3 || XPG4] (timer_settime): Likewise.
15595 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15596 [XPG3 || XPG4] (getlogin_r): Likewise.
15597 [XPG3 || XPG4] (pread): Likewise.
15598 [XPG3 || XPG4] (pthread_atfork): Likewise.
15599 [XPG3 || XPG4] (pwrite): Likewise.
15602 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15605 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15607 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15608 finalizing MALLSTREAM.
15610 * sysdeps/mach/hurd/syncfs.c: New file.
15612 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15615 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15616 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15618 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15619 (_nss_dns_gethostbyname4_r): Likewise.
15620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15621 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15623 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15626 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15628 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15630 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15631 * elf/cache.c (print_entry): Print ",AArch64" for
15634 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15635 * elf/cache.c (print_entry): Print ",hard-float" for
15638 2012-11-18 David S. Miller <davem@davemloft.net>
15640 With help from Joseph Myers.
15641 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15643 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15645 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15646 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15649 * math/libm-test.inc (y0_test): New tests.
15650 (y1_test): New tests.
15651 * sysdeps/i386/fpu/libm-test-ulps: Update.
15652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15655 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15657 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15659 * configure: Regenerated.
15661 2012-11-17 David S. Miller <davem@davemloft.net>
15664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15665 nonzero exponents with absolute value below 0x1p-128 to +/-
15668 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15670 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15672 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15674 * posix/getconf-speclist.c: New file.
15675 * posix/posix-envs.def: Likewise.
15676 * posix/confstr.c (START_ENV_GROUP): New macro.
15677 (END_ENV_GROUP): Likewise.
15678 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15679 (KNOWN_PRESENT_ENV_STRING): Likewise.
15680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15681 (UNKNOWN_ENVIRONMENT): Likewise.
15682 (confstr): Include posix-envs.def instead of handling
15683 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15684 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15685 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15686 (END_ENV_GROUP): Likewise.
15687 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15688 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15689 (UNKNOWN_ENVIRONMENT): Likewise.
15690 (__sysconf): Include posix-envs.def instead of handling associated
15691 cases directly here.
15692 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15693 preprocessing getconf-speclist.c rather than running getconf or
15694 generating empty file.
15696 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15698 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15700 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15703 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15705 2012-11-16 David S. Miller <davem@davemloft.net>
15707 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15708 smaller than LDBL_EPSILON/2.0L, just return xm1.
15710 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15712 * elf/tst-array1.c (init): Set constructor priority to 1000.
15713 (fini): Set destructor priority to 1000.
15714 * elf/tst-array2dep.c: Likewise.
15716 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15720 (_IO_new_file_xsputn): Also return EOF if none of the input
15721 data was written when overflow failed.
15722 * libio/iopadn.c (_IO_padn): Likewise.
15723 * libio/iowpadn.c (_IO_wpadn): Likewise.
15724 * stdio-common/tst-put-error.c: Add copyright notice.
15725 (do_test): Add case for printing padded string.
15726 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15727 _IO_padn returned error.
15728 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15729 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15732 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15734 * libio/libioP.h: Add comment note that the references to C++
15735 bits are now obsolete.
15737 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15739 * math/libm-test.inc (check_complex): Use asprintf.
15741 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15743 * debug/pcprofiledump.c (print_version): Update copyright year.
15744 * malloc/memusagestat.c (print_version): Likewise.
15746 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15749 * elf/Makefile (tests): Add tst-audit8.
15750 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15751 ($(objpfx)tst-audit8.out): New target.
15752 (tst-audit8-ENV): New variable.
15753 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15754 audit if l_reloc_result is NULL.
15755 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15756 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15757 * elf/tst-audit8.c: New file.
15759 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15761 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15762 * misc/Makefile (CFLAGS-select.c): Define.
15763 * posix/Makefile (CFLAGS-pause.c): Define.
15765 2012-11-13 David S. Miller <davem@davemloft.net>
15767 * crypt/Makefile: Move test targets after toplevel Rules
15768 inclusion. Grab any necessary sysdep routines when linking.
15769 * crypt/md5.c (md5_process_block): Remove define, we will always
15770 name it __md5_process_block.
15771 (md5_finish_ctx): Update md5_process_block call.
15772 (md5_stream): Likewise.
15773 (md5_process_bytes): Likewise.
15774 (md5_process_block): Rename to __md5_process_block and move to ...
15775 * crypt/md5-block.c: ... here.
15776 * crypt/sha256.c (sha256_process_block): Move to ...
15777 * crypt/sha256-block.c: ... here.
15778 * crypt/sha512.c (sha512_process_block): Move to ...
15779 * crypt/sha512-block.c: ... here.
15780 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15782 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15783 * sysdeps/sparc/sparc64/multiarch/Makefile
15784 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15786 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15789 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15790 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15791 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15792 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15793 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15794 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15795 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15797 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15799 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15804 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15806 * timezone/tzselect.ksh: Update from tzcode git revision
15807 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15808 * timezone/zdump.c: Likewise.
15809 * timezone/zic.c: Likewise.
15810 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15811 in TZVERSION setting, not $(PKGVERSION).
15812 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15813 REPORT_BUGS_TO settings.
15816 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15819 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15821 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15822 detection to immediately after _FP_ROUND().
15823 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15826 2012-11-11 David S. Miller <davem@davemloft.net>
15828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15830 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15831 __close rather than their public counterparts.
15833 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15835 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15837 [UNIX98] (sem_timedwait): Do not expect.
15838 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15839 [XPG4 || UNIX98] (sockatmark): Do not expect.
15840 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15841 (clock_getcpuclockid): Do not expect.
15842 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15843 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15845 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15846 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15847 [UNIX98] (vwscanf): Likewise.
15848 [UNIX98] (vswscanf): Likewise.
15850 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15852 * timezone/version.h: Remove file.
15853 * timezone/README: Do not refer to version.h.
15854 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15855 $(objpfx)version.h.
15856 ($(objpfx)zdump.o): Likewise.
15857 ($(objpfx)version.h): New target.
15859 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15861 * timezone/README: Don't mention modification to tzselect.ksh.
15862 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15863 work on unmodified tzselect.ksh. Substitute version numbers in
15866 * Makefile (format-me): Remove.
15867 (INSTALL): Adjust indentation. Use commands directly instead of
15868 using $(format-me).
15870 * aclocal.m4 (ACX_PKGVERSION): New macro.
15871 (ACX_BUGURL): Likewise.
15872 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15873 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15874 (REPORT_BUGS_TO): Likewise.
15875 * configure: Regenerated.
15876 * config.h.in (PKGVERSION): New macro.
15877 (REPORT_BUGS_TO): Likewise.
15878 * config.make.in (PKGVERSION): New variable.
15879 (PKGVERSION_TEXI): Likewise.
15880 (REPORT_BUGS_TO): Likewise.
15881 (REPORT_BUGS_TEXI): Likewise.
15882 * Makefile (format-me): Use -I$(common-objpfx)manual.
15883 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15884 ($(common-objpfx)manual/%): New target.
15885 (manual/%): Remove target.
15886 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15887 (print_version): Use PKGVERSION.
15888 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15889 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15890 and REPORT_BUGS_TO.
15891 ($(objpfx)xtrace): Likewise.
15892 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15893 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15894 (print_version): Use PKGVERSION.
15895 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15896 (do_version): Use PKGVERSION.
15897 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15899 (common-ldd-rewrite): Likewise.
15900 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15901 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15902 (print_version): Use PKGVERSION.
15903 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15904 * elf/pldd.c (argp_program_bug_address): Remove variable.
15905 (more_help): New function.
15906 (argp): Use more_help.
15907 (print_version): Use PKGVERSION.
15908 * elf/sln.c (main): Use PKGVERSION.
15909 (usage): Use REPORT_BUGS_TO.
15910 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15911 (top level): Use PKGVERSION.
15912 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15913 (print_version): Use PKGVERSION.
15914 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15915 (print_version): Use PKGVERSION.
15916 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15917 (print_version): Use PKGVERSION.
15918 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15919 (print_version): Use PKGVERSION.
15920 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15921 (print_version): Use PKGVERSION.
15922 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15923 (print_version): Use PKGVERSION.
15924 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15926 ($(objpfx)memusage): Likewise.
15927 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15928 (do_version): Use PKGVERSION.
15929 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15930 (print_version): Use PKGVERSION.
15931 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15932 ($PKGVERSION): New variable.
15933 ($REPORT_BUGS_TO): Likewise.
15934 (usage): Use $REPORT_BUGS_TO.
15935 (top level): Use $PKGVERSION.
15936 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15937 ($(objpfx)pkgvers.texi): New rule.
15938 ($(objpfx)stamp-pkgvers): Likewise.
15939 * manual/install.texi: Include pkgvers.texi.
15940 (--with-pkgversion): Document new configure option.
15941 (--with-bugurl): Likewise.
15942 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15943 than necessarily for this particular distribution. Use
15944 REPORT_BUGS_TO for where to report bugs.
15945 * INSTALL: Regenerated.
15946 * manual/libc.texinfo: Include pkgvers.texi.
15947 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15948 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15949 (print_version): Use PKGVERSION.
15950 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15951 (print_version): Use PKGVERSION.
15952 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15953 (print_version): Use PKGVERSION.
15954 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15955 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15957 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15958 (print_version): Use PKGVERSION.
15959 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15960 (print_version): Use PKGVERSION.
15961 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15964 * timezone/checktab.awk: Update from tzcode 2012i.
15965 * timezone/ialloc.c: Likewise.
15966 * timezone/private.h: Likewise.
15967 * timezone/scheck.c: Likewise.
15968 * timezone/tzfile.h: Likewise.
15969 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15970 (TZVERSION): Hardcode tzcode version number.
15971 * timezone/zdump.c: Update from tzcode 2012i.
15972 * timezone/zic.c: Likewise.
15973 * timezone/version.h: New file.
15974 * timezone/README: Describe version.h. Update upstream location.
15977 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15978 (mktemp): Enable declaration.
15979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15996 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15997 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15998 for copies of such integer values.
15999 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16000 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16002 2012-11-09 Andreas Jaeger <aj@suse.de>
16004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16005 definitions and declarations that are provided by
16006 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16008 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16011 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16012 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16015 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16017 * elf/elf.h: Update comment before AArch64 relocations.
16019 2012-11-07 David S. Miller <davem@davemloft.net>
16021 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16023 (__start_context): Declare.
16024 (__makecontext_ret): Delete.
16025 (__makecontext): Hook up __start_context instead of
16027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16028 (sysdep_routines): Add __start_context when in stdlib.
16030 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16032 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16033 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16034 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16036 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16037 (READELF): New variable. Use it instead of hardcoded "readelf".
16039 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16041 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16042 * sysdeps/x86/Makefile: Here.
16043 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16044 * sysdeps/x86/tst-xmmymm.sh: This.
16046 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16048 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16050 [UNIX98] (pthread_barrier_t): Do not expect.
16051 [UNIX98] (pthread_barrierattr_t): Likewise.
16052 [UNIX98] (pthread_spinlock_t): Likewise.
16053 [UNIX98] (pthread_barrier_destroy): Likewise.
16054 [UNIX98] (pthread_barrier_init): Likewise.
16055 [UNIX98] (pthread_barrier_wait): Likewise.
16056 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16057 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16058 [UNIX98] (pthread_barrierattr_init): Likewise.
16059 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16060 [UNIX98] (pthread_getcpuclockid): Likewise.
16061 [UNIX98] (pthread_mutex_timedlock): Likewise.
16062 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16063 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16064 [UNIX98] (pthread_sigmask): Likewise.
16065 [UNIX98] (pthread_spin_destroy): Likewise.
16066 [UNIX98] (pthread_spin_init): Likewise.
16067 [UNIX98] (pthread_spin_lock): Likewise.
16068 [UNIX98] (pthread_spin_trylock): Likewise.
16069 [UNIX98] (pthread_spin_unlock): Likewise.
16070 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16072 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16074 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16075 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16076 [XPG3 || XPG4] (pthread_key_t): Likewise.
16077 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16078 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16079 [XPG3 || XPG4] (pthread_once_t): Likewise.
16080 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16081 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16083 [XPG3 || XPG4] (pthread_t): Likewise.
16085 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16087 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16089 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16090 Change function return type to int.
16092 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16093 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16094 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16095 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16096 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16097 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16098 [!POSIX] (posix_madvise): Likewise.
16099 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16101 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16102 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16103 (mode_t): Likewise.
16104 (posix_mem_offset): Likewise.
16105 (posix_typed_mem_get_info): Likewise.
16106 (posix_typed_mem_open): Likewise.
16108 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16109 Change condition to [XOPEN2K8].
16111 * conform/conformtest.pl: Preprocess allow-header data with -x c
16112 instead of from stdin.
16113 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16114 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16115 [C99-based standards] (cerfc): Likewise.
16116 [C99-based standards] (cexp2): Likewise.
16117 [C99-based standards] (cexpm1): Likewise.
16118 [C99-based standards] (clog10): Likewise.
16119 [C99-based standards] (clog1p): Likewise.
16120 [C99-based standards] (clog2): Likewise.
16121 [C99-based standards] (clgamma): Likewise.
16122 [C99-based standards] (ctgamma): Likewise.
16123 [C99-based standards] (cerff): Likewise.
16124 [C99-based standards] (cerfcf): Likewise.
16125 [C99-based standards] (cexp2f): Likewise.
16126 [C99-based standards] (cexpm1f): Likewise.
16127 [C99-based standards] (clog10f): Likewise.
16128 [C99-based standards] (clog1pf): Likewise.
16129 [C99-based standards] (clog2f): Likewise.
16130 [C99-based standards] (clgammaf): Likewise.
16131 [C99-based standards] (ctgammaf): Likewise.
16132 [C99-based standards] (cerfl): Likewise.
16133 [C99-based standards] (cerfcl): Likewise.
16134 [C99-based standards] (cexp2l): Likewise.
16135 [C99-based standards] (cexpm1l): Likewise.
16136 [C99-based standards] (clog10l): Likewise.
16137 [C99-based standards] (clog1pl): Likewise.
16138 [C99-based standards] (clog2l): Likewise.
16139 [C99-based standards] (clgammal): Likewise.
16140 [C99-based standards] (ctgammal): Likewise.
16141 * conform/data/inttypes.h-data [C99-based standards]: Include
16142 stdint.h-data. Remove all expectations for stdint.h contents.
16143 [C99-based standards] (PRI*): Do not allow.
16144 [C99-based standards] (SCN*): Likewise.
16145 [C99-based standards] (*_t): Likewise.
16146 [C99-based-standards] (PRId8): Expect macro.
16147 [C99-based-standards] (PRIi8): Likewise.
16148 [C99-based-standards] (PRIo8): Likewise.
16149 [C99-based-standards] (PRIu8): Likewise.
16150 [C99-based-standards] (PRIx8): Likewise.
16151 [C99-based-standards] (PRIX8): Likewise.
16152 [C99-based-standards] (SCNd8): Likewise.
16153 [C99-based-standards] (SCNi8): Likewise.
16154 [C99-based-standards] (SCNo8): Likewise.
16155 [C99-based-standards] (SCNu8): Likewise.
16156 [C99-based-standards] (SCNx8): Likewise.
16157 [C99-based-standards] (PRIdLEAST8): Likewise.
16158 [C99-based-standards] (PRIiLEAST8): Likewise.
16159 [C99-based-standards] (PRIoLEAST8): Likewise.
16160 [C99-based-standards] (PRIuLEAST8): Likewise.
16161 [C99-based-standards] (PRIxLEAST8): Likewise.
16162 [C99-based-standards] (PRIXLEAST8): Likewise.
16163 [C99-based-standards] (SCNdLEAST8): Likewise.
16164 [C99-based-standards] (SCNiLEAST8): Likewise.
16165 [C99-based-standards] (SCNoLEAST8): Likewise.
16166 [C99-based-standards] (SCNuLEAST8): Likewise.
16167 [C99-based-standards] (SCNxLEAST8): Likewise.
16168 [C99-based-standards] (PRIdFAST8): Likewise.
16169 [C99-based-standards] (PRIiFAST8): Likewise.
16170 [C99-based-standards] (PRIoFAST8): Likewise.
16171 [C99-based-standards] (PRIuFAST8): Likewise.
16172 [C99-based-standards] (PRIxFAST8): Likewise.
16173 [C99-based-standards] (PRIXFAST8): Likewise.
16174 [C99-based-standards] (SCNdFAST8): Likewise.
16175 [C99-based-standards] (SCNiFAST8): Likewise.
16176 [C99-based-standards] (SCNoFAST8): Likewise.
16177 [C99-based-standards] (SCNuFAST8): Likewise.
16178 [C99-based-standards] (SCNxFAST8): Likewise.
16179 [C99-based-standards] (PRId16): Likewise.
16180 [C99-based-standards] (PRIi16): Likewise.
16181 [C99-based-standards] (PRIo16): Likewise.
16182 [C99-based-standards] (PRIu16): Likewise.
16183 [C99-based-standards] (PRIx16): Likewise.
16184 [C99-based-standards] (PRIX16): Likewise.
16185 [C99-based-standards] (SCNd16): Likewise.
16186 [C99-based-standards] (SCNi16): Likewise.
16187 [C99-based-standards] (SCNo16): Likewise.
16188 [C99-based-standards] (SCNu16): Likewise.
16189 [C99-based-standards] (SCNx16): Likewise.
16190 [C99-based-standards] (PRIdLEAST16): Likewise.
16191 [C99-based-standards] (PRIiLEAST16): Likewise.
16192 [C99-based-standards] (PRIoLEAST16): Likewise.
16193 [C99-based-standards] (PRIuLEAST16): Likewise.
16194 [C99-based-standards] (PRIxLEAST16): Likewise.
16195 [C99-based-standards] (PRIXLEAST16): Likewise.
16196 [C99-based-standards] (SCNdLEAST16): Likewise.
16197 [C99-based-standards] (SCNiLEAST16): Likewise.
16198 [C99-based-standards] (SCNoLEAST16): Likewise.
16199 [C99-based-standards] (SCNuLEAST16): Likewise.
16200 [C99-based-standards] (SCNxLEAST16): Likewise.
16201 [C99-based-standards] (PRIdFAST16): Likewise.
16202 [C99-based-standards] (PRIiFAST16): Likewise.
16203 [C99-based-standards] (PRIoFAST16): Likewise.
16204 [C99-based-standards] (PRIuFAST16): Likewise.
16205 [C99-based-standards] (PRIxFAST16): Likewise.
16206 [C99-based-standards] (PRIXFAST16): Likewise.
16207 [C99-based-standards] (SCNdFAST16): Likewise.
16208 [C99-based-standards] (SCNiFAST16): Likewise.
16209 [C99-based-standards] (SCNoFAST16): Likewise.
16210 [C99-based-standards] (SCNuFAST16): Likewise.
16211 [C99-based-standards] (SCNxFAST16): Likewise.
16212 [C99-based-standards] (PRId32): Likewise.
16213 [C99-based-standards] (PRIi32): Likewise.
16214 [C99-based-standards] (PRIo32): Likewise.
16215 [C99-based-standards] (PRIu32): Likewise.
16216 [C99-based-standards] (PRIx32): Likewise.
16217 [C99-based-standards] (PRIX32): Likewise.
16218 [C99-based-standards] (SCNd32): Likewise.
16219 [C99-based-standards] (SCNi32): Likewise.
16220 [C99-based-standards] (SCNo32): Likewise.
16221 [C99-based-standards] (SCNu32): Likewise.
16222 [C99-based-standards] (SCNx32): Likewise.
16223 [C99-based-standards] (PRIdLEAST32): Likewise.
16224 [C99-based-standards] (PRIiLEAST32): Likewise.
16225 [C99-based-standards] (PRIoLEAST32): Likewise.
16226 [C99-based-standards] (PRIuLEAST32): Likewise.
16227 [C99-based-standards] (PRIxLEAST32): Likewise.
16228 [C99-based-standards] (PRIXLEAST32): Likewise.
16229 [C99-based-standards] (SCNdLEAST32): Likewise.
16230 [C99-based-standards] (SCNiLEAST32): Likewise.
16231 [C99-based-standards] (SCNoLEAST32): Likewise.
16232 [C99-based-standards] (SCNuLEAST32): Likewise.
16233 [C99-based-standards] (SCNxLEAST32): Likewise.
16234 [C99-based-standards] (PRIdFAST32): Likewise.
16235 [C99-based-standards] (PRIiFAST32): Likewise.
16236 [C99-based-standards] (PRIoFAST32): Likewise.
16237 [C99-based-standards] (PRIuFAST32): Likewise.
16238 [C99-based-standards] (PRIxFAST32): Likewise.
16239 [C99-based-standards] (PRIXFAST32): Likewise.
16240 [C99-based-standards] (SCNdFAST32): Likewise.
16241 [C99-based-standards] (SCNiFAST32): Likewise.
16242 [C99-based-standards] (SCNoFAST32): Likewise.
16243 [C99-based-standards] (SCNuFAST32): Likewise.
16244 [C99-based-standards] (SCNxFAST32): Likewise.
16245 [C99-based-standards] (PRId64): Likewise.
16246 [C99-based-standards] (PRIi64): Likewise.
16247 [C99-based-standards] (PRIo64): Likewise.
16248 [C99-based-standards] (PRIu64): Likewise.
16249 [C99-based-standards] (PRIx64): Likewise.
16250 [C99-based-standards] (PRIX64): Likewise.
16251 [C99-based-standards] (SCNd64): Likewise.
16252 [C99-based-standards] (SCNi64): Likewise.
16253 [C99-based-standards] (SCNo64): Likewise.
16254 [C99-based-standards] (SCNu64): Likewise.
16255 [C99-based-standards] (SCNx64): Likewise.
16256 [C99-based-standards] (PRIdLEAST64): Likewise.
16257 [C99-based-standards] (PRIiLEAST64): Likewise.
16258 [C99-based-standards] (PRIoLEAST64): Likewise.
16259 [C99-based-standards] (PRIuLEAST64): Likewise.
16260 [C99-based-standards] (PRIxLEAST64): Likewise.
16261 [C99-based-standards] (PRIXLEAST64): Likewise.
16262 [C99-based-standards] (SCNdLEAST64): Likewise.
16263 [C99-based-standards] (SCNiLEAST64): Likewise.
16264 [C99-based-standards] (SCNoLEAST64): Likewise.
16265 [C99-based-standards] (SCNuLEAST64): Likewise.
16266 [C99-based-standards] (SCNxLEAST64): Likewise.
16267 [C99-based-standards] (PRIdFAST64): Likewise.
16268 [C99-based-standards] (PRIiFAST64): Likewise.
16269 [C99-based-standards] (PRIoFAST64): Likewise.
16270 [C99-based-standards] (PRIuFAST64): Likewise.
16271 [C99-based-standards] (PRIxFAST64): Likewise.
16272 [C99-based-standards] (PRIXFAST64): Likewise.
16273 [C99-based-standards] (SCNdFAST64): Likewise.
16274 [C99-based-standards] (SCNiFAST64): Likewise.
16275 [C99-based-standards] (SCNoFAST64): Likewise.
16276 [C99-based-standards] (SCNuFAST64): Likewise.
16277 [C99-based-standards] (SCNxFAST64): Likewise.
16278 [C99-based-standards] (PRIdMAX): Likewise.
16279 [C99-based-standards] (PRIiMAX): Likewise.
16280 [C99-based-standards] (PRIoMAX): Likewise.
16281 [C99-based-standards] (PRIuMAX): Likewise.
16282 [C99-based-standards] (PRIxMAX): Likewise.
16283 [C99-based-standards] (PRIXMAX): Likewise.
16284 [C99-based-standards] (SCNdMAX): Likewise.
16285 [C99-based-standards] (SCNiMAX): Likewise.
16286 [C99-based-standards] (SCNoMAX): Likewise.
16287 [C99-based-standards] (SCNuMAX): Likewise.
16288 [C99-based-standards] (SCNxMAX): Likewise.
16289 [C99-based-standards] (PRIdPTR): Likewise.
16290 [C99-based-standards] (PRIiPTR): Likewise.
16291 [C99-based-standards] (PRIoPTR): Likewise.
16292 [C99-based-standards] (PRIuPTR): Likewise.
16293 [C99-based-standards] (PRIxPTR): Likewise.
16294 [C99-based-standards] (PRIXPTR): Likewise.
16295 [C99-based-standards] (SCNdPTR): Likewise.
16296 [C99-based-standards] (SCNiPTR): Likewise.
16297 [C99-based-standards] (SCNoPTR): Likewise.
16298 [C99-based-standards] (SCNuPTR): Likewise.
16299 [C99-based-standards] (SCNxPTR): Likewise.
16300 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16302 * conform/data/stdint.h-data: Update comments to clarify
16304 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16306 [C99-based standards] (INT8_MAX): Likewise.
16307 [C99-based standards] (INT16_MIN): Likewise.
16308 [C99-based standards] (INT16_MAX): Likewise.
16309 [C99-based standards] (INT32_MIN): Likewise.
16310 [C99-based standards] (INT32_MAX): Likewise.
16311 [C99-based standards] (INT64_MIN): Likewise.
16312 [C99-based standards] (INT64_MAX): Likewise.
16313 [C99-based standards] (UINT8_MAX): Likewise.
16314 [C99-based standards] (UINT16_MAX): Likewise.
16315 [C99-based standards] (UINT32_MAX): Likewise.
16316 [C99-based standards] (UINT64_MAX): Likewise.
16317 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16318 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16319 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16320 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16321 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16322 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16323 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16324 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16325 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16326 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16327 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16328 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16329 [C99-based standards] (INT_FAST8_MIN): Likewise.
16330 [C99-based standards] (INT_FAST8_MAX): Likewise.
16331 [C99-based standards] (INT_FAST16_MIN): Likewise.
16332 [C99-based standards] (INT_FAST16_MAX): Likewise.
16333 [C99-based standards] (INT_FAST32_MIN): Likewise.
16334 [C99-based standards] (INT_FAST32_MAX): Likewise.
16335 [C99-based standards] (INT_FAST64_MIN): Likewise.
16336 [C99-based standards] (INT_FAST64_MAX): Likewise.
16337 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16338 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16339 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16340 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16341 [C99-based standards] (INTPTR_MIN): Likewise.
16342 [C99-based standards] (INTPTR_MAX): Likewise.
16343 [C99-based standards] (UINTPTR_MAX): Likewise.
16344 [C99-based standards] (INTMAX_MIN): Likewise.
16345 [C99-based standards] (INTMAX_MAX): Likewise.
16346 [C99-based standards] (UINTMAX_MAX): Likewise.
16347 [C99-based standards] (PTRDIFF_MIN): Likewise.
16348 [C99-based standards] (PTRDIFF_MAX): Likewise.
16349 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16350 [C99-based standards] (SIZE_MAX): Likewise.
16351 [C99-based standards] (WCHAR_MAX): Likewise.
16352 [C99-based standards] (WINT_MAX): Likewise.
16353 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16354 constraint on value.
16355 [C99-based standards] (WCHAR_MIN): Likewise.
16356 [C99-based standards] (WINT_MIN): Likewise.
16357 [C99-based standards] (*_t): Allow.
16358 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16359 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16360 Include math.h-data and complex.h-data. Remove all expectations
16361 of math.h and complex.h contents.
16362 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16364 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16365 (struct tm): Expect tag.
16366 [C99-based-standards] (wcstof): Expect function.
16367 [C99-based-standards] (wcstold): Likewise.
16368 [C99-based-standards] (wcstoll): Likewise.
16369 [C99-based-standards] (wcstoull): Likewise.
16370 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16371 macro-int-constant. Specify type.
16372 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16373 constraint on value.
16374 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16376 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16378 [ISO C standards]: Do not allow headers.
16379 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16380 wcs[abcdefghijklmnopqrstuvwxyz]*.
16381 [ISO C standards] (*_t): Do not allow.
16382 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16384 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16385 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16387 [ISO C standards]: Do not allow headers.
16388 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16389 is[abcdefghijklmnopqrstuvwxyz]*.
16390 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16391 to[abcdefghijklmnopqrstuvwxyz]*.
16392 [ISO C standards] (*_t): Do not allow.
16393 * conform/data/stdalign.h-data: New file.
16394 * conform/data/stdbool.h-data: Likewise.
16395 * conform/data/stdnoreturn.h-data: Likewise.
16397 2012-11-07 Roland McGrath <roland@hack.frob.com>
16400 * manual/filesys.texi (Directory Entries): Typo fix.
16401 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16403 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16405 * elf/elf.h (EM_AARCH64): New macro.
16406 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16407 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16408 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16409 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16410 (R_AARCH64_TLSDESC): Likewise.
16411 (NT_ARM_TLS): Likewise.
16412 (NT_ARM_HW_BREAK): Likewise.
16413 (NT_ARM_HW_WATCH): Likewise.
16415 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16418 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16419 (__ieee754_powl): Saturate nonzero exponents with absolute value
16420 below 0x1p-79 to +/- 0x1p-79.
16421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16422 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16423 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16424 nonzero exponents with absolute value below 0x1p-32 to +/-
16426 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16427 (__ieee754_powl): Saturate nonzero exponents with absolute value
16428 below 0x1p-79 to +/- 0x1p-79.
16429 * math/libm-test.inc (pow_test): Add more tests.
16431 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16433 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16434 _dl_s390_cap_flags with kernel. Increase string length.
16435 (_dl_s390_platforms): Add z196 and zEC12.
16437 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16439 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16440 Change XOPEN21K to XOPEN2K.
16442 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16444 * string/memmove.c: Use memcpy when possible.
16446 2012-11-06 Andreas Jaeger <aj@suse.de>
16448 * po/eo.po: Update from translation team.
16450 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16454 exponent and small x and y exponents, scale x or y up. Increase
16455 by 2 the exponent used in scaling up.
16456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16458 * math/libm-test.inc (fma_test): Add more tests.
16459 (fma_test_towardzero): Likewise.
16460 (fma_test_downward): Likewise.
16461 (fma_test_upward): Likewise.
16463 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16466 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16470 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16471 namespace for names of struct fields.
16472 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16474 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16475 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16477 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16480 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16482 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16484 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16488 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16491 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16495 definitely overflow as x * y not x * y + z.
16496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16498 * math/libm-test.inc (fma_test): Add more tests.
16499 (fma_test_towardzero): Likewise.
16500 (fma_test_downward): Likewise.
16501 (fma_test_upward): Likewise.
16503 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16507 * include/stub-tag.h: Remove file.
16508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16510 * manual/maint.texi (Porting): Don't reference it.
16511 * Makerules ($(objpfx)stubs): Likewise.
16512 * dirent/closedir.c: Don't include <stub-tag.h>.
16513 * dirent/dirfd.c: Likewise.
16514 * dirent/fdopendir.c: Likewise.
16515 * dirent/getdents.c: Likewise.
16516 * dirent/getdents64.c: Likewise.
16517 * dirent/opendir.c: Likewise.
16518 * dirent/readdir.c: Likewise.
16519 * dirent/readdir64.c: Likewise.
16520 * dirent/readdir64_r.c: Likewise.
16521 * dirent/readdir_r.c: Likewise.
16522 * dirent/rewinddir.c: Likewise.
16523 * dirent/seekdir.c: Likewise.
16524 * dirent/telldir.c: Likewise.
16525 * gmon/profil.c: Likewise.
16526 * grp/setgroups.c: Likewise.
16527 * inet/if_index.c: Likewise.
16528 * io/access.c: Likewise.
16529 * io/chdir.c: Likewise.
16530 * io/chmod.c: Likewise.
16531 * io/chown.c: Likewise.
16532 * io/close.c: Likewise.
16533 * io/dup.c: Likewise.
16534 * io/dup2.c: Likewise.
16535 * io/dup3.c: Likewise.
16536 * io/euidaccess.c: Likewise.
16537 * io/faccessat.c: Likewise.
16538 * io/fchdir.c: Likewise.
16539 * io/fchmod.c: Likewise.
16540 * io/fchmodat.c: Likewise.
16541 * io/fchown.c: Likewise.
16542 * io/fchownat.c: Likewise.
16543 * io/fcntl.c: Likewise.
16544 * io/flock.c: Likewise.
16545 * io/fstatfs.c: Likewise.
16546 * io/fstatfs64.c: Likewise.
16547 * io/fstatvfs.c: Likewise.
16548 * io/fstatvfs64.c: Likewise.
16549 * io/futimens.c: Likewise.
16550 * io/fxstat.c: Likewise.
16551 * io/fxstat64.c: Likewise.
16552 * io/fxstatat.c: Likewise.
16553 * io/fxstatat64.c: Likewise.
16554 * io/getcwd.c: Likewise.
16555 * io/isatty.c: Likewise.
16556 * io/lchmod.c: Likewise.
16557 * io/lchown.c: Likewise.
16558 * io/link.c: Likewise.
16559 * io/linkat.c: Likewise.
16560 * io/lseek.c: Likewise.
16561 * io/lseek64.c: Likewise.
16562 * io/lxstat64.c: Likewise.
16563 * io/mkdir.c: Likewise.
16564 * io/mkdirat.c: Likewise.
16565 * io/mkfifo.c: Likewise.
16566 * io/mkfifoat.c: Likewise.
16567 * io/open.c: Likewise.
16568 * io/open64.c: Likewise.
16569 * io/openat.c: Likewise.
16570 * io/openat64.c: Likewise.
16571 * io/pipe.c: Likewise.
16572 * io/pipe2.c: Likewise.
16573 * io/poll.c: Likewise.
16574 * io/posix_fadvise.c: Likewise.
16575 * io/posix_fadvise64.c: Likewise.
16576 * io/posix_fallocate.c: Likewise.
16577 * io/posix_fallocate64.c: Likewise.
16578 * io/read.c: Likewise.
16579 * io/readlink.c: Likewise.
16580 * io/readlinkat.c: Likewise.
16581 * io/rmdir.c: Likewise.
16582 * io/sendfile.c: Likewise.
16583 * io/sendfile64.c: Likewise.
16584 * io/statfs.c: Likewise.
16585 * io/statfs64.c: Likewise.
16586 * io/statvfs.c: Likewise.
16587 * io/statvfs64.c: Likewise.
16588 * io/symlink.c: Likewise.
16589 * io/symlinkat.c: Likewise.
16590 * io/ttyname.c: Likewise.
16591 * io/ttyname_r.c: Likewise.
16592 * io/umask.c: Likewise.
16593 * io/unlink.c: Likewise.
16594 * io/unlinkat.c: Likewise.
16595 * io/utime.c: Likewise.
16596 * io/utimensat.c: Likewise.
16597 * io/write.c: Likewise.
16598 * io/xmknod.c: Likewise.
16599 * io/xmknodat.c: Likewise.
16600 * io/xstat.c: Likewise.
16601 * io/xstat64.c: Likewise.
16602 * login/getpt.c: Likewise.
16603 * login/grantpt.c: Likewise.
16604 * login/unlockpt.c: Likewise.
16605 * math/e_acoshl.c: Likewise.
16606 * math/e_acosl.c: Likewise.
16607 * math/e_asinl.c: Likewise.
16608 * math/e_atan2l.c: Likewise.
16609 * math/e_atanhl.c: Likewise.
16610 * math/e_coshl.c: Likewise.
16611 * math/e_expl.c: Likewise.
16612 * math/e_fmodl.c: Likewise.
16613 * math/e_gammal_r.c: Likewise.
16614 * math/e_hypotl.c: Likewise.
16615 * math/e_j0l.c: Likewise.
16616 * math/e_j1l.c: Likewise.
16617 * math/e_jnl.c: Likewise.
16618 * math/e_lgammal_r.c: Likewise.
16619 * math/e_log10l.c: Likewise.
16620 * math/e_log2l.c: Likewise.
16621 * math/e_logl.c: Likewise.
16622 * math/e_powl.c: Likewise.
16623 * math/e_rem_pio2l.c: Likewise.
16624 * math/e_sinhl.c: Likewise.
16625 * math/e_sqrtl.c: Likewise.
16626 * math/fclrexcpt.c: Likewise.
16627 * math/fedisblxcpt.c: Likewise.
16628 * math/feenablxcpt.c: Likewise.
16629 * math/fegetenv.c: Likewise.
16630 * math/fegetexcept.c: Likewise.
16631 * math/fegetround.c: Likewise.
16632 * math/feholdexcpt.c: Likewise.
16633 * math/fesetenv.c: Likewise.
16634 * math/fesetround.c: Likewise.
16635 * math/feupdateenv.c: Likewise.
16636 * math/fgetexcptflg.c: Likewise.
16637 * math/fraiseexcpt.c: Likewise.
16638 * math/fsetexcptflg.c: Likewise.
16639 * math/ftestexcept.c: Likewise.
16640 * math/k_cosl.c: Likewise.
16641 * math/k_rem_pio2l.c: Likewise.
16642 * math/k_sinl.c: Likewise.
16643 * math/k_tanl.c: Likewise.
16644 * math/s_asinhl.c: Likewise.
16645 * math/s_atanl.c: Likewise.
16646 * math/s_cbrtl.c: Likewise.
16647 * math/s_erfl.c: Likewise.
16648 * math/s_expm1l.c: Likewise.
16649 * math/s_log1pl.c: Likewise.
16650 * math/s_tanhl.c: Likewise.
16651 * misc/acct.c: Likewise.
16652 * misc/brk.c: Likewise.
16653 * misc/chflags.c: Likewise.
16654 * misc/chroot.c: Likewise.
16655 * misc/fchflags.c: Likewise.
16656 * misc/fgetxattr.c: Likewise.
16657 * misc/flistxattr.c: Likewise.
16658 * misc/fremovexattr.c: Likewise.
16659 * misc/fsetxattr.c: Likewise.
16660 * misc/fsync.c: Likewise.
16661 * misc/ftruncate.c: Likewise.
16662 * misc/futimes.c: Likewise.
16663 * misc/futimesat.c: Likewise.
16664 * misc/getdomain.c: Likewise.
16665 * misc/getdtsz.c: Likewise.
16666 * misc/gethostid.c: Likewise.
16667 * misc/gethostname.c: Likewise.
16668 * misc/getloadavg.c: Likewise.
16669 * misc/getpagesize.c: Likewise.
16670 * misc/getsysstats.c: Likewise.
16671 * misc/getxattr.c: Likewise.
16672 * misc/gtty.c: Likewise.
16673 * misc/ioctl.c: Likewise.
16674 * misc/lgetxattr.c: Likewise.
16675 * misc/listxattr.c: Likewise.
16676 * misc/llistxattr.c: Likewise.
16677 * misc/lremovexattr.c: Likewise.
16678 * misc/lsetxattr.c: Likewise.
16679 * misc/lutimes.c: Likewise.
16680 * misc/madvise.c: Likewise.
16681 * misc/mincore.c: Likewise.
16682 * misc/mlock.c: Likewise.
16683 * misc/mlockall.c: Likewise.
16684 * misc/mmap.c: Likewise.
16685 * misc/mprotect.c: Likewise.
16686 * misc/msync.c: Likewise.
16687 * misc/munlock.c: Likewise.
16688 * misc/munlockall.c: Likewise.
16689 * misc/munmap.c: Likewise.
16690 * misc/preadv.c: Likewise.
16691 * misc/preadv64.c: Likewise.
16692 * misc/ptrace.c: Likewise.
16693 * misc/pwritev.c: Likewise.
16694 * misc/pwritev64.c: Likewise.
16695 * misc/readv.c: Likewise.
16696 * misc/reboot.c: Likewise.
16697 * misc/remap_file_pages.c: Likewise.
16698 * misc/removexattr.c: Likewise.
16699 * misc/revoke.c: Likewise.
16700 * misc/select.c: Likewise.
16701 * misc/setdomain.c: Likewise.
16702 * misc/setegid.c: Likewise.
16703 * misc/seteuid.c: Likewise.
16704 * misc/sethostid.c: Likewise.
16705 * misc/sethostname.c: Likewise.
16706 * misc/setregid.c: Likewise.
16707 * misc/setreuid.c: Likewise.
16708 * misc/setxattr.c: Likewise.
16709 * misc/sstk.c: Likewise.
16710 * misc/stty.c: Likewise.
16711 * misc/swapoff.c: Likewise.
16712 * misc/swapon.c: Likewise.
16713 * misc/sync.c: Likewise.
16714 * misc/syncfs.c: Likewise.
16715 * misc/syscall.c: Likewise.
16716 * misc/truncate.c: Likewise.
16717 * misc/ualarm.c: Likewise.
16718 * misc/usleep.c: Likewise.
16719 * misc/ustat.c: Likewise.
16720 * misc/utimes.c: Likewise.
16721 * misc/vhangup.c: Likewise.
16722 * misc/writev.c: Likewise.
16723 * posix/_exit.c: Likewise.
16724 * posix/alarm.c: Likewise.
16725 * posix/execve.c: Likewise.
16726 * posix/fexecve.c: Likewise.
16727 * posix/fork.c: Likewise.
16728 * posix/fpathconf.c: Likewise.
16729 * posix/getaddrinfo.c: Likewise.
16730 * posix/getegid.c: Likewise.
16731 * posix/geteuid.c: Likewise.
16732 * posix/getgid.c: Likewise.
16733 * posix/getgroups.c: Likewise.
16734 * posix/getlogin.c: Likewise.
16735 * posix/getlogin_r.c: Likewise.
16736 * posix/getpgid.c: Likewise.
16737 * posix/getpid.c: Likewise.
16738 * posix/getppid.c: Likewise.
16739 * posix/getresgid.c: Likewise.
16740 * posix/getresuid.c: Likewise.
16741 * posix/getsid.c: Likewise.
16742 * posix/getuid.c: Likewise.
16743 * posix/glob64.c: Likewise.
16744 * posix/nanosleep.c: Likewise.
16745 * posix/pathconf.c: Likewise.
16746 * posix/pause.c: Likewise.
16747 * posix/posix_madvise.c: Likewise.
16748 * posix/pread.c: Likewise.
16749 * posix/pread64.c: Likewise.
16750 * posix/pwrite.c: Likewise.
16751 * posix/pwrite64.c: Likewise.
16752 * posix/sched_getaffinity.c: Likewise.
16753 * posix/sched_getp.c: Likewise.
16754 * posix/sched_gets.c: Likewise.
16755 * posix/sched_primax.c: Likewise.
16756 * posix/sched_primin.c: Likewise.
16757 * posix/sched_rr_gi.c: Likewise.
16758 * posix/sched_setaffinity.c: Likewise.
16759 * posix/sched_setp.c: Likewise.
16760 * posix/sched_sets.c: Likewise.
16761 * posix/sched_yield.c: Likewise.
16762 * posix/setgid.c: Likewise.
16763 * posix/setlogin.c: Likewise.
16764 * posix/setpgid.c: Likewise.
16765 * posix/setresgid.c: Likewise.
16766 * posix/setresuid.c: Likewise.
16767 * posix/setsid.c: Likewise.
16768 * posix/setuid.c: Likewise.
16769 * posix/sleep.c: Likewise.
16770 * posix/spawni.c: Likewise.
16771 * posix/sysconf.c: Likewise.
16772 * posix/times.c: Likewise.
16773 * posix/wait.c: Likewise.
16774 * posix/wait3.c: Likewise.
16775 * posix/wait4.c: Likewise.
16776 * posix/waitpid.c: Likewise.
16777 * resolv/gai_sigqueue.c: Likewise.
16778 * resource/getpriority.c: Likewise.
16779 * resource/getrlimit.c: Likewise.
16780 * resource/getrusage.c: Likewise.
16781 * resource/nice.c: Likewise.
16782 * resource/setpriority.c: Likewise.
16783 * resource/setrlimit.c: Likewise.
16784 * resource/ulimit.c: Likewise.
16785 * rt/aio_cancel.c: Likewise.
16786 * rt/aio_fsync.c: Likewise.
16787 * rt/aio_read.c: Likewise.
16788 * rt/aio_sigqueue.c: Likewise.
16789 * rt/aio_suspend.c: Likewise.
16790 * rt/aio_write.c: Likewise.
16791 * rt/clock_getres.c: Likewise.
16792 * rt/clock_gettime.c: Likewise.
16793 * rt/clock_nanosleep.c: Likewise.
16794 * rt/clock_settime.c: Likewise.
16795 * rt/lio_listio.c: Likewise.
16796 * rt/mq_close.c: Likewise.
16797 * rt/mq_getattr.c: Likewise.
16798 * rt/mq_notify.c: Likewise.
16799 * rt/mq_open.c: Likewise.
16800 * rt/mq_receive.c: Likewise.
16801 * rt/mq_send.c: Likewise.
16802 * rt/mq_setattr.c: Likewise.
16803 * rt/mq_timedreceive.c: Likewise.
16804 * rt/mq_timedsend.c: Likewise.
16805 * rt/mq_unlink.c: Likewise.
16806 * rt/shm_open.c: Likewise.
16807 * rt/shm_unlink.c: Likewise.
16808 * rt/timer_create.c: Likewise.
16809 * rt/timer_delete.c: Likewise.
16810 * rt/timer_getoverr.c: Likewise.
16811 * rt/timer_gettime.c: Likewise.
16812 * rt/timer_settime.c: Likewise.
16813 * setjmp/__longjmp.c: Likewise.
16814 * setjmp/setjmp.c: Likewise.
16815 * signal/kill.c: Likewise.
16816 * signal/killpg.c: Likewise.
16817 * signal/raise.c: Likewise.
16818 * signal/sigaction.c: Likewise.
16819 * signal/sigaltstack.c: Likewise.
16820 * signal/sigblock.c: Likewise.
16821 * signal/sigignore.c: Likewise.
16822 * signal/sigintr.c: Likewise.
16823 * signal/signal.c: Likewise.
16824 * signal/sigpause.c: Likewise.
16825 * signal/sigpending.c: Likewise.
16826 * signal/sigqueue.c: Likewise.
16827 * signal/sigreturn.c: Likewise.
16828 * signal/sigset.c: Likewise.
16829 * signal/sigsetmask.c: Likewise.
16830 * signal/sigstack.c: Likewise.
16831 * signal/sigsuspend.c: Likewise.
16832 * signal/sigtimedwait.c: Likewise.
16833 * signal/sigvec.c: Likewise.
16834 * signal/sigwait.c: Likewise.
16835 * signal/sigwaitinfo.c: Likewise.
16836 * signal/sysv_signal.c: Likewise.
16837 * socket/accept.c: Likewise.
16838 * socket/accept4.c: Likewise.
16839 * socket/bind.c: Likewise.
16840 * socket/connect.c: Likewise.
16841 * socket/getpeername.c: Likewise.
16842 * socket/getsockname.c: Likewise.
16843 * socket/getsockopt.c: Likewise.
16844 * socket/isfdtype.c: Likewise.
16845 * socket/listen.c: Likewise.
16846 * socket/recv.c: Likewise.
16847 * socket/recvfrom.c: Likewise.
16848 * socket/recvmsg.c: Likewise.
16849 * socket/send.c: Likewise.
16850 * socket/sendmsg.c: Likewise.
16851 * socket/sendto.c: Likewise.
16852 * socket/setsockopt.c: Likewise.
16853 * socket/shutdown.c: Likewise.
16854 * socket/sockatmark.c: Likewise.
16855 * socket/socket.c: Likewise.
16856 * socket/socketpair.c: Likewise.
16857 * stdio-common/ctermid.c: Likewise.
16858 * stdio-common/cuserid.c: Likewise.
16859 * stdio-common/remove.c: Likewise.
16860 * stdio-common/rename.c: Likewise.
16861 * stdio-common/renameat.c: Likewise.
16862 * stdio-common/tempname.c: Likewise.
16863 * stdlib/getcontext.c: Likewise.
16864 * stdlib/makecontext.c: Likewise.
16865 * stdlib/setcontext.c: Likewise.
16866 * stdlib/swapcontext.c: Likewise.
16867 * stdlib/system.c: Likewise.
16868 * streams/fattach.c: Likewise.
16869 * streams/fdetach.c: Likewise.
16870 * streams/getmsg.c: Likewise.
16871 * streams/getpmsg.c: Likewise.
16872 * streams/putmsg.c: Likewise.
16873 * streams/putpmsg.c: Likewise.
16874 * sysdeps/unix/bsd/getpt.c: Likewise.
16875 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16876 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16877 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16880 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16881 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16882 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16883 * sysvipc/msgctl.c: Likewise.
16884 * sysvipc/msgget.c: Likewise.
16885 * sysvipc/msgrcv.c: Likewise.
16886 * sysvipc/msgsnd.c: Likewise.
16887 * sysvipc/semctl.c: Likewise.
16888 * sysvipc/semget.c: Likewise.
16889 * sysvipc/semop.c: Likewise.
16890 * sysvipc/semtimedop.c: Likewise.
16891 * sysvipc/shmat.c: Likewise.
16892 * sysvipc/shmctl.c: Likewise.
16893 * sysvipc/shmdt.c: Likewise.
16894 * sysvipc/shmget.c: Likewise.
16895 * termios/tcdrain.c: Likewise.
16896 * termios/tcflow.c: Likewise.
16897 * termios/tcflush.c: Likewise.
16898 * termios/tcgetattr.c: Likewise.
16899 * termios/tcgetpgrp.c: Likewise.
16900 * termios/tcsendbrk.c: Likewise.
16901 * termios/tcsetattr.c: Likewise.
16902 * termios/tcsetpgrp.c: Likewise.
16903 * time/adjtime.c: Likewise.
16904 * time/clock.c: Likewise.
16905 * time/getitimer.c: Likewise.
16906 * time/gettimeofday.c: Likewise.
16907 * time/setitimer.c: Likewise.
16908 * time/settimeofday.c: Likewise.
16909 * time/stime.c: Likewise.
16910 * time/time.c: Likewise.
16912 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16914 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16917 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16919 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16921 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16925 FE_TONEAREST before applying Dekker multiplication and Knuth
16926 addition. Clear inexact exceptions and check for exact zero
16927 results afterwards.
16928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16931 * math/libm-test.inc (fma_test): Add more tests.
16932 (fma_test_towardzero): Likewise.
16933 (fma_test_downward): Likewise.
16934 (fma_test_upward): Likewise.
16935 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16937 (libc_fesetround): New macro.
16938 (libc_fesetroundf): Likewise.
16939 (libc_fesetroundl): Likewise.
16940 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16942 (libc_fesetround_387): Likewise.
16943 (libc_fesetroundf): New macro.
16944 (libc_fesetround): Likewise.
16945 (libc_fesetroundl): Likewise.
16946 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16948 (libc_fesetroundf): New macro.
16949 (libc_fesetround): Likewise.
16950 (libc_fesetroundl): Likewise.
16951 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16952 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16953 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16955 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16956 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16958 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16959 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16961 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16965 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16966 integer constant usable in #if and use that to give value to enum
16968 (FE_DIVBYZERO): Likewise.
16969 (FE_UNDERFLOW): Likewise.
16970 (FE_OVERFLOW): Likewise.
16971 (FE_INVALID): Likewise.
16972 (FE_INVALID_SNAN): Likewise.
16973 (FE_INVALID_ISI): Likewise.
16974 (FE_INVALID_IDI): Likewise.
16975 (FE_INVALID_ZDZ): Likewise.
16976 (FE_INVALID_IMZ): Likewise.
16977 (FE_INVALID_COMPARE): Likewise.
16978 (FE_INVALID_SOFTWARE): Likewise.
16979 (FE_INVALID_SQRT): Likewise.
16980 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16981 (FE_TONEAREST): Likewise.
16982 (FE_TOWARDZERO): Likewise.
16983 (FE_UPWARD): Likewise.
16984 (FE_DOWNWARD): Likewise.
16985 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16986 (FE_DIVBYZERO): Likewise.
16987 (FE_OVERFLOW): Likewise.
16988 (FE_UNDERFLOW): Likewise.
16989 (FE_INEXACT): Likewise.
16990 (FE_TONEAREST): Likewise.
16991 (FE_DOWNWARD): Likewise.
16992 (FE_UPWARD): Likewise.
16993 (FE_TOWARDZERO): Likewise.
16994 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16995 (FE_UNDERFLOW): Likewise.
16996 (FE_OVERFLOW): Likewise.
16997 (FE_DIVBYZERO): Likewise.
16998 (FE_INVALID): Likewise.
16999 (FE_TONEAREST): Likewise.
17000 (FE_TOWARDZERO): Likewise.
17001 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17002 (FE_OVERFLOW): Likewise.
17003 (FE_UNDERFLOW): Likewise.
17004 (FE_DIVBYZERO): Likewise.
17005 (FE_INEXACT): Likewise.
17006 (FE_TONEAREST): Likewise.
17007 (FE_TOWARDZERO): Likewise.
17008 (FE_UPWARD): Likewise.
17009 (FE_DOWNWARD): Likewise.
17010 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17011 (FE_DIVBYZERO): Likewise.
17012 (FE_OVERFLOW): Likewise.
17013 (FE_UNDERFLOW): Likewise.
17014 (FE_INEXACT): Likewise.
17015 (FE_TONEAREST): Likewise.
17016 (FE_DOWNWARD): Likewise.
17017 (FE_UPWARD): Likewise.
17018 (FE_TOWARDZERO): Likewise.
17020 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17022 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17024 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17026 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17027 commands. Quote $PWD.
17028 (blacklist_exports): Don't use remove_newlines. Replace "declare
17030 (remove_newlines): Remove.
17032 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17034 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17035 * stdlib/stdlib.h (atof): Moved to ...
17036 * include/bits/stdlib-float.h: Here. New file.
17037 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17038 * stdlib/bits/stdlib-float.h: New file.
17039 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17044 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17046 * conform/conformtest.pl (@headers): Add fenv.h.
17047 * conform/data/fenv.h-data: New file.
17048 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17049 include of <math/fenv.h>.
17051 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17052 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17053 && !UNIX98]. Enables tests for XOPEN2K8.
17054 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17055 POSIX2008]: Likewise.
17057 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17058 (struct rusage): Do not expect type or its members.
17061 * math/math.h (FP_NAN): Define macro to integer constant usable in
17062 #if and use that to give value to enum constant.
17063 (FP_INFINITE): Likewise.
17064 (FP_ZERO): Likewise.
17065 (FP_SUBNORMAL): Likewise.
17066 (FP_NORMAL): Likewise.
17068 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17070 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17071 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17074 2012-11-02 Roland McGrath <roland@hack.frob.com>
17076 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17077 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17078 autoconf-time if not.
17079 * configure.in: Remove AC_PREREQ.
17081 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17083 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17084 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17085 of the internal implementation.
17087 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17089 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17090 except include of <misc/sys/syslog.h>.
17092 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17095 function returns with a NULL context exit with zero.
17097 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17099 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17101 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17103 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17104 (run_program_cmd): This.
17105 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17106 (tst_langinfo): New variable. Use it.
17108 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17110 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17111 floating point opcodes.
17113 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17115 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17118 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17120 * sysdeps/mach/hurd/powerpc: Remove directory.
17121 * sysdeps/mach/powerpc: Likewise.
17123 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17125 * scripts/check-local-headers.sh: Ignore c++ headers.
17127 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17129 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17130 __libc_cleanup_region_start argument.
17132 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17137 x * y using scaling, not as x * y + z.
17138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17140 * math/libm-test.inc (fma_test): Add more tests.
17141 (fma_test_towardzero): Likewise.
17142 (fma_test_downward): Likewise.
17143 (fma_test_upward): Likewise.
17145 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17147 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17149 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17151 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17154 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17156 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17158 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17165 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17168 Fix the order of the list for glibc 2.17.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17172 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17176 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17179 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17180 for low part of x being zero before using __atanl (y).
17181 * math/libm-test.inc (atan2_test): Add another test.
17183 * manual/install.texi (Configuring and compiling): Document
17184 general use of test-wrapper and test-wrapper-env.
17185 * INSTALL: Regenerated.
17187 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17188 (__fma): Do not extract and scale down low bits on after-rounding
17189 systems when result rounded to normal precision would have normal
17191 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17192 (__fmal): Do not extract and scale down low bits on after-rounding
17193 systems when result rounded to normal precision would have normal
17195 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17196 (__fmal): Do not extract and scale down low bits on after-rounding
17197 systems when result rounded to normal precision would have normal
17199 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17201 (fma_test): Add more tests.
17202 (fma_test_towardzero): Likewise.
17203 (fma_test_downward): Likewise.
17204 (fma_test_upward): Likewise.
17206 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17208 * sysdeps/i386/tininess.h: Renamed to ...
17209 * sysdeps/x86/tininess.h: This.
17210 * sysdeps/x86_64/tininess.h: Removed.
17212 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17214 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17215 input. Use $(build-program-cmd).
17216 ($(objpfx)tst-array1-static.out): Likewise.
17217 ($(objpfx)tst-array2.out): Likewise.
17218 ($(objpfx)tst-array3.out): Likewise.
17219 ($(objpfx)tst-array4.out): Likewise.
17220 ($(objpfx)tst-array5.out): Likewise.
17221 ($(objpfx)tst-array5-static.out): Likewise.
17223 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17225 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17228 * nss/nsswitch.h (nss_interface_function): Provide new
17229 macro for use with NSS functions.
17230 * grp/initgroups.c: Use new macro.
17231 * nss/getXXbyYY.c: Likewise.
17232 * nss/getXXbyYY_r.c: Likewise.
17233 * nss/getXXent.c: Likewise.
17234 * nss/getXXent_r.c: Likewise.
17235 * sysdeps/posix/getaddrinfo.c: Likewise.
17237 2012-10-30 Andreas Jaeger <aj@suse.de>
17239 * po/ru.po: Update Russion translation from translation project.
17241 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17246 result and shift together with sticky bit instead of replicating
17247 round-to-nearest rounding.
17248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17250 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17251 missing underflow exceptions.
17252 (fma_test_towardzero): Add more tests.
17253 (fma_test_downward): Likewise.
17254 (fma_test_upward): Likewise.
17257 * sysdeps/generic/tininess.h: New file.
17258 * sysdeps/i386/tininess.h: Likewise.
17259 * sysdeps/sh/tininess.h: Likewise.
17260 * sysdeps/x86_64/tininess.h: Likewise.
17261 * stdlib/tst-strtod-underflow.c: Likewise.
17262 * stdlib/tst-tininess.c: Likewise.
17263 * stdlib/strtod_l.c: Include <tininess.h>.
17264 (round_and_return): Do not set errno for exact underflow cases.
17265 Force an underflow exception when setting errno for underflow.
17266 Determine underflow based on rounding to normal precision if
17267 TININESS_AFTER_ROUNDING.
17268 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17269 ERANGE for exact underflow cases.
17270 * stdlib/Makefile (tests): Add tst-tininess and
17271 tst-strtod-underflow.
17272 ($(objpfx)tst-tininess): Use $(link-libm).
17273 ($(objpfx)tst-strtod-underflow): Likewise.
17275 2012-10-30 Andreas Jaeger <aj@suse.de>
17278 * elf/Makefile (tests): Remove conditional for have-initfini-array
17279 since this is now always required and the variable does not exist
17281 (tests-static): Likewise.
17282 (modules-names): Likewise.
17284 * po/eo.po: Add Esperanto translation from translation project.
17286 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17287 merged with constructor/destructor.
17288 (init_array): Likewise.
17289 * elf/tst-array2dep.c (fini_array): Likewise.
17290 (init_array): Likewise.
17292 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17294 * manual/message.texi: Delete @cartouche tags.
17296 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17298 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17300 * sysdeps/mach/hurd/fsync.c: Likewise.
17302 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17303 [_POSIX_REALTIME_SIGNALS]: Change condition to
17304 [_POSIX_REALTIME_SIGNALS > 0].
17306 2012-10-27 Andreas Jaeger <aj@suse.de>
17308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17309 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17311 [__WORDSIZE != 64]: Likewise.
17313 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17315 * iconvdata/tst-table.sh: Remove ${SHELL}.
17316 * iconvdata/tst-tables.sh: Likewise.
17318 2012-10-25 David S. Miller <davem@davemloft.net>
17320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17321 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17327 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17328 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17331 2012-10-25 Roland McGrath <roland@hack.frob.com>
17333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17334 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17337 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17338 Jim Blandy <jimb@codesourcery.com>
17340 * scripts/cross-test-ssh.sh: New file.
17341 * manual/install.texi (Configuring and compiling): Document use of
17343 * INSTALL: Regenerated.
17345 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17347 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17350 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17352 * Makeconfig (run-program-prefix): Fix comment.
17354 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17355 Jim Blandy <jimb@codesourcery.com>
17357 * Makeconfig (test-wrapper): New variable,
17358 (test-wrapper-env): Likewise.
17359 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17360 (run-built-tests): Define to yes.
17361 (run-program-prefix): Use $(test-wrapper).
17362 (built-program-cmd): Likewise.
17363 * Rules (make-test-out): Use $(test-wrapper-env) and
17364 $(host-built-program-cmd).
17365 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17366 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17368 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17369 $(test-wrapper-env) to tst-rtld-load-self.sh.
17370 ($(objpfx)order2.out): Use $(test-wrapper).
17371 ($(objpfx)tst-initorder.out): Likewise.
17372 ($(objpfx)tst-initorder2.out): Likewise.
17373 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17374 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17375 (test_wrapper_env): New variable. Use it to run ld.so.
17376 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17377 Use it to run ld.so.
17378 (test_wrapper_env): Likewise.
17379 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17380 $(test-wrapper) to run-iconv-test.sh.
17381 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17382 (ICONV): Use $test_wrapper.
17383 * posix/Makefile ($(objpfx)globtest.out): Pass
17384 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17385 globtest.sh, not $(run-program-prefix).
17386 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17387 (test_wrapper): Likewise.
17388 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17389 set together with run_via_rtld_prefix.
17390 (run_program_prefix): Define in terms of test_wrapper and
17391 run_via_rtld_prefix.
17393 2012-10-24 Roland McGrath <roland@hack.frob.com>
17395 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17396 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17400 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17401 Declare __clock_getres, __clock_gettime, __clock_settime,
17402 __clock_nanosleep, and __clock_getcpuclockid.
17403 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17404 Remove librt_hidden_def (clock_gettime).
17405 * sysdeps/unix/clock_gettime.c: Likewise.
17406 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17407 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17408 * rt/clock_getres.c: Define __clock_getres as an alias.
17409 * sysdeps/posix/clock_getres.c: Likewise.
17410 * rt/clock_settime.c: Define __clock_settime as an alias.
17411 * sysdeps/unix/clock_settime.c: Likewise.
17412 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17413 * sysdeps/unix/clock_nanosleep.c: Likewise.
17414 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17415 * rt/clock-compat.c: New file.
17416 * rt/Makefile (librt-routines): Add clock-compat and move
17417 $(clock-routines) to ...
17418 (routines): ... here, new variable.
17419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17420 Don't add get_clockfreq here.
17421 * rt/Versions (libc: GLIBC_2.17): New version set.
17422 Add clock_* symbols here.
17423 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17425 (GLIBC_2.17): Add clock_* symbols.
17426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17437 * NEWS: Mention the move.
17439 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17440 Use __open, __read, __close rather than their public counterparts.
17441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17442 (__get_clockfreq_via_cpuinfo): Likewise.
17443 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17444 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17446 * config.h.in (HAVE_IFUNC): New #undef.
17447 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17449 * configure: Regenerated.
17451 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17453 * configure.in: Move READELF check to start of file.
17454 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17455 libc_cv_asm_gnu_indirect_function in the process.
17456 * configure: Regenerated.
17458 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17460 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17461 send the output to /dev/null.
17462 (libc_cv_cc_with_libunwind): Likewise.
17463 (libc_cv_as_noexecstack): Likewise.
17464 * configure: Regenerate.
17466 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17468 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17470 * posix/globtest.sh (TMPDIR): Do not set.
17471 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17472 (testout): Likewise.
17474 2012-10-24 Andreas Jaeger <aj@suse.de>
17476 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17477 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17478 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17479 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17480 posix_fadvise64, posix_fallocate64.
17482 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17483 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17484 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17486 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17488 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17491 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17492 <bits/fcntl-linux.h>.
17493 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17496 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17497 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17498 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17499 [__WORDSIZE != 64]: Likewise.
17501 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17503 * Makeconfig (run-built-tests): New variable.
17504 * Rules [$(cross-compiling) = yes]: Change condition to
17505 [$(run-built-tests) = no].
17506 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17507 to [$(run-built-tests) = yes].
17508 * elf/Makefile [$(cross-compiling) = no]: Likewise
17509 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17510 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17511 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17512 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17513 * io/Makefile [$(cross-compiling) = no]: Likewise.
17514 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17515 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17516 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17517 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17518 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17519 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17520 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17521 * string/Makefile [$(cross-compiling) = no]: Likewise.
17523 * posix/Makefile ($(objpfx)globtest.out): Pass
17524 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17525 $(rtld-installed-name).
17526 * posix/globtest.sh (elf_objpfx): Remove variable.
17527 (rtld_installed_name): Likewise.
17528 (library_path): Likewise.
17529 (run_program_prefix): New variable. Use for running globtest
17532 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17533 Joseph Myers <joseph@codesourcery.com>
17535 * Makeconfig (host-built-program-cmd): New variable.
17536 * elf/Makefile (tst-stackguard1-ARGS): Use
17537 $(host-built-program-cmd).
17538 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17539 (tst-spawn-ARGS): Likewise.
17540 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17542 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17543 Jim Blandy <jimb@codesourcery.com>
17545 * Makeconfig (run-via-rtld-prefix): New variable.
17546 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17547 (built-program-cmd): Likewise.
17549 2012-10-22 Andreas Jaeger <aj@suse.de>
17551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17552 __O_RSYNC if it exists, otherwise to O_SYNC.
17554 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17555 Joseph Myers <joseph@codesourcery.com>
17557 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17559 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17561 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17564 2012-10-22 Andreas Jaeger <aj@suse.de>
17566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17571 bits/fcntl-linux.h.
17573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17574 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17581 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17582 Joseph Myers <joseph@codesourcery.com>
17584 * config.make.in (NM): New variable.
17586 2012-10-21 Andreas Jaeger <aj@suse.de>
17588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17589 definitions and declarations that are provided by
17590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17592 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17595 * elf/Makefile (tests-static): Add tst-leaks1-static.
17596 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17597 ($(objpfx)tst-leaks1-static): New rule.
17598 ($(objpfx)tst-leaks1-static-mem): Likewise.
17599 (tst-leaks1-static-ENV): New macro.
17600 * elf/dl-open.c (dl_open_worker): Check the main application
17601 only if SHARED is defined.
17602 * elf/tst-leaks1-static.c: New file.
17604 2012-10-20 Andreas Jaeger <aj@suse.de>
17606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17607 generic values for Linux.
17608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17609 and declarations that are provided by <bits/fcntl-linux.h> and
17610 include <bits/fcntl-linux.h>.
17611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17614 2012-10-20 Roland McGrath <roland@hack.frob.com>
17616 * io/fcntl.h: Move include of <bits/types.h> to the top and
17617 include it unconditionally.
17619 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17621 * wcsmbs/Makefile (tests-ifunc): New variable.
17622 (tests): Add $(tests-ifunc).
17623 * wcsmbs/test-wcschr-ifunc.c: New file.
17624 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17625 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17626 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17627 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17628 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17630 * string/Makefile (tests-ifunc): New variable.
17631 (tests): Add $(tests-ifunc).
17632 * string/test-memccpy.c (TEST_NAME): New macro.
17633 * string/test-memchr.c (TEST_NAME): Likewise.
17634 * string/test-memcmp.c (TEST_NAME): Likewise.
17635 * string/test-memcpy.c (TEST_NAME): Likewise.
17636 * string/test-memmem.c (TEST_NAME): Likewise.
17637 * string/test-memmove.c (TEST_NAME): Likewise.
17638 * string/test-memset.c (TEST_NAME): Likewise.
17639 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17640 * string/test-stpcpy.c (TEST_NAME): Likewise.
17641 * string/test-stpncpy.c (TEST_NAME): Likewise.
17642 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17643 * string/test-strcasestr.c (TEST_NAME): Likewise.
17644 * string/test-strcat.c (TEST_NAME): Likewise.
17645 * string/test-strchr.c (TEST_NAME): Likewise.
17646 * string/test-strcmp.c(TEST_NAME): Likewise.
17647 * string/test-strcpy.c (TEST_NAME): Likewise.
17648 * string/test-strcspn.c (TEST_NAME): Likewise.
17649 * string/test-strlen.c (TEST_NAME): Likewise.
17650 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17651 * string/test-strncmp.c (TEST_NAME): Likewise.
17652 * string/test-strncpy.c (TEST_NAME): Likewise.
17653 * string/test-strnlen.c (TEST_NAME): Likewise.
17654 * string/test-strpbrk.c (TEST_NAME): Likewise.
17655 * string/test-strrchr.c (TEST_NAME): Likewise.
17656 * string/test-strspn.c (TEST_NAME): Likewise.
17657 * string/test-strstr.c (TEST_NAME): Likewise.
17658 * string/test-bcopy-ifunc.c: New file.
17659 * string/test-bzero-ifunc.c: Likewise.
17660 * string/test-memccpy-ifunc.c: Likewise.
17661 * string/test-memchr-ifunc.c: Likewise.
17662 * string/test-memcmp-ifunc.c: Likewise.
17663 * string/test-memcpy-ifunc.c: Likewise.
17664 * string/test-memmem-ifunc.c: Likewise.
17665 * string/test-memmove-ifunc.c: Likewise.
17666 * string/test-mempcpy-ifunc.c: Likewise.
17667 * string/test-memset-ifunc.c: Likewise.
17668 * string/test-rawmemchr-ifunc.c: Likewise.
17669 * string/test-stpcpy-ifunc.c: Likewise.
17670 * string/test-stpncpy-ifunc.c: Likewise.
17671 * string/test-strcasecmp-ifunc.c: Likewise.
17672 * string/test-strcasestr-ifunc.c: Likewise.
17673 * string/test-strcat-ifunc.c: Likewise.
17674 * string/test-strchr-ifunc.c: Likewise.
17675 * string/test-strchrnul-ifunc.c: Likewise.
17676 * string/test-strcmp-ifunc.c: Likewise.
17677 * string/test-strcpy-ifunc.c: Likewise.
17678 * string/test-strcspn-ifunc.c: Likewise.
17679 * string/test-strlen-ifunc.c: Likewise.
17680 * string/test-strncasecmp-ifunc.c: Likewise.
17681 * string/test-strncat-ifunc.c: Likewise.
17682 * string/test-strncmp-ifunc.c: Likewise.
17683 * string/test-strncpy-ifunc.c: Likewise.
17684 * string/test-strnlen-ifunc.c: Likewise.
17685 * string/test-strpbrk-ifunc.c: Likewise.
17686 * string/test-strrchr-ifunc.c: Likewise.
17687 * string/test-strspn-ifunc.c: Likewise.
17688 * string/test-strstr-ifunc.c: Likewise.
17690 * debug/Makefile (tests-ifunc): New variable.
17691 (tests): Add $(tests-ifunc).
17692 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17693 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17694 * debug/test-stpcpy_chk-ifunc.c: New file.
17695 * debug/test-strcpy_chk-ifunc.c: Likewise.
17697 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17700 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17701 header is not read in.
17703 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17705 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17706 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17707 directly. Pass built executable to script as
17708 $(built-program-cmd).
17709 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17710 $testprogram without using LD_LIBRARY_PATH and $ldso.
17712 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17713 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17714 $(rtld-installed-name).
17715 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17716 (rtld_installed_name): Likewise.
17717 (library_path): Likewise.
17718 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17719 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17720 $(run-program-prefix) to tst-tables.sh.
17721 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17722 it to run tst-table-from and tst-table-to.
17723 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17724 Pass it to tst-table.sh.
17725 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17726 $(run-program-prefix) to tst-gettext.sh.
17727 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17729 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17731 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17732 to run tst-gettext.
17733 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17734 to run tst-gettext2.
17735 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17736 to run tst-translit.
17737 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17738 $(run-program-prefix) to tst-mtrace.sh.
17739 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17741 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17742 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17743 $(rtld-installed-name).
17744 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17745 (rtld_installed_name): Likewise.
17746 (run_program_prefix): New variable. Use it to run wordexp-test.
17748 * Makeconfig (ARCH): Remove all definitions.
17749 (machine): Likewise.
17750 [ARCH]: Remove conditional code.
17751 [!objdir]: Give error.
17752 [!objdir] (objpfx): Remove.
17753 [!objdir] (common-objpfx): Likewise.
17754 [!objdir] (common-objdir): Likewise.
17755 * configure.in (config_makefile): Remove. Hardcode Makefile in
17756 AC_CONFIG_FILES call.
17757 * configure: Regenerated.
17760 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17762 (testout): Likewise.
17764 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17765 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17766 $(rtld-installed-name).
17767 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17768 (rtld_installed_name): Likwise.
17769 (runit): Remove function.
17770 (run_getconf): New variable, Use it for running getconf binary.
17772 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17775 * string/test-memmem.c (check_result): New function.
17776 (do_one_test): Use it.
17777 (check1): New function.
17778 (test_main): Use it.
17780 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17782 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17784 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17786 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17787 (_G_LSEEK64): Likewise.
17788 (_G_MMAP64): Likewise.
17789 (_G_FSTAT64): Likewise.
17790 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17791 (_G_LSEEK64): Likewise.
17792 (_G_MMAP64): Likewise.
17793 (_G_FSTAT64): Likewise.
17794 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17795 unconditional. Call __mmap64 directly.
17796 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17797 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17798 __lseek64 directly.
17799 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17800 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17802 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17803 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17804 __lseek64 directly.
17805 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17806 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17807 __lseek64 directly.
17808 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17809 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17810 __lseek64 directly.
17811 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17812 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17813 __fxstat64 directly.
17814 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17815 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17817 (freopen64) [!_G_OPEN64]: Remove conditional code.
17818 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17820 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17821 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17823 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17824 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17826 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17827 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17829 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17830 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17832 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17833 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17835 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17836 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17838 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17840 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17843 * manual/memory.texi (Malloc Tunable Parameters): Add note
17844 about free list pointers overwriting some perturb bytes.
17845 Wording suggested by Roland McGrath.
17847 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17849 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17850 (lgamma_test): Likewise.
17851 (tgamma_test): Likewise.
17853 2012-10-16 Florian Weimer <fweimer@redhat.com>
17856 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17857 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17859 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17861 * NEWS: Mention BZ #14716.
17862 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17863 when removing AVAILABLE1_USES_J macro.
17865 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17867 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17868 (__bswap_64): __uint64_t for unsigned 64-bit int.
17870 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17872 * include/string.h (memmem): Declare libc hidden alias.
17873 * string/memmem.c (memmem): Define libc hidden alias.
17874 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17875 __read, __close instead of open, read, close.
17877 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17880 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17882 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17883 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17884 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17886 (__rawmemchr_sse2): Likewise.
17887 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17888 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17889 (__strchr_sse2): Likewise.
17890 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17892 (__strcasecmp_sse2): Likewise.
17893 (__strncasecmp_sse2): Likewise.
17894 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17895 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17896 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17897 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17898 (__strrchr_sse2): Likewise.
17899 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17901 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17902 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17903 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17905 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17907 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17908 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17909 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17910 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17911 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17913 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17914 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17915 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17916 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17917 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17918 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17919 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17920 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17921 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17922 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17923 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17924 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17925 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17927 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17929 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17930 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17932 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17934 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17935 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17936 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17937 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17939 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17941 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17942 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17943 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17944 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17948 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17956 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17958 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17960 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17962 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17963 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17965 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17967 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17968 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17969 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17971 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17972 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17973 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17974 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17975 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17976 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17979 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17986 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17988 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17989 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17990 * include/ifunc-impl-list.h: New file.
17991 * misc/ifunc-impl-list.c: Likewise.
17992 * misc/Makefile (routines): Add ifunc-impl-list.
17993 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17994 * string/test-string.h: Include <ifunc-impl-list.h>.
17995 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17996 impl_array): New variables.
17997 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17999 (test_init): Call __libc_ifunc_impl_list to initialize
18000 func_list if TEST_IFUNC and TEST_NAME are defined.
18002 * string/Makefile (strop-tests): Add bcopy and bzero.
18003 * string/test-bcopy.c: New file.
18004 * string/test-bzero.c: Likewise.
18005 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18007 * string/test-memset.c: Support bzero test if TEST_BZERO is
18009 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18011 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18013 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18016 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18018 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18019 * configure: Regenerated.
18021 * Makeconfig (+link-static-before-libc): Don't include
18022 $(link-static-libc).
18024 * libio/libio.h (_IO_pos_t): Remove.
18026 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18028 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18031 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18033 * crypt/crypt-entry.c: Include fips-private.h.
18034 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18035 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18036 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18037 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18039 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18041 * crypt/crypt-private.h: Include stdbool.h.
18042 (_ufc_setup_salt_r): Return bool.
18043 * crypt/crypt-entry.c: Include errno.h.
18044 (__crypt_r): Return NULL with EINVAL for bad salt.
18045 * crypt/crypt_util.c (bad_for_salt): New.
18046 (_ufc_setup_salt_r): Check that salt is long enough and within
18047 the specified alphabet.
18048 * crypt/badsalttest.c: New file.
18049 * crypt/Makefile (tests): Add it.
18050 ($(objpfx)badsalttest): New.
18052 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18054 * NEWS: Add entry for BZ #14602.
18056 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18058 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18060 * math/libm-test.inc: Update comment listing what functions and
18062 (isgreater_test): New function.
18063 (isgreaterequal_test): Likewise.
18064 (isless_test): Likewise.
18065 (islessequal_test): Likewise.
18066 (islessgreater_test): Likewise.
18067 (isunordered_test): Likewise.
18068 (main): Call the new functions.
18070 2012-10-09 Roland McGrath <roland@hack.frob.com>
18072 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18073 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18074 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18075 * sysdeps/i386/configure: Regenerated.
18076 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18077 * sysdeps/mach/configure: Regenerated.
18078 * sysdeps/mach/hurd/configure: Regenerated.
18079 * sysdeps/powerpc/configure: Regenerated.
18080 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18081 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18082 * sysdeps/s390/s390-32/configure: Regenerated.
18083 * sysdeps/s390/s390-64/configure: Regenerated.
18084 * sysdeps/sh/configure: Regenerated.
18085 * sysdeps/sparc/configure: Regenerated.
18086 * sysdeps/unix/sysv/linux/configure: Regenerated.
18087 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18088 * sysdeps/x86_64/configure: Regenerated.
18090 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18091 defined. Don't check if MAP is NULL.
18093 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18095 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18096 (_G_stat64): Likewise.
18097 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18098 (_G_stat64): Likewise.
18099 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18100 instead of struct _G_stat64.
18101 * libio/fileops.c (mmap_remap_check): Likewise.
18102 (decide_maybe_mmap): Likewise.
18103 (_IO_new_file_seekoff): Likewise.
18104 (_IO_file_stat): Likewise.
18105 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18107 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18108 instead of struct _G_stat64.
18109 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18111 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18114 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18116 (CHECK_EOL): New macro.
18117 (two_way_short_needle): Check beginning of haystack for EOL. Use
18119 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18120 Replace with CHECK_EOL.
18121 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18122 Replace with CHECK_EOL.
18124 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18126 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18128 * math/libm-test.inc: Update comment listing what functions and
18130 (finite_test): New function.
18131 (isinf_test): Likewise.
18132 (isnan_test): Likewise.
18133 (fpclassify_test): Test subnormal input.
18134 (isfinite_test): Likewise.
18135 (isnormal_test): Likewise.
18136 (main): Call the new functions.
18138 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18141 * Makerules (%.dynsym): Force C locale when running
18142 $(OBJDUMP) --dynamic-syms.
18144 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18146 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18149 2012-10-06 David S. Miller <davem@davemloft.net>
18151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18152 upper 32-bits of the length value in %o2 since we use branch-on-register
18153 tests which consider the entire 64-bit register.
18155 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18157 * string/test-strstr.c (check2): Add a test for page boundary.
18159 2012-10-05 David S. Miller <davem@davemloft.net>
18161 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18164 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18167 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18168 and bzero when HWCAP_SPARC_CRYPTO is present.
18170 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18173 * string/test-strstr.c (check2): New function.
18174 (test_main): Call check2.
18176 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18178 * string/bug-strcasestr1.c (do_test): Moved to ...
18179 * string/test-strcasestr.c (check1): Here. New function.
18180 (do_one_test): Break out result checking code into ...
18181 (check_result): This. New function.
18182 (do_one_test): Call check_result.
18183 (test_main): Call check1.
18184 * string/bug-strchr1.c (do_test): Moved to ...
18185 * string/test-strchr.c (check1): Here. New function.
18186 (do_one_test): Break out result checking code into ...
18187 (check_result): This. New function.
18188 (do_one_test): Call check_result.
18189 (test_main): Call check1.
18190 * string/bug-strstr1.c (main): Moved to ...
18191 * string/test-strstr.c (check1): Here. New function.
18192 (do_one_test): Break out result checking code into ...
18193 (check_result): This. New function.
18194 (do_one_test): Call check_result.
18195 (test_main): Call check1.
18196 * string/bug-strcasestr1.c: Removed.
18197 * string/bug-strchr1.c: Likewise.
18198 * string/bug-strstr1.c: Likewise.
18200 * elf/Makefile (dl-routines): Add hwcaps.
18201 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18202 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18203 (_dl_important_hwcaps): Moved to ...
18204 * elf/dl-hwcaps.c: Here. New file.
18205 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18208 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18209 if IS_IN_rtld isn't defined.
18211 * elf/dl-support.c (_dl_sysinfo_map): New.
18212 Include "get-dynamic-info.h" and "setup-vdso.h".
18213 (_dl_non_dynamic_init): Call setup_vdso.
18214 * elf/dynamic-link.h: Don't include <assert.h>.
18215 (elf_get_dynamic_info): Moved to ...
18216 * elf/get-dynamic-info.h: Here. New file.
18217 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18218 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18219 * elf/setup-vdso.h: Here. New file.
18220 * elf/rtld.c: Include "setup-vdso.h".
18221 (dl_main): Call setup_vdso.
18223 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18225 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18226 creal in comment listing functions tested. List finite, isinf,
18227 isnan, isless, islessequal, isgreater, isgreaterequal,
18228 islessgreater, isunordered, lgamma_r and pow10 as functions and
18229 macros not tested. Mention which functions not tested are aliases
18230 for other functions. Fix typo. Note that signs of NaNs are not
18233 * scripts/config.guess: Update from config.git.
18234 * scripts/config.sub: Likewise.
18236 2012-10-04 Roland McGrath <roland@hack.frob.com>
18238 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18239 * misc/madvise.c (madvise): Renamed to __madvise.
18240 Make madvise a weak alias.
18241 * include/sys/mman.h: Declare __madvise.
18242 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18243 * sysdeps/unix/syscalls.list
18244 (madvise): Make __madvise the strong name, and madvise a weak alias.
18245 * sysdeps/unix/sysv/linux/syscalls.list
18246 (madvise, mmap): Remove redundant entries.
18247 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18248 * malloc/malloc.c (mtrim): Likewise.
18249 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18251 2012-10-03 Roland McGrath <roland@hack.frob.com>
18253 * sysdeps/mach/hurd/dl-cache.c: File removed.
18254 * config.h.in (USE_LDCONFIG): New #undef.
18255 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18256 * configure: Regenerated.
18257 * elf/Makefile (dl-routines): Add dl-cache only under
18258 [$(use-ldconfig) = yes].
18259 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18260 cache on [USE_LDCONFIG].
18261 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18263 * elf/rtld.c (dl_main): Likewise.
18265 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18267 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18268 _SC_LEVEL4_CACHE_LINESIZE.
18270 2012-10-03 Roland McGrath <roland@hack.frob.com>
18272 * sysdeps/unix/bsd/confstr.h: File removed.
18274 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18276 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18279 2012-10-02 Roland McGrath <roland@hack.frob.com>
18281 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18282 Make 'mapoff' field ElfW(Off) rather than off_t.
18284 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18286 * nscd/Makefile: Remove nscd-cflags and all its users.
18287 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18288 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18291 * malloc.c (malloc_printerr): Clarify error message.
18293 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18297 Set bit_FMA_Usable if FMA is supported.
18298 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18300 (bit_FMA4_Usable): Updated.
18301 (index_FMA_Usable): New macro.
18302 (CPUID_FMA): Likewise
18303 (HAS_FMA): Defined with bit_FMA_Usable.
18305 2012-10-01 Roland McGrath <roland@hack.frob.com>
18307 * bits/types.h (__swblk_t): Type removed.
18308 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18309 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18311 (__SWBLK_T_TYPE): Likewise.
18312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18313 (__SWBLK_T_TYPE): Likewise.
18314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18315 (__SWBLK_T_TYPE): Likewise.
18316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18317 (__SWBLK_T_TYPE): Likewise.
18319 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18320 Honza Horak <hhorak@redhat.com>
18322 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18323 (xdr_mapname): Use YPMAXMAP as maxsize.
18324 (xdr_peername): Use YPMAXPEER as maxsize.
18325 (xdr_keydat): Use YPAXRECORD as maxsize.
18326 (xdr_valdat): Use YPMAXRECORD as maxsize.
18328 2012-10-01 Roland McGrath <roland@hack.frob.com>
18330 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18332 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18333 * csu/init-first.c: ... here.
18334 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18335 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18336 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18337 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18338 * sysdeps/i386/init-first.c: File removed.
18339 * sysdeps/sh/init-first.c: File removed.
18341 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18345 if x * y might underflow to zero and z is zero.
18346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18348 * math/libm-test.inc (min_subnorm_value): New variable.
18349 (fma_test): Add more tests.
18350 (fma_test_towardzero): Likewise.
18351 (fma_test_downward): Likewise
18352 (fma_test_upward): Likewise.
18353 (initialize): Set min_subnorm_value.
18355 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18361 mode for addition resulting in exact zero.
18362 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18365 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18367 * math/libm-test.inc (fma_test): Add more tests.
18368 (fma_test_towardzero): New function.
18369 (fma_test_downward): Likewise.
18370 (fma_test_upward): Likewise.
18371 (main): Call the new functions.
18373 2012-09-28 David S. Miller <davem@davemloft.net>
18375 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18377 2012-09-28 Roland McGrath <roland@hack.frob.com>
18379 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18380 instead of SIGALRM.
18382 * sysdeps/gnu/_G_config.h: Moved to ...
18383 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18384 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18385 * sysdeps/generic/_G_config.h: ... here.
18387 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18389 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18391 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18392 Conditionalize target on [libnss_test1.so-version].
18394 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18396 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18397 (elfobjdir): Move out of conditionals.
18399 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18400 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18401 (__nss_lookup_function): Conditionalize label remove_from_tree on
18402 [!DO_STATIC_NSS || SHARED], matching its only use.
18404 2012-09-28 David S. Miller <davem@davemloft.net>
18406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18409 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18413 when HWCAP_SPARC_CRYPTO is present.
18415 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18417 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18419 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18422 * stdio-common/vfprintf.c (process_string_arg): Revert
18425 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18427 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18429 * stdio-common/tst-sprintf.c: Include <locale.h>
18430 (main): Test sprintf's handling of incomplete multibyte
18433 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18435 * elf/dl-runtime.c (VERSYMIDX): Removed.
18436 * elf/dl-version.c (VERSYMIDX): Likewise.
18437 * elf/do-rel.h (VERSYMIDX): Likewise.
18438 (VALIDX): Likewise.
18439 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18440 * elf/rtld.c (VALIDX): Likewise.
18441 (ADDRIDX): Likewise.
18442 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18443 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18444 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18445 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18446 (VALIDX): Likewise.
18447 (ADDRIDX): Likewise.
18449 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18451 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18453 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18456 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18458 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18459 addresses are in the same scope as 192.0.2/24.
18460 * posix/gai.conf: Document new scope table defaults.
18462 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18465 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18466 for ftell. Compute offsets from write pointers instead.
18467 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18469 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18472 * libio/Makefile (tests): New test case tst-fseek.
18473 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18474 combination works in wide mode.
18475 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18476 state when the external buffer state changes.
18478 2012-09-27 David S. Miller <davem@davemloft.net>
18481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18482 pass reloc->r_addend in as the 'high' argument to
18483 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18487 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18489 * rt/tst-aio2.c: Include <pthread.h>.
18490 * rt/tst-aio3.c: Likewise.
18492 2012-09-27 Steve Ellcey <sellcey@mips.com>
18494 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18496 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18498 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18499 contents on [SHARED].
18501 2012-09-26 Marek Polacek <polacek@redhat.com>
18505 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18506 for C++ and GCC <4.3 as well as for non GCC compilers.
18508 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18512 2012-09-25 Roland McGrath <roland@hack.frob.com>
18514 * Makefile.in (all, install): Declare with .PHONY.
18515 Reported by Michael Hope <michael.hope@linaro.org>.
18517 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18519 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18520 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18522 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18524 (sydep_routines): Add the new and the internal functions.
18525 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18526 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18528 (GLIBC_2.17): Add the new function.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18530 (GLIBC_2.17): Likewise.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18532 (GLIBC_2.17): Likewise.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18534 (GLIBC_2.17): Likewise.
18535 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18537 2012-09-25 Alan Modra <amodra@gmail.com>
18539 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18540 Add release barrier before setting once_control to say
18541 initialisation is done. Add hints on lwarx. Use macro in
18543 (clear_once_control): Add release barrier.
18545 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18548 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18550 * math/s_clog10.c (__clog10): Likewise.
18551 * math/s_clog10f.c (__clog10f): Likewise.
18552 * math/s_clog10l.c (__clog10l): Likewise.
18553 * math/s_clogf.c (__clogf): Likewise.
18554 * math/s_clogl.c (__clogl): Likewise.
18555 * math/Makefile (libm-calls): Add x2y2m1.
18556 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18557 (__x2y2m1): Likewise.
18558 (__x2y2m1l): Likewise.
18559 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18560 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18563 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18564 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18565 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18566 * sysdeps/i386/fpu/libm-test-ulps: Update.
18567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18570 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18571 int as type of variable DEPTH.
18572 (glob): Use size_t instead of int as type of variables NEWCOUNT
18575 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18577 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18578 Add s_sincosf-sse2.
18579 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18581 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18582 macros for using routine as __sincosf_ia32.
18583 Use macro for function declaration and weak_alias.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18586 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18589 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18590 subnormal argument.
18591 * math/s_cexpf.c (__cexpf): Likewise.
18592 * math/s_csinf.c (__csinf): Likewise.
18593 * math/s_csinhf.c (__csinhf): Likewise.
18594 * math/s_ctanf.c (__ctanf): Likewise.
18595 * math/s_ctanhf.c (__ctanhf): Likewise.
18596 * math/s_ccosh.c (__ccoshf): Likewise.
18597 * math/s_cexp.c (__cexpl): Likewise.
18598 * math/s_csin.c (__csin): Likewise.
18599 * math/s_csinh.c (__csinh): Likewise.
18600 * math/s_ctan.c (__ctan): Likewise.
18601 * math/s_ctanh.c (ctanh): Likewise.
18602 * math/s_ccoshl.c (__ccoshl): Likewise.
18603 * math/s_cexpl.c (__cexpl): Likewise.
18604 * math/s_csinl.c (__csinl): Likewise.
18605 * math/s_csinhl.c (__csinhl): Likewise.
18606 * math/s_ctanl.c (__ctanl): Likewise.
18607 * math/s_ctanhl.c (__ctanhl): Likewise.
18609 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18611 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18612 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18613 (_IO_off_t): Define to __off_t, not _G_off_t.
18614 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18615 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18616 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18617 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18618 type of __dummy and __dummy2 fields.
18619 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18620 (_G_ssize_t): Likewise.
18621 (_G_off_t): Likewise.
18622 (_G_pid_t): Likewise.
18623 (_G_uid_t): Likewise.
18624 (_G_wchar_t): Likewise.
18625 (_G_wint_t): Likewise.
18626 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18627 (_G_ssize_t): Likewise.
18628 (_G_off_t): Likewise.
18629 (_G_pid_t): Likewise.
18630 (_G_uid_t): Likewise.
18631 (_G_wchar_t): Likewise.
18632 (_G_wint_t): Likewise.
18633 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18634 (_G_ssize_t): Likewise.
18635 (_G_off_t): Likewise.
18636 (_G_pid_t): Likewise.
18637 (_G_uid_t): Likewise.
18638 (_G_wchar_t): Likewise.
18639 (_G_wint_t): Likewise.
18641 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18643 * malloc/arena.c: Include malloc-sysdep.h.
18644 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18645 is sufficient to shrink the heap or an unmap is needed.
18646 * sysdeps/generic/malloc-sysdep.h: New file. Define
18647 new function check_may_shrink_heap.
18648 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18649 new function check_may_shrink_heap.
18651 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18653 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18656 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18658 * catgets/test-gencat.sh: Add "set -e".
18659 * elf/tst-pathopt.sh: Likewise.
18660 * grp/tst_fgetgrent.sh: Likewise.
18661 * iconvdata/run-iconv-test.sh: Likewise.
18662 * intl/tst-gettext.sh: Likewise.
18663 * intl/tst-gettext2.sh: Likewise.
18664 * intl/tst-gettext4.sh: Likewise.
18665 * intl/tst-gettext6.sh: Likewise.
18666 * intl/tst-translit.sh: Likewise.
18667 * io/ftwtest-sh: Likewise.
18668 * libio/test-freopen.sh: Likewise.
18669 * malloc/tst-mtrace.sh: Likewise.
18670 * posix/globtest.sh: Likewise.
18671 * posix/tst-getconf.sh: Likewise.
18672 * posix/wordexp-tst.sh: Likewise.
18673 * stdio-common/tst-printf.sh: Likewise.
18674 * stdio-common/tst-unbputc.sh: Likewise.
18675 * stdlib/tst-fmtmsg.sh: Likewise.
18676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18677 * catgets/Makefile: Do not specify -e option when running
18678 testsuite shell scripts.
18679 * elf/Makefile: Likewise.
18680 * grp/Makefile: Likewise.
18681 * iconvdata/Makefile: Likewise.
18682 * intl/Makefile: Likewise.
18683 * io/Makefile: Likewise.
18684 * libio/Makefile: Likewise.
18685 * malloc/Makefile: Likewise.
18686 * posix/Makefile: Likewise.
18687 * stdio-common/Makefile: Likewise.
18688 * stdlib/Makefile: Likewise.
18689 * sysdeps/x86_64/Makefile: Likewise.
18691 * io/ftwtest-sh: Add copyright header.
18692 * posix/globtest.sh: Likewise.
18693 * posix/tst-getconf.sh: Likewise.
18694 * posix/wordexp-tst.sh: Likewise.
18695 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18697 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18700 * Makeconfig (+link): Defined as $(+link-static) if
18701 $(build-shared) isn't yes.
18702 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18704 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18706 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18709 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18710 new chunk size with MALLOC_ALIGN_MASK.
18712 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18715 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18717 (__printf_fphex): Determine rounding using get_rounding_mode and
18719 * stdio-common/tst-printf-round.c (struct hex_test): New
18721 (hex_tests): New variable.
18722 (test_hex_in_one_mode): New function.
18723 (do_test): Also run tests for hex float output.
18725 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18727 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18728 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18729 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18730 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18731 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18732 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18733 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18736 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18738 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18739 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18740 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18741 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18743 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18746 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18748 * elf/tst-rtld-load-self.sh: New test.
18749 * elf/Makefile: Run it.
18751 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18753 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18754 (tst-writev-ENV): Remove.
18755 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18757 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18759 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18761 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18763 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18765 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18767 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18768 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18769 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18772 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18775 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18776 * config.make.in (have-cpp-asm-debuginfo): Removed.
18777 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18778 * configure: Regenerated.
18780 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18783 * stdio-common/printf_fp.c: Include <stdbool.h> and
18785 (___printf_fp): Determine rounding using get_rounding_mode and
18787 * stdio-common/tst-printf-round.c: New file.
18788 * stdio-common/Makefile (tests): Add tst-printf-round.
18789 (link-libm): New variable.
18790 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18792 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18795 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18796 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18798 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18801 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18803 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18804 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18805 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18806 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18808 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18811 * include/rounding-mode.h: New file.
18812 * sysdeps/generic/get-rounding-mode.h: Likewise.
18813 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18814 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18815 (MAX_VALUE): New macro.
18816 (MIN_VALUE): Likewise.
18817 (overflow_value): New function.
18818 (underflow_value): Likewise.
18819 (round_and_return): Use overflow_value and underflow_value to
18820 determine return values in overflow and underflow cases. Use
18821 round_away to determine rounding depending on rounding mode.
18822 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18823 determine return values in overflow and underflow cases.
18824 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18825 (struct test_results): New structure.
18826 (struct test): Use struct test_results to store expected results
18827 for all rounding modes.
18828 (TEST): Include expected results for all rounding modes.
18829 (test_in_one_mode): New function.
18830 (do_test): Use test_in_one_mode to compute and check results.
18831 Check results for all rounding modes.
18832 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18835 2012-12-09 Allan McRae <allan@archlinux.org>
18837 * sysdeps/i386/fpu/libm-test-ulps: Update
18839 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18841 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18842 (_G_int32_t): Likewise.
18843 (_G_uint16_t): Likewise.
18844 (_G_uint32_t): Likewise.
18845 (_G_HAVE_BOOL): Likewise.
18846 (_G_HAVE_ATEXIT): Likewise.
18847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18848 (_G_HAVE_IO_FILE_OPEN): Likewise.
18849 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18850 (_G_int32_t): Likewise.
18851 (_G_uint16_t): Likewise.
18852 (_G_uint32_t): Likewise.
18853 (_G_HAVE_BOOL): Likewise.
18854 (_G_HAVE_ATEXIT): Likewise.
18855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18856 (_G_HAVE_IO_FILE_OPEN): Likewise.
18857 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18858 (_G_int32_t): Likewise.
18859 (_G_uint16_t): Likewise.
18860 (_G_uint32_t): Likewise.
18861 (_G_HAVE_BOOL): Likewise.
18862 (_G_HAVE_ATEXIT): Likewise.
18863 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18864 (_G_HAVE_IO_FILE_OPEN): Likewise.
18866 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18868 * csu/libc-tls.c: Update copyright years.
18870 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18872 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18873 [!_G_USING_THUNKS]: Remove conditional code.
18874 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18875 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18877 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18878 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18879 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18880 (_G_VTABLE_LABEL_PREFIX): Likewise.
18881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18882 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18883 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18884 (_G_VTABLE_LABEL_PREFIX): Likewise.
18885 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18886 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18887 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18888 (_G_VTABLE_LABEL_PREFIX): Likewise.
18889 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18891 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18893 * libio/Makefile: Include ../Makeconfig before tests.
18894 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18895 only if $(build-shared) is yes.
18897 * iconv/gconv_db.c: Update copyright years.
18899 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18901 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18902 unwind info if defined PIC. Fix special cases description.
18903 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18905 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18907 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18909 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18911 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18913 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18916 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18917 (LDLIBS-tst-chk4): This.
18918 (LDFLAGS-tst-chk5): Renamed to ...
18919 (LDLIBS-tst-chk5): This.
18920 (LDFLAGS-tst-chk6): Renamed to ...
18921 (LDLIBS-tst-chk6): This.
18922 (LDFLAGS-tst-lfschk4): Renamed to ...
18923 (LDLIBS-tst-lfschk4): This.
18924 (LDFLAGS-tst-lfschk5): Renamed to ...
18925 (LDLIBS-tst-lfschk5): This.
18926 (LDFLAGS-tst-lfschk6): Renamed to ...
18927 (LDLIBS-tst-lfschk6): This.
18929 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18930 on $(common-objpfx)soversions.mk.
18932 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18935 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18938 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18940 * malloc/arena.c (arena_get_retry): New function that gets
18941 another arena for the caller to try its request on.
18942 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18943 current arena cannot fulfill the request.
18944 (__libc_memalign): Likewise.
18945 (__libc_memalign): Likewise.
18946 (__libc_pvalloc): Likewise.
18947 (__libc_calloc): Likewise.
18949 2012-09-05 John Tobey <john.tobey@gmail.com>
18952 * manual/arith.texi (Operations on Complex): Fix description
18953 of carg branch cut.
18955 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18958 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18962 * manual/memory.texi (Memory): Make order of menu items match
18965 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18967 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18968 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18969 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18971 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18973 * csu/libc-tls.c (static_dtv): Renamed to ...
18974 (_dl_static_dtv): This. Make it global.
18975 (_dl_initial_dtv): Removed.
18976 (__libc_setup_tls): Updated.
18977 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18978 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18981 2012-09-06 Petr Machata <pmachata@redhat.com>
18983 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18984 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18985 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18986 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18988 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18991 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18992 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18995 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18998 * Makeconfig (link-static-before-libc): Replace $(+prector)
19000 (link-static-after-libc): Replace $(+postctor) with
19002 (link-bounded): Replace $(+prector)/$(+postctor) with
19003 $(+prectorT)/$(+postctorT).
19004 (+prectorT): New macro.
19005 (+postctorT): Likewise.
19007 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19009 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19010 (round_str): Handle values above the maximum for IBM long double
19012 * stdlib/tst-strtod-round.c (tests): Regenerated.
19014 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19016 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19018 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19019 zarch_nohighgprs around the zarch optimized routines.
19020 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19021 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19025 2012-09-05 David S. Miller <davem@davemloft.net>
19027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19029 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19030 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19031 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19032 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19035 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19037 * malloc/arena.c: Fold copyright years.
19038 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19044 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19046 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19048 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19050 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19051 change internal state upon failure.
19053 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19055 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19056 * malloc/memusage.c (mmap): Likewise.
19057 (mmap64, mremap): Likewise. Adjust name in comment.
19059 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19061 * libio/fileops.c: Fix typos in comments.
19062 * libio/oldfileops.c: Likewise.
19063 * libio/wfileops.c: Likewise.
19065 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19068 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19069 (tst-malloc-usable-ENV): Set environment for test case.
19070 * malloc/hooks.c (malloc_check_get_size): New function to get
19072 * malloc/malloc.c (musable): Use malloc_check_get_size.
19073 * malloc/tst-malloc-usable.c: New test case.
19075 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19077 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19079 2012-09-05 Allan McRae <allan@archlinux.org>
19082 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19083 determine header location.
19084 * configure: Regenerated.
19086 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19088 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19090 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19091 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19093 (test): Regenerate.
19095 2012-09-04 David S. Miller <davem@davemloft.net>
19097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19099 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19101 2012-09-04 Florian Weimer <fweimer@redhat.com>
19103 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19106 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19108 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19111 * libio/iogetdelim.c: Include <limits.h>.
19112 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19113 + len + 1 would overflow.
19115 2012-09-03 Andreas Jaeger <aj@suse.de>
19117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19118 * sysdeps/i386/fpu/libm-test-ulps: Update.
19120 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19122 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19123 Add s_sinf-sse2, s_conf-sse2.
19125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19126 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19127 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19128 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19130 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19131 for using routine as __sinf_ia32.
19132 Use macro for function declaration and weak_alias.
19133 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19134 for using routine as __cosf_ia32.
19135 Use macro for function declaration and weak_alias.
19137 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19138 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19140 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19141 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19144 * math/libm-test.inc (cos_test): Add more test cases.
19145 (sin_test): Likewise.
19146 (sincos_test): Likewise.
19148 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19151 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19155 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19158 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19159 first element of the GOT.
19160 (elf_machine_load_address): Return the difference between
19161 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19163 2012-09-01 Allan McRae <allan@archlinux.org>
19166 * configure.in (AWK): Require gawk version 3.0 or later.
19167 * configure: Regenerated.
19169 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19171 * sysdeps/unix/sysv/linux/kernel-features.h
19172 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19174 [__NR_clock_getres]: Make code unconditional.
19175 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19176 (clock_getcpuclockid): Remove code left unreachable by removal of
19178 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19179 code unconditional.
19180 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19181 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19182 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19183 Make code unconditional.
19184 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19185 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19186 * sysdeps/unix/sysv/linux/clock_settime.c
19187 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19189 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19190 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19192 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19195 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19196 scripts/test-installation.pl.
19198 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19199 and $ld_so_version if it is set.
19201 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19205 failure if reading from procfs failed.
19206 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19208 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19210 * sysdeps/unix/sysv/linux/kernel-features.h
19211 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19212 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19213 Remove conditional code.
19214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19215 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19216 Remove conditional code.
19217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19218 * sysdeps/unix/sysv/linux/i386/fxstat.c
19219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19221 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19222 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19224 * sysdeps/unix/sysv/linux/i386/lxstat.c
19225 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19227 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19228 Remove conditional code.
19229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19230 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19231 Remove conditional code.
19232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19233 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19234 <kernel-features.h>.
19235 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19237 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19238 Remove conditional code.
19239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19240 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19241 Remove conditional.
19243 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19246 * NEWS: Add fixed bug number.
19248 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19251 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19252 underflowing exponent in case of negative sign.
19253 * stdlib/tst-strtod-round-data: Add more tests.
19254 * stdlib/tst-strtod-round.c (tests): Regenerated.
19257 * stdlib/strtod_l.c (NDIG): Remove.
19258 (HEXNDIG): Likewise.
19259 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19260 smallest representable value.
19261 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19262 lie within an exact representation of 1/2 ulp of the result.
19263 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19265 (TENS_P9_IDX): Define unconditionally.
19266 (TENS_P9_SIZE): Likewise.
19267 (TENS_P10_IDX): Likewise.
19268 (TENS_P10_SIZE): Likewise.
19269 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19270 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19271 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19272 entries for 10^2^13 and 10^2^14.
19273 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19274 (TENS_P13_IDX): Define.
19275 (TENS_P13_SIZE): Likewise.
19276 (TENS_P14_IDX): Likewise.
19277 (TENS_P14_SIZE): Likewise.
19278 (_fpioconst_pow10): Change array size to
19279 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19281 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19282 1024]: Add entries for 10^2^13 and 10^2^14.
19283 [LAST_POW10 > _LAST_POW10]: Remove #error.
19284 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19285 (_fpioconst_pow10): Change array size to
19286 FPIOCONST_POW10_ARRAY_SIZE.
19287 * stdlib/gen-fpioconst.c: New file.
19288 * stdlib/gen-tst-strtod-round.c: Likewise.
19289 * stdlib/tst-strtod-round-data: Likewise.
19290 * stdlib/tst-strtod-round.c: Likewise.
19291 * stdlib/Makefile (tests): Add tst-strtod-round.
19294 * stdlib/strtod_l.c: Include <stdint.h>.
19295 (NDEBUG): Do not define.
19296 (round_and_return): Change EXPONENT parameter to type intmax_t.
19297 Rearrange calculations to avoid internal overflow possibilities.
19298 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19299 Rearrange calculations to avoid internal overflow possibilities.
19300 Assert that number fits inside MPNSIZE limbs.
19301 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19302 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19303 calculations and add assertions to avoid internal overflow
19304 possibilities. Add casts to avoid signed/unsigned operations.
19305 * stdlib/tst-strtod-overflow.c: New file.
19306 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19308 2012-08-25 Marek Polacek <polacek@redhat.com>
19310 * time/time.h: Fix some typos in comments.
19312 2012-08-23 Roland McGrath <roland@hack.frob.com>
19314 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19315 * posix/tst-rfc3484-2.c: Likewise.
19316 * posix/tst-rfc3484-3.c: Likewise.
19318 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19320 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19321 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19323 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19326 #include of fxstatat64.c.
19328 2012-08-22 Roland McGrath <roland@hack.frob.com>
19330 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19331 * shadow/getspent_r.c: Likewise.
19332 * shadow/getspnam.c: Likewise.
19333 * shadow/getspnam_r.c: Likewise.
19334 * gshadow/getsgent.c: Likewise.
19335 * gshadow/getsgent_r.c: Likewise.
19336 * gshadow/getsgnam.c: Likewise.
19337 * gshadow/getsgnam_r.c: Likewise.
19338 * inet/getnetbyad.c: Likewise.
19339 * inet/getnetbyad_r.c: Likewise.
19340 * inet/getnetbynm.c: Likewise.
19341 * inet/getnetbynm_r.c: Likewise.
19342 * inet/getnetent.c: Likewise.
19343 * inet/getnetent_r.c: Likewise.
19344 * inet/getproto.c: Likewise.
19345 * inet/getproto_r.c: Likewise.
19346 * inet/getprtent.c: Likewise.
19347 * inet/getprtent_r.c: Likewise.
19348 * inet/getprtname.c: Likewise.
19349 * inet/getprtname_r.c: Likewise.
19350 * inet/getrpcbyname.c: Likewise.
19351 * inet/getrpcbyname_r.c: Likewise.
19352 * inet/getrpcbynumber.c: Likewise.
19353 * inet/getrpcbynumber_r.c: Likewise.
19354 * inet/getrpcent.c: Likewise.
19355 * inet/getrpcent_r.c: Likewise.
19356 * inet/getaliasent.c: Likewise.
19357 * inet/getaliasent_r.c: Likewise.
19358 * inet/getaliasname.c: Likewise.
19359 * inet/getaliasname_r.c: Likewise.
19360 * nscd/getgrgid_r.c: Likewise.
19361 * nscd/getgrnam_r.c: Likewise.
19362 * nscd/gethstbyad_r.c: Likewise.
19363 * nscd/gethstbynm3_r.c: Likewise.
19364 * nscd/getpwnam_r.c: Likewise.
19365 * nscd/getpwuid_r.c: Likewise.
19366 * nscd/getsrvbynm_r.c: Likewise.
19367 * nscd/getsrvbypt_r.c: Likewise.
19368 * nscd/gai.c: Likewise.
19370 * configure.in (build_nscd): New substituted variable, set
19371 by --disable-build-nscd and defaults to $use_nscd.
19372 * configure: Regenerated.
19373 * config.make.in (build-nscd): New substituted variable.
19374 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19375 Change conditional to require [$(build-nscd) = yes] as well.
19376 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19379 * configure.in (use_nscd): New substituted variable, set by
19380 --disable-nscd. If enabled, define USE_NSCD.
19381 * configure: Regenerated.
19382 * config.h.in: Add USE_NSCD.
19383 * config.make.in (use-nscd): New substituted variable.
19384 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19385 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19386 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19387 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19388 (CFLAGS-getgrnam_r.c): Likewise.
19389 (CFLAGS-initgroups.c): Likewise.
19390 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19391 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19393 * inet/getnetgrent_r.c
19394 (nscd_setnetgrent): New function, broken out of ...
19395 (setnetgrent): ... here. Call it.
19396 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19397 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19398 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19399 * nscd/Makefile (routines, aux): Move definitions after include of
19400 Makeconfig. Conditionalize on [$(use-nscd) != no].
19401 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19402 Conditionalize on [USE_NSCD].
19403 (is_nscd, nscd_init_cb): Likewise.
19404 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19405 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19406 * nss/nss_db/db-init.c: Likewise.
19407 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19409 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19410 (make_request): Use it.
19411 (cache_valid_p): New function.
19412 (__check_pf): Use it.
19413 * NEWS: Add item for --disable-nscd.
19415 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19417 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19418 to support sed >= 4.2.1-20-ga9bf076.
19419 * configure: Regenerated.
19421 2012-08-22 Roland McGrath <roland@hack.frob.com>
19423 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19424 Conditionalize whole body on [IREL].
19426 2012-08-22 Jeff Law <law@redhat.com>
19429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19430 if the family is PF_UNSPEC.
19432 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19434 * Makerules (lib-version): Rename from V.
19435 (install-lib-nosubdir): Change V to lib-version.
19437 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19440 * powerpc32/power6/wcschr.c: New file.
19441 * powerpc32/power6/wcscpy.c: New file.
19442 * powerpc32/power6/wcsrchr.c: New file.
19443 * powerpc64/power6/wcschr.c: New file.
19444 * powerpc64/power6/wcscpy.c: New file.
19445 * powerpc64/power6/wcsrchr.c: New file.
19447 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19449 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19450 (two_way_short_needle): Use it.
19451 * string/strstr.c (AVAILABLE1_USES_J): Define.
19452 * string/strcasestr.c: Likewise.
19454 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19456 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19459 * NEWS: Add an entry.
19460 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19461 define their defaults.
19462 (two_way_short_needle): Detect end-of-string on-the-fly.
19463 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19464 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19465 * string/bug-strcasestr1.c: New test.
19466 * string/Makefile: Run it.
19468 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19471 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19472 the first character.
19474 2012-08-21 Roland McGrath <roland@hack.frob.com>
19476 * csu/elf-init.c (__libc_csu_irel): Function removed.
19477 * csu/libc-start.c (apply_irel): New function.
19478 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19480 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/unix/sysv/linux/kernel-features.h
19483 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19484 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19485 <kernel-features.h>.
19486 [__NR_fadvise64_64]: Make code unconditional.
19487 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19488 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19489 !__NR_fadvise64_64)]: Likewise.
19490 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19491 !__NR_fadvise64_64))]: Likewise.
19492 [__NR_fadvise64]: Make code unconditional.
19493 [!__NR_fadvise64]: Remove conditional code.
19494 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19495 <kernel-features.h>.
19496 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19498 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19501 not include <kernel-features.h>.
19502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19507 include <kernel-features.h>.
19508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19513 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19516 slight instruction rearrangements per scrollpipe analysis.
19517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19519 2012-08-20 Roland McGrath <roland@hack.frob.com>
19521 * manual/syslog.texi (syslog; vsyslog, closelog):
19522 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19523 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19525 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19526 DSOCAPS to match condition on defining it.
19528 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19530 * sysdeps/unix/sysv/linux/kernel-features.h
19531 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19536 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19537 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19539 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19540 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19542 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19543 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19545 * sysdeps/unix/sysv/linux/kernel-features.h
19546 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19547 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19549 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19550 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19551 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19552 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19553 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19554 Make code unconditional.
19555 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19556 (__mmap64) [!__NR_mmap2]: Likewise.
19557 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19558 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19559 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19560 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19561 [__NR_mmap2]: Make code unconditional.
19562 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19563 (__mmap64) [!__NR_mmap2]: Likewise.
19565 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19567 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19569 2012-08-18 Andreas Jaeger <aj@suse.de>
19571 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19573 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19575 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19576 * include/unistd.h (__have_sock_cloexec): Likewise.
19577 (__have_pipe2): Likewise.
19578 (__have_dup3): Likewise.
19580 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19583 * include/unistd.h (__have_pipe2): Change define into an extern int.
19584 (__have_dup3): Likewise.
19585 * socket/have_sock_cloexec.c: Include fcntl.h.
19586 (__have_pipe2): New variable.
19587 (__have_dup3): Likewise.
19589 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19591 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19593 2012-08-17 Marek Polacek <polacek@redhat.com>
19595 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19596 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19598 2012-08-17 Roland McGrath <roland@hack.frob.com>
19600 * configure.in: Add AC_SUBST for sysheaders.
19601 * configure: Regenerated.
19602 * config.make.in (sysheaders): New substituted variable.
19604 * sysdeps/unix/mkfifo.c: Moved ...
19605 * sysdeps/posix/mkfifo.c: ... here.
19606 * sysdeps/unix/mkfifoat.c: Moved ...
19607 * sysdeps/posix/mkfifoat.c: ... here.
19609 * sysdeps/unix/utime.c: Moved ...
19610 * sysdeps/posix/utime.c: ... here.
19612 * sysdeps/unix/time.c: Moved ...
19613 * sysdeps/posix/time.c: ... here.
19614 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19615 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19617 * sysdeps/unix/nice.c: Moved ...
19618 * sysdeps/posix/nice.c: ... here.
19620 * sysdeps/unix/alarm.c: Moved ...
19621 * sysdeps/posix/alarm.c: ... here.
19623 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19625 2012-08-17 Jeff Law <law@redhat.com>
19627 * intl/Makefile (codeset_mo): New variable.
19628 ($(codeset_mo)): New target.
19629 (tst-codeset.out): Depend on that. Remove explicit rule.
19630 (tst-gettext3.out, tst-gettext5.out): Likewise.
19631 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19632 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19633 * intl/tst-codeset.sh: Remove.
19634 * intl/tst-gettext3.sh: Likewise.
19635 * intl/tst-gettext5.sh: Likewise.
19637 2012-08-17 Roland McGrath <roland@hack.frob.com>
19639 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19640 * sysdeps/unix/syscalls.list: ... here.
19642 * sysdeps/posix/getaddrinfo.c
19643 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19644 (gaiconf_init, gaiconf_reload): Use them.
19645 [!_STATBUF_ST_NSEC]
19646 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19647 Define using time_t rather than struct timespec.
19649 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19650 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19652 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19654 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19655 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19659 __libc_cleanup_push argument.
19661 * bits/param.h: New file.
19662 * misc/sys/param.h: New file.
19663 * include/sys/param.h: New file.
19664 * misc/Makefile (headers): Add bits/param.h.
19665 * sysdeps/generic/sys/param.h: File removed.
19666 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19667 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19668 * sysdeps/mach/hurd/bits/param.h: New file.
19669 * sysdeps/mach/hurd/sys/param.h: File removed.
19671 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19674 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19676 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19677 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19680 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19681 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19682 rather than -D_IO_MTSAFE_IO conditionally.
19683 * stdio-common/Makefile (CPPFLAGS): Likewise.
19684 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19685 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19686 Use $(libio-mtsafe).
19687 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19688 of -D_IO_MTSAFE_IO.
19689 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19690 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19691 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19692 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19693 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19694 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19695 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19696 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19697 (CFLAGS-fread_u_chk.c): Likewise.
19698 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19699 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19700 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19701 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19702 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19703 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19704 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19705 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19706 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19708 * libio/Makefile: Test [$(libc-reentrant) = yes]
19709 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19712 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19713 * sysdeps/pthread/configure: File removed.
19714 * sysdeps/pthread/Makeconfig: New file.
19715 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19716 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19718 2012-08-16 Gary Benson <gbenson@redhat.com>
19720 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19721 unmapping the first object in a namespace.
19723 2012-08-16 Roland McGrath <roland@hack.frob.com>
19725 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19726 (__internal_setnetgrent): ... this. Add internal_function to
19727 definition. Add libc_hidden_def.
19728 (setnetgrent): Update caller.
19729 (internal_endnetgrent): Renamed to ...
19730 (__internal_endnetgrent): ... this. Add internal_function to
19731 definition. Add libc_hidden_def.
19732 (endnetgrent): Update caller.
19733 (internal_getnetgrent_r): Renamed to ...
19734 (__internal_getnetgrent_r): ... this. Add internal_function to
19735 definition. Add libc_hidden_def.
19736 (__getnetgrent_r): Update caller.
19737 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19739 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19741 * stdlib/longlong.h: Update from GCC.
19743 2012-08-16 Roland McGrath <roland@hack.frob.com>
19745 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19746 on _QL, which is set by umul_ppmm but never used.
19747 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19748 variables, which are set by GMP macros but never used.
19749 * stdio-common/_itowa.c (_itowa): Likewise.
19750 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19751 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19753 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19755 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19756 struct La_sh_regs is not constant.
19757 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19758 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19759 and struct La_sparc64_regs are not constant.
19761 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19763 * sysdeps/unix/sysv/linux/kernel-features.h
19764 (__ASSUME_POSIX_TIMERS): Remove.
19765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19767 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19768 Make code unconditional.
19769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19770 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19771 Make code unconditional.
19772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19773 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19774 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19776 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19777 Make code unconditional.
19778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19779 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19780 (__libc_missing_posix_timers): Remove.
19782 2012-08-15 Roland McGrath <roland@hack.frob.com>
19784 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19785 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19787 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19789 * elf/dl-sym.c: Include <stdlib.h>.
19791 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19792 constants, which avoids warnings in 32-bit builds.
19794 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19795 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19797 * misc/lseek.c: File moved to ...
19798 * io/lseek.c: ... here.
19800 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19802 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19803 shifting LEN more than 31 bits at once.
19805 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19808 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19809 segmentation fault for a case of two empty input strings.
19810 * string/test-strncasecmp.c (check1): Renamed to...
19811 (bz12205): ...this.
19812 (bz14195): Add new testcase for two empty input strings and N > 0.
19813 (test_main): Call new testcase, adapt for renamed function.
19815 2012-08-15 Andreas Jaeger <aj@suse.de>
19818 * crypt/md5test2.c: New test, based on test supplied by Serge
19819 Belyshev <belyshev@depni.sinp.msu.ru>.
19820 * crypt/Makefile (xtests): Add md5test-giant..
19821 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19823 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19826 * crypt/md5.c (md5_process_block): Don't assume the buffer
19827 length is less than 2**32.
19828 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19829 length is less than 2**64.
19831 2012-08-15 Roland McGrath <roland@hack.frob.com>
19833 * string/str-two-way.h: Include <sys/param.h>.
19834 (MAX): Macro removed.
19836 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19837 Move #define and #undef of memmove to just before and after
19838 including <string.h>.
19840 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19841 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19842 and after including <string.h>. Move declarations of
19843 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19844 to before #include "string/memmove.c".
19846 * include/dirent.h: Declare __getdirentries.
19848 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19849 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19851 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19853 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19854 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19855 * sysdeps/i386/configure: Regenerated.
19856 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19857 STABS_CURRENT_FILE, and STABS_FUN.
19858 (END): Remove call to STABS_FUN_END.
19859 (STABS_CURRENT_FILE1): Delete.
19860 (STABS_CURRENT_FILE): Likewise.
19861 (STABS_FUN): Likewise.
19862 (STABS_FUN_END): Likewise.
19863 (STABS_FUN2): Likewise.
19864 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19865 * sysdeps/x86_64/configure: Regenerated.
19867 2012-08-14 Roland McGrath <roland@hack.frob.com>
19869 * elf/dl-open.c: Include <atomic.h>.
19870 * elf/dl-lookup.c: Likewise.
19872 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/unix/sysv/linux/kernel-features.h
19875 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19876 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19878 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19880 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19881 condition on __ASSUME_CLONE_THREAD_FLAGS.
19883 2012-08-14 Andreas Jaeger <aj@suse.de>
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19887 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19889 * include/atomic.h (atomic_exchange_and_add): Split into ...
19890 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19893 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19897 2012-08-13 Jeff Law <law@redhat.com>
19899 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19900 null byte in the output string.
19902 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19904 * sysdeps/unix/sysv/linux/kernel-features.h
19905 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19906 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19907 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19909 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19910 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19911 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19913 2012-08-09 Jeff Law <law@redhat.com>
19916 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19917 When avoid_arena is set, don't retry in the that arena. Pick the
19918 next one, whatever it might be.
19919 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19920 (arena_lock): Pass in new parameter to arena_get2.
19921 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19923 (__libc_malloc): Unify retrying after main arena failure with
19924 __libc_memalign version.
19925 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19927 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19930 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19931 to __redirect_strstr.
19932 (__strstr_sse42): Use typeof __redirect_strstr.
19933 (__strstr_ia32): Likewise.
19934 (__libc_strstr): New prototype.
19935 (strstr): Renamed to ...
19936 (__libc_strstr): This.
19937 (strstr): New strong alias of __libc_strstr.
19938 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19939 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19942 (__libc_time): New prototype.
19943 (time_ifunc): Replace time with __libc_time.
19944 (time): New strong alias and hidden definition of __libc_time.
19945 (__GI_time): Remove strong alias.
19946 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19947 Include <stddef.h>.
19948 (memmove): Redefined to __redirect_memmove.
19949 (__memmove_sse2): Use typeof __redirect_memmove.
19950 (__memmove_ssse3): Likewise.
19951 (__memmove_ssse3_back): Likewise.
19952 (__libc_memmove): New prototype.
19953 (memmove): Renamed to ...
19954 (__libc_memmove): This.
19955 (memmove): New strong alias of __libc_memmove.
19957 2012-08-08 Mark Salter <msalter@redhat.com>
19960 (R_MN10300_TLS_GD): Define.
19961 (R_MN10300_TLS_LD): Likewise.
19962 (R_MN10300_TLS_LDO): Likewise.
19963 (R_MN10300_TLS_GOTIE): Likewise.
19964 (R_MN10300_TLS_IE): Likewise.
19965 (R_MN10300_TLS_LE): Likewise.
19966 (R_MN10300_TLS_DTPMOD): Likewise.
19967 (R_MN10300_TLS_DTPOFF): Likewise.
19968 (R_MN10300_TLS_TPOFF): Likewise.
19969 (R_MN10300_SYM_DIFF): Likewise.
19970 (R_MN10300_ALIGN): Likewise.
19971 (R_MN10300_NUM): Update.
19973 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19978 2012-08-08 Roland McGrath <roland@hack.frob.com>
19980 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19982 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19983 sysdeps/unix -> sysdeps/posix move.
19984 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19986 2012-08-07 Allan McRae <allan@archlinux.org>
19989 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19990 (SUNOS_CPP): Likewise.
19991 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19993 (open_input): Call CPP using execvp.
19995 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19997 * sysdeps/unix/sysv/linux/kernel-features.h
19998 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20001 (__ASSUME_WAITID_SYSCALL): Likewise.
20002 * sysdeps/unix/sysv/linux/dl-execstack.c
20003 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20004 code unconditional.
20005 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20008 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20009 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20011 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20013 [__ASSUME_WAITID_SYSCALL]: Likewise.
20014 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20016 2012-08-07 Roland McGrath <roland@hack.frob.com>
20018 * sysdeps/unix/closedir.c: Renamed to ...
20019 * sysdeps/posix/closedir.c: ... here.
20020 * sysdeps/unix/dirfd.c: Renamed to ...
20021 * sysdeps/posix/dirfd.c: ... here.
20022 * sysdeps/unix/dirstream.h: Renamed to ...
20023 * sysdeps/posix/dirstream.h: ... here.
20024 * sysdeps/unix/fdopendir.c: Renamed to ...
20025 * sysdeps/posix/fdopendir.c: ... here.
20026 * sysdeps/unix/opendir.c: Renamed to ...
20027 * sysdeps/posix/opendir.c: ... here.
20028 * sysdeps/unix/readdir.c: Renamed to ...
20029 * sysdeps/posix/readdir.c: ... here.
20030 * sysdeps/unix/readdir_r.c: Renamed to ...
20031 * sysdeps/posix/readdir_r.c: ... here.
20032 * sysdeps/unix/rewinddir.c: Renamed to ...
20033 * sysdeps/posix/rewinddir.c: ... here.
20034 * sysdeps/unix/seekdir.c: Renamed to ...
20035 * sysdeps/posix/seekdir.c: ... here.
20036 * sysdeps/unix/telldir.c: Renamed to ...
20037 * sysdeps/posix/telldir.c: ... here.
20038 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20039 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20040 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20041 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20043 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20044 * bits/fcntl.h: ... here.
20046 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20048 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20049 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20050 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20051 (struct flock): Move l_start, l_len to the beginning.
20052 Use __pid_t for l_pid.
20053 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20054 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20055 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20056 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20057 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20058 [__USE_LARGEFILE64] (struct flock64): New type.
20059 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20061 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20062 * bits/dirent.h: ... here.
20064 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20065 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20067 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20070 Change from 2.6.0 to 2.6.16.
20071 * sysdeps/unix/sysv/linux/configure: Regenerated.
20072 * sysdeps/unix/sysv/linux/kernel-features.h
20073 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20074 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20076 (__ASSUME_UTIMES): Likewise.
20077 (__ASSUME_CLONE_STOPPED): Remove.
20078 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20079 architectures, not kernel version.
20080 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20081 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20082 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20083 (__ASSUME_WAITID_SYSCALL): Likewise.
20084 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20085 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20086 * README: State 2.6.16 as minimum Linux kernel version. Do not
20087 refer to older versions.
20089 2012-08-06 Roland McGrath <roland@hack.frob.com>
20091 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20092 Define alphasort64 as an alias.
20093 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20094 Define versionsort64 as an alias.
20095 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20096 Define scandir64 as an alias.
20097 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20098 Define scandirat64 as an alias.
20099 * dirent/alphasort64.c (alphasort64):
20100 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20101 * dirent/versionsort64.c: Likewise.
20102 * dirent/scandir64.c: Likewise.
20103 * dirent/scandirat64.c: Likewise.
20104 * sysdeps/wordsize-64/alphasort.c: File removed.
20105 * sysdeps/wordsize-64/alphasort64.c: File removed.
20106 * sysdeps/wordsize-64/scandir.c: File removed.
20107 * sysdeps/wordsize-64/scandir64.c: File removed.
20108 * sysdeps/wordsize-64/scandirat.c: File removed.
20109 * sysdeps/wordsize-64/scandirat64.c: File removed.
20110 * sysdeps/wordsize-64/versionsort.c: File removed.
20111 * sysdeps/wordsize-64/versionsort64.c: File removed.
20112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20121 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20123 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20125 [defined __arch64__ || defined __sparcv9]
20126 (__INO_T_MATCHES_INO64_T): New macro.
20127 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20128 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20129 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20130 * sysdeps/unix/sysv/linux/bits/dirent.h
20131 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20132 (_DIRENT_MATCHES_DIRENT64): New macro.
20134 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20135 Define lockf64 as an alias.
20136 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20137 Define fseeko64 as an alias.
20138 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20139 Define ftello64 as an alias.
20140 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20141 Define _IO_fgetpos64 and fgetpos64 as aliases.
20142 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20143 Define _IO_fsetpos64 and fsetpos64 as aliases.
20144 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20145 Conditionalize body on this.
20146 * libio/fseeko64.c: Likewise.
20147 * libio/ftello64.c: Likewise.
20148 * libio/iofgetpos64.c: Likewise.
20149 * libio/iofsetpos64.c: Likewise.
20150 * sysdeps/wordsize-64/lockf.c: File removed.
20151 * sysdeps/wordsize-64/lockf64.c: File removed.
20152 * sysdeps/wordsize-64/fseeko.c: File removed.
20153 * sysdeps/wordsize-64/fseeko64.c: File removed.
20154 * sysdeps/wordsize-64/ftello.c: File removed.
20155 * sysdeps/wordsize-64/ftello64.c: File removed.
20156 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20157 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20158 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20159 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20166 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20171 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20173 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20175 [defined __arch64__ || defined __sparcv9]
20176 (__OFF_T_MATCHES_OFF64_T): New macro.
20177 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20178 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20180 (__OFF_T_MATCHES_OFF64_T): New macro.
20182 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20184 * stdlib/secure-getenv.c (__secure_getenv): Replace
20185 GLIBC_2_16 with GLIBC_2_17.
20187 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20192 2012-08-03 David S. Miller <davem@davemloft.net>
20194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20196 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20200 (__ASSUME_CORRECT_SI_PID): Likewise.
20201 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20202 (__ASSUME_TMPFS_NAME): Likewise.
20203 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20204 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20205 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20206 (HAVE_AUX_SECURE): Make definition unconditional.
20207 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20208 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20210 2012-08-03 Roland McGrath <roland@hack.frob.com>
20212 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20213 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20214 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20215 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20216 __eloop_threshold instead of SYMLOOP_MAX.
20218 * sysdeps/generic/eloop-threshold.h: New file.
20219 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20221 * elf/chroot_canon.c (chroot_canon): Likewise.
20223 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20227 Change to 2.6.0 everywhere.
20228 * sysdeps/unix/sysv/linux/configure: Regenerated.
20229 * sysdeps/unix/sysv/linux/kernel-features.h
20230 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20231 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20233 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20234 (__ASSUME_FUTEX_REQUEUE): Remove.
20235 (__ASSUME_STATFS64): Define unconditionally.
20236 (__ASSUME_AT_SECURE): Likewise.
20237 (__ASSUME_CORRECT_SI_PID): Likewise.
20238 (__ASSUME_TGKILL): Define without depending on kernel version for
20240 (__ASSUME_UTIMES): Likewise.
20241 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20243 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20244 (__ASSUME_TMPFS_NAME): Likewise.
20245 * README: Update reference to Linux kernel versions.
20247 2012-08-02 Marek Polacek <polacek@redhat.com>
20250 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20251 libc_cv_asm_type_prefix with %.
20252 * configure: Regenerated.
20253 * include/libc-symbols.h: Remove comment about
20254 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20255 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20256 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20257 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20258 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20259 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20260 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20262 * elf/tst-unique2mod1.c: Likewise.
20263 * elf/tst-unique1mod2.c: Likewise.
20264 * elf/tst-unique1mod1.c: Likewise.
20265 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20266 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20267 Replace ASM_TYPE_DIRECTIVE with .type.
20268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20269 * sysdeps/i386/sysdep.h: Likewise.
20270 * sysdeps/x86_64/sysdep.h: Likewise.
20271 * sysdeps/sh/sysdep.h: Likewise.
20272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20273 Do not define ASM_TYPE_DIRECTIVE.
20274 * sysdeps/powerpc/sysdep.h: Likewise.
20275 * sysdeps/powerpc/powerpc32/sysdep.h:
20276 Replace ASM_TYPE_DIRECTIVE with .type.
20277 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20278 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20279 * sysdeps/i386/fpu/e_powf.S: Likewise.
20280 * sysdeps/i386/fpu/e_expl.S: Likewise.
20281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20283 * sysdeps/i386/fpu/e_pow.S: Likewise.
20284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20286 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20287 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20288 * sysdeps/i386/fpu/e_log2.S: Likewise.
20289 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20291 * sysdeps/i386/fpu/e_powl.S: Likewise.
20292 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20293 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20294 * sysdeps/i386/fpu/e_logl.S: Likewise.
20295 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20296 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20297 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20298 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20300 * sysdeps/i386/fpu/e_log.S: Likewise.
20301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20302 * sysdeps/i386/fpu/e_logf.S: Likewise.
20303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20304 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20305 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20306 * sysdeps/i386/fpu/e_log10.S: Likewise.
20307 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20308 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20309 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20310 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20311 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20313 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20314 * sysdeps/i386/i686/strtok.S: Likewise.
20315 * sysdeps/i386/i386-mcount.S: Likewise.
20316 * sysdeps/i386/strtok.S: Likewise.
20317 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20321 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20322 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20323 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20324 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20326 * sysdeps/x86_64/_mcount.S: Likewise.
20327 * sysdeps/x86_64/strtok.S: Likewise.
20328 * sysdeps/sh/_mcount.S: Likewise.
20330 2012-08-01 Roland McGrath <roland@hack.frob.com>
20332 * libio/iofopen.c: Include <fcntl.h>.
20333 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20334 (_IO_fopen64, fopen64): Define as aliases.
20335 * libio/iofopen64.c: Include <fcntl.h>.
20336 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20337 Conditionalize body on this.
20338 * sysdeps/wordsize-64/iofopen.c: File removed.
20339 * sysdeps/wordsize-64/iofopen64.c: File removed.
20341 2012-08-01 Marek Polacek <polacek@redhat.com>
20343 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20344 Use dlfcn directly instead of a variable.
20345 (binfmt-subdir): Do not define.
20348 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20351 Remove all definitions.
20352 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20353 <kernel-features.h>.
20354 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20355 (miss_F_GETOWN_EX): Remove all definitions.
20356 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20358 [!__ASSUME_FCNTL64]: Remove conditional code.
20359 [__ASSUME_FCNTL64]: Make code unconditional.
20360 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20361 <kernel-features.h>.
20362 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20363 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20364 (lockf64) [__NR_fcntl64]: Make code unconditional.
20365 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20367 * sysdeps/unix/sysv/linux/kernel-features.h
20368 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20369 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20370 Make code unconditional.
20371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20374 [__NR_vfork]: Make code unconditional.
20375 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20376 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20378 [__NR_vfork]: Make code unconditional.
20379 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20380 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20382 2012-08-01 Roland McGrath <roland@hack.frob.com>
20384 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20385 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20387 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20388 Define mkstemp64 as an alias.
20389 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20390 Define mkstemps64 as an alias.
20391 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20392 Define mkostemp64 as an alias.
20393 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20394 Define mkostemps64 as an alias.
20395 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20396 Conditionalize body on this.
20397 * misc/mkostemp64.c: Likewise.
20398 * misc/mkostemps64.c: Likewise.
20399 * misc/mkstemps64.c: Likewise.
20400 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20401 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20402 * sysdeps/wordsize-64/mkostemp.c: File removed.
20403 * sysdeps/wordsize-64/mkstemp.c: File removed.
20404 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20410 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20411 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20412 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20413 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20415 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20416 compat_symbol macros from <shlib-compat.h> rather than the underlying
20417 default_symbol_version and symbol_version macros, so that DEFAULT
20418 lines in shlib-versions are respected.
20419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20421 2012-08-01 Florian Weimer <fweimer@redhat.com>
20423 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20424 Declare with warn_unused_result.
20425 (setgid, setregid, setegid, setresgid): Likewise.
20426 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20428 * WUR-REPORT: Remove set*id functions.
20430 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20432 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20434 2012-07-31 Roland McGrath <roland@hack.frob.com>
20437 * include/sys/socket.h (__libc_accept, __libc_accept4):
20438 Add attribute_hidden.
20439 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20441 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20443 * inet/getnetgrent_r.c (setup): Likewise.
20445 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20447 2012-07-31 David S. Miller <davem@davemloft.net>
20449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20451 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20454 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20455 value between 1.0 and 2.0 and smaller part has absolute value less
20457 * math/s_clog10.c (__clog10): Likewise.
20458 * math/s_clog10f.c (__clog10f): Likewise.
20459 * math/s_clog10l.c (__clog10l): Likewise.
20460 * math/s_clogf.c (__clogf): Likewise.
20461 * math/s_clogl.c (__clogl): Likewise.
20462 * math/libm-test.inc (clog_test): Add more tests.
20463 (clog10_test): Likewise.
20464 * sysdeps/i386/fpu/libm-test-ulps: Update.
20465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20467 2012-07-31 Florian Weimer <fweimer@redhat.com>
20469 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20470 Exit with zero in case no suitable GID is found, and write a
20471 message to standard error.
20473 2012-07-30 Roland McGrath <roland@hack.frob.com>
20475 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20477 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20478 (MAXPATHLEN): Removed.
20479 (NOGROUP, NODEV): New macros.
20480 (setbit, clrbit, isset, isclr): New macros.
20481 (howmany, roundup, powerof2): New macros.
20482 (DEV_BSIZE): New macro.
20484 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20485 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20487 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20488 definition on [!__NO_LONG_DOUBLE_MATH].
20490 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20491 PTR_MANGLE and PTR_DEMANGLE.
20493 * socket/accept4.c (accept4): Rename to __libc_accept4.
20494 Define accept4 as a weak alias.
20496 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20497 on [_DIRENT_HAVE_D_TYPE].
20498 * io/ftw.c (ftw_dir): Likewise.
20500 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20502 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20504 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20505 Use the BSD numbers rather than the arbitrary ones we had.
20506 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20507 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20508 (SIGXCPU, SIGXFSZ): New macros.
20511 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20512 initializer on [_LIBC_REENTRANT].
20514 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20515 definitions inside [_POSIX_MAPPED_FILES].
20517 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20519 * dirent/opendir.c: Include <fcntl.h>.
20521 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20522 (__libc_getspecific): Likewise.
20523 (__libc_key_create): Likewise.
20525 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20526 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20527 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20528 (tmpfile64): Define as alias.
20529 * sysdeps/wordsize-64/tmpfile.c: File removed.
20530 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20534 * stdio-common/vfscanf.c: Include <stdbool.h>.
20535 * nss/makedb.c: Likewise.
20536 * stdio-common/_i18n_number.h: Likewise.
20537 * argp/argp-help.c: Likewise.
20538 * posix/wordexp.c: Likewise.
20539 * sysdeps/posix/spawni.c: Likewise.
20540 * nss/nss_files/files-initgroups.c: Likewise.
20541 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20542 * nss/nss_files/files-initgroups.c: Likewise.
20543 * nss/nss_db/db-netgrp.c: Likewise.
20544 * nss/nss_db/db-initgroups.c: Likewise.
20545 * io/fchmodat.c: Include <sys/stat.h>.
20547 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20548 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20550 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20553 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20554 Add multiple inclusion protection.
20556 2012-07-27 David S. Miller <davem@davemloft.net>
20558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20560 2012-07-27 Gary Benson <gbenson@redhat.com>
20563 * elf/rtld.c: Include <stap-probe.h>.
20564 (dl_main): Added static probes "init_start" and "init_complete".
20565 * elf/dl-load.c: Include <stap-probe.h>.
20566 (lose): Take new parameter "nsid".
20567 Added static probe "map_failed".
20568 (_dl_map_object_from_fd): Pass namespace id to lose.
20569 Added static probe "map_start".
20570 (open_verify): Pass namespace id to lose.
20571 * elf/dl-open.c: Include <stap-probe.h>.
20572 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20573 and "reloc_complete".
20574 * elf/dl-close.c: Include <stap-probe.h>.
20575 (_dl_close_worker): Added static probes "unmap_start" and
20577 * elf/rtld-debugger-interface.txt: New file documenting the above.
20579 2012-07-26 Roland McGrath <roland@hack.frob.com>
20581 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20582 rather than a string variable.
20583 * sunrpc/rpc_main.c (h_output): Likewise.
20584 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20586 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20588 * inet/check_native.c: New file.
20590 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20593 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20594 if larger part has absolute value 1.0.
20595 * math/s_clog10.c (__clog10): Likewise.
20596 * math/s_clog10f.c (__clog10f): Likewise.
20597 * math/s_clog10l.c (__clog10l): Likewise.
20598 * math/s_clogf.c (__clogf): Likewise.
20599 * math/s_clogl.c (__clogl): Likewise.
20600 * math/libm-test.inc (clog_test): Add more tests.
20601 (clog10_test): Likewise.
20602 * sysdeps/i386/fpu/libm-test-ulps: Update.
20603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20606 (pltexit): Likewise.
20607 (La_regs): Likewise.
20608 (La_retval): Likewise.
20609 (int_retval): Likewise.
20610 Update #error for removed macros to refer only to definitions in
20612 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20614 (pltexit): Likewise.
20615 (La_regs): Likewise.
20616 (La_retval): Likewise.
20617 (int_retval): Likewise.
20618 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20620 (pltexit): Likewise.
20621 (La_regs): Likewise.
20622 (La_retval): Likewise.
20623 (int_retval): Likewise.
20624 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20626 (pltexit): Likewise.
20627 (La_regs): Likewise.
20628 (La_retval): Likewise.
20629 (int_retval): Likewise.
20630 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20632 (pltexit): Likewise.
20633 (La_regs): Likewise.
20634 (La_retval): Likewise.
20635 (int_retval): Likewise.
20636 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20638 (pltexit): Likewise.
20639 (La_regs): Likewise.
20640 (La_retval): Likewise.
20641 (int_retval): Likewise.
20642 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20644 (pltexit): Likewise.
20645 (La_regs): Likewise.
20646 (La_retval): Likewise.
20647 (int_retval): Likewise.
20648 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20649 macro definitions in tst-audit.h.
20650 * sysdeps/i386/tst-audit.h: New file.
20651 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20652 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20653 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20654 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20655 * sysdeps/sh/tst-audit.h: Likewise.
20656 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20657 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20658 * sysdeps/x86_64/tst-audit.h: Likewise.
20660 2012-07-26 Andreas Jaeger <aj@suse.de>
20662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20665 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20666 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20667 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20669 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20670 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20671 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20673 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20676 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20678 (si_call_addr, si_syscall, si_arch): Define new macro.
20679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20681 (si_call_addr, si_syscall, si_arch): Define new marcro.
20682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20684 (si_call_addr, si_syscall, si_arch): Define new macro.
20685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20687 (si_call_addr, si_syscall, si_arch): Define new macro.
20689 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20693 Change to 2.4.21 where previously 2.4.1.
20694 * sysdeps/unix/sysv/linux/configure: Regenerated.
20695 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20696 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20697 Linux kernel version.
20698 (__ASSUME_STD_AUXV): Remove.
20699 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20701 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20702 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20703 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20704 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20705 (__ASSUME_NETLINK_SUPPORT): Likewise.
20706 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20707 (__no_netlink_support): Remove conditional definition.
20708 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20710 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20711 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20712 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20713 (if_nameindex_ioctl): Remove.
20714 (if_nameindex_netlink): Do not handle __no_netlink_support.
20715 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20717 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20718 Remove conditional code.
20719 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20721 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20723 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20724 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20725 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20727 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20728 [!__ASSUME_STD_AUXV]: Remove conditional code.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20730 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20731 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20733 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20734 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20736 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20738 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20739 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20741 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20743 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20746 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20749 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20750 code unconditional.
20751 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20753 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20755 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20758 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20760 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20763 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20764 code unconditional.
20765 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20767 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20769 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20772 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20773 code unconditional.
20774 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20776 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20778 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20781 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20783 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20785 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20786 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20787 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20788 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20789 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20790 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20791 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20792 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20793 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20794 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20795 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20796 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20797 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20798 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20799 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20801 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20803 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20804 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20807 2012-07-25 Florian Weimer <fweimer@redhat.com>
20809 * Versions.def: Add GLIBC_2.17.
20810 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20811 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20812 Introduce __libc_secure_getenv.
20813 * stdlib/Versions (2.17): Add secure_getenv
20814 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20815 * stdlib/secure-getenv.c: Rename __secure_getenv to
20816 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20817 symbol __secure_getenv for GLIBC_2.0.
20818 * stdlib/tst-secure-getenv.c: New.
20819 * stdlib/Makefile (tests): Add testcase.
20820 * manual/startup.texi (Environment Access): Document
20822 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20823 __libc_secure_getenv.
20824 * inet/ruserpass.c (ruserpass): Likewise.
20825 * malloc/mtrace.c (mtrace): Likewise.
20826 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20827 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20828 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20829 * sysdeps/posix/tempname.c: Likewise. Evaluate
20830 HAVE_SECURE_GETENV.
20831 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20832 __secure_getenv to __libc_secure_getenv.
20833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20846 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20848 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20849 (struct La_i86_retval): Likewise.
20850 (struct La_x86_64_regs): Likewise.
20851 (struct La_x86_64_retval): Likewise.
20852 (struct La_x32_regs): Likewise.
20853 (struct La_x32_retval): Likewise.
20854 (struct La_ppc32_regs): Likewise.
20855 (struct La_ppc32_retval): Likewise.
20856 (struct La_ppc64_regs): Likewise.
20857 (struct La_ppc64_retval): Likewise.
20858 (struct La_sh_regs): Likewise.
20859 (struct La_sh_retval): Likewise.
20860 (struct La_s390_32_regs): Likewise.
20861 (struct La_s390_32_retval): Likewise.
20862 (struct La_s390_64_regs): Likewise.
20863 (struct La_s390_64_retval): Likewise.
20864 (struct La_sparc32_regs): Likewise.
20865 (struct La_sparc32_retval): Likewise.
20866 (struct La_sparc64_regs): Likewise.
20867 (struct La_sparc64_retval): Likewise.
20868 (struct audit_ifaces): Remove architecture-specific pltenter and
20870 * sysdeps/i386/ldsodefs.h: New file.
20871 * sysdeps/powerpc/ldsodefs.h: Likewise.
20872 * sysdeps/s390/ldsodefs.h: Likewise.
20873 * sysdeps/sh/ldsodefs.h: Likewise.
20874 * sysdeps/sparc/ldsodefs.h: Likewise.
20875 * sysdeps/x86_64/ldsodefs.h: Likewise.
20877 2012-07-25 Marek Polacek <polacek@redhat.com>
20880 * math/libm-test.inc (yn_test): Add another test.
20881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20882 to ERANGE when the result is +-Inf.
20883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20884 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20888 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20890 * conform/data/time.h-data (NULL): Use macro-constant. Require
20892 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20894 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20896 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20898 * configure.in <sysdeps resolving>: Correct printing
20900 * configure: Regenerate.
20902 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20904 * math/w_ilogb.c: Include <limits.h>.
20905 * math/w_ilogbl.c: Likewise.
20907 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20909 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20910 va_copy. Document allowing for unavailable va_copy only as
20911 pre-C99 compatibility.
20912 * manual/string.texi (Copying and Concatenation): Use va_copy
20913 instead of __va_copy in concat example.
20915 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20917 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20918 (__sendto): Use create_address_port. Initialize APORT and deallocate
20921 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20922 with O_NOLINK passed to __file_name_lookup.
20924 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20925 with O_NOLINK passed to __file_name_lookup.
20927 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20928 negative N or less than NGIDS.
20930 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20931 type to string_t. Set ERANGE as errno and return it if NAME is not big
20932 enough. Use memcpy instead of strncpy.
20934 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20936 * elf/Makefile (check-data): Remove.
20937 (localplt.data): New vpath directive.
20938 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20939 instead of $(check-data).
20940 * scripts/data/localplt-generic.data: Move to ...
20941 * sysdeps/generic/localplt.data: ... here.
20942 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20943 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20944 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20947 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20950 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20953 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20956 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20959 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20963 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20965 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20966 PPC32 and PPC64 files.
20967 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20968 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20970 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20972 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20973 __makecontext_ret to ...
20974 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20975 ... here and call exit if uc_link is NULL. New file.
20976 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20977 __makecontext_ret.S.
20978 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20979 __makecontext_ret to ...
20980 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20981 ... here and call exit if uc_link is NULL. New file.
20982 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20983 __makecontext_ret.S.
20985 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20987 * elf/elf.h (R_390_IRELATIVE): New definition.
20988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20989 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20990 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20992 (elf_machine_lazy_rel): Likewise.
20993 * sysdeps/s390/dl-irel.h: New file.
20994 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20995 * sysdeps/s390/s390-64/memset.S: New asm code.
20996 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20997 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20998 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20999 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21000 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21001 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21003 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21004 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21005 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21006 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21007 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21008 * sysdeps/s390/s390-32/memset.S: New asm code.
21009 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21011 2012-07-17 Marek Polacek <polacek@redhat.com>
21014 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21015 * sysdeps/s390/s390-64/configure.in: Likewise.
21016 * sysdeps/sparc/configure.in: Likewise.
21017 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21018 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21019 * sysdeps/i386/configure.in: Likewise.
21020 * sysdeps/x86_64/configure.in: Likewise.
21021 * sysdeps/sh/configure.in: Likewise.
21022 * sysdeps/s390/s390-32/configure: Regenerated.
21023 * sysdeps/s390/s390-64/configure: Likewise.
21024 * sysdeps/x86_64/configure: Likewise.
21025 * sysdeps/sh/configure: Likewise.
21026 * sysdeps/powerpc/powerpc64/configure: Likewise.
21027 * sysdeps/powerpc/powerpc32/configure: Likewise.
21028 * sysdeps/sparc/configure: Likwise.
21029 * sysdeps/i386/configure: Likewise.
21031 * elf/dl-open.c: Comment fixes.
21033 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21035 * Makefile [CXX] (check-data): Remove.
21036 [CXX] (c++-types.data): New vpath directive.
21037 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21038 vpath. Do not allow for C++ type data being missing.
21039 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21040 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21041 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21042 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21043 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21044 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21045 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21048 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21051 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21054 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21057 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21060 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21063 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21066 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21069 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21070 definitions to architecture-specific files.
21071 (TLS_IE): Likewise.
21072 (TLS_LD): Likewise.
21073 (TLS_GD): Likewise.
21074 * sysdeps/i386/tls-macros.h: New file.
21075 * sysdeps/powerpc/tls-macros.h: Likewise.
21076 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21077 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21078 * sysdeps/sh/tls-macros.h: Likewise.
21079 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21080 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21081 * sysdeps/x86_64/tls-macros.h: Likewise.
21083 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21085 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21086 zero value for regular exit case.
21088 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21089 (__start_context): Preserve zero value for regular exit case.
21091 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21094 * manual/setjmp.texi (setcontext): Clarify normal process
21095 termination when uc_link is the null pointer.
21096 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21099 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21101 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21102 preprocessor. Test for each exception mask separately.
21104 2012-07-16 Andreas Jaeger <aj@suse.de>
21106 * po/ru.po: Update from translation team.
21108 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21110 * conform/data/string.h-data (NULL): Use macro-constant. Require
21112 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21113 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21114 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21115 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21118 2012-07-13 Andreas Jaeger <aj@suse.de>
21120 * po/fr.po: Update from translation team.
21122 2012-07-12 Marek Polacek <polacek@redhat.com>
21125 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21129 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21133 Change to 2.4.1 where previously 2.4.0.
21134 * sysdeps/unix/sysv/linux/configure: Regenerated.
21135 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21136 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21138 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21139 (__ASSUME_AT_CLKTCK): Remove.
21140 (__ASSUME_AT_PAGESIZE): Likewise.
21141 (__ASSUME_AT_XID): Likewise.
21142 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21143 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21144 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21146 (HAVE_AUX_PAGESIZE): Likewise.
21147 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21148 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21149 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21151 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21155 the temporary buffer used to invoke __gethostbyname2_r,
21156 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21157 host_data / struct gaih_addrtuple.
21158 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21159 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21160 header file nss/nsswitch.h.
21161 * nss/nsswitch.h (global scope): Add definition of implementation
21162 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21163 resolv/nss_dns/dns-host.c).
21165 2012-07-11 Andreas Jaeger <aj@suse.de>
21167 * po/fr.po: Update from translation team.
21169 * po/sv.po: Update from translation team
21170 * po/fr.po: Another update from translation team.
21172 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21174 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21175 for subnormals or multiply small sinh result by itself.
21176 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21179 2012-07-11 David S. Miller <davem@davemloft.net>
21181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21183 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21186 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21187 (INTERNAL_MARK): Shift it here.
21189 2012-07-10 Marek Polacek <polacek@redhat.com>
21192 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21193 libc_cv_asm_global_directive with .globl.
21194 * configure: Regenerated.
21195 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21197 * sysdeps/i386/configure: Regenerated.
21198 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21200 * sysdeps/x86_64/configure: Regenerated.
21201 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21202 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21203 * elf/tst-unique2mod2.c: Likewise.
21204 * elf/tst-unique2mod1.c: Likewise.
21205 * elf/tst-unique1mod2.c: Likewise.
21206 * elf/tst-unique1mod1.c: Likewise.
21207 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21208 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21211 * sysdeps/mach/sysdep.h: Likewise.
21212 * sysdeps/i386/sysdep.h: Likewise.
21213 * sysdeps/i386/i386-mcount.S: Likewise.
21214 * sysdeps/x86_64/_mcount.S: Likewise.
21215 * sysdeps/x86_64/sysdep.h: Likewise.
21216 * sysdeps/sh/_mcount.S: Likewise.
21217 * sysdeps/sh/sysdep.h: Likewise.
21218 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21219 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21220 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21222 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21223 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21224 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21225 * locale/localeinfo.h: Likewise.
21226 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21227 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21229 2012-07-09 Roland McGrath <roland@hack.frob.com>
21232 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21234 * manual/message.texi (The Uniforum approach): Likewise.
21235 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21236 (glibc iconv Implementation): Likewise.
21238 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21241 * math/s_clog.c (__clog): Avoid scaling a value down where that
21242 could result in underflow.
21243 * math/s_clog10.c (__clog10): Likewise.
21244 * math/s_clog10f.c (__clog10f): Likewise.
21245 * math/s_clog10l.c (__clog10l): Likewise.
21246 * math/s_clogf.c (__clogf): Likewise.
21247 * math/s_clogl.c (__clogl): Likewise.
21248 * math/libm-test.inc (clog_test): Add more tests.
21249 (clog10_test): Likewise.
21250 * sysdeps/i386/fpu/libm-test-ulps: Update.
21251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21253 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21256 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21257 by 7 not 8 to examine high bit of fractional part.
21260 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21261 for call to __mcount_internal.
21262 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21263 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21264 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21266 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21269 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21270 approximation for values within 0x1p-13f of an odd multiple of
21272 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21273 exception. Add more tests.
21274 * sysdeps/i386/fpu/libm-test-ulps: Update.
21277 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21278 inputs and return -1 for them. Do not check for +Inf in case not
21279 reachable for +Inf.
21280 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21281 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21283 and return -1 for them. Do not check for +Inf in case not
21284 reachable for +Inf.
21285 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21288 and return -1 for them. Do not check for +Inf in case not
21289 reachable for +Inf.
21290 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21291 spurious underflow.
21292 * sysdeps/i386/fpu/libm-test-ulps: Update.
21293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21295 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21297 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21299 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21303 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21304 could result in spurious underflow. Scale down values above
21305 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21306 * math/s_csqrtf.c (__csqrtf): Likewise.
21307 * math/s_csqrtl.c (__csqrtl): Likewise.
21308 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21309 spurious underflow.
21310 * sysdeps/i386/fpu/libm-test-ulps: Update.
21311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21313 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21315 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21317 * catgets/xopen-msg.awk: New file.
21318 * catgets/xopen-msg.sed: Removed.
21320 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21322 * intl/po2test.awk: New file.
21323 * intl/po2test.sed: Removed.
21325 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21328 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21329 or multiply small sinh result by itself.
21330 * math/s_ctanf.c (__ctanf): Likewise.
21331 * math/s_ctanh.c (__ctanh): Likewise.
21332 * math/s_ctanhf.c (__ctanhf): Likewise.
21333 * math/s_ctanhl.c (__ctanhl): Likewise.
21334 * math/s_ctanl.c (__ctanl): Likewise.
21335 * math/libm-test.inc (ctan_test_tonearest): New function.
21336 (ctan_test_towardzero): Likewise.
21337 (ctan_test_downward): Likewise.
21338 (ctan_test_upward): Likewise.
21339 (ctanh_test_tonearest): Likewise.
21340 (ctanh_test_towardzero): Likewise.
21341 (ctanh_test_downward): Likewise.
21342 (ctanh_test_upward): Likewise.
21343 (main): Call these new functions.
21344 * sysdeps/i386/fpu/libm-test-ulps: Update.
21345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21347 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21349 * .gitignore: Delete /ports entry.
21351 2012-07-03 Andreas Jaeger <aj@suse.de>
21353 * po/bg.po: Update from translation team.
21354 * po/cs.po: Likewise.
21355 * po/de.po: Likewise.
21356 * po/hr.po: Likewise.
21357 * po/nl.pl: Likewise.
21358 * po/pl.po: Likewise.
21359 * po/vi.po: Likewise.
21361 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21363 * Makeconfig [!+link] (+link-before-libc): New variable.
21364 [!+link] (+link-after-libc): Likewise.
21365 [!+link] (+link-tests): Likewise.
21366 [!+link] (+link): Define in terms of $(+link-before-libc) and
21367 $(+link-after-libc).
21368 [!+link-static] (+link-static-before-libc): New variable.
21369 [!+link-static] (+link-static-after-libc): Likewise.
21370 [!+link-static] (+link-static-tests): Likewise.
21371 [!+link-static] (+link-static): Define in terms of
21372 $(+link-static-before-libc) and $(+link-static-after-libc).
21373 [build-shared] (link-libc-before-gnulib): New variable.
21374 [build-shared] (link-libc-tests): Likewise.
21375 [build-shared] (link-libc): Define in terms of
21376 $(link-libc-before-gnulib).
21377 [!build-shared] (link-libc-tests): New variable.
21378 (link-libc-static-tests): New variable.
21379 [!gnulib] (gnulib-arch): New variable.
21380 [!gnulib] (gnulib-tests): Likewise.
21381 [!gnulib] (static-gnulib-arch): Likewise.
21382 [!gnulib] (static-gnulib-tests): Likewise.
21383 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21384 Define with "=" instead of ":=".
21385 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21386 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21387 * Rules (binaries-all-notests): New variable.
21388 (binaries-all-tests): Likewise.
21389 (binaries-static-notests): Likewise.
21390 (binaries-static-tests): Likewise.
21391 (binaries-all): Define using $(binaries-all-notests) and
21392 $(binaries-all-tests).
21393 (binaries-static): Define using $(binaries-static-notests) and
21394 $(binaries-static-tests).
21395 (binaries-shared-tests): New variable.
21396 (binaries-shared-notests): Likewise.
21397 (binaries-shared): Remove variable.
21398 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21399 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21400 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21401 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21402 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21403 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21404 * elf/Makefile (sln-modules): New variable.
21405 (extra-objs): Add $(sln-modules:=.o).
21406 (ldconfig-modules): Add static-stubs.
21407 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21408 * elf/static-stubs.c: New file.
21411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21412 by 7 not 8 to examine high bit of fractional part. Use volatile
21413 variables when splitting into final array of floats if
21414 __FLT_EVAL_METHOD__ != 0.
21415 * math/libm-test.inc (cos_test): Add another test.
21416 (sin_test): Likewise.
21417 * sysdeps/i386/fpu/libm-test-ulps: Update.
21420 * math/libm-test.inc (cosh_test): Add more tests.
21422 * version.h (RELEASE): Set to "development".
21423 (VERSION): Set to "2.16.90".
21425 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21427 * NEWS: Update copyright. Remove last-updated date.
21428 Mention math library bug fixes and timezone data changes.
21429 * README: Mention GNU/Hurd, x32, and HPPA support status.
21431 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21433 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21435 2012-06-27 Andreas Jaeger <aj@suse.de>
21437 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21439 2012-06-25 Andreas Jaeger <aj@suse.de>
21441 * sysdeps/s390/fpu/libm-test-ulps: Update.
21443 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21444 Thomas Schwinge <thomas@codesourcery.com>
21446 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21447 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21451 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21453 * sysdeps/mach/start.c: Remove file.
21454 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21455 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21456 * sysdeps/sh/init-first.c: Likewise.
21458 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21459 registers for frame unwinding purposes, add CFI directives.
21460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21462 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21465 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21466 __fortify_fail returning.
21467 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21469 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21470 sysdeps/sh/____longjmp_chk.S.
21471 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21472 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21473 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21474 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21476 * sysdeps/sh/abort-instr.h: New file.
21477 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21478 process in case exit returns.
21480 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21481 initialize the GOT register before use.
21483 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21484 calculation of ARGC > 4.
21486 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21487 meaningful names to some local labels.
21489 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21490 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21492 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21493 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21494 (__arch_compare_and_exchange_val_16_acq): Likewise.
21495 (__arch_compare_and_exchange_val_32_acq): Likewise.
21496 (atomic_exchange_and_add): Fix gUSA sequence.
21497 (atomic_add): Likewise.
21498 (atomic_add_negative): Likewise.
21499 (atomic_add_zero): Likewise.
21500 (atomic_bit_test_set): Likewise.
21502 2012-06-22 Andreas Schwab <schwab@redhat.com>
21505 * include/link.h (struct link_map): Add l_free_initfini.
21506 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21508 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21509 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21510 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21513 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21515 * configure.in: Use AC_LANG_SOURCE.
21516 * configure: Regenerate.
21518 2012-06-22 Roland McGrath <roland@hack.frob.com>
21520 * configure.in (libc_cv_localstatedir): New substituted variable.
21521 * configure: Regenerated.
21522 * config.make.in (localstatedir): New variable, substituted from
21523 libc_cv_localstatedir.
21524 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21525 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21526 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21527 * sysdeps/gnu/configure: Regenerated.
21529 2012-06-21 Jeff Law <law@redhat.com>
21532 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21533 free. Simplify list management for _LIBC case.
21535 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21538 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21539 Clear sign bit of 64-bit integer value before comparing against
21542 * sysdeps/mach/configure: Regenerated.
21544 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21547 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21549 2012-06-21 Jeff Law <law@redhat.com>
21552 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21553 uint16_t for elements in the "seen" array to avoid char overflows.
21554 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21555 * elf/dl-open.c (dl_open_worker): Likewise.
21557 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21559 * scripts/list-sources.sh: Scan PORTS for translations.
21560 * po/libc.pot: Regenerated.
21562 2012-06-21 Andreas Jaeger <aj@suse.de>
21565 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21567 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21568 * bits/byteswap-16.h (__bswap_16): Likewise.
21569 * bits/byteswap.h (__bswap_constant_16): Likewise.
21571 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21574 * sysdeps/i386/fpu_control.h: Removed.
21575 * sysdeps/x86_64/fpu_control.h: Moved to ...
21576 * sysdeps/x86/fpu_control.h: Here.
21578 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21579 (_FPU_SETCW): Likewise.
21581 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21584 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21585 * sysdeps/x86/fpu/bits/mathinline.h: This.
21586 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21590 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21591 functions if __x86_64__ is defined.
21593 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21595 * string/endian.h: Add !__ASSEMBLER__ condition for including
21596 conversion interfaces.
21598 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21602 of ABS(x) in calculating zero to negative powers other than odd
21604 * math/libm-test.inc (pow_test): Add more tests.
21606 2012-06-15 Andreas Jaeger <aj@suse.de>
21608 * manual/contrib.texi (Contributors): Update entry of Liubov
21609 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21612 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21614 * string/string.h: Add __wur to GNU version of strerror_r.
21616 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21619 * string/Makefile (tests): Add tst-strtok_r.
21620 * string/tst-strtok_r.c: New file.
21621 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21622 RAX_LP/RDX_LP on SAVE_PTR.
21624 2012-06-14 Roland McGrath <roland@hack.frob.com>
21626 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21628 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21630 * libm_test.inc (csqrt_test): Allow more spurious underflow
21632 (j0_test): Likewise.
21633 (j1_test): Likewise.
21634 (y0_test): Likewise.
21635 (y1_test): Likewise.
21637 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21639 * po/Makefile (libc.pot): Use UTF-8 charset.
21641 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21644 Suppress sign-conversion warning from FD_SET.
21645 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21646 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21647 not unsigned long int.
21648 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21650 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21654 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21655 __extern_always_inline instead of __extern_inline.
21656 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21657 (__signbit): Likewise.
21658 (__signbitl): Support C++ namespace.
21659 (lrintf): New inline function.
21661 (llrintf): Likewise.
21662 (llrint): Likewise.
21672 (floorf): Likewise.
21673 (nearbyint): Likewise.
21674 (nearbyintf): Likewise.
21676 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21679 non-default versions.
21681 2012-06-11 Roland McGrath <roland@hack.frob.com>
21684 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21686 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21688 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21689 (FE_UPWARD, FE_DOWNWARD): Don't define.
21690 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21691 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21695 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21696 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21698 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21702 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21703 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21705 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21708 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21709 * sysdeps/i386/fpu/Implies: New file.
21710 * sysdeps/x86_64/fpu/Implies: Likewise.
21711 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21712 * sysdeps/x86/fpu/bits/fenv.h: This.
21714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21717 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21720 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21721 character 0xffff that matches the last element of the
21724 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21729 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21732 values higher than 25.6283.
21734 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21737 subnormal exponent extraction and add some __builtin_expect.
21738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21739 Fix for subnormal mantissa calculation.
21741 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21743 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21744 cpu2 is -1 and errno is not ENOSYS.
21746 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21749 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21750 * sysdeps/x86/bits/string.h: This.
21751 * sysdeps/x86_64/bits/string.h: Removed.
21753 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21754 if not compiling for x86-64, but compiling for >= i486.
21756 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21757 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21760 New macro from Linux kernel 3.4.0.
21761 (FP_XSTATE_MAGIC2): Likewise.
21762 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21763 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21764 (struct _fpx_sw_bytes): New struct.
21765 (struct _xsave_hdr): Likewise.
21766 (struct _ymmh_state): Likewise.
21767 (struct _xstate): Likewise.
21769 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21770 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21772 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21774 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21776 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21778 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21779 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21780 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21781 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21783 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21786 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21787 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21788 (sysdep_headers): Include sys/platform/ppc.h.
21789 * sysdeps/powerpc/test-gettimebase.c: Test for
21790 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21791 * manual/Makefile (appendices): Include platform.texi.
21792 * manual/contrib.texi (Contributors): Update @node pointers.
21793 * manual/maint.texi (Maintenance): Likewise.
21794 (Platform): New node.
21795 * manual/platform.texi: New file. Document the new features.
21797 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21798 Jakub Jelinek <jakub@redhat.com>
21801 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21802 where __builtin_expect is unavailable.
21804 2012-06-03 David S. Miller <davem@davemloft.net>
21806 * stdlib/longlong.h: Updated from GCC.
21808 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21811 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21812 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21815 (GLIBC_2.16): Likewise.
21817 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21819 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21821 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21824 (default-abi): New variable.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21826 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21830 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21835 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21836 definition. Document in comment.
21838 2012-06-01 David S. Miller <davem@davemloft.net>
21840 * stdlib/longlong.h: Updated from GCC.
21842 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21845 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21846 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21847 sys/debugreg.h sys/io.h here.
21848 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21849 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21851 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21852 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21853 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21854 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21855 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21856 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21859 Define only if __x86_64__ is defined.
21861 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21865 Use int64_t for variable i.
21866 * math/libm-test.inc (fmod_test): Add more tests.
21868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21869 z computation is not scheduled after fetestexcept.
21870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21871 Use math_force_eval instead of asm to ensure calculation scheduled
21872 before exception test.
21873 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21874 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21876 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21879 computation is not scheduled after fetestexcept.
21881 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21884 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21885 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21887 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21889 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21890 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21892 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21895 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21897 (__WCHAR_MIN): Support __WORDSIZE == 64.
21898 (__WCHAR_MAX): Likewise.
21900 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21905 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21912 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21915 Defined to 1 if __x86_64__ isn't defined.
21916 (_STAT_VER_LINUX_OLD): New.
21917 (st_atime): Remove duplicate.
21918 (st_mtime): Likewise.
21919 (st_ctime): Likewise.
21921 2012-05-31 David S. Miller <davem@davemloft.net>
21923 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21926 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21928 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21932 * elf/dl-reloc.c: Include <_itoa.h>.
21933 (_dl_reloc_bad_type): Remove use of INTUSE.
21934 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21935 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21936 * stdio-common/psiginfo.c (psiginfo): Likewise.
21937 * stdio-common/psignal.c (psignal): Likewise.
21938 * string/strsignal.c (strsignal): Likewise.
21939 * include/signal.h (_sys_siglist): Declare hidden proto.
21940 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21941 INTVARDEF with libc_hidden_data_def.
21942 * stdio-common/itoa-udigits.c: Likewise.
21943 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21944 (_itoa_lower_digits_internal): Remove declaration.
21945 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21946 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21947 (_sys_sigabbrev_internal): Remove aliases.
21948 (_sys_siglist): Define hidden alias.
21950 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21955 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21959 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21961 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21963 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21964 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21966 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21968 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21970 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21982 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21984 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21985 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21987 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21988 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21991 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21992 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21995 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21999 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22001 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22002 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22004 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22006 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22007 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22008 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22010 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22012 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22014 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22016 * math/math.h (M_El): Use two more decimal places.
22017 (M_LOG2El): Likewise.
22018 (M_LOG10El): Likewise.
22019 (M_LN2l): Likewise.
22020 (M_LN10l): Likewise.
22022 (M_PI_2l): Likewise.
22023 (M_PI_4l): Likewise.
22024 (M_1_PIl): Likewise.
22025 (M_2_PIl): Likewise.
22026 (M_2_SQRTPIl): Likewise.
22027 (M_SQRT2l): Likewise.
22028 (M_SQRT1_2l): Likewise.
22030 2012-05-31 David S. Miller <davem@davemloft.net>
22032 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22033 values between float registers.
22034 * sysdeps/sparc/sparc64/memset.S: Likewise.
22035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22037 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22039 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22040 -D_FORTIFY_SOURCE=1.
22041 (CPPFLAGS-tst-longjmp_chk.c): Define.
22042 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22043 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22044 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22045 CFLAGS-tst-wchar-h.c.
22047 2012-05-31 Marek Polacek <polacek@redhat.com>
22050 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22051 __endmntent_internal): Remove declaration.
22052 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22053 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22054 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22056 2012-05-30 David S. Miller <davem@davemloft.net>
22058 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22059 (___Q_simulate_exceptions): Use real FP ops rather than writing
22061 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22064 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22067 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22068 * sysdeps/x86/bits/xtitypes.h: This.
22070 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22071 * sysdeps/x86/bits/wordsize.h: This.
22073 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22074 * sysdeps/x86/bits/huge_vall.h: This.
22076 * sysdeps/i386/bits/select.h: Removed.
22077 * sysdeps/x86_64/bits/select.h: Renamed to ...
22078 * sysdeps/x86/bits/select.h: This.
22080 * sysdeps/i386/bits/setjmp.h: Removed.
22081 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22082 * sysdeps/x86/bits/setjmp.h: This.
22084 * sysdeps/i386/bits/mathdef.h: Removed.
22085 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22086 * sysdeps/x86/bits/mathdef.h: This.
22088 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22091 * include/sys/socket.h (__connect_internal)
22092 (__libc_sa_len_internal): Remove declaration.
22093 (__connect, __libc_sa_len): Declare hidden_proto.
22094 (SA_LEN): Remove use of INTUSE.
22095 * socket/connect.c: Add libc_hidden_def.
22096 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22097 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22098 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22100 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22102 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22103 of adding _internal alias.
22105 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22108 * sysdeps/i386/bits/link.h: Removed.
22109 * sysdeps/i386/bits/linkmap.h: Likewise.
22110 * sysdeps/x86_64/bits/link.h: Renamed to ...
22111 * sysdeps/x86/bits/link.h: This.
22112 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22113 * sysdeps/x86/bits/linkmap.h: This.
22115 * sysdeps/i386/bits/endian.h: Removed.
22116 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22117 * sysdeps/x86/bits/endian.h: This.
22119 * sysdeps/i386/bits/byteswap.h: Removed.
22120 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22121 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22122 * sysdeps/x86/bits/byteswap.h: This.
22123 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22124 * sysdeps/x86/bits/byteswap-16.h: This.
22125 * sysdeps/i386/Implies: Add x86.
22126 * sysdeps/x86_64/Implies: Likewise.
22128 2012-05-30 David S. Miller <davem@davemloft.net>
22130 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22131 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22133 (FP_TRAPPING_EXCEPTIONS): Define.
22134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22135 (FP_TRAPPING_EXCEPTIONS): Define.
22136 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22137 subnormals only when inexact has been signalled or underflow
22138 exceptions are enabled.
22139 (_FP_PACK_CANONICAL): Likewise.
22141 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22144 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22145 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22147 2012-05-30 Richard Henderson <rth@twiddle.net>
22149 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22150 with #ifndef NOT_IN_libc.
22152 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22153 marked to avoid plt entry.
22155 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22158 * Makeconfig (default-abi): New macro.
22159 (abi-includes): Likewise.
22160 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22161 $(abi-$(default-abi)-lib-soname) for soname if defined.
22162 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22164 * Makefile (installed-stubs): Likewise.
22165 * include/stubs-biarch.h: Removed.
22166 * scripts/lib-names.awk: Only handle one library at a time.
22167 * scripts/soversions.awk: Remove WORDSIZE support.
22168 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22170 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22172 (syscall-list-default-condition): Likewise.
22173 (syscall-list-default-condition): Likewise.
22174 (syscall-list-includes): Likewise.
22175 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22176 syscall-list-* with abi-*. Handle undefined abi-variants.
22177 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22178 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22179 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22180 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22181 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22182 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22184 (syscall-list-32-options): Likewise.
22185 (syscall-list-32-condition): Likewise.
22186 (syscall-list-64-options): Likewise.
22187 (syscall-list-64-condition): Likewise.
22188 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22190 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22193 (abi-64-ld-soname): New macro.
22194 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22195 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22198 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22199 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22201 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22203 * sysdeps/unix/sysv/linux/kernel-features.h
22204 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22205 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22206 include <kernel-features.h>.
22207 [!__NR_ftruncate64]: Remove conditional code.
22208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22209 [__NR_ftruncate64]: Make code unconditional.
22210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22211 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22212 include <kernel-features.h>.
22213 [!__NR_ftruncate64]: Remove conditional code.
22214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22215 [__NR_ftruncate64]: Make code unconditional.
22216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22218 include <kernel-features.h>.
22219 [!__NR_ftruncate64]: Remove conditional code.
22220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22221 [__NR_ftruncate64]: Make code unconditional.
22222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22224 include <kernel-features.h>.
22225 [!__NR_ftruncate64]: Remove conditional code.
22226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22227 [__NR_ftruncate64]: Make code unconditional.
22228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22230 * configure.in (libc_cv_fpie): Weaken to a compile test using
22231 LIBC_TRY_CC_OPTION.
22232 * configure: Regenerated.
22234 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22249 2012-05-27 David S. Miller <davem@davemloft.net>
22251 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22253 (__Q_simulate_exceptions): Return void. Change to simulate
22254 exceptions by writing into the %fsr.
22255 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22256 (__Qp_handle_exceptions): Likewise.
22258 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22259 __Qp_handle_exceptions.
22260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22261 __Qp_handle_exceptions.
22262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22263 as unused and give dummy FP_RND_NEAREST initializer.
22264 (FP_INHIBIT_RESULTS): Define.
22265 (___Q_simulate_exceptions): Update declaration.
22266 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22269 as unused and give dummy FP_RND_NEAREST initializer.
22270 (__Qp_handle_exceptions): Update declaration.
22271 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22274 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22276 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22277 the temporary FPU control word.
22278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22279 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22281 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22282 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22284 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22286 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22287 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22288 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22290 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22295 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22297 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22298 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22299 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22300 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22302 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22303 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22306 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22308 * po/h.po: Update from translation team.
22310 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22312 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22314 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22315 handling of denormals.
22316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22317 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22318 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22319 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22325 2012-05-26 Marek Polacek <polacek@redhat.com>
22328 * math/libm-test.inc (fma_test): Don't always expect underflow
22331 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22334 * elf/tst-execstack.c: Include stackinfo.h.
22335 (do_test): Adjust test case to ensure that pthread_getattr_np
22336 behaviour remains the same after marking stack executable.
22338 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22340 * sysdeps/unix/sysv/linux/kernel-features.h
22341 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22342 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22344 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22345 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22346 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22348 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22349 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22351 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22353 * configure.in: Define the default includes to being none.
22354 * configure: Regenerated.
22356 2012-05-25 Roland McGrath <roland@hack.frob.com>
22358 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22359 * sysdeps/x86_64/setjmp.S: Likewise.
22360 * sysdeps/i386/bsd-setjmp.S: Likewise.
22361 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22362 * sysdeps/i386/setjmp.S: Likewise.
22363 * sysdeps/i386/__longjmp.S: Likewise.
22364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22365 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22367 * include/stap-probe.h: New file.
22368 * configure.in: Handle --enable-systemtap.
22369 * configure: Regenerated.
22370 * config.h.in (USE_STAP_PROBE): New #undef.
22371 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22372 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22373 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22375 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22379 to 2.4.0 where earlier.
22380 * sysdeps/unix/sysv/linux/configure: Regenerated.
22381 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22382 <kernel-features.h>.
22383 [__ASSUME_32BITUIDS]: Make code unconditional.
22384 [!__ASSUME_32BITUIDS]: Remove conditional code.
22385 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22386 <kernel-features.h>.
22387 [__ASSUME_32BITUIDS]: Make code unconditional.
22388 [!__ASSUME_32BITUIDS]: Remove conditional code.
22389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22390 [__ASSUME_32BITUIDS]: Make code unconditional.
22391 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22392 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22393 <kernel-features.h>.
22394 [__ASSUME_32BITUIDS]: Make code unconditional.
22395 [!__ASSUME_32BITUIDS]: Remove conditional code.
22396 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22397 <kernel-features.h>.
22398 [__ASSUME_32BITUIDS]: Make code unconditional.
22399 [!__ASSUME_32BITUIDS]: Remove conditional code.
22400 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22401 <kernel-features.h>.
22402 [__ASSUME_32BITUIDS]: Make code unconditional.
22403 [!__ASSUME_32BITUIDS]: Remove conditional code.
22404 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22405 <kernel-features.h>.
22406 [__ASSUME_32BITUIDS]: Make code unconditional.
22407 [!__ASSUME_32BITUIDS]: Remove conditional code.
22408 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22409 <kernel-features.h>.
22410 [__ASSUME_32BITUIDS]: Make code unconditional.
22411 [!__ASSUME_32BITUIDS]: Remove conditional code.
22412 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22413 <kernel-features.h>.
22414 [__ASSUME_32BITUIDS]: Make code unconditional.
22415 [!__ASSUME_32BITUIDS]: Remove conditional code.
22416 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22417 <kernel-features.h>.
22418 [__ASSUME_32BITUIDS]: Make code unconditional.
22419 [!__ASSUME_32BITUIDS]: Remove conditional code.
22420 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22421 <kernel-features.h>.
22422 [__ASSUME_32BITUIDS]: Make code unconditional.
22423 [!__ASSUME_32BITUIDS]: Remove conditional code.
22424 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22425 <kernel-features.h>.
22426 [__ASSUME_32BITUIDS]: Make code unconditional.
22427 [!__ASSUME_32BITUIDS]: Remove conditional code.
22428 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22429 <kernel-features.h>.
22430 [__ASSUME_32BITUIDS]: Make code unconditional.
22431 [!__ASSUME_32BITUIDS]: Remove conditional code.
22432 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22433 <kernel-features.h>.
22434 [__NR_setresgid] (__setresgid): Do not declare.
22435 [__ASSUME_32BITUIDS]: Make code unconditional.
22436 [!__ASSUME_32BITUIDS]: Remove conditional code.
22437 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22438 <kernel-features.h>.
22439 [__NR_setresuid] (__setresuid): Do not declare.
22440 [__ASSUME_32BITUIDS]: Make code unconditional.
22441 [!__ASSUME_32BITUIDS]: Remove conditional code.
22442 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22443 <kernel-features.h>.
22444 [__ASSUME_32BITUIDS]: Make code unconditional.
22445 [!__ASSUME_32BITUIDS]: Remove conditional code.
22446 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22447 <kernel-features.h>.
22448 [__ASSUME_32BITUIDS]: Make code unconditional.
22449 [!__ASSUME_32BITUIDS]: Remove conditional code.
22450 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22451 <kernel-features.h>.
22452 [__ASSUME_32BITUIDS]: Make code unconditional.
22453 [!__ASSUME_32BITUIDS]: Remove conditional code.
22454 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22455 <kernel-features.h>.
22456 [__ASSUME_32BITUIDS]: Make code unconditional.
22457 [!__ASSUME_32BITUIDS]: Remove conditional code.
22458 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22459 <kernel-features.h>.
22460 [__ASSUME_32BITUIDS]: Make code unconditional.
22461 [!__ASSUME_32BITUIDS]: Remove conditional code.
22462 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22463 <kernel-features.h>.
22464 [__ASSUME_32BITUIDS]: Make code unconditional.
22465 [!__ASSUME_32BITUIDS]: Remove conditional code.
22466 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22467 <kernel-features.h>.
22468 [__ASSUME_32BITUIDS]: Make code unconditional.
22469 [!__ASSUME_32BITUIDS]: Remove conditional code.
22470 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22471 <kernel-features.h>.
22472 [__ASSUME_32BITUIDS]: Make code unconditional.
22473 [!__ASSUME_32BITUIDS]: Remove conditional code.
22474 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22475 <kernel-features.h>.
22476 [__ASSUME_32BITUIDS]: Make code unconditional.
22477 [!__ASSUME_32BITUIDS]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22479 <kernel-features.h>.
22480 [__ASSUME_32BITUIDS]: Make code unconditional.
22481 [!__ASSUME_32BITUIDS]: Remove conditional code.
22482 * sysdeps/unix/sysv/linux/kernel-features.h
22483 (__ASSUME_SETRESUID_SYSCALL): Remove.
22484 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22485 (__ASSUME_32BITUIDS): Likewise.
22486 (__ASSUME_LDT_WORKS): Likewise.
22487 (__ASSUME_O_DIRECTORY): Likewise.
22488 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22489 architecture but not kernel version.
22490 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22491 (__ASSUME_MMAP2_SYSCALL): Likewise.
22492 (__ASSUME_STAT64_SYSCALL): Likewise.
22493 (__ASSUME_IPC64): Likewise.
22494 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22495 <kernel-features.h>.
22496 [__ASSUME_32BITUIDS]: Make code unconditional.
22497 [!__ASSUME_32BITUIDS]: Remove conditional code.
22498 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22499 <kernel-features.h>.
22500 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22501 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22502 132096]: Remove conditional code.
22503 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22505 <kernel-features.h>.
22506 [__ASSUME_32BITUIDS]: Make code unconditional.
22507 [!__ASSUME_32BITUIDS]: Remove conditional code.
22508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22509 <kernel-features.h>.
22510 [__ASSUME_32BITUIDS]: Make code unconditional.
22511 [!__ASSUME_32BITUIDS]: Remove conditional code.
22512 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22513 <kernel-features.h>.
22514 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22516 (__setresgid): Do not declare.
22517 [__ASSUME_32BITUIDS]: Make code unconditional.
22518 [!__ASSUME_32BITUIDS]: Remove conditional code.
22519 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22520 <kernel-features.h>.
22521 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22523 (__setresuid): Do not declare.
22524 [__ASSUME_32BITUIDS]: Make code unconditional.
22525 [!__ASSUME_32BITUIDS]: Remove conditional code.
22526 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22527 <kernel-features.h>.
22528 [__ASSUME_32BITUIDS]: Make code unconditional.
22529 [!__ASSUME_32BITUIDS]: Remove conditional code.
22530 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22531 <kernel-features.h>.
22532 [__ASSUME_32BITUIDS]: Make code unconditional.
22533 [!__ASSUME_32BITUIDS]: Remove conditional code.
22535 2012-05-25 Richard Henderson <rth@twiddle.net>
22537 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22538 dl_hwcap to ifunc resolver.
22539 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22542 dl_hwcap to ifunc resolver.
22543 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22545 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22548 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22549 for |x| <= 2**-26, not 2**-57.
22550 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22553 2012-05-24 Jeff Law <law@redhat.com>
22555 * stdio-common/Makefile (tests): Add bug25.
22556 * stdio-common/bug25.c: New test.
22558 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22561 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22562 multiple of MALLOC_ALIGNMENT in size.
22563 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22565 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22567 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22569 (FILENAME_MAX): Use macro-int-constant.
22570 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22571 (_IOFBF): Use macro-int-constant.
22572 (_IOLBF): Likewise.
22573 (_IONBF): Likewise.
22574 (SEEK_CUR): Likewise.
22575 (SEEK_END): Likewise.
22576 (SEEK_SET): Likewise.
22577 (TMP_MAX): Likewise.
22578 (EOF): Use macro-int-constant. Require < 0.
22579 (NULL): Use macro-constant. Require == 0.
22580 (stdin): Require type to be FILE *.
22581 (stdout): Likewise.
22582 (stderr): Likewise.
22583 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22584 macro-int-constant.
22585 (EXIT_SUCCESS): Likewise.
22586 (NULL): Use macro-constant. Require == 0.
22587 (RAND_MAX): Use macro-int-constant.
22588 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22589 [C99-based standards] (strtof): Require function.
22590 [C99-based standards] (strtold): Likewise.
22591 [C99-based standards] (strtoll): Likewise.
22592 [C99-based standards] (strtoull): Likewise.
22593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22594 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22595 [ISO || ISO99 || ISO11] (math.h): Likewise.
22596 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22597 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22600 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22603 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22604 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22605 * intl/dgettext.c (DCGETTEXT): Likewise.
22606 * intl/gettext.c (DCGETTEXT): Likewise.
22607 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22608 * posix/regex_internal.h (gettext): Likewise.
22609 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22610 Remove declaration.
22611 * include/argz.h (__argz_count_internal)
22612 (__argz_stringify_internal): Remove declaration.
22613 (__argz_count, __argz_stringify): Declare hidden proto.
22614 * intl/dcgettext.c: Remove use of INTDEF.
22615 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22616 * string/argz-stringify.c: Likewise.
22617 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22618 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22619 Declare hidden proto.
22620 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22621 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22622 Declare hidden proto.
22623 * include/stdio.h (__asprintf_internal): Don't declare.
22624 (__asprintf): Don't define as macro. Declare hidden proto.
22625 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22626 (__fsetlocking): Declare hidden proto.
22627 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22628 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22630 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22631 (_IO_setlinebuf): Remove use of INTUSE.
22632 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22633 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22634 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22635 Remove declaration.
22636 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22637 (_IO_do_flush): Remove use of INTUSE.
22638 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22639 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22640 (_IO_adjust_column, _IO_least_wmarker)
22641 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22642 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22643 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22644 (_IO_default_doallocate, _IO_wdefault_doallocate)
22645 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22646 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22647 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22648 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22649 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22650 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22651 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22652 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22653 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22654 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22655 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22656 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22657 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22659 (_IO_flush_all_internal, _IO_adjust_column_internal)
22660 (_IO_default_uflow_internal, _IO_default_finish_internal)
22661 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22662 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22663 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22664 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22665 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22666 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22667 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22668 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22669 (_IO_file_close_internal, _IO_file_close_it_internal)
22670 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22671 (_IO_file_init_internal, _IO_file_attach_internal)
22672 (_IO_file_fopen_internal, _IO_file_read_internal)
22673 (_IO_file_sync_internal, _IO_file_seek_internal)
22674 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22675 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22676 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22677 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22678 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22679 (_IO_list_all_internal, _IO_link_in_internal)
22680 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22681 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22682 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22683 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22684 (_IO_do_write_internal, _IO_padn_internal)
22685 (_IO_getline_info_internal, _IO_getline_internal)
22686 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22687 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22688 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22689 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22690 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22691 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22692 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22693 with libc_hidden_ver, remove use of INTUSE.
22694 * libio/genops.c: Likewise.
22695 * libio/freopen.c: Likewise.
22696 * libio/freopen64.c: Likewise.
22697 * libio/iofclose.c: Likewise.
22698 * libio/iofdopen.c: Likewise.
22699 * libio/iofflush.c: Likewise.
22700 * libio/iofflush_u.c: Likewise.
22701 * libio/iofgets.c: Likewise.
22702 * libio/iofgets_u.c: Likewise.
22703 * libio/iofopen.c: Likewise.
22704 * libio/iofopncook.c: Likewise.
22705 * libio/iofread.c: Likewise.
22706 * libio/iofread_u.c: Likewise.
22707 * libio/ioftell.c: Likewise.
22708 * libio/iofwrite.c: Likewise.
22709 * libio/iogetline.c: Likewise.
22710 * libio/iogets.c: Likewise.
22711 * libio/iogetwline.c: Likewise.
22712 * libio/iopadn.c: Likewise.
22713 * libio/iopopen.c: Likewise.
22714 * libio/ioseekoff.c: Likewise.
22715 * libio/ioseekpos.c: Likewise.
22716 * libio/iosetbuffer.c: Likewise.
22717 * libio/iosetvbuf.c: Likewise.
22718 * libio/ioungetc.c: Likewise.
22719 * libio/ioungetwc.c: Likewise.
22720 * libio/iovdprintf.c: Likewise.
22721 * libio/iovsprintf.c: Likewise.
22722 * libio/iovsscanf.c: Likewise.
22723 * libio/memstream.c: Likewise.
22724 * libio/obprintf.c: Likewise.
22725 * libio/oldfileops.c: Likewise.
22726 * libio/oldiofclose.c: Likewise.
22727 * libio/oldiofdopen.c: Likewise.
22728 * libio/oldiofopen.c: Likewise.
22729 * libio/oldiopopen.c: Likewise.
22730 * libio/oldstdfiles.c: Likewise.
22731 * libio/putc.c: Likewise.
22732 * libio/setbuf.c: Likewise.
22733 * libio/setlinebuf.c: Likewise.
22734 * libio/stdfiles.c: Likewise.
22735 * libio/strops.c: Likewise.
22736 * libio/vasprintf.c: Likewise.
22737 * libio/vscanf.c: Likewise.
22738 * libio/vsnprintf.c: Likewise.
22739 * libio/vswprintf.c: Likewise.
22740 * libio/wfiledoalloc.c: Likewise.
22741 * libio/wfileops.c: Likewise.
22742 * libio/wgenops.c: Likewise.
22743 * libio/wmemstream.c: Likewise.
22744 * libio/wstrops.c: Likewise.
22745 * libio/__fpurge.c: Likewise.
22746 * libio/__fsetlocking.c: Likewise.
22747 * assert/assert.c: Likewise.
22748 * debug/fgets_chk.c: Likewise.
22749 * debug/fgets_u_chk.c: Likewise.
22750 * debug/fread_chk.c: Likewise.
22751 * debug/fread_u_chk.c: Likewise.
22752 * debug/gets_chk.c: Likewise.
22753 * debug/obprintf_chk.c: Likewise.
22754 * debug/vasprintf_chk.c: Likewise.
22755 * debug/vdprintf_chk.c: Likewise.
22756 * debug/vsnprintf_chk.c: Likewise.
22757 * debug/vsprintf_chk.c: Likewise.
22758 * malloc/mtrace.c: Likewise.
22759 * misc/error.c: Likewise.
22760 * misc/syslog.c: Likewise.
22761 * stdio-common/asprintf.c: Likewise.
22762 * stdio-common/fxprintf.c: Likewise.
22763 * stdio-common/getw.c: Likewise.
22764 * stdio-common/isoc99_fscanf.c: Likewise.
22765 * stdio-common/isoc99_scanf.c: Likewise.
22766 * stdio-common/isoc99_vfscanf.c: Likewise.
22767 * stdio-common/isoc99_vscanf.c: Likewise.
22768 * stdio-common/isoc99_vsscanf.c: Likewise.
22769 * stdio-common/printf-prs.c: Likewise.
22770 * stdio-common/printf_fp.c: Likewise.
22771 * stdio-common/printf_fphex.c: Likewise.
22772 * stdio-common/printf_size.c: Likewise.
22773 * stdio-common/putw.c: Likewise.
22774 * stdio-common/scanf.c: Likewise.
22775 * stdio-common/sprintf.c: Likewise.
22776 * stdio-common/tmpfile.c: Likewise.
22777 * stdio-common/vfprintf.c: Likewise.
22778 * stdio-common/vfscanf.c: Likewise.
22779 * stdlib/strfmon_l.c: Likewise.
22780 * sunrpc/openchild.c: Likewise.
22781 * sunrpc/xdr_stdio.c: Likewise.
22782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22783 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22785 2012-05-24 Roland McGrath <roland@hack.frob.com>
22787 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22789 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22790 in the third column, to generate for the shared library an IFUNC
22791 that uses _dl_vdso_vsym.
22792 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22793 * Makeconfig (object-suffixes-noshared): New variable.
22795 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22796 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22797 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22798 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22801 * include/sys/time.h (__gettimeofday): Remove macro.
22802 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22803 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22805 (__gettimeofday): Add libc_hidden_def.
22806 (gettimeofday): Add libc_hidden_weak.
22807 * sysdeps/mach/gettimeofday.c: Likewise.
22808 * sysdeps/posix/gettimeofday.c: Likewise.
22809 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22812 (__gettimeofday_internal): Remove strong_alias.
22813 (__gettimeofday): Add libc_hidden_def.
22814 (gettimeofday): Add libc_hidden_weak.
22815 * sysdeps/unix/syscalls.list (gettimeofday):
22816 Remove __gettimeofday_internal alias.
22818 2012-05-24 Daniel Jacobowitz <drow@false.org>
22819 H.J. Lu <hongjiu.lu@intel.com>
22822 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22823 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22824 (largebin_index_32_big): New.
22825 (largebin_index): Use it for 16-byte alignment.
22826 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22827 correction with front_misalign.
22829 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22857 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22858 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22860 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22864 * math/libm-test.inc (exp_test): Add test from bug 14036.
22865 (pow_test): Add test from bug 10846.
22867 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22869 (special_function): Do not include flags in test name.
22870 (parse_args): Likewise.
22871 * sysdeps/i386/fpu/libm-test-ulps: Update.
22872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22877 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22879 * math/libm-test.inc ("Philosophy"): Update comment about
22881 (UNDERFLOW_EXCEPTION): New macro.
22882 (UNDERFLOW_EXCEPTION_OK): Likewise.
22883 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22884 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22885 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22886 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22887 (INVALID_EXCEPTION_OK): Update value.
22888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22889 (OVERFLOW_EXCEPTION_OK): Likewise.
22890 (IGNORE_ZERO_INF_SIGN): Likewise.
22891 (test_exceptions): Handle underflow exceptions.
22892 (acos_test): Update for underflow exception expectations.
22893 (cexp_test): Likewise.
22894 (clog_test): Likewise.
22895 (clog10_test): Likewise.
22896 (csqrt_test): Likewise.
22897 (ctan_test): Likewise.
22898 (ctanh_test): Likewise.
22899 (exp_test): Likewise.
22900 (exp10_test): Likewise.
22901 (exp2_test): Likewise.
22902 (expm1_test): Likewise.
22903 (fma_test): Likewise.
22904 (j0_test): Likewise.
22905 (jn_test): Likewise.
22906 (nexttoward_test): Likewise.
22907 (pow_test): Likewise.
22908 (scalbn_test): Likewise.
22909 (scalbln_test): Likewise.
22910 (tan_test): Likewise.
22911 (y1_test): Likewise.
22912 * sysdeps/i386/fpu/libm-test-ulps: Update.
22913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22915 2012-05-23 David S. Miller <davem@davemloft.net>
22917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22918 (__libc_sigaction): Remove unused local variables.
22920 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22922 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22924 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22926 mktime: avoid signed integer overflow
22927 * time/mktime.c (__mktime_internal): Do not mishandle the case
22928 where diff == INT_MIN.
22930 mktime: simplify computation of average
22931 * time/mktime.c (ranged_convert): Use new time_t_avg function
22932 instead of rolling our own (probably-slower) code.
22934 mktime: do not assume signed right shift propagates sign bit
22935 * time/mktime.c (isdst_differ): New static function.
22936 (__mktime_internal): No need to normalize tm_isdst now.
22937 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22940 mktime: merge another wrapv change from gnulib
22941 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22942 from some compilers.
22944 mktime: remove incorrect attempt at unusual arithmetics
22945 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22946 The code didn't really work on such machines anyway.
22947 (TYPE_MINIMUM): Assume two's complement.
22948 (twos_complement_arithmetic): Verify that long_int and time_t
22949 are two's complement (or unsigned, in the latter case).
22951 mktime: check signed shifts on long_int and time_t, too
22952 * time/mktime.c (SHR): Check that shifts work as desired
22953 on the types long_int and time_t too, as SHR is used on
22956 mktime: do not assume 'long' is wide enough
22957 * time/mktime.c (verify): Move decl up.
22958 (long_int): New type.
22959 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22960 to remove assumption in the code that 'long' is wide enough to
22961 store year values. This assumption is not true on x32 and on
22962 some non-glibc platforms.
22964 mktime: merge wrapv change from gnulib
22965 * time/mktime.c (WRAPV): New macro.
22966 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22967 (guess_time_tm, __mktime_internal): Do not assume that signed
22968 integer overflow wraps around; modern compilers generate code
22969 where this assumption is no longer valid.
22971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22973 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22974 Replace "jmp L(pseudo_end)" with "ret".
22975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22978 2012-05-23 Andreas Jaeger <aj@suse.de>
22980 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22981 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22983 2012-05-23 Andreas Jaeger <aj@suse.de>
22984 Maximilian Attems <max@stro.at>
22986 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22989 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22992 code so that pseudo_end is just ret and the stack pointer is
22993 correct also for static library in error case.
22995 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22997 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22998 move to syscalls.list.
22999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23004 * manual/install.texi (Running make install): Do not mention Linux
23005 kernel version for which pt_chown is not needed.
23006 (Linux): Do not mention problems with nscd with 2.0 kernels.
23007 * INSTALL: Regenerated.
23009 2012-05-23 Andreas Jaeger <aj@suse.de>
23011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23012 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23014 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23016 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23018 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23020 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23022 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23024 * sysdeps/unix/sysv/linux/bits/in.h
23025 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23027 2012-05-22 Roland McGrath <roland@hack.frob.com>
23029 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23030 (PREPARE_VERSION): Just use assert instead, it will be elided
23031 under [NDEBUG] anyway.
23033 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23035 * sysdeps/unix/sysv/linux/Makefile: Include
23036 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23037 (sysdep_routines): Remove sysctl.
23038 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23039 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23040 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23041 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23042 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23044 2012-05-22 Andreas Jaeger <aj@suse.de>
23046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23047 that pseudo_end is just ret and the stack pointer is correct also
23048 for static library in error case.
23050 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23053 * nss/nsswitch.c (defconfig_entries): New variable.
23054 (__nss_database_lookup): Don't leak defconfig entries.
23055 (nss_parse_service_list): Don't leak on error paths.
23056 (free_database_entries): New function.
23057 (free_defconfig): New function.
23058 (free_mem): Move common code to free_database_entries.
23060 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23062 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23064 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23067 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23070 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23071 (INTERNAL_SYSCALL_TYPES): Likewise.
23072 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23073 (LOAD_REGS_TYPES_[1-6]): Likewise.
23074 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23075 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23077 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23080 copysignl for GLIBC_2_0.
23081 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23082 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23084 logbl for GLIBC_2_0.
23085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23088 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23096 * time/mktime.c: Update copyright years.
23098 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23100 mktime: merge comment-quoting-style change from gnulib
23101 * time/mktime.c: Quote 'like this' in comments.
23102 The GNU coding standards suggest that we no longer quote `like this',
23103 as "`" and "'" are typically rendered asymmetrically nowadays.
23104 The typical gnulib style is to quote 'like this' when quoting
23105 code, and "like this" when quoting English.
23107 * time/mktime.c (compile-command): Add "-I.".
23109 mktime: merge mktime-internal.h change from gnulib
23110 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23112 mktime: merge time_r change from gnulib
23113 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23115 mktime: merge DEBUG change from gnulib
23116 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23117 case system <time.h> has a #define.
23119 mktime: merge <sys/types.h> change from gnulib
23120 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23121 since <time.t> is now guaranteed to define time_t.
23123 mktime: merge HAVE_CONFIG_H change from gnulib
23124 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23131 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23133 (struct rusage): Use anonymous union to pad each field to
23136 2012-05-21 David S. Miller <davem@davemloft.net>
23138 * Makefules (o-iterator): Remove .s cases.
23139 (compile-command.s): Delete.
23140 (COMPILE.s): Delete.
23141 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23143 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23145 * configure.in (libc_cv_predef_stack_protector): Only consider
23146 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23147 * configure: Regenerated.
23149 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23152 New macro. Use R*LP on int and pointer.
23153 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23154 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23155 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23156 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23158 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23159 [__WORDSIZE_TIME64_COMPAT32] instead of
23160 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23161 (struct utmp): Likewise.
23162 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23163 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23165 (__WORDSIZE_TIME64_COMPAT32): This.
23166 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23167 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23168 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23169 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23171 (__WORDSIZE_TIME64_COMPAT32): New macro.
23173 2012-05-21 Andreas Jaeger <aj@suse.de>
23175 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23176 only if [SHARED]. Add prototype for __wcschr_ia32.
23178 2012-05-21 Roland McGrath <roland@hack.frob.com>
23180 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23181 of %rbp unmolested in the jmp_buf while mangling the low bits.
23182 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23183 unmolested high bits of %rbp while demangling the low bits.
23184 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23186 2012-05-21 Andreas Jaeger <aj@suse.de>
23188 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23189 * sunrpc/svc_simple.c: Use it for registerrpc.
23190 * sunrpc/xcrypt.c: Use it for passwd2des.
23192 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23194 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23196 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23197 Don't define if [__SYSCALL_WORDSIZE != 32].
23198 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23201 2012-05-21 Bruno Haible <bruno@clisp.org>
23202 Andreas Jaeger <aj@suse.de>
23204 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23205 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23206 inptr and inend for must_buffer_ch.
23207 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23208 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23209 * stdio-common/Makefile (tests): Remove bug15.
23210 (bug15-ENV): Remove macro.
23211 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23214 2012-05-19 Andreas Jaeger <aj@suse.de>
23215 Roland McGrath <roland@hack.frob.com>
23217 * manual/contrib.texi: Completely rewritten. It contains now an
23218 alphabetical list of contributors and their contributions.
23220 2012-05-21 Richard Henderson <rth@twiddle.net>
23222 * misc/getauxval.c (__getauxval): Use unsigned long int.
23223 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23224 (getauxval): Use unsigned long int.
23226 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23228 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23230 2012-05-21 Roland McGrath <roland@hack.frob.com>
23232 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23233 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23234 __alignof__ (long double).
23236 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23240 2012-05-20 Richard Henderson <rth@twiddle.net>
23242 * misc/getauxval.c: New file.
23243 * misc/sys/auxv.h: New file.
23244 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23245 (routines): Add getauxval.
23246 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23248 * elf/dl-sysdep.c (_dl_auxv): Remove.
23249 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23250 * elf/dl-support.c (_dl_auxv): New variable.
23251 (_dl_aux_init): Initialize it.
23252 * manual/startup.texi (Auxiliary Vector): New node.
23253 * sysdeps/generic/bits/hwcap.h: New file.
23254 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23255 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23256 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23257 * sysdeps/sparc/sysdep.h: ... here. Include it.
23258 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23271 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23275 2012-05-19 David S. Miller <davem@davemloft.net>
23277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23279 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23282 * math/s_ccosh.c: Include <float.h>
23283 (__ccosh): Avoid internal overflow calculating sinh and cosh
23284 values before multiplying by sin and cos values.
23285 * math/s_ccoshf.c: Likewise.
23286 * math/s_ccoshl.c: Likewise.
23287 * math/s_csin.c: Likewise.
23288 * math/s_csinf.c: Likewise.
23289 * math/s_csinl.c: Likewise.
23290 * math/s_csinh.c: Likewise.
23291 * math/s_csinhf.c: Likewise.
23292 * math/s_csinhl.c: Likewise.
23293 * math/libm-test.inc (ccos_test): Add more tests.
23294 (ccosh_test): Likewise.
23295 (csin_test): Likewise.
23296 (csinh_test): Likewise.
23297 * sysdeps/i386/fpu/libm-test-ulps: Update.
23298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23300 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23302 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23303 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23305 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23307 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23309 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23310 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23311 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23312 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23313 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23314 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23315 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23316 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23317 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23318 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23319 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23320 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23321 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23322 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23323 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23324 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23325 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23326 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23327 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23328 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23329 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23330 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23331 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23332 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23333 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23334 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23335 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23336 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23337 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23338 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23339 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23341 2012-05-18 Andreas Jaeger <aj@suse.de>
23343 * csu/.gitignore: Delete.
23345 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23347 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23348 (timex): Use __syscall_slong_t.
23350 2012-05-18 Andreas Jaeger <aj@suse.de>
23351 Carlos O'Donell <carlos_odonell@mentor.com>
23353 * manual/install.texi (Configuring and compiling): Update
23354 description about files modified in the source directory.
23355 * INSTALL: Regenerated.
23357 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23359 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23360 value. Use "or" to set return value to -1.
23361 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23362 negate return value.
23364 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23366 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23367 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23368 failure if the compiler has Graphite support disabled.
23369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23371 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23372 CFLAGS-memmove.c): Likewise.
23373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23376 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23378 * sysdeps/x86_64/x32/_itoa.h: New file.
23380 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23381 getdents system call only if kernel and user dirents have the
23382 same d_ino and d_off.
23384 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23385 LLONG_MAX != LONG_MAX.
23386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23387 (_fitoa_word): Likewise.
23389 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23393 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23395 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23396 include <bits/wordsize.h>. Check __x86_64__ instead of
23398 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23399 if __x86_64__ is defined. Use anonymous union on fpstate.
23401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23404 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23406 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23407 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23409 Refer to _rtld_local_ro instead of _rtld_global_ro.
23410 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23412 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23414 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23416 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23417 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23418 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23420 * sysdeps/powerpc/powerpc32/dl-machine.c
23421 (__elf_machine_runtime_setup) [PROF]: Don't reference
23424 2012-05-18 Andreas Jaeger <aj@suse.de>
23426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23427 function only available for GCCs before 3.4 since GCC 3.4
23428 introduced a builtin.
23430 (llrintf): Likewise.
23431 (llrint): Likewise.
23438 (nearbyint): Likewise.
23439 (nearbyintf): Likewise.
23443 (floorf): Likewise.
23445 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23447 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23448 on both fields and cast pointer to __syscall_ulong_t.
23450 * bits/types.h (__fsword_t): New type.
23451 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23452 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23454 (__FSWORD_T_TYPE): Likewise.
23455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23456 (__FSWORD_T_TYPE): Likewise.
23457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23458 (__FSWORD_T_TYPE): Likewise.
23459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23460 (__FSWORD_T_TYPE): Likewise.
23461 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23462 __SWORD_TYPE with __fsword_t.
23463 (statfs64): Likewise.
23465 2012-05-17 David S. Miller <davem@davemloft.net>
23467 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23469 2012-05-17 Andreas Jaeger <aj@suse.de>
23471 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23474 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23476 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23478 2012-05-17 Andreas Jaeger <aj@suse.de>
23480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23483 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23485 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23487 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23489 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23490 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23492 2012-05-17 Andreas Jaeger <aj@suse.de>
23493 Carlos O'Donell <carlos_odonell@mentor.com>
23496 * sysdeps/x86_64/multiarch/init-arch.h
23497 (bit_YMM_Usable): Rename to...
23498 (bit_AVX_Usable): ... this.
23499 (bit_FMA4_Usable): New macro.
23500 (bit_XMM_state): New macro.
23501 (bit_YMM_state): New macro.
23502 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23503 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23504 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23505 (CPUID_OSXSAVE): New macro.
23506 (CPUID_AVX): New macro.
23507 (CPUID_FMA4): New macro.
23508 (index_YMM_Usable): Rename to...
23509 (index_AVX_Usable): ... this.
23510 (HAS_AVX): Use HAS_ARCH_FEATURE.
23511 (HAS_FMA4): Likewise.
23512 (HAS_YMM_USABLE): Remove.
23513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23514 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23516 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23517 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23518 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23519 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23520 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23522 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23524 * math/libm-test.c: Support platforms without multiple rounding modes.
23525 * math/bug-nextafter.c: Support platforms without FP exceptions.
23526 * math/bug-nexttoward.c: Likewise.
23527 * math/test-fenv.c: Likewise.
23528 * math/test-misc.c: Likewise.
23529 * stdlib/bug-getcontext.c: Likewise.
23531 2012-05-17 Andreas Jaeger <aj@suse.de>
23533 * manual/examples/search.c (critter_cmp): Change signature to
23535 * manual/string.texi (Collation Functions): Likewise.
23537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23539 * bits/types.h: Fold copyright years.
23540 * bits/typesizes.h: Likewise.
23541 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23545 * time/time.h: Likewise.
23547 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23550 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23551 in instead of returning them. Return void.
23552 (__libc_mallinfo): Accumulate over all arenas.
23553 (__malloc_stats): Adjust for change in int_mallinfo interface.
23555 2012-05-16 Roland McGrath <roland@hack.frob.com>
23558 * configure.in (NM): Add AC_CHECK_TOOL for it.
23559 (libc_extra_cflags): New substituted variable.
23560 Check for -fstack-protector being used implicitly.
23561 * configure: Regenerated.
23562 * config.make.in (config-extra-cflags): New variable,
23563 gets @libc_extra_cflags@.
23564 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23567 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23568 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23569 * configure: Regenerated.
23570 * config.make.in (CPPUNDEFS): New substituted variable.
23571 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23572 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23573 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23575 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23577 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23578 (mq_attr): Use __syscall_slong_t.
23580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23583 Check __x86_64__ instead of __WORDSIZE.
23584 (_STAT_VER_LINUX): Likewise.
23585 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23586 __syscall_ulong_t and __syscall_slong_t.
23587 (stat64): Likewise.
23589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23593 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23595 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23597 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23599 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23602 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23603 include <bits/wordsize.h>. Check __x86_64__ instead of
23605 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23607 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23610 include <bits/wordsize.h>. Check __x86_64__ instead of
23612 (user_regs_struct): Use "__extension__ unsigned long long"
23613 instead of "unsigned long" if __x86_64__ is defined.
23614 (user): Likewise. Pad after pointer field if __ILP32__ is
23617 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23619 * configure.in (makeinfo): Require version 4.5 or later. Allow
23621 * configure: Regenerated.
23622 * manual/install.texi (texinfo): Increase version requirement to
23624 * INSTALL: Regenerated.
23626 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23628 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23630 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23632 * sysdeps/x86_64/x32/ffs.c: New file.
23634 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23636 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23637 defined. Use __syscall_ulong_t.
23638 (shminfo): Use __syscall_ulong_t.
23639 (shm_info): Likewise.
23641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23644 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23646 (msgqnum_t): Use __syscall_ulong_t.
23647 (msglen_t): Likewise.
23648 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23651 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23652 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23654 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23656 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23657 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23659 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23663 include <bits/wordsize.h>. Check __x86_64__ instead of
23666 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23667 "unsigned long long int" if __x86_64__ is defined.
23668 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23671 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23672 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23674 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23676 (GET_PC): Cast to uintptr_t first.
23677 (GET_FRAME): Likewise.
23678 (GET_STACK): Likewise.
23680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23688 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23691 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23693 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23697 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23705 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23710 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23712 * Makerules (+depfiles): Also collect depfiles from .oS in
23714 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23715 .oS, $(libnldbl-routines)).
23717 * Makerules (native-compile-mkdep-flags): Define.
23718 * sunrpc/Makefile (extra-objs): Add $(addprefix
23719 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23720 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23721 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23722 calling $(make-target-directory).
23724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23726 * bits/types.h (__snseconds_t): Removed.
23727 * time/time.h (struct timespec): Replace __snseconds_t with
23729 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23730 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23733 (__SNSECONDS_T_TYPE): Likewise.
23734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23735 (__SNSECONDS_T_TYPE): Likewise.
23736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23737 (__SNSECONDS_T_TYPE): Likewise.
23739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23741 * sysdeps/mach/hurd/bits/typesizes.h
23742 (__SYSCALL_SLONG_TYPE): New macro.
23743 (__SYSCALL_ULONG_TYPE): Likewise.
23745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23747 * bits/types.h (__syscall_slong_t): New type.
23748 (__syscall_ulong_t): Likewise.
23750 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23751 (__SYSCALL_ULONG_TYPE): Likewise.
23752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23753 (__SYSCALL_SLONG_TYPE): Likewise.
23754 (__SYSCALL_ULONG_TYPE): Likewise.
23755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23756 (__SYSCALL_SLONG_TYPE): Likewise.
23757 (__SYSCALL_ULONG_TYPE): Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23759 (__SYSCALL_SLONG_TYPE): Likewise.
23760 (__SYSCALL_ULONG_TYPE): Likewise.
23762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23764 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23765 Add sigaltstack-offsets.sym.
23766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23767 <sigaltstack-offsets.h>.
23768 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23769 longjmp_msg pointer.
23770 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23771 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23773 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23775 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23777 * elf/stackguard-macros.h: Remove file.
23778 * sysdeps/generic/stackguard-macros.h: New file.
23779 * sysdeps/i386/stackguard-macros.h: Likewise.
23780 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23781 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23782 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23783 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23784 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23785 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23786 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23787 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23788 <elf/stackguard-macros.h>.
23791 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23792 __aligned__ in attribute.
23793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23794 (gregset_t): Likewise.
23796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23798 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23799 * sysdeps/x86_64/64/Implies-after: Here. New file.
23800 * sysdeps/x86_64/x32/Implies-after: New file.
23802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23804 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23805 and access return value for _dl_profile_fixup. Use R10_LP to
23808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23810 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23814 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23815 * sysdeps/x86_64/x32/sysdep.h: New file.
23817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23819 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23820 * sysdeps/x86_64/setjmp.S: Likewise.
23822 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23826 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23828 remove unused global constant.
23830 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23832 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23833 include of <not-cancel.h>.
23835 2012-05-15 Roland McGrath <roland@hack.frob.com>
23837 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23839 2012-05-15 Jeff Law <law@redhat.com>
23840 Andreas Jaeger <aj@suse.de>
23843 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23845 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23846 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23848 code changing __hst_map_handle.map.
23850 2012-05-15 Roland McGrath <roland@hack.frob.com>
23852 * configure.in (sysnames): Look for Implies-before and Implies-after
23854 * configure: Regenerated.
23856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23859 8-byte data alignment with LP_SIZE alignment.
23861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23868 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23872 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23873 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23880 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23881 (stackinfo_sub_sp): Likewise.
23883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23900 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23904 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23905 into R11_LP and load __x86_64_shared_cache_size_half into
23908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23913 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23922 powerpc32/power7/fpu/s_logb.c via #include.
23923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23924 powerpc32/power7/fpu/s_logbf.c via #include.
23925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23926 powerpc32/power7/fpu/s_logbl.c via #include.
23928 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23930 * README.libm: Remove file.
23932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23934 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23935 count for x32. Use R*_LP and omit operand-size suffix.
23937 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23939 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23940 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23941 * sysdeps/x86_64/x32/shlib-versions: New file.
23943 2012-05-14 Roland McGrath <roland@hack.frob.com>
23945 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23946 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23947 Use _dl_fatal_printf instead.
23949 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23951 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23952 set if not set by the user. Do not allow for being unset.
23953 * sysdeps/unix/sysv/linux/configure: Regenerated.
23955 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23958 the `q' suffix from lea and replace .quad with ASM_ADDR.
23960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23963 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23965 (PTR_DEMANGLE): Likewise.
23967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23969 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23971 (ASM_ADDR): Likewise.
23972 (RAX_LP): Likewise.
23973 (RBP_LP): Likewise.
23974 (RBX_LP): Likewise.
23975 (RCX_LP): Likewise.
23976 (RDI_LP): Likewise.
23977 (RSI_LP): Likewise.
23978 (RSP_LP): Likewise.
23981 (R10_LP): Likewise.
23982 (R10_LP): Likewise.
23983 (R11_LP): Likewise.
23984 (R12_LP): Likewise.
23985 (R13_LP): Likewise.
23986 (R14_LP): Likewise.
23987 (R15_LP): Likewise.
23989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23991 * sysdeps/x86_64/x32/dl-machine.h: New file.
23993 2012-05-14 Andreas Jaeger <aj@suse.de>
23995 * manual/Makefile (subdir): Remove export of subdir.
23996 (all): Remove target.
23997 (.PHONY): Remove all from list.
23998 (mkinstalldirs): Remove.
23999 (.PHONY): Remove installdirs from list.
24000 ($(inst_infodir)/libc.info): Use make-target-directory.
24001 (installdirs): Remove.
24002 (subdir_%): Remove.
24003 (glibc-targets): Remove.
24006 ($(objpfx)stubs ../po/manual.pot): Remove.
24007 ($(objpfx)stamp%): Remove.
24008 (make-target-directory): Remove.
24009 (subdir_install): Remove.
24010 (routines): Remove.
24017 * manual/.gitignore: Remove, it's not needed anymore.
24018 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24020 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24022 (texis): Renamed to $(objpfx)texis.
24023 (texis-path): New, contains path to generated files.
24024 (chapters.%): Use texis-path for complete path, add extra argument
24026 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24027 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24028 (summary,texi, stamp-summary): Use complete path of
24029 files. Generate files in build dir.
24030 (dir-add.texi): Build in build dir.
24031 (libm-err.texi,stamp-libm-err): Likewise.
24032 (version.texi, stamp-version): Likewise.
24033 (.%c.texi): Likewise.
24034 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24035 (mostlyclean): Remove target.
24036 (realclean): Remove target.
24037 (generated): Add new variable with contents from mostlyclean and
24038 realclean, remove entries duplicated in common-mostlyclean, add
24039 stamp-libm-err and stamp-version.
24040 (generated-dirs): Add libc directory.
24041 ($(inst_infodir)/libc.info): Install files from build dir.
24043 * manual/install.texi (Configuring and compiling): Adjust since
24044 the info files are not part of the tar ball anymore.
24046 2012-05-14 Andreas Jaeger <aj@suse.de>
24048 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24051 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24055 to 2.2.0 where earlier.
24056 * sysdeps/unix/sysv/linux/configure: Regenerated.
24057 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24058 Remove conditional code.
24059 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24060 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24061 Remove conditional code.
24062 [!__NR_lchown]: Likewise.
24063 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24064 [__NR_lchown]: Likewise.
24065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24066 comment referencing __ASSUME_LCHOWN_SYSCALL.
24067 * sysdeps/unix/sysv/linux/i386/sigaction.c
24068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24070 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24071 Remove conditional code.
24072 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24073 (__protocol_available): Remove #if 0 code.
24074 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24076 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24077 * sysdeps/unix/sysv/linux/kernel-features.h
24078 (__ASSUME_GETCWD_SYSCALL): Don't define.
24079 (__ASSUME_REALTIME_SIGNALS): Likewise.
24080 (__ASSUME_PREAD_SYSCALL): Likewise.
24081 (__ASSUME_PWRITE_SYSCALL): Likewise.
24082 (__ASSUME_POLL_SYSCALL): Likewise.
24083 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24084 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24086 (__ASSUME_SIOCGIFNAME): Don't define.
24087 (__ASSUME_MSG_NOSIGNAL): Likewise.
24088 (__ASSUME_SENDFILE): Define unconditionally.
24089 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24090 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24092 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24093 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24094 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24095 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24097 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24098 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24103 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24123 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24124 Remove conditional code.
24125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24126 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24127 Remove conditional code.
24128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24130 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24131 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24132 Remove conditional code.
24133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24134 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24135 Remove conditional code.
24136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24137 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24138 Remove conditional code.
24139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24140 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24141 Remove conditional code.
24142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24143 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24144 Remove conditional code.
24145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24146 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24149 * sysdeps/unix/sysv/linux/sigaction.c
24150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24152 * sysdeps/unix/sysv/linux/sigpending.c
24153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24155 * sysdeps/unix/sysv/linux/sigprocmask.c
24156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24158 * sysdeps/unix/sysv/linux/sigsuspend.c
24159 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24160 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24162 (__libc_missing_rt_sigs): Remove.
24163 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24164 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24165 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24166 Remove conditional code.
24167 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24168 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24170 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24171 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24172 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24173 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24175 2012-05-14 Andreas Jaeger <aj@suse.de>
24177 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24178 it's not used in glibc.
24179 (__coshm1): Likewise.
24180 (__acosh1p): Likewise.
24183 * manual/string.texi (Copying and Concatenation): Add missing
24184 variable in concat example.
24185 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24191 __builtin_clzl with __builtin_clzll.
24193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24196 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24199 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24201 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24202 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24203 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24204 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24206 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24208 * NEWS: Update ia64 info.
24210 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24212 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24215 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24217 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24218 * sysdeps/unix/syscalls.list (dup3): Likewise.
24219 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24220 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24222 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24224 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24225 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24227 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24229 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24231 (TLS_IE): Use mov/add instead of movq/addq to load thread
24233 (TLS_GD_PREFIX): New.
24236 2012-05-11 David S. Miller <davem@davemloft.net>
24238 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24239 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24240 (_FPU_SETCW): Likewise.
24242 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24245 is 32-byte aligned.
24247 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24250 * iconvdata/gb18030.c: Update tables.
24251 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24252 characters specially.
24253 (BODY for TO_LOOP): Add encoding of missing ranges.
24255 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24258 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24259 * sysdeps/mach/hurd/dup3.c: Likewise.
24260 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24261 * sysdeps/powerpc/memmove.c:: Likewise.
24263 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24266 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24268 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24270 * elf/elf.h (R_X86_64_RELATIVE64): New.
24271 (R_X86_64_NUM): Updated.
24272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24273 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24274 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24275 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24276 tst-quad1pie tst-quad2pie
24277 (modules-names): Add tst-quadmod1 tst-quadmod2.
24278 ($(objpfx)tst-quad1): New dependency.
24279 ($(objpfx)tst-quad2): Likewise.
24280 ($(objpfx)tst-quad1pie): Likewise.
24281 ($(objpfx)tst-quad2pie): Likewise.
24282 * sysdeps/x86_64/tst-quad1.c: New file.
24283 * sysdeps/x86_64/tst-quad1pie.c: New file.
24284 * sysdeps/x86_64/tst-quad2.c: Likewise.
24285 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24286 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24287 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24288 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24289 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24293 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24294 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24295 * streams/stropts.h (t_scalar_t): Define type.
24297 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24298 (_PATH_PRESERVE): Set to "/var/lib".
24299 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24301 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24304 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24305 if __dir_mkfile succeeded.
24307 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24308 checking for _hurd_dtablesize. Unlock it right after having
24309 finished _hurd_dtable allocation.
24311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24313 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24314 * sysdeps/mach/hurd/configure: Regenerated.
24315 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24316 special-casing to...
24317 * sysdeps/gnu/configure.in: ... this new file.
24318 * sysdeps/unix/sysv/linux/configure: Regenerated.
24319 * sysdeps/gnu/configure: New generated file.
24321 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24322 for Linux: use nsec instead of usec, as well as:
24323 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24324 members of type struct timespec.
24325 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24327 (struct stat64): Likewise.
24328 (_STATBUF_ST_NSEC): New macro.
24329 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24331 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24332 __strtoul_internal rather than strtoul.
24334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24336 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24341 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24342 which preserves existing values.
24343 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24345 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24347 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24348 TIMEOUT values. Return EINVAL for NFDS values either negative or
24349 greater than FD_SETSIZE.
24351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24353 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24354 allocated, call __vm_protect to finish enabling the existing space, and
24355 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24356 allocate the remainder.
24358 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24360 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24361 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24365 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24366 sysdeps/mach/hurd/readlink.c.
24368 * posix/tst-sysconf.c (posix_options): Only use
24369 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24370 _POSIX_SYNCHRONIZED_IO when they are defined
24371 * sysdeps/mach/hurd/bits/posix_opt.h:
24372 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24373 (_XOPEN_REALTIME): Undefine macro.
24374 (_XOPEN_REALTIME_THREADS): Undefine macro.
24375 (_XOPEN_SHM): Undefine macro.
24376 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24378 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24380 (_POSIX_ASYNC_IO): Undefine macro.
24381 (_POSIX_PRIORITIZED_IO): Undefine macro.
24382 (_POSIX_SPIN_LOCKS): Define macro to -1.
24384 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24385 SA_NODEFER, SA_RESETHAND.
24386 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24387 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24392 * elf/Makefile (pldd-modules): Define unconditionally.
24394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24396 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24400 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24401 Return ENOENT when name is empty.
24402 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24406 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24408 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24412 Fix mlock in all cases except non-readable pages.
24413 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24414 instead of VM_PROT_ALL as parameter to __vm_wire function.
24416 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24417 (__mkdir): When path is `/', just fail with EEXIST.
24418 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24422 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24423 <sys/uio.h> (for writev).
24424 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24425 and <sys/param.h> (for MIN).
24427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24429 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24430 REQUESTED_TIME. Properly set the remaining time and return EINTR
24433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24435 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24436 Depend on against $(link-rpcuserlibs).
24438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24440 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24441 (__libc_stack_end): Do not use attribute_relro.
24442 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24443 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24444 to libthread-provided value.
24445 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24448 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24451 * bits/libc-lock.h (__libc_once_get): New macro.
24452 * sysdeps/mach/bits/libc-lock.h: Likewise.
24453 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24455 instead of using implementation details.
24457 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24458 * libio/freopen.c: Likewise.
24459 * libio/freopen64.c: Likewise.
24460 * misc/syslog.c: Likewise.
24461 * nscd/connections.c: Likewise.
24462 * nscd/netgroupcache.c: Likewise.
24463 * sysdeps/posix/getcwd.c: Likewise.
24465 2012-05-10 Roland McGrath <roland@hack.frob.com>
24467 * math/w_ilogbf.c: Add #include <limits.h>.
24469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24471 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24472 path instead of returning without unlocking.
24474 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24475 immediate-write ioctls.
24476 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24480 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24481 __builtin_frame_address instead of making assumptions about the
24482 location of the return address relative to DATA. Force early load of
24483 the return address.
24484 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24485 __builtin_frame_address.
24488 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24489 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24490 implement dup3 and do some further code clean-ups.
24491 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24492 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24496 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24498 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24499 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24500 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24501 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24502 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24505 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24506 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24507 when handler == SIG_ERR, not when handler != SIG_ERR.
24509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24511 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24512 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24515 accept4 for GNU Hurd.
24516 * include/sys/socket.h (__libc_accept4): New prototype.
24517 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24518 to implement __libc_accept4.
24519 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24521 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24523 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24524 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24525 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24526 signal-defines.sym.
24528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24530 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24534 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24535 assertion on O_CLOEXEC flag.
24536 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24537 * hurd/intern-fd.c: Likewise.
24538 * hurd/port2fd.c: Likewise.
24540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24543 * bits/in.h (IPV6_PKTINFO): Define new macro.
24544 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24546 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24551 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24553 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24554 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24556 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24557 * math/libm-test.inc (logb_test) : Additional logb tests.
24559 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24560 Andreas Jaeger <aj@suse.de>
24562 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24563 * configure: Regenerated.
24564 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24565 * config.make.in (link-obsolete-rpc): New substituted variable.
24566 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24567 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24568 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24569 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24570 so that libc.a contains the symbols.
24571 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24572 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24573 * sunrpc/auth_none.c: Likewise.
24574 * sunrpc/auth_unix.c: Likewise.
24575 * sunrpc/authdes_prot.c: Likewise.
24576 * sunrpc/authuxprot.c: Likewise.
24577 * sunrpc/clnt_gen.c: Likewise.
24578 * sunrpc/clnt_perr.c: Likewise.
24579 * sunrpc/clnt_raw.c: Likewise.
24580 * sunrpc/clnt_simp.c: Likewise.
24581 * sunrpc/clnt_tcp.c: Likewise.
24582 * sunrpc/clnt_udp.c: Likewise.
24583 * sunrpc/clnt_unix.c: Likewise.
24584 * sunrpc/des_crypt.c: Likewise.
24585 * sunrpc/des_soft.c: Likewise.
24586 * sunrpc/get_myaddr.c: Likewise.
24587 * sunrpc/key_call.c: Likewise.
24588 * sunrpc/key_prot.c: Likewise.
24589 * sunrpc/netname.c: Likewise.
24590 * sunrpc/pm_getmaps.c: Likewise.
24591 * sunrpc/pm_getport.c: Likewise.
24592 * sunrpc/pmap_clnt.c: Likewise.
24593 * sunrpc/pmap_prot.c: Likewise.
24594 * sunrpc/pmap_prot2.c: Likewise.
24595 * sunrpc/pmap_rmt.c: Likewise.
24596 * sunrpc/publickey.c: Likewise.
24597 * sunrpc/rpc_cmsg.c: Likewise.
24598 * sunrpc/rpc_common.c: Likewise.
24599 * sunrpc/rpc_dtable.c: Likewise.
24600 * sunrpc/rpc_prot.c: Likewise.
24601 * sunrpc/rpc_thread.c: Likewise.
24602 * sunrpc/rtime.c: Likewise.
24603 * sunrpc/svc.c: Likewise.
24604 * sunrpc/svc_auth.c: Likewise.
24605 * sunrpc/svc_raw.c: Likewise.
24606 * sunrpc/svc_run.c: Likewise.
24607 * sunrpc/svc_tcp.c: Likewise.
24608 * sunrpc/svc_udp.c: Likewise.
24609 * sunrpc/svc_unix.c: Likewise.
24610 * sunrpc/svcauth_des.c: Likewise.
24611 * sunrpc/xcrypt.c: Likewise.
24612 * sunrpc/xdr.c: Likewise.
24613 * sunrpc/xdr_array.c: Likewise.
24614 * sunrpc/xdr_float.c: Likewise.
24615 * sunrpc/xdr_intXX_t.c: Likewise.
24616 * sunrpc/xdr_mem.c: Likewise.
24617 * sunrpc/xdr_rec.c: Likewise.
24618 * sunrpc/xdr_ref.c: Likewise.
24619 * sunrpc/xdr_sizeof.c: Likewise.
24620 * sunrpc/xdr_stdio.c: Likewise.
24622 2012-05-10 Roland McGrath <roland@hack.frob.com>
24624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24625 change. Update copyright years.
24627 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24629 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24631 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24632 Joseph Myers <joseph@codesourcery.com>
24633 Paul Pluzhnikov <ppluzhnikov@google.com>
24636 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24638 [cross-compiling] (extra-libs): Likewise.
24639 [cross-compiling] (extra-libs-others): Likewise.
24640 [cross-compiling] (librpcsvc-routines): Likewise.
24641 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24642 [cross-compiling] (omit-deps): Likewise.
24643 (sunrpc-CPPFLAGS): New variable.
24644 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24645 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24646 (cross-rpcgen-objs): New variable.
24647 (extra-objs): Append $(cross-rpcgen-objs).
24648 ($(cross-rpcgen-objs)): New rule.
24649 ($(objpfx)cross-rpcgen): Likewise.
24650 (rpcgen-cmd): Define to use $(built-program-file). Expand
24652 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24653 ($(objpfx)x%.stmp): Likewise.
24654 * sunrpc/proto.h [IS_IN_build] (_): Define.
24655 [IS_IN_build] (_libc_intl_domainname): Likewise.
24657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24660 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24661 and R_X86_64_TPOFF64.
24663 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24665 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24666 sysdeps/unix/sysv/syscalls.list.
24669 * sysdeps/unix/sysv/syscalls.list: Remove file.
24671 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24674 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24675 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24676 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24677 (__LC_IDENTIFICATION): Make these macros useful in #if
24678 expressions, as required by C99.
24680 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24682 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24683 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24686 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24688 * stdlib/longlong.h: Updated from GCC.
24690 2012-05-09 Andreas Jaeger <aj@suse.de>
24692 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24693 default is first entry.
24694 (run_mode): Set type.
24695 (main): Remove informal message about syslog.
24696 (options): Fix typo.
24699 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24702 (llrintf): Likewise.
24703 (llrint): Likewise.
24706 (nearbyint): Likewise.
24707 (nearbyintf): Likewise.
24709 2012-05-09 Andreas Jaeger <aj@suse.de>
24710 Pedro Alves <palves@redhat.com>
24712 * nscd/nscd.c (run_mode): Use enum.
24713 (main): Cleanup coding style issue.
24715 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24716 Andreas Jaeger <aj@suse.de>
24718 * nscd/nscd.c (go_background): Replaced with...
24719 (run_mode): ... this.
24720 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24721 (options): Add -F --foreground.
24722 (main): Implement it.
24723 (parse_opt): Parse it.
24725 2012-05-09 Andreas Jaeger <aj@suse.de>
24728 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24729 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24730 -Wconversion warning.
24731 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24734 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24736 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24738 (LC_ALL): Use macro-int-constant.
24739 (LC_COLLATE): Likewise.
24740 (LC_CTYPE): Likewise.
24741 (LC_MESSAGES): Likewise.
24742 (LC_MONETARY): Likewise.
24743 (LC_NUMERIC): Likewise.
24744 (LC_TIME): Likewise.
24745 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24746 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24748 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24750 [C99-based standards] (float_t): Expect type.
24751 [C99-based standards] (double_t): Expect type.
24752 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24754 [C99-based standards] (HUGE_VALL): Likewise.
24755 [C99-based standards] (INFINITY): Likewise.
24756 [C99-based standards] (NAN): Likewise.
24757 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24758 [C99-based standards] (FP_NAN): Likewise.
24759 [C99-based standards] (FP_NORMAL): Likewise.
24760 [C99-based standards] (FP_SUBNORMAL): Likewise.
24761 [C99-based standards] (FP_ZERO): Likewise.
24762 [C99-based standards] (FP_FAST_FMA): Use
24763 optional-macro-int-constant. Specify type. Require == 1.
24764 [C99-based standards] (FP_FAST_FMAF): Likewise.
24765 [C99-based standards] (FP_FAST_FMAL): Likewise.
24766 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24767 [C99-based standards] (FP_ILOGBNAN): Likewise.
24768 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24770 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24771 [C99-based standards] (math_errhandling): Specify type.
24772 [ISO99 || ISO11] (signgam): Do not allow.
24773 [non-C99-based standards] (copysignf): Do not allow.
24774 [non-C99-based standards] (exp2f): Likewise.
24775 [non-C99-based standards] (log2f): Likewise.
24776 [non-C99-based standards] (modff): Allow.
24777 [non-C99-based standards] (erff): Do not allow.
24778 [non-C99-based standards] (erfcf): Likewise.
24779 [non-C99-based standards] (gammaf): Likewise.
24780 [non-C99-based standards] (hypotf): Likewise.
24781 [non-C99-based standards] (j0f): Likewise.
24782 [non-C99-based standards] (j1f): Likewise.
24783 [non-C99-based standards] (jnf): Likewise.
24784 [non-C99-based standards] (lgammaf): Likewise.
24785 [non-C99-based standards] (tgammaf): Likewise.
24786 [non-C99-based standards] (y0f): Likewise.
24787 [non-C99-based standards] (y1f): Likewise.
24788 [non-C99-based standards] (ynf): Likewise.
24789 [non-C99-based standards] (isnanf): Likewise.
24790 [non-C99-based standards] (acoshf): Likewise.
24791 [non-C99-based standards] (asinhf): Likewise.
24792 [non-C99-based standards] (atanhf): Likewise.
24793 [non-C99-based standards] (cbrtf): Likewise.
24794 [non-C99-based standards] (expm1f): Likewise.
24795 [non-C99-based standards] (ilogbf): Likewise.
24796 [non-C99-based standards] (log1pf): Likewise.
24797 [non-C99-based standards] (logbf): Likewise.
24798 [non-C99-based standards] (nextafterf): Likewise.
24799 [non-C99-based standards] (remainderf): Likewise.
24800 [non-C99-based standards] (rintf): Likewise.
24801 [non-C99-based standards] (scalbf): Likewise.
24802 [non-C99-based standards] (copysignl): Likewise.
24803 [non-C99-based standards] (exp2l): Likewise.
24804 [non-C99-based standards] (log2l): Likewise.
24805 [non-C99-based standards] (modfl): Allow.
24806 [non-C99-based standards] (erfl): Do not allow.
24807 [non-C99-based standards] (erfcl): Likewise.
24808 [non-C99-based standards] (gammal): Likewise.
24809 [non-C99-based standards] (hypotl): Likewise.
24810 [non-C99-based standards] (j0l): Likewise.
24811 [non-C99-based standards] (j1l): Likewise.
24812 [non-C99-based standards] (jnl): Likewise.
24813 [non-C99-based standards] (lgammal): Likewise.
24814 [non-C99-based standards] (tgammal): Likewise.
24815 [non-C99-based standards] (y0l): Likewise.
24816 [non-C99-based standards] (y1l): Likewise.
24817 [non-C99-based standards] (ynl): Likewise.
24818 [non-C99-based standards] (isnanl): Likewise.
24819 [non-C99-based standards] (acoshl): Likewise.
24820 [non-C99-based standards] (asinhl): Likewise.
24821 [non-C99-based standards] (atanhl): Likewise.
24822 [non-C99-based standards] (cbrtl): Likewise.
24823 [non-C99-based standards] (expm1l): Likewise.
24824 [non-C99-based standards] (ilogbl): Likewise.
24825 [non-C99-based standards] (log1pl): Likewise.
24826 [non-C99-based standards] (logbl): Likewise.
24827 [non-C99-based standards] (nextafterl): Likewise.
24828 [non-C99-based standards] (remainderl): Likewise.
24829 [non-C99-based standards] (rintl): Likewise.
24830 [non-C99-based standards] (scalbl): Likewise.
24831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24832 [non-C99-based standards] (FP_*): Do not allow.
24833 [C99-based standards] (FP_*): Change to
24834 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24835 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24837 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24838 (SIG_ERR): Likewise.
24839 [X/Open-based standards] (SIG_HOLD): Likewise.
24840 (SIG_IGN): Likewise.
24841 (SIGABRT): Use macro-int-constant. Specify type. Require
24843 (SIGFPE): Likewise.
24844 (SIGILL): Likewise.
24845 (SIGINT): Likewise.
24846 (SIGSEGV): Likewise.
24847 (SIGTER): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24849 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24851 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24852 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24853 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24854 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24855 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24856 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24857 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24858 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24859 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24860 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24861 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24862 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24863 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24864 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24865 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24866 [X/Open-based standards] (SIGTRAP): Likewise.
24867 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24868 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24869 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24870 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24871 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24874 2012-05-08 Ian Wienand <ianw@vmware.com>
24877 * time/tzset.c (__tzset_parse_tz): Update default rules for
24878 daylight time changes in the Energy Policy Act of 2005.
24880 2012-05-09 Andreas Jaeger <aj@suse.de>
24883 * elf/ldconfig.c (parse_conf): Change string to make clear that
24884 ldconfig only issued a warning if ld.so.conf does not exist.
24886 2012-05-08 David S. Miller <davem@davemloft.net>
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24889 movxtod instead of popping the value on the stack.
24891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24893 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24895 * config.h.in: Add HAVE_ARM_PCS_VFP.
24897 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24900 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24901 checking but the checks are disabled for any reason.
24903 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24905 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24906 and ELF64_R_TYPE with ELFW(R_TYPE).
24908 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24910 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24911 (ulimit): Likewise.
24913 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24914 (settimeofday): Likewise.
24916 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24918 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24919 a struct th_u2 inside the union, and move tu_block/tu_code into
24920 a new th_u3 union of tu_block/tu_code inside of that. Move
24921 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24922 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24923 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24924 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24925 (th_stuff): Change to th_u1.tu_stuff.
24927 (th_msg): Change to th_u1.th_u2.tu_data.
24929 2012-05-07 David S. Miller <davem@davemloft.net>
24931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24935 (SETUP_PIC_REG): Use it.
24936 (SETUP_PIC_REG_LEAF): Use it.
24938 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24944 (EXPL_FINITE): Likewise.
24945 (FLDLOG): Likewise.
24946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24947 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24949 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24951 (EXPL_FINITE): Likewise.
24952 (FLDLOG): Likewise.
24953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24954 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24956 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24957 test of -max_value argument for long double.
24958 * sysdeps/i386/fpu/libm-test-ulps: Update.
24959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24961 2012-05-06 David S. Miller <davem@davemloft.net>
24963 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24964 quad soft-float symbols whose references which are compiler
24966 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24968 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24974 (EXPL_FINITE): Likewise.
24975 (FLDLOG): Likewise.
24978 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24979 Adjust comments for base varying.
24980 (__expl_finite): Change alias to EXPL_FINITE.
24981 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24983 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24984 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24986 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24989 (EXPL_FINITE): Likewise.
24990 (FLDLOG): Likewise.
24993 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24994 Adjust comments for base varying.
24995 (__expl_finite): Change alias to EXPL_FINITE.
24996 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25001 * math/libm-test.inc (check_float_internal): Correct ulp
25002 calculation for subnormal expected results.
25004 2012-05-06 Andreas Jaeger <aj@suse.de>
25006 * Makeconfig (+math-flags): New, set to -frounding-math.
25007 (+cflags): Add +math-flags so that all of glibc gets compiled with
25010 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25012 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25014 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25020 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25021 (__ieee754_expl): Allow for and saturate large arguments.
25022 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25023 (u_threshold): Likewise.
25024 (__exp): Call __ieee754_exp before checking for overflow and
25026 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25027 (u_threshold): Likewise.
25028 (__expf): Call __ieee754_expf before checking for overflow and
25030 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25031 (u_threshold): Likewise.
25032 (__expl): Call __ieee754_expl before checking for overflow and
25034 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25035 (__ieee754_expl): Allow for and saturate large arguments.
25036 * math/libm-test.inc (exp_test): Add another test. Do not allow
25037 missing overflow exception on overflow.
25038 (expm1_test): Do not allow missing overflow exception on overflow.
25040 * sysdeps/i386/fpu/e_expl.c: Move to ...
25041 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25042 rather than using inline asm.
25043 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25044 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25045 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25047 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25050 (signal): Likewise.
25054 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25056 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25057 sysdeps/unix/common/syscalls.list.
25058 (fchmod): Likewise.
25059 (fchown): Likewise.
25060 (ftruncate): Likewise.
25061 (getrusage): Likewise.
25062 (gettimeofday): Likewise.
25063 (setpgid): Likewise.
25064 (setregid): Likewise.
25065 (setreuid): Likewise.
25066 (sigaction): Likewise.
25067 (truncate): Likewise.
25068 (vhangup): Likewise.
25069 * sysdeps/unix/common/syscalls.list: Remove file.
25070 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25071 * sysdeps/unix/sysv/linux/Implies: Likewise.
25073 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25081 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25084 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25087 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25090 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25093 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25096 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25099 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25103 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25107 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25114 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25118 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25120 * sysdeps/unix/common/bits/dirent.h: Remove file.
25121 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25123 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25124 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25125 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25126 * sysdeps/unix/bsd/isatty.c: Likewise.
25127 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25128 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25129 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25131 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25135 long double comparison inaccuracies.
25136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25139 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25141 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25144 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25148 nonzero digits before rounding a hex value.
25149 * stdlib/tst-strtod.c (tests): Add another test.
25151 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25153 * sysdeps/s390/fpu/libm-test-ulps: Update.
25155 2012-05-03 Andreas Jaeger <aj@suse.de>
25157 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25158 does not get optimized out.
25159 (malloc_opt_barrier): New.
25161 2012-05-03 Andreas Jaeger <aj@suse.de>
25162 Roland McGrath <roland@hack.frob.com>
25164 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25165 intermediate file deletion.
25166 (generated): Add .symlist files.
25168 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25171 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25172 Redirect under this condition.
25173 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25174 [__USE_GNU] (__dprintf_chk): Not under this condition.
25175 [__USE_GNU] (__vdprintf_chk): Likewise.
25176 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25177 under this condition.
25178 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25179 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25180 [__USE_XOPEN2K8] (vdprintf): Likewise.
25181 [__USE_GNU] (__dprintf_chk): Not under this condition.
25182 [__USE_GNU] (__vdprintf_chk): Likewise.
25183 [__USE_GNU] (dprintf): Likewise.
25184 [__USE_GNU] (vdprintf): Likewise.
25186 2012-05-03 Roland McGrath <roland@hack.frob.com>
25188 * elf/Makefile (common-generated): Set this instead of generated for
25189 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25190 $(all-built-dso)-derived lists.
25192 2012-05-03 Andreas Jaeger <aj@suse.de>
25194 * sysdeps/i386/fpu/libm-test-ulps: Update.
25197 * FAQ.in: Likewise.
25198 * scripts/gen-FAQ.pl: Likewise.
25199 * manual/install.texi (Installation): Point to online location of
25201 * Makefile (files-for-dist): Remove FAQ.
25204 2012-05-02 Allan McRae <allan@archlinux.org>
25206 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25207 (LDFLAGS-reldepmod5.so): Likewise.
25208 (LDFLAGS-reldep6mod1.so): Likewise.
25209 (LDFLAGS-reldep6mod4.so): Likewise.
25210 (LDFLAGS-reldep8mod3.so): Likewise.
25211 (LDFLAGS-unload4mod1.so): Likewise.
25212 (LDFLAGS-unload4mod2.so): Likewise.
25213 (LDFLAGS-tst-initorder): Likewise.
25214 (LDFLAGS-tst-initordera2.so): Likewise.
25215 (LDFLAGS-tst-initordera3.so): Likewise.
25216 (LDFLAGS-tst-initordera4.so): Likewise.
25217 (LDFLAGS-tst-initorderb2.so): Likewise.
25218 (LDFLAGS-noload): Likewise.
25219 (LDFLAGS-next): Likewise.
25220 (LDFLAGS-order2mod1.so): Likewise.
25221 (LDFLAGS-order2mod2.so): Likewise.
25222 (LDFLAGS-tst-initorder2): Likewise.
25223 (LDFLAGS-tst-initorder2a.so): Likewise.
25224 (LDFLAGS-tst-initorder2b.so): Likewise.
25225 (LDFLAGS-tst-initorder2c.so): Likewise.
25226 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25228 2012-05-02 David S. Miller <davem@davemloft.net>
25230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25232 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25235 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25237 2012-05-02 Andreas Jaeger <aj@suse.de>
25239 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25240 since we manipulate rounding mode.
25241 (CPPFLAGS-test-idouble.c): Likewise.
25242 (CPPFLAGS-test-ifloat.c): Likewise.
25243 (CFLAGS-test-ldouble.c): Likewise.
25244 (CFLAGS-test-double.c): Likewise.
25245 (CFLAGS-test-float.c): Likewise.
25246 (CFLAGS-test-misc.c): Likewise.
25247 (CFLAGS-test-test-fenv.c): Likewise.
25249 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25254 comparisons to determine direction to adjust input.
25256 2012-05-01 Roland McGrath <roland@hack.frob.com>
25258 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25259 output to the target.
25261 * scripts/localplt.awk: New file.
25262 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25263 (check-localplt-CFLAGS): Variable removed.
25264 ($(all-built-dso:=.jmprel)): New static pattern rule.
25265 (generated): Add those targets.
25266 (localplt-built-dso): New variable.
25267 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25269 * elf/check-localplt.c: File removed.
25271 * scripts/check-execstack.awk: New file.
25272 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25273 (check-execstack-CFLAGS): Variable removed.
25274 ($(objpfx)check-execstack.h): Target removed.
25275 ($(objpfx)execstack-default): New target.
25276 (generated): Add that instead of check-execstack.h.
25277 ($(all-built-dso:=.phdr)): New static pattern rule.
25278 (generated): Add those targets.
25279 * elf/check-execstack.c: File removed.
25281 * scripts/check-textrel.awk: New file.
25282 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25283 (check-textrel-CFLAGS): Variable removed.
25284 (all-built-dso): Use := to define.o
25285 ($(all-built-dso:=.dyn)): New static pattern rule.
25286 (generated): Add those targets.
25287 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25288 * config.make.in (READELF): New substituted variable.
25289 * elf/check-textrel.c: File removed.
25291 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25293 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25295 * conform/data/ctype.h-data [C99-based standards] (isblank):
25297 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25298 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25300 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25301 Specify type. Require positive value.
25302 (EILSEQ): Likewise.
25303 (ERANGE): Likewise.
25304 [ISO || POSIX] (EILSEQ): Do not expect.
25305 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25306 Specify type. Require positive value.
25307 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25330 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25365 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25381 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25382 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25383 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25385 (FLT_ROUNDS): Expect as macro, not constant.
25386 (FLT_MANT_DIG): Use macro-int-constant.
25387 (DBL_MANT_DIG): Likewise.
25388 (LDBL_MANT_DIG): Likewise.
25389 (FLT_DIG): Likewise.
25390 (DBL_DIG): Likewise.
25391 (LDBL_DIG): Likewise.
25392 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25393 (DBL_MIN_EXP): Likewise.
25394 (LDBL_MIN_EXP): Likewise.
25395 (FLT_MAX_EXP): Use macro-int-constant.
25396 (DBL_MAX_EXP): Likewise.
25397 (LDBL_MAX_EXP): Likewise.
25398 (FLT_MAX_10_EXP): Likewise.
25399 (DBL_MAX_10_EXP): Likewise.
25400 (LDBL_MAX_10_EXP): Likewise.
25401 (FLT_MAX): Use macro-constant.
25402 (DBL_MAX): Likewise.
25403 (LDBL_MAX): Likewise.
25404 (FLT_EPSILON): Use macro-constant. Give upper bound.
25405 (DBL_EPSILON): Likewise.
25406 (LDBL_EPSILON): Likewise.
25407 (FLT_MIN): Likewise.
25408 (DBL_MIN): Likewise.
25409 (LDBL_MIN): Likewise.
25410 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25411 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25412 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25413 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25414 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25415 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25416 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25417 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25418 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25419 [ISO11] (FLT_TRUE_MIN): Likewise.
25420 [ISO11] (LDBL_TRUE_MIN): Likewise.
25421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25422 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25423 (SCHAR_MIN): Use macro-int-constant. Specify type.
25424 (SCHAR_MAX): Likewise.
25425 (UCHAR_MAX): Likewise.
25426 (CHAR_MIN): Likewise.
25427 (CHAR_MAX): Likewise.
25428 (MB_LEN_MAX): Use macro-int-constant.
25429 (SHRT_MIN): Use macro-int-constant. Specify type.
25430 (SHRT_MAX): Likewise.
25431 (USHRT_MAX): Likewise.
25432 (INT_MAX): Likewise.
25433 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25435 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25437 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25439 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25440 bound negative. Suffix upper bound with "L".
25441 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25443 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25445 [C99-based standards] (LLONG_MAX): Likewise.
25446 [C99-based standards] (ULLONG_MAX): Likewise.
25447 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25449 [ISO11] (max_align_t): Require type.
25450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25452 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25453 from $CFLAGS, without defining away __attribute__ calls.
25454 (checknamespace): Use $CFLAGS_namespace.
25456 * conform/conformtest.pl (@keywords): Only include C99 keywords
25457 for standards based on C99 or C11.
25459 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25461 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25464 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25465 usability of symbols in #if.
25467 * conform/conformtest.pl: If macro or constant types start
25468 "promoted:", expect the symbol to be of the following type
25469 promoted by the integer promotions.
25471 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25472 in one place. Also handle "macro-constant".
25474 * conform/conformtest.pl: Only accept expected macro values with
25475 "==". Parse all "macro" lines in one place.
25476 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25478 * conform/conformtest.pl: Handle braced types on "constant" lines
25479 instead of handling "typed-constant".
25480 * conform/data/signal.h-data: Use "constant" instead of
25483 * conform/conformtest.pl: Handle "optional-" at start of lines in
25484 one place rather than duplicating several cases. Handle each
25485 format of "macro" line with initial "optional-".
25487 * conform/conformtest.pl: Only accept expected constant or
25488 optional-constant values with "==". Parse all "constant" lines in
25489 one place. Parse all "optional-constant" lines in one place.
25490 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25491 * conform/data/fmtmsg.h-data: Likewise.
25492 * conform/data/netinet/in.h-data: Likewise.
25493 * conform/data/tar.h-data: Likewise.
25494 * conform/data/limits.h-data: Use "==" form on "constant" and
25495 "optional-constant" lines.
25497 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25498 Use -std=c99 for XOPEN2K.
25499 (@knownproblems): Remove.
25500 (newtoken): Don't check %isknown.
25502 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25503 Do not expect macro.
25504 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25508 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25509 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25516 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25517 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25518 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25520 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25521 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25522 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25524 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25525 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25529 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25530 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25531 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25533 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25534 [XPG3] (acosh): Likewise.
25535 [XPG3] (asinh): Likewise.
25536 [XPG3] (atanh): Likewise.
25537 [XPG3] (cbrt): Likewise.
25538 [XPG3] (expm1): Likewise.
25539 [XPG3] (ilogb): Likewise.
25540 [XPG3] (log1p): Likewise.
25541 [XPG3] (logb): Likewise.
25542 [XPG3] (nextafter): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25545 [XPG3] (remainder): Likewise.
25546 [XPG3] (rint): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25554 [UNIX98 || XOPEN2K] (scalb): Expect.
25555 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25556 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25693 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25694 _XOPEN_SOURCE_EXTENDED for XPG4.
25696 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25698 * Makeconfig (localtime): Remove variable.
25699 (inst_localtime-file): Likewise.
25701 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25722 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25726 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25727 comparisons to determine direction to adjust input.
25728 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25729 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25739 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25741 * math/libm-test.inc (nexttoward_test): Add more tests.
25743 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25747 in version GLIBC_2.1, not GLIBC_2.0.
25748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25751 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25756 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25757 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25758 * math/libm-test.inc (acos_test): Add more tests.
25759 (asin_test): Likewise.
25760 * sysdeps/i386/fpu/libm-test-ulps: Update.
25761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25766 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25767 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25768 * math/libm-test.inc (acos_test_tonearest): New function.
25769 (acos_test_towardzero): Likewise.
25770 (acos_test_downward): Likewise.
25771 (acos_test_upward): Likewise.
25772 (asin_test_tonearest): Likewise.
25773 (asin_test_towardzero): Likewise.
25774 (asin_test_downward): Likewise.
25775 (asin_test_upward): Likewise.
25776 (main): Call the new functions.
25777 * sysdeps/i386/fpu/libm-test-ulps: Update.
25778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25782 * math/e_exp10.c: Include <float.h>.
25783 (__ieee754_exp10): Handle underflow here rather than multiplying
25784 large negative argument by M_LN10.
25785 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25787 * math/e_exp10l.c: Include <float.h>.
25788 (__ieee754_exp10l): Handle underflow here rather than multiplying
25789 large negative argument by M_LN10l.
25790 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25791 spurious overflow exception on underflow.
25793 2012-04-29 Marek Polacek <polacek@redhat.com>
25795 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25796 (__fortify_function): New macro.
25797 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25798 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25799 __extern_always_inline.
25800 * libio/bits/stdio2.h: Likewise.
25801 * libio/bits/stdio.h: Likewise.
25802 * string/string.h: Likewise.
25803 * string/bits/string3.h: Likewise.
25804 * include/stdio.h: Likewise.
25805 * stdlib/bits/stdlib.h: Likewise.
25806 * stdlib/stdlib.h: Likewise.
25807 * rt/bits/mqueue2.h: Likewise.
25808 * rt/mqueue.h: Likewise.
25809 * posix/bits/unistd.h: Likewise.
25810 * posix/unistd.h: Likewise.
25811 * io/bits/poll2.h: Likewise.
25812 * io/bits/fcntl2.h: Likewise.
25813 * io/fcntl.h: Likewise.
25814 * io/sys/poll.h: Likewise.
25815 * misc/bits/syslog.h: Likewise.
25816 * misc/bits/syslog-ldbl.h: Likewise.
25817 * misc/sys/syslog.h: Likewise.
25818 * socket/bits/socket2.h: Likewise.
25819 * socket/sys/socket.h: Likewise.
25820 * debug/tst-chk1.c: Likewise.
25821 * wcsmbs/bits/wchar2.h: Likewise.
25822 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25823 * wcsmbs/wchar.h: Likewise.
25825 2012-04-29 Andreas Jaeger <aj@suse.de>
25827 * Makerules (tests): Remove enable-check-abi protection.
25828 (check-abi-warn): Remove.
25829 (check-abi-%): Remove check-abi-warn usage.
25831 * configure.in: Remove check-abi configure option.
25832 * configure: Regenerated.
25833 * config.make.in (enable-check-abi): Remove.
25835 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25838 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25839 double functions to double *_finite functions.
25842 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25843 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25845 * stdio-common/Makefile (tests): Add tst-sprintf3.
25846 * stdio-common/tst-sprintf3.c: New file.
25848 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25849 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25851 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25853 * conform/conformtest.pl: Remove duplicate typed-constant
25856 2012-04-28 David S. Miller <davem@davemloft.net>
25858 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25859 (check-abi-%): Remove AWK script prerequisite and explicit
25861 (check-abi): Rewrite to just diff the symlist with the abilist.
25862 (config-tls, config-abi-config): Delete, no longer used.
25863 (update-abi-%): Remove AWK script and explicit abilist directory.
25864 (update-abi): Rewrite to simply compare and conditionally copy the
25865 symlist and the sysdep abilist file. Remove update-abi-config
25867 * abilist/ld.abilist: Remove.
25868 * abilist/libBrokenLocale.abilist: Remove.
25869 * abilist/libanl.abilist: Remove.
25870 * abilist/libcrypt.abilist: Remove.
25871 * abilist/libdl.abilist: Remove.
25872 * abilist/librt.abilist: Remove.
25873 * abilist/libthread_db.abilist: Remove.
25874 * abilist/libutil.abilist: Remove.
25875 * scripts/extract-abilist.awk: Remove.
25876 * scripts/merge-abilist.awk: Remove.
25877 * sysdeps/generic/libcidn.abilist: New file.
25878 * sysdeps/generic/libnss_compat.abilist: New file.
25879 * sysdeps/generic/libnss_db.abilist: New file.
25880 * sysdeps/generic/libnss_dns.abilist: New file.
25881 * sysdeps/generic/libnss_files.abilist: New file.
25882 * sysdeps/generic/libnss_hesiod.abilist: New file.
25883 * sysdeps/generic/libnss_nis.abilist: New file.
25884 * sysdeps/generic/libnss_nisplus.abilist: New file.
25885 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25886 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25887 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25890 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25891 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25892 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25893 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25894 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25895 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25896 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25897 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25899 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25900 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25901 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25902 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25904 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25906 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25907 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25908 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25909 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25911 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25913 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25915 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26018 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26019 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26020 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26023 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26024 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26025 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26026 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26027 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26028 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26029 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26030 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26031 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26083 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26085 * conform/conformtest.pl: Fix typo in handling typed-constant from
26088 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26090 * README: Cut down references to pre-2.6 Linux kernels and
26091 Linuxthreads. Update lists of configurations in libc and ports
26092 and sort alphabetically. Say "or newer" with Linux kernel version
26095 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26097 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26100 * math/libm-test.inc (logb_test_downward): New test to expose
26101 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26104 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26107 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26109 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26110 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26112 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26114 * sysdeps/unix/i386/brk.S: Remove file.
26115 * sysdeps/unix/i386/dl-brk.S: Likewise.
26116 * sysdeps/unix/i386/pipe.S: Likewise.
26117 * sysdeps/unix/i386/sigreturn.S: Likewise.
26118 * sysdeps/unix/i386/syscall.S: Likewise.
26119 * sysdeps/unix/i386/vfork.S: Likewise.
26120 * sysdeps/unix/i386/wait.S: Likewise.
26122 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26123 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26125 * configure.in (arm*-none*): Do not allow without
26126 --enable-hacker-mode.
26127 (netbsd*): Remove case setting base_os.
26128 (386bsd*): Likewise.
26129 (freebsd*): Likewise.
26132 (sunos*): Likewise.
26133 (ultrix*): Likewise.
26134 (newsos*): Likewise.
26135 (dynix*): Likewise.
26141 (minix*): Likewise.
26142 (irix4*): Likewise.
26143 (irix6*): Likewise.
26144 (solaris[2-9]*): Likewise.
26146 * configure: Regenerated.
26148 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26151 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26152 overflow or cancellation in calculating denominator.
26153 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26155 down expression to avoid unexpected rounding in newer GCCs.
26156 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26158 2012-04-26 David S. Miller <davem@davemloft.net>
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26161 long-double compat symbols.
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26176 2012-04-25 David S. Miller <davem@davemloft.net>
26178 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26179 HWCAP_* values only after the memory barriers have been defined.
26180 (atomic_full_barrier): Define.
26181 (atomic_read_barrier): Define.
26182 (atomic_write_barrier): Define.
26184 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26186 * shlib-versions: Add libgcc_s version information.
26187 * sysdeps/generic/libgcc_s.h: Remove.
26188 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26190 * sysdeps/gnu/unwind-resume.c: Likewise.
26191 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26193 2012-04-25 David S. Miller <davem@davemloft.net>
26195 * sysdeps/unix/sparc/brk.S: Delete.
26196 * sysdeps/unix/sparc/dl-brk.S: Delete.
26197 * sysdeps/unix/sparc/pipe.S: Delete.
26198 * sysdeps/unix/sparc/sysdep.S: Delete.
26199 * sysdeps/unix/sparc/sysdep.h: Delete.
26200 * sysdeps/unix/sparc/vfork.S: Delete.
26201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26202 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26204 ret_ERRVAL, r0, r1, MOVE): Define.
26205 (JUMPTARGET): Remove.
26206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26207 sysdeps/unix/sparc/sysdep.h
26208 (ENTRY, END): Remove.
26209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26211 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26213 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26214 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26217 * timezone/README: Update upstream location and email address for
26219 * timezone/zdump.c: Update from tzcode 2012b.
26220 * timezone/zic.c: Likewise.
26222 * configure.in (libc_cv_as_needed): Remove test.
26223 * configure: Regenerated.
26224 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26225 conditional definition.
26226 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26227 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26228 * config.make.in (have-as-needed): Remove variable.
26230 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26231 Paul Pluzhnikov <ppluzhnikov@google.com>
26233 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26236 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26238 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26239 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26240 * sysdeps/sh/strlen.S: Likewise.
26242 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26244 * sysdeps/unix/fork.S: Remove file.
26245 * sysdeps/unix/i386/fork.S: Likewise.
26246 * sysdeps/unix/sparc/fork.S: Likewise.
26248 * sysdeps/unix/system.c: Remove file.
26249 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26251 * sysdeps/unix/getegid.S: Remove file.
26252 * sysdeps/unix/geteuid.S: Likewise.
26254 2012-04-24 Roland McGrath <roland@hack.frob.com>
26256 * scripts/check-localplt.awk: New file.
26257 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26259 * scripts/data/localplt-generic.data: Add a comment.
26261 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26262 NODE when __dir_mkfile failed.
26263 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26264 Reported by Ludovic Courtès <ludo@gnu.org>.
26266 2012-04-24 Andreas Jaeger <aj@suse.de>
26268 * Makerules (common-clean): Also remove gen-as-const-headers
26271 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26273 * Makerules (native-compile): Do not change working directory for
26274 build. Use $(OUTPUT_OPTION) in command.
26275 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26277 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26280 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26281 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26282 * math/libm-test.inc (floor_test): Add more tests.
26283 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26285 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26287 * sysdeps/unix/getdents.c: Remove file.
26288 * sysdeps/unix/sysv/getdents.c: Likewise.
26289 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26291 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26292 sysdeps/unix/mman/syscalls.list.
26294 (mprotect): Likewise.
26296 (munmap): Likewise.
26297 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26298 * sysdeps/unix/mman/syscalls.list: Remove.
26299 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26301 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26302 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26303 * configure: Regenerated.
26304 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26305 $(libgcc_s_suffix).
26306 * config.make.in (libgcc_s_suffix): Remove variable.
26308 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26310 * sysdeps/unix/sysv/gethostname.c: Move to ...
26311 * sysdeps/posix/gethostname.c: ... here.
26313 * sysdeps/unix/execve.S: Remove file.
26315 * sysdeps/unix/_exit.S: Remove file.
26317 2012-04-23 Andreas Jaeger <aj@suse.de>
26320 * manual/Makefile: Remove make dist support, there's no
26321 need for a stand-alone documentation tar ball.
26322 (TEXI2DVI): Define always, it's not in Makeconfig.
26325 (edition): Removed.
26326 (glibc-doc-$(edition).tar): Removed
26330 (ETAGS): Remove, it's in Makeconfig.
26331 (move-if-change): Remove, it's in Makeconfig.
26333 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26336 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26337 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26338 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26339 (strtod_l, strtof_l, strtold_l): Remove __wur.
26340 It is not necessarily an error to ignore strtol's return value.
26341 One can reliably look at the stored endptr to decide whether
26342 the number had valid syntax.
26344 2012-04-21 Andreas Jaeger <aj@suse.de>
26347 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26349 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26351 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26352 * sysdeps/unix/sysv/Versions: Remove file.
26354 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26359 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26363 version from __vm86.
26365 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26367 * sysdeps/unix/common/lxstat.c: Remove file.
26368 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26370 * sysdeps/unix/sysv/Makefile: Remove file.
26372 * sysdeps/unix/sysv/direct.h: Remove file.
26374 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26375 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26376 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26377 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26378 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26379 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26380 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26382 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26384 * sysdeps/unix/xmknod.c: Remove file.
26385 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26387 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26389 * sysdeps/unix/sysv/i386/time.S: Remove file.
26391 * sysdeps/unix/fxstat.c: Remove file.
26392 * sysdeps/unix/xstat.c: Likewise.
26393 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26395 * sysdeps/unix/sysv/sigaction.c: Remove file.
26397 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26398 (sysdep_headers): Remove variable.
26399 [termio.h not in sysdep_headers] (generated): Likewise.
26400 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26401 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26402 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26403 * sysdeps/unix/sysv/tcflow.c: Likewise.
26404 * sysdeps/unix/sysv/tcflush.c: Likewise.
26405 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26406 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26407 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26408 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26409 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26411 * sysdeps/unix/siglist.c: Remove file.
26413 * sysdeps/unix/getppid.S: Remove file.
26415 * sysdeps/unix/mkdir.c: Remove file.
26416 * sysdeps/unix/rmdir.c: Likewise.
26418 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26420 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26423 errlist-compat value.
26425 2012-04-18 David S. Miller <davem@davemloft.net>
26427 * sysdeps/generic/memcopy.h (reg_char): Delete.
26428 * debug/strcat_chk.c: Use char, not reg_char.
26429 * debug/strcpy_chk.c: Likewise.
26430 * debug/strncat_chk.c: Likewise.
26431 * debug/strncpy_chk.c: Likewise.
26432 * string/memchr.c: Likewise.
26433 * string/memrchr.c: Likewise.
26434 * string/rawmemchr.c: Likewise.
26435 * string/strcat.c: Likewise.
26436 * string/strchr.c: Likewise.
26437 * string/strchrnul.c: Likewise.
26438 * string/strcmp.c: Likewise.
26439 * string/strcpy.c: Likewise.
26440 * string/strncat.c: Likewise.
26441 * string/strncmp.c: Likewise.
26442 * string/strncpy.c: Likewise.
26444 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26446 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26447 __builtin_memcopy is called when src and dest ranges are known to not
26450 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26453 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26454 fwd_align_merge macro call.
26455 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26456 bwd_align_merge macro call.
26457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26459 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26461 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26462 bwd_align_merge macros.
26463 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26464 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26465 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26467 2012-04-18 David S. Miller <davem@davemloft.net>
26469 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26471 2012-04-18 Andreas Jaeger <aj@suse.de>
26474 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26475 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26476 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26479 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26482 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26483 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26484 Adjust for changed ldbl-128 files.
26486 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26487 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26490 2012-04-17 David S. Miller <davem@davemloft.net>
26492 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26494 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26496 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26497 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26498 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26499 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26500 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26501 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26503 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26506 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26507 * math/libm-test.inc: Add ilogb errno and exception tests.
26508 * math/w_ilogb.c: New file: ilogb wrapper.
26509 * math/w_ilogbf.c: New file: ilogbf wrapper.
26510 * math/w_ilogbl.c: New file: ilogbl wrapper.
26511 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26512 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26513 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26514 exception being thrown with 0.0 as argument.
26515 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26516 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26517 exception being thrown with 0.0 as argument.
26518 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26519 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26520 exception being thrown with 0.0 as argument.
26521 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26522 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26523 exception being thrown with 0.0 as argument.
26524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26525 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26527 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26528 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26529 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26530 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26531 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26532 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26534 2012-04-17 Petr Baudis <pasky@ucw.cz>
26536 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26539 2012-04-16 Marek Polacek <polacek@redhat.com>
26541 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26543 2012-04-16 Marek Polacek <polacek@redhat.com>
26545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26546 operands of fdivp instruction.
26548 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26550 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26551 * elf/tst-auditmod3b.c: Likewise.
26552 * elf/tst-auditmod4b.c: Likewise.
26553 * elf/tst-auditmod5b.c: Likewise.
26554 * elf/tst-auditmod6b.c: Likewise.
26555 * elf/tst-auditmod6c.c: Likewise.
26556 * elf/tst-auditmod7b.c: Likewise.
26557 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26558 * sysdeps/x86_64/preconfigure.in: Likewise.
26559 * sysdeps/x86_64/preconfigure: Regenerated.
26561 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26563 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26566 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26569 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26571 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26574 * locale/iso-639.def: Fix gl language name. Spotted by
26577 2012-04-12 Roland McGrath <roland@hack.frob.com>
26580 * libio/libio.h (__io_write_fn): Update comment.
26582 2012-04-12 Petr Baudis <pasky@ucw.cz>
26585 * stdio.texi (Hook Functions): The user provided writer function
26586 is not allowed to return -1.
26588 2012-04-11 David S. Miller <davem@davemloft.net>
26590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26592 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26594 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26595 Add a leading slash to rtkaio.
26597 2012-04-11 Jim Meyering <meyering@redhat.com>
26600 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26601 It is not necessarily an error to ignore fwrite's return
26602 value. One can reliably use ferror to test for errors after
26605 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26607 * bits/types.h (__snseconds_t): New type.
26608 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26610 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26612 (__SNSECONDS_T_TYPE): Likewise.
26613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26614 (__SNSECONDS_T_TYPE): Likewise.
26615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26616 (__SNSECONDS_T_TYPE): Likewise.
26618 2012-04-10 Andreas Jaeger <aj@suse.de>
26621 * manual/time.texi (Processor Time): Return type of times is
26622 elapsed real time since an arbitrary point in the past.
26623 (CPU Time): Move CLK_TCK from here...
26624 (Processor Time): ...to here. Correct description.
26625 * manual/conf.texi (Constants for Sysconf): Correct description of
26628 2012-04-10 David S. Miller <davem@davemloft.net>
26631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26632 where the is a gap between DT_REL(A) and DT_JMPREL.
26634 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26636 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26637 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26638 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26640 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26642 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26643 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26644 (dl_main): Handle --inhibit-cache.
26645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26647 * elf/dl-load.c (_dl_map_object): Use it.
26648 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26650 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26653 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26654 (__ieee754_powl): Saturate large exponents rather than testing for
26655 overflow of y*log2(x).
26656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26657 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26661 * math/s_ctan.c: Include <float.h>.
26662 (__ctan): Avoid internal overflow or cancellation in calculating
26664 * math/s_ctanf.c: Likewise.
26665 * math/s_ctanl.c: Likewise.
26666 * math/s_ctanh.c: Likewise.
26667 * math/s_ctanhf.c: Likewise.
26668 * math/s_ctanhl.c: Likewise.
26669 * math/libm-test.inc (ctan_test): Add more tests.
26670 (ctanh_test): Likewise.
26671 * sysdeps/i386/fpu/libm-test-ulps: Update.
26672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26674 2012-04-09 Andreas Jaeger <aj@suse.de>
26677 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26678 is an optional BSD extension.
26681 * manual/stdio.texi (Opening Streams): Document additional fopen
26684 2012-04-09 Roland McGrath <roland@hack.frob.com>
26686 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26687 %eax without telling the compiler.
26689 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26692 * manual/install.texi: Use sourceware.org.
26694 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26698 (__ieee754_pow): Generate overflow and underflow using huge*huge
26699 and tiny*tiny rather than just returning constant infinity or zero
26700 for large exponents.
26701 * math/libm-test.inc (pow_test): Require overflow exceptions for
26702 applicable cases of large exponents.
26705 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26706 (__ieee754_pow): Use iterative multiplication algorithm only for
26707 integer exponents with absolute value below 1024. Check for odd
26708 integer exponents when using algorithm for real exponents.
26709 * math/libm-test.inc (pow_test): Add more tests.
26710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26712 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26715 * math/libm-test.inc (exp_test): Do not allow overflow exception
26718 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26721 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26722 instead of __kernel_standard_f.
26724 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26726 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26727 * sysdeps/x86_64/memset_chk.S: Likewise.
26729 2012-04-08 Andreas Jaeger <aj@suse.de>
26732 * manual/startup.texi (Environment Access): Describe return value
26733 for putenv and setenv.
26736 * manual/filesys.texi (Directory Entries): Add description for
26740 * manual/filesys.texi (Directory Entries): Clarify that it's file
26741 system not operating system in the description of DT_UNKNOWN.
26744 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26746 2012-04-08 Stephen Compall <s11@member.fsf.org>
26749 * manual/llio.texi (Opening and Closing Files): Add cross
26750 reference to explain mode argument.
26752 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26754 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26755 * sysdeps/x86_64/memset_chk.S: Likewise.
26757 2012-04-07 David S. Miller <davem@davemloft.net>
26759 * elf/elf.h (R_SPARC_WDISP10): Define.
26760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26763 R_SPARC_SIZE64 and R_SPARC_H34.
26765 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26768 conditions and remove no longer applicable assertion.
26770 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26772 * bits/byteswap.h: Include <features.h>.
26773 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26774 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26776 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26778 * bits/byteswap.h (__bswap_16): Removed.
26779 Include <bits/byteswap-16.h> to get __bswap_16.
26780 * sysdeps/i386/bits/byteswap.h: Likewise.
26781 * sysdeps/s390/bits/byteswap.h: Likewise.
26782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26783 * bits/byteswap-16.h: New file.
26784 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26785 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26786 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26787 * string/Makefile (headers): Add bits/byteswap-16.h.
26789 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26792 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26794 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26795 * nss/tst-nss-static.c: New.
26797 2012-04-06 Robert Millan <rmh@gnu.org>
26800 * manual/llio.texi (File Position Primitive): lseek
26801 refers to WHENCE when it really means OFFSET.
26803 2012-04-06 Andreas Jaeger <aj@suse.de>
26805 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26806 strncmp declarations.
26808 * abilist/libc.abilist: Add __poll and __ppoll.
26810 2012-04-05 David S. Miller <davem@davemloft.net>
26812 * scripts/check-local-headers.sh: Accept a host triplet in the
26813 path matched by the exclude regexp.
26815 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26817 * sysdeps/powerpc/powerpc32/dl-machine.h
26818 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26819 * sysdeps/s390/s390-32/dl-machine.h
26820 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26821 * sysdeps/sparc/sparc32/dl-machine.h
26822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26823 * sysdeps/sparc/sparc64/dl-machine.h
26824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26826 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26828 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26829 undefined symbol errors.
26831 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26834 2012-04-05 Michael Matz <matz@suse.de>
26837 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26839 2012-04-05 Andreas Jaeger <aj@suse.de>
26842 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26848 which ROUND is no valid rounding mode.
26850 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26852 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26854 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26856 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26859 an exception using FPU order intentionally.
26861 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26864 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26865 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26866 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26868 2012-04-05 Simon Josefsson <simon@josefsson.org>
26871 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26872 EINVAL when BUFLEN is too smal.
26874 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26877 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26878 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26880 2012-04-03 Andreas Jaeger <aj@suse.de>
26883 * manual/setjmp.texi (System V contexts): Fix sentence.
26886 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26887 New macro for this case.
26888 [!__GNUC__] (__bswap_64): New inline function for this case.
26889 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26890 * bits/byteswap.h: Likewise.
26891 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26892 ull, guard with __GLIBC_HAVE_LONG_LONG.
26894 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26895 __GLIBC_HAVE_LONG_LONG.
26897 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26898 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26900 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26903 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26904 inptr and inend, rather than using last_ch.
26906 2012-04-02 David S. Miller <davem@davemloft.net>
26908 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26909 * stdio-common/printf-parse.h (read_int): Change return type to
26910 'int', return -1 on INT_MAX overflow.
26911 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26912 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26913 overflows INT_MAX. Check for overflow of in-format-string precision
26914 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26915 SIZE_MAX not INT_MAX for integer overflow test.
26916 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26917 skip the construct in the format string but do not record anything.
26918 * stdio-common/bug22.c: Adjust to test both width/prevision
26919 INT_MAX overflow as well as total length INT_MAX overflow. Check
26920 explicitly for proper errno values.
26922 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26924 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26926 * string/test-strcmp.c [! WIDE]: Likewise.
26927 * time/tst-mktime2.c: Likewise for INT_MAX.
26928 * string/test-string.h: #include <sys/param.h> for MIN.
26930 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26931 * sysdeps/i386/init-first.c (init): Likewise.
26932 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26933 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26934 * sysdeps/sh/init-first.c (init): Likewise.
26936 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26938 * po/ru.po: Update from translation team.
26939 * po/vi.po: Likewise.
26941 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26943 * resolv/nss_dns/dns-host.c: Merge copyright years.
26945 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26948 Optimize memcpy with prefetch if
26949 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26950 src, dst pointers have unequal 16 byte alignments.
26952 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26955 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26956 from a CNAME entry and return the minimum ttl for the query.
26957 (gaih_getanswer_slice): Likewise.
26959 2012-03-30 Jeff Law <law@redhat.com>
26961 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26963 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26964 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26966 * resolv/nss_dns/dns-host.c: Update copyright year.
26968 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26970 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26971 requests to save a system call. Fix check that all bytes are sent.
26973 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26974 comments for sendmmsg.
26976 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26979 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26980 with only 1 character between 0x0041 and 0x01b0.
26981 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26982 * wcsmbs/tst-mbsnrtowcs.c: New file.
26984 2012-03-29 David S. Miller <davem@davemloft.net>
26986 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26987 small copies by hand.
26989 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26992 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26993 _nss_compat_initgroups_dyn): Fall back to malloc/free
26994 for large group memberships.
26996 2012-03-28 David S. Miller <davem@davemloft.net>
26998 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26999 that branches into memcpy.
27000 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27003 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27006 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27007 implementation too.
27008 * sysdeps/sparc/mempcpy.S: New file.
27010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27011 the IFUNC routine in the libc case.
27012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27014 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27016 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27017 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27018 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27019 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27020 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27021 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27023 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27024 loop to 256 bytes instead of 64 bytes and fix test signedness.
27026 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27027 * sysdeps/sparc/sparc32/Makefile: rather than here...
27028 * sysdeps/sparc/sparc64/Makefile: and here.
27030 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27032 * malloc/mallocbug.c: Avoid warnings about unused variables.
27034 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27037 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27038 in the right place. Discard and retry query if response is
27039 larger than input buffer size.
27041 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27046 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27047 x for large integer exponent.
27048 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27049 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27050 sign of result as needed afterwards.
27051 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27052 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27053 result for underflowing pow the same as for overflow.
27054 (__kernel_standard_l): Handle powl overflow and underflow here
27055 rather than calling __kernel_standard.
27056 * math/libm-test.inc (pow_test): Add more tests.
27071 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27072 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27073 (__kernel_standard_l): New function.
27074 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27076 * math/w_acosl.c (__acosl): Likewise.
27077 * math/w_asinl.c (__asinl): Likewise.
27078 * math/w_atan2l.c (__atan2l): Likewise.
27079 * math/w_atanhl.c (__atanhl): Likewise.
27080 * math/w_coshl.c (__coshl): Likewise.
27081 * math/w_exp10l.c (__exp10l): Likewise.
27082 * math/w_exp2l.c (__exp2l): Likewise.
27083 * math/w_fmodl.c (__fmodl): Likewise.
27084 * math/w_hypotl.c (__hypotl): Likewise.
27085 * math/w_j0l.c (__j0l, __y0l): Likewise.
27086 * math/w_j1l.c (__j1l, __y1l): Likewise.
27087 * math/w_jnl.c (__jnl, __ynl): Likewise.
27088 * math/w_lgammal.c (__lgammal): Likewise.
27089 * math/w_log10l.c (__log10l): Likewise.
27090 * math/w_log2l.c (__log2l): Likewise.
27091 * math/w_logl.c (__logl): Likewise.
27092 * math/w_powl.c (__powl): Likewise.
27093 * math/w_remainderl.c (__remainderl): Likewise.
27094 * math/w_scalbl.c (sysv_scalbl): Likewise.
27095 * math/w_sinhl.c (__sinhl): Likewise.
27096 * math/w_sqrtl.c (__sqrtl): Likewise.
27097 * math/w_tgammal.c (__tgammal): Likewise.
27098 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27099 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27100 * math/libm-test.inc (acos_test): Add more tests.
27101 (acosh_test): Likewise.
27102 (asin_test): Likewise.
27103 (atanh_test): Likewise.
27104 (exp_test): Likewise.
27105 (exp10_test): Likewise.
27106 (exp2_test): Likewise.
27107 (expm1_test): Likewise.
27108 (lgamma_test): Likewise.
27109 (log_test): Likewise.
27110 (log10_test): Likewise.
27111 (log1p_test): Likewise.
27112 (log2_test): Likewise.
27113 (pow_test): Do not allow some spurious overflow exceptions.
27114 (sqrt_test): Add more tests.
27115 (tgamma_test): Likewise.
27116 (y0_test): Likewise.
27117 (y1_test): Likewise.
27118 (yn_test): Likewise.
27120 2012-03-27 Anton Blanchard <anton@samba.org>
27122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27128 2012-03-27 David S. Miller <davem@davemloft.net>
27130 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27132 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27133 have-as-vis3 check.
27135 2012-03-27 Andreas Jaeger <aj@suse.de>
27137 * sysdeps/x86_64/elf/configure.in: Moved to ...
27138 * sysdeps/x86_64/configure.in: ... here.
27139 * sysdeps/x86_64/elf/start.S: Moved to ...
27140 * sysdeps/x86_64/start.S: ... here.
27141 * sysdeps/x86_64/elf/configure: Delete.
27143 * sysdeps/x86_64/configure.in: Merge contents from
27144 sysdeps/i386/configure.in (without i686 check).
27146 * sysdeps/i386/elf/Versions: Merge into ...
27147 * sysdeps/i386/Versions: ... this.
27148 * sysdeps/i386/elf/Versions: Delete file.
27149 * sysdeps/i386/elf/start.S: Moved to ...
27150 * sysdeps/i386/start.S: ...here.
27151 * sysdeps/i386/elf/configure.in: Merge into...
27152 * sysdeps/i386/configure.in: ...here.
27153 * sysdeps/i386/elf/configure.in: Delete file.
27154 * sysdeps/i386/elf/configure: Delete file.
27156 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27157 * debug/backtracesyms.c: ... here.
27158 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27159 * debug/backtracesymsfd.c: ... here.
27160 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27161 * sysdeps/generic/ifunc-sel.h: ... here.
27163 * sysdeps/unix/i386/start.c: Delete file.
27164 * sysdeps/unix/sparc/start.c: Delete file.
27165 * sysdeps/unix/start.c: Delete file.
27167 * sysdeps/sh/elf/configure.in: Moved to ...
27168 * sysdeps/sh/configure.in: ... here.
27169 * sysdeps/sh/elf/start.S: Moved to ...
27170 * sysdeps/sh/start.S: ... here.
27171 * sysdeps/sh/elf/configure: Delete file.
27173 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27174 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27175 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27176 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27177 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27178 * sysdeps/powerpc/powerpc64/start.S: here.
27179 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27180 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27181 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27182 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27183 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27185 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27186 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27187 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27188 * sysdeps/powerpc/powerpc32/start.S: ... here.
27189 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27190 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27191 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27193 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27194 * sysdeps/powerpc/ifunc-sel.h: ... here.
27195 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27196 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27198 * sysdeps/sparc/elf/configure.in: Moved to ...
27199 * sysdeps/sparc/configure.in: ... here.
27200 * sysdeps/sparc/elf/configure: Delete file.
27201 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27202 * sysdeps/sparc/sparc32/start.S: ... here.
27203 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27204 * sysdeps/sparc/sparc64/start.S: ... here.
27205 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27206 * sysdeps/sparc/sparc32/Makefile: ... this.
27207 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27208 * sysdeps/sparc/sparc64/Makefile: ... this.
27210 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27211 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27212 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27213 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27214 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27215 * sysdeps/s390/s390-32/setjmp.S: ... here.
27216 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27217 * sysdeps/s390/s390-32/configure.in: ... here.
27218 * sysdeps/s390/s390-32/elf/configure: Delete file.
27219 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27220 * sysdeps/s390/s390-32/start.S: ... here.
27222 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27223 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27224 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27225 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27226 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27227 * sysdeps/s390/s390-64/setjmp.S: ... here.
27228 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27229 * sysdeps/s390/s390-64/configure.in: ... here
27230 * sysdeps/s390/s390-64/elf/configure: Delete file.
27231 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27232 * sysdeps/s390/s390-64/start.S: ... here.
27233 * sysdeps/s390/s390-64/elf/configure: Delete.
27235 * configure.in: Remove support for elf directories in sysdeps.
27237 * configure: Regenerated.
27238 * sysdeps/i386/configure: Regenerated.
27239 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27240 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27241 * sysdeps/s390/s390-32/configure: Regenerated.
27242 * sysdeps/s390/s390-64/configure: Regenerated.
27243 * sysdeps/sh/configure: Regenerated.
27244 * sysdeps/sparc/configure: Regenerated.
27245 * sysdeps/x86_64/configure: Regenerated.
27247 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27252 denormal result into account.
27254 2012-03-25 Roland McGrath <roland@hack.frob.com>
27256 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27257 Reported by Allan McRae <allan@archlinux.org>.
27259 2012-03-23 Jeff Law <law@redhat.com>
27261 * nss/getnssent.c (__nss_getent): Fix typo.
27263 2012-03-23 David S. Miller <davem@davemloft.net>
27265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27267 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27269 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27270 to pad to uint64_t for each field.
27271 (dl_tls_index): Replace unsigned long with uint64_t.
27273 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27274 Paul Pluzhnikov <ppluzhnikov@google.com>
27277 * grp/Makefile (otherlibs): Don't set it.
27278 * inet/Makefile (otherlibs): Likewise.
27279 * login/Makefile (otherlibs): Likewise.
27280 * nscd/Makefile (otherlibs): Likewise.
27281 * posix/Makefile (otherlibs): Likewise.
27282 * pwd/Makefile (otherlibs): Likewise.
27283 * rt/Makefile (otherlibs): Likewise.
27284 * sunrpc/Makefile (otherlibs): Likewise.
27285 * nss/Makefile (otherlibs): Likewise.
27286 Add libnss_files to routines and static-only-routines.
27287 ($(objpfx)getent): Remove rule.
27288 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27289 static-only-routines.
27291 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27294 * math/s_cexp.c: Include <float.h>.
27295 (__cexp): Handle exp result overflowing not necessarily
27296 overflowing both real and imaginary parts of result.
27297 * math/s_cexpf.c: Likewise.
27298 * math/s_cexpl.c: Likewise.
27299 * math/libm-test.inc (cexp_test): Add more tests.
27300 * sysdeps/i386/fpu/libm-test-ulps: Update.
27301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27303 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27305 * include/link.h (ELFW): New macro.
27306 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27307 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27309 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27311 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27314 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27316 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27318 (struct La_x32_retval): Likewise.
27320 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27322 * sysdeps/x86_64/preconfigure.in: New file.
27323 * sysdeps/x86_64/preconfigure: New generated file.
27325 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27328 * math/e_exp2l.c: Include <float.h>.
27329 (__ieee754_exp2l): Handle overflow and underflow cases
27330 separately. Only pass fractional part of argument to
27332 * math/libm-test.inc (exp2_test): Add more tests.
27334 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27335 negating x to take absolute value.
27336 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27341 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27342 computing low part if x was negated.
27343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27345 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27347 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27348 la_x32_gnu_pltexit.
27349 (pltexit): Cast int_retval to ptrdiff_t.
27350 * elf/tst-auditmod3b.c: Likewise.
27351 * elf/tst-auditmod4b.c: Likewise.
27352 * elf/tst-auditmod5b.c: Likewise.
27353 * elf/tst-auditmod6b.c: Likewise.
27354 * elf/tst-auditmod6c.c: Likewise.
27355 * elf/tst-auditmod7b.c: Likewise.
27357 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27358 and x32_gnu_pltexit.
27360 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27361 __ELF_NATIVE_CLASS.
27362 (La_x32_regs): New macro.
27363 (La_x32_retval): Likewise.
27364 (la_x32_gnu_pltenter): New function prototype.
27365 (la_x32_gnu_pltexit): Likewise.
27367 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27374 * configure.in (libc_cv_cc_nofma): Check for option to disable
27375 generation of FMA instructions.
27376 * configure: Regenerate.
27377 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27378 * sysdeps/ieee754/dbl-64/Makefile: New file.
27379 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27380 Remove brandred-fma4.
27381 (CFLAGS-brandred-fma4.c): Remove.
27382 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27383 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27388 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27390 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27391 LLONG_MAX != LONG_MAX.
27392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27393 (_fitoa_word): Likewise.
27394 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27395 LLONG_MAX != LONG_MAX.
27396 * stdio-common/_itowa.h: Include <_itoa.h>.
27397 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27398 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27399 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27400 only if not defined.
27401 (_ITOA_WORD_TYPE): Likewise.
27402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27403 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27405 2012-03-21 David S. Miller <davem@davemloft.net>
27407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27409 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27412 of x86_64 when setting libc_cv_slibdir, libdir and
27414 * sysdeps/unix/sysv/linux/configure: Regenerated.
27416 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27418 * manual/lang.texi (Old Varargs): Remove section.
27419 (How Variadic): Update menu.
27420 (va_start): Do not mention varargs.h.
27422 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27423 Joseph Myers <joseph@codesourcery.com>
27425 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27427 * configure: Regenerated.
27429 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27431 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27432 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27435 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27438 * Makefile (files-for-dist): Remove NOTES.
27439 (NOTES): Remove rule.
27440 * README: Don't refer to NOTES.
27441 * manual/creature.texi: Don't include macros.texi.
27442 * manual/intro.texi (creature.texi): Remove comment referring to
27445 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27446 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27447 * configure: Regenerated.
27448 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27449 LIBC_TRY_CC_OPTION.
27450 (libc_cv_as_i686): Likewise.
27451 (libc_cv_cc_avx): Likewise.
27452 (libc_cv_cc_sse2avx): Likewise.
27453 (libc_cv_cc_fma4): Likewise.
27454 (libc_cv_cc_novzeroupper): Likewise.
27455 * sysdeps/i386/configure: Regenerated.
27458 * sysdeps/i386/fpu/s_cexp.S: Remove.
27459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27460 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27461 * math/libm-test.inc (cexp_test): Add more tests.
27462 * sysdeps/i386/fpu/libm-test-ulps: Update.
27463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27465 2012-03-21 Allan McRae <allan@archlinux.org>
27467 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27469 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27472 * math/w_exp2.c: Do not include <float.h>.
27473 (o_threshold, u_threshold): Remove.
27474 (__exp2): Calculate result before checking finiteness and calling
27476 * math/w_exp2f.c: Likewise.
27477 * math/w_exp2l.c: Likewise.
27478 * math/libm-test.inc (exp2_test): Require overflow exception for
27482 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27483 range of signed 64-bit integers before using fistpll. Remove
27484 checks for whether integers fit in mantissa bits.
27485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27486 the range of signed 32-bit integers before using fistpl. Remove
27487 checks for whether integers fit in mantissa bits.
27488 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27489 (__ieee754_powl): Test for y outside the range of signed 64-bit
27490 integers before using fistpll. Reduce 64-bit values to 63-bit
27492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27493 divide-by-zero is raised for zero to large negative powers.
27494 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27495 (__ieee754_powl): Test for y outside the range of signed 64-bit
27496 integers before using fistpll. Reduce 64-bit values to 63-bit
27498 * math/libm-test.inc (pow_test): Add more tests.
27500 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27502 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27503 <stdio-common/_itoa.h>.
27504 * debug/segfault.c: Likewise.
27505 * elf/dl-cache.c: Likewise.
27506 * elf/dl-minimal.c: Likewise.
27507 * elf/dl-misc.c: Likewise.
27508 * elf/dl-sysdep.c: Likewise.
27509 * elf/dl-version.c: Likewise.
27510 * elf/rtld.c: Likewise.
27511 * hurd/hurdsock.c: Likewise.
27512 * hurd/lookup-retry.c: Likewise.
27513 * malloc/malloc.c: Likewise.
27514 * malloc/mtrace.c: Likewise.
27515 * nscd/nscd_getgr_r.c: Likewise.
27516 * nscd/nscd_getpw_r.c: Likewise.
27517 * nscd/nscd_getserv_r.c: Likewise.
27518 * posix/getopt_init.c: Likewise.
27519 * posix/wordexp.c: Likewise.
27520 * stdio-common/_itoa.c: Likewise.
27521 * stdio-common/printf_fphex.c: Likewise.
27522 * stdio-common/vfprintf.c: Likewise.
27523 * string/_strerror.c: Likewise.
27524 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27525 * sysdeps/i386/i686/hp-timing.h: Likewise.
27526 * sysdeps/mach/_strerror.c: Likewise.
27527 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27528 * sysdeps/mach/hurd/sethostid.c: Likewise.
27529 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27530 * sysdeps/mach/xpg-strerror.c: Likewise.
27531 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27533 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27534 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27536 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27538 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27539 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27540 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27541 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27542 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27543 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27544 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27546 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27547 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27548 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27549 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27550 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27551 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27553 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27555 * stdio-common/_itoa.h: Moved to ...
27556 * sysdeps/generic/_itoa.h: Here.
27558 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27560 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27561 instead of "_itoa.h" and "_itowa.h".
27562 * stdio-common/vfprintf.: Likewise.
27564 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27568 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27569 (__signbit): Likwise.
27570 (llrintf): Likwise.
27573 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27575 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27578 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27580 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27581 OVERFLOW_EXCEPTION_OK.
27582 * math/libm-test.inc ("Philosophy"): Update comment about
27584 (OVERFLOW_EXCEPTION): Define.
27585 (OVERFLOW_EXCEPTION_OK): Likewise.
27586 (INVALID_EXCEPTION_OK): Renumber.
27587 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27588 (IGNORE_ZERO_INF_SIGN): Likewise.
27589 (test_exceptions): Handle FE_OVERFLOW.
27590 (exp10_test): Expect overflow exceptions.
27591 (exp2_test): Likewise.
27592 (expm1_test): Likewise.
27593 (nextafter_test): Likewise.
27594 (pow_test): Likewise.
27595 (scalbn_test): Likewise.
27596 (scalbln_test): Likewise.
27598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27600 * sysdeps/x86_64/bits/atomic.h
27601 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27603 (atomic_exchange_acq): Likewise.
27604 (__arch_exchange_and_add_body): Likewise.
27605 (__arch_add_body): Likewise.
27606 (atomic_add_negative): Likewise.
27607 (atomic_add_zero): Likewise.
27609 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27611 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27612 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27614 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27616 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27617 Check __x86_64__ instead of __WORDSIZE.
27619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27621 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27623 2012-03-19 David S. Miller <davem@davemloft.net>
27625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27627 * sysdeps/sparc/fpu/fenv_private.h: New file.
27628 * sysdeps/sparc/fpu/math_private.h: Use it.
27629 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27631 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27632 (libc_feholdexcept_setroundl): Remove.
27633 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27635 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27636 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27638 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27640 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27641 int64_t instead of long int.
27642 (INSERT_WORDS64): Likwise.
27644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27646 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27647 _Unwind_GetCFA return to _Unwind_Ptr first.
27649 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27652 * math/s_clog.c: Include <float.h>.
27653 (__clog): Scale large or subnormal inputs.
27654 * math/s_clogf.c: Likewise.
27655 * math/s_clogl.c: Likewise.
27656 * math/s_clog10.c: Include <float.h>.
27657 (M_LOG10_2): Define.
27658 (__clog10): Scale large or subnormal inputs.
27659 * math/s_clog10f.c: Likewise.
27660 * math/s_clog10l.c: Likewise.
27661 * math/libm-test.inc (clog_test): Add more tests.
27662 (clog10_test): Likewise.
27663 * sysdeps/i386/fpu/libm-test-ulps: Update.
27664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27667 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27669 * math/libm-test.inc (atan2_test): Add another test.
27671 * Makerules (common-objdir-compile): Remove.
27672 * sysdeps/unix/Makefile (config-generated): Do not add
27673 $(unix-generated) to variable.
27674 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27675 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27677 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27679 [generic bits/local_lim.h] (before-compile): Do not append to
27681 [generic bits/local_lim.h] (common-generated): Likewise.
27682 [generic sys/param.h] (before-compile): Do not append to variable.
27683 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27684 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27685 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27688 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27689 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27690 [generic sys/param.h] ($(addprefix
27691 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27692 [generic sys/param.h] (common-generated): Do not append to
27694 [generic sys/param.h] (sysdep_headers): Likewise.
27695 [generic bits/errno.h] (before-compile): Do not append to
27697 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27699 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27700 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27701 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27702 [generic bits/errno.h] (common-generated): Do not append to
27704 [generic bits/ioctls.h] (before-compile): Do not append to
27706 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27708 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27709 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27710 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27712 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27713 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27714 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27715 [generic bits/ioctls.h] (common-generated): Do not append to
27717 [generic sys/syscall.h] (syscall.h): Remove variable.
27718 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27720 [generic sys/syscall.h] (before-compile): Do not append to
27722 [generic sys/syscall.h] (common-generated): Likewise.
27723 * sysdeps/unix/errnos-tmpl.c: Remove file.
27724 * sysdeps/unix/errnos.awk: Likewise.
27725 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27726 * sysdeps/unix/ioctls.awk: Likewise.
27727 * sysdeps/unix/mk-local_lim.c: Likewise.
27728 * sysdeps/unix/snarf-ioctls: Likewise.
27730 2012-03-19 Richard Henderson <rth@twiddle.net>
27732 * sysdeps/i386/fpu/fenv_private.h: New file.
27733 * sysdeps/i386/fpu/math_private.h: Use it.
27734 (math_opt_barrier, math_force_eval): Remove.
27735 (libc_feholdexcept_setround_53bit): Remove.
27736 (libc_feupdateenv_53bit): Remove.
27737 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27738 (math_opt_barrier, math_force_eval): Remove.
27739 (libc_feholdexcept): Remove.
27740 (libc_feholdexcept_setround): Remove.
27741 (libc_fetestexcept, libc_fesetenv): Remove.
27742 (libc_feupdateenv_test): Remove.
27743 (libc_feupdateenv, libc_feholdsetround): Remove.
27744 (libc_feresetround): Remove.
27746 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27747 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27749 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27750 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27751 (libc_feupdateenv_testl): New.
27752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27753 (libc_feupdateenv_testf): New.
27754 (libc_feupdateenv): Use libc_feupdateenv_test.
27755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27758 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27759 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27760 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27761 (libc_feresetround_noex): New.
27762 (libc_feresetround_noexf): New.
27763 (libc_feresetround_noexl): New.
27764 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27765 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27766 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27767 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27772 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27773 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27774 SET_RESTORE_ROUND_NOEX.
27775 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27776 SET_RESTORE_ROUND_NOEXF.
27777 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27778 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27779 (libc_feholdsetroundf): New.
27780 (libc_feresetround, libc_feresetroundf): New.
27782 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27783 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27784 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27786 * sysdeps/generic/math_private.h: Include <fenv.h>.
27787 (default_libc_feholdexcept): New.
27788 (default_libc_feholdexcept_setround): New.
27789 (default_libc_fesetenv, default_libc_feupdateenv): New.
27790 (libc_feholdexcept): Only define if undefined.
27791 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27793 (libc_feholdexcept_setroundl): Likewise.
27794 (libc_feholdexcept_setround_53bit): Likewise.
27795 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27798 (libc_feupdateenv_53bit): Likewise.
27799 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27800 (libc_feholdexcept): Convert from macro to inline function.
27801 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27802 (libc_fesetenv, libc_feupdateenv): Likewise.
27804 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27805 not previously defined.
27806 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27807 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27808 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27809 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27810 * sysdeps/ieee754/flt-32/math_private.h: New file.
27811 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27812 math_private.h below SET_FLOAT_WORD.
27813 (__isnan, __isinf_ns, __finite): Remove.
27814 (__isnanf, __isinf_nsf, __finitef): Remove.
27816 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27820 2012-03-17 David S. Miller <davem@davemloft.net>
27823 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27826 2012-03-16 David S. Miller <davem@davemloft.net>
27828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27832 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27834 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27835 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27836 sysdep_routines when subdir is sysvipc.
27837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27838 __getshmlba helper.
27840 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27842 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27844 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27847 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27850 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27851 (__lround): Renamed to ...
27852 (__llround): This. Replace long int with long long int.
27853 Define lround functions as aliases of llround functions.
27854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27856 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27858 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27859 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27860 adresses to uintptr_t. Replace "long int" and "unsigned long
27861 int" with "greg_t" on va_arg.
27863 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27865 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27866 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27868 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27869 Move e_machine check before EI_CLASS check. Handle x32
27870 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27871 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27872 SKIP_EM_IA_64 and include
27873 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27875 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27876 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27877 (add_system_dir): New macro.
27879 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27880 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27882 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27893 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27895 * math/w_j0f.c (j0f): Likewise.
27897 * math/w_j0l.c (__j0l): Likewise.
27899 * math/w_j1.c (j1): Likewise.
27901 * math/w_j1f.c (j1f): Likewise.
27903 * math/w_j1l.c (__j1l): Likewise.
27905 * math/w_jn.c (jn): Likewise.
27907 * math/w_jnf.c (jnf): Likewise.
27909 * math/w_jnl.c (__jnl): Likewise.
27911 * math/libm-test.inc (j0_test): Add more tests.
27912 (j1_test): Likewise.
27913 (jn_test): Likewise. Add trailing semicolon to existing test.
27914 (y0_test): Likewise.
27915 (y1_test): Likewise.
27916 * sysdeps/i386/fpu/libm-test-ulps: Update.
27917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27921 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27922 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27923 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27924 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27925 (__tanl): Set errno for infinite argument.
27926 * sysdeps/i386/fpu/mptan.c: Remove.
27927 * sysdeps/i386/fpu/s_tan.S: Likewise.
27928 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27929 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27930 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27931 * math/libm-test.inc (tan_test): Add more tests and enable more
27932 tests for double and long double.
27933 * sysdeps/i386/fpu/libm-test-ulps: Update.
27934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27936 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27938 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27939 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27941 2012-03-16 Roland McGrath <roland@hack.frob.com>
27943 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27944 * configure.in: Use it for both main tree and add-ons.
27945 * configure: Regenerated.
27947 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27949 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27951 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27957 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27958 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27963 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27965 != 0 for prec == 2.
27966 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27967 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27968 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27969 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27970 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27971 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27972 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27973 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27974 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27975 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27976 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27977 * math/libm-test.inc (cos_test): Add more tests and enable more
27978 tests for long double.
27979 (sin_test): Likewise.
27980 (sincos_test): Likewise.
27981 * sysdeps/i386/fpu/libm-test-ulps: Update.
27982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984 2012-03-16 David S. Miller <davem@davemloft.net>
27986 * sysdeps/sparc/fpu/math_private.h: New file.
27988 2012-03-15 David S. Miller <davem@davemloft.net>
27990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28004 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28005 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28007 * sysdeps/sparc/sparc-ifunc.h: New file.
28008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28053 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28055 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28059 2012-03-15 Andreas Jaeger <aj@suse.de>
28062 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28063 ieee754/flt-32 implementation for sin, cos and sincos.
28064 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28065 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28066 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28067 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28068 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28069 ieee754/flt-32 implementation for tan.
28071 * math/libm-test.inc (cos_test): Enable some large input tests for
28073 (sin_test): Likewise.
28074 (sincos_test): Likewise.
28075 (tan_test): Add tests for large input.
28077 * sysdeps/i386/fpu/libm-test-ulps: Update.
28079 2012-03-15 Andreas Jaeger <aj@suse.de>
28082 * math/libm-test.inc (cos_test): Add more test cases.
28083 (sin_test): Likewise.
28084 (sincos_test): Likewise.
28086 2012-03-15 Andreas Jaeger <aj@suse.de>
28089 * math/libm-test.inc (cos_test): Add a test case for large input
28091 (sin_test): Likewise.
28092 (sincos_test): Likewise.
28094 2012-03-15 Andreas Jaeger <aj@suse.de>,
28095 Joseph Myers <joseph@codesourcery.com>
28098 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28099 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28100 * sysdeps/i386/fpu/branred.c: Likewise.
28101 * sysdeps/i386/fpu/dosincos.c: Likewise.
28102 * sysdeps/i386/fpu/mpa.c: Likewise.
28103 * sysdeps/i386/fpu/s_cos.S: Likewise.
28104 * sysdeps/i386/fpu/s_sin.S: Likewise.
28105 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28106 * sysdeps/i386/fpu/sincos32.c: Likewise.
28108 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28110 (libc_feupdateenv_53bit): Define.
28111 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28113 (libc_feupdateenv_53bit): Define.
28115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28116 53 bit (without extend i386 double precision).
28118 * math/libm-test.inc (sincos_test): Add tests for large input.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28124 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28128 2012-03-15 David S. Miller <davem@davemloft.net>
28130 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28131 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28132 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28133 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28158 fmin/fmax sysdep routines.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28161 2012-03-14 David S. Miller <davem@davemloft.net>
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28240 * sysdeps/sparc/configure.in: New file.
28241 * sysdeps/sparc/configure: Generate.
28242 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28243 * configure: Regenerate.
28244 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28245 * config.make.in (have-as-vis3): New.
28246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28247 available use -Av9d instead of -Av9a.
28248 * sysdeps/sparc/sparc64/Makefile: Likewise.
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28265 fzeros/fnegs to load 0x80000000 into a float register instead of
28267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28269 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28273 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28274 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28275 ($(inst_includedir)/bits/syscall.h): Remove rule.
28276 ($(objpfx)bits/syscall.d): Include instead of
28277 $(objpfx)syscall-list.d.
28278 (generated): Change syscall-list.h and syscall-list.d to
28279 bits/syscall.h and bits/syscall.d.
28281 2012-03-14 Roland McGrath <roland@hack.frob.com>
28284 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28286 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28289 * math/s_csqrt.c: Include <float.h>.
28290 (__csqrt): Scale large or subnormal inputs.
28291 * math/s_csqrtf.c: Likewise.
28292 * math/s_csqrtl.c: Likewise.
28293 * math/libm-test.inc (csqrt_test): Add more tests.
28294 * sysdeps/i386/fpu/libm-test-ulps: Update.
28295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28298 * math/libm-test.inc (hypot_test): Add more tests.
28300 2012-03-13 David S. Miller <davem@davemloft.net>
28303 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28304 double-precision for the calculation instead of scaling.
28306 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28309 manipulate bits before adding and subtracting TWO52[sx].
28310 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28315 2012-03-13 David S. Miller <davem@davemloft.net>
28317 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28318 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28320 rtld-global-offsets.h
28321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28323 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28326 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28328 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28329 'err' in the ifdef scope in which it is actually used.
28331 * nss/nss_db/db-init.c: Include string.h
28333 2012-03-12 David S. Miller <davem@davemloft.net>
28335 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28336 masking out of the most significant byte of random value used.
28337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28338 Fix coding style in previous change.
28340 * sysdeps/unix/sysv/linux/kernel-features.h
28341 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28342 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28344 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28347 2012-03-11 David S. Miller <davem@davemloft.net>
28349 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28350 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28351 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28352 for 'resultvar' otherwise things get truncated on 64-bit.
28354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28355 Fix masking out of the most significant byte of random value used.
28357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28359 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28363 2012-03-09 David S. Miller <davem@davemloft.net>
28365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28366 variables with appropriate CPP guards.
28367 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28368 frame pointer, not the stack pointer. Correct layout comments. Fix test
28369 on resulting framesize and the management of the outregs buffer for pltexit.
28370 Preserve floating point return values across _dl_call_pltexit call.
28371 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28372 framesize and the management of the outregs buffer for pltexit.
28373 Preserve floating point return values across _dl_call_pltexit
28375 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28376 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28377 (print_exit): Fix format string for return register value.
28379 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28381 * sunrpc/Makefile (others): Add rpcgen.
28382 ($(objpfx)rpcgen): Remove special build rule and dependency on
28384 * sunrpc/rpcgen.c: New file.
28386 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28389 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28390 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28391 * sysdeps/i386/crti.S: Likewise.
28392 * sysdeps/i386/crtn.S: Likewise.
28393 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28394 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28395 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28396 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28397 * sysdeps/sh/crti.S: Likewise.
28398 * sysdeps/sh/crtn.S: Likewise.
28399 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28402 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28404 * locale/programs/locfile-kw.gperf: Likewise.
28405 * locale/programs/charmap-kw.h: Regenerated.
28406 * locale/programs/locfile-kw.h: Likewise.
28409 * intl/plural.y: Replace FSF snail mail address with URL.
28410 * intl/plural.c: Regenerated.
28412 2012-03-09 Richard Henderson <rth@twiddle.net>
28414 * include/math_private.h: Remove file.
28415 * math/math_private.h: Move file ...
28416 * sysdeps/generic/math_private.h: ... here.
28418 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28419 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28420 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28422 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28423 and <math_private.h>.
28424 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28425 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28426 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28427 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28428 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28512 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28513 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28514 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28515 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28516 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28517 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28518 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28519 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28521 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28523 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28524 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28525 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28526 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28527 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28529 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28531 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28532 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28534 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28535 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28536 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28537 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28538 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28540 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28542 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28543 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28544 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28546 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28552 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28553 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28557 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28558 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28559 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28561 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28562 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28563 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28566 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28567 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28568 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28570 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28573 * sysdeps/ieee754/k_standard.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28722 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28734 * sysdeps/ieee754/s_lib_version.c: Likewise.
28735 * sysdeps/ieee754/s_matherr.c: Likewise.
28736 * sysdeps/ieee754/s_signgam.c: Likewise.
28737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28739 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28740 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28741 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28742 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28743 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28744 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28745 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28746 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28747 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28748 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28749 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28750 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28751 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28752 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28754 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28755 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28759 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28761 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28762 * sunrpc/rpc_main.c: Likewise.
28763 * sunrpc/rpc_svcout.c: Likewise.
28765 2012-03-09 David S. Miller <davem@davemloft.net>
28767 * include/math_private.h: New file.
28769 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28771 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28772 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28773 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28774 from <bits/socket_type.h>.
28775 (enum __socket_type): Don't define here.
28776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28778 bits/socket_type.h.
28781 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28782 checking __USE_GNU.
28784 * Makerules ($(inst_includedir)/%.h): New rule.
28785 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28786 (install-others): Remove variable setting.
28787 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28789 2012-03-08 Richard Henderson <rth@twiddle.net>
28791 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28792 from macro to inline function; merge with the
28793 !__LIBC_INTERNAL_MATH_INLINES version.
28794 (__ieee754_sqrtf): Likewise.
28796 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28797 to inline function.
28798 (__rintf, __floor, __floorf): Likewise.
28800 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28801 macro to inline function.
28802 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28804 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28805 not <math/math_private.h>.
28807 2012-03-08 David S. Miller <davem@davemloft.net>
28809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28811 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28813 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28815 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28817 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28818 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28820 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28822 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28823 be defined individually, they must be defined as a block. Define
28824 S for printing a string instead of hidint the different by using a
28825 macro for adding the 'l'.
28826 * stdio-common/tst-fphex-wide.c: Adjust.
28828 2012-03-07 Marek Polacek <polacek@redhat.com>
28830 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28832 2012-03-08 Marek Polacek <polacek@redhat.com>
28835 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28836 * stdio-common/tst-fphex.c: Define a few macros to make the
28837 test reusable. Use them.
28838 * stdio-common/tst-fphex-wide.c: New file.
28840 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28843 * manual/macros.texi (gnusystems): New macro.
28844 (nongnusystems): Likewise.
28845 (gnulinuxhurdsystems): Likewise.
28846 (gnuhurdsystems): Likewise..
28847 (gnulinuxsystems): Likewise.
28848 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28849 variants of the GNU system, not "GNU system".
28850 * manual/conf.texi: Likewise.
28851 * manual/errno.texi: Likewise. Update example of errno macro
28853 * manual/filesys.texi: Likewise.
28854 (getumask): Document as specific to GNU/Hurd.
28855 * manual/install.texi: Likewise. Reword some references to
28857 * manual/intro.texi: Likewise.
28858 * manual/io.texi: Likewise.
28859 (File Name Portability): Detail which constraints are inapplicable
28860 to all GNU systems and which are only inapplicable to GNU/Hurd.
28861 * manual/job.texi: Likewise.
28862 * manual/llio.texi: Likewise.
28863 (O_NOCTTY): Document as present on GNU/Linux.
28864 * manual/maint.texi: Likewise.
28865 * manual/memory.texi: Likewise.
28866 * manual/pattern.texi: Likewise.
28867 * manual/pipe.texi: Likewise.
28868 * manual/process.texi: Likewise.
28869 * manual/resource.texi: Likewise.
28870 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28872 * manual/setjmp.texi: Likewise.
28873 * manual/signal.texi: Likewise.
28874 * manual/startup.texi: Likewise.
28875 * manual/stdio.texi: Likewise.
28876 * manual/terminal.texi: Likewise.
28877 (ONLCR): Document as POSIX.
28878 (OXTABS): Document availability on GNU/Linux as XTABS.
28879 (ONOEOT): Document availability separately from other bits.
28880 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28881 * manual/time.texi: Likewise.
28882 * manual/users.texi: Likewise.
28883 * INSTALL: Regenerated.
28884 * sysdeps/gnu/errlist.c: Regenerated.
28886 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28887 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28888 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28890 * configure: Regenerated.
28892 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28894 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28895 default includes instead of AC_HEADER_CHECK.
28896 * sysdeps/i386/configure: Regenerated.
28899 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28900 * math/s_cacoshf.c (__cacoshf): Likewise.
28901 * math/s_cacoshl.c (__cacoshl): Likewise.
28902 * math/s_casinh.c (__casinh): Set signs of result from argument.
28903 * math/s_casinhf.c (__casinhf): Likewise.
28904 * math/s_casinhl.c (__casinhl): Likewise.
28905 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28906 (casinh_test): Add more tests.
28907 * sysdeps/i386/fpu/libm-test-ulps: Update.
28908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28910 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28912 * po/zh_TW.po: Update from translation team.
28914 * login/Makefile (distribute): Remove variable.
28915 * catgets/Makefile: Likewise.
28916 * mach/Makefile: Likewise.
28917 * malloc/Makefile: Likewise.
28918 * misc/Makefile: Likewise.
28919 * iconv/Makefile: Likewise.
28920 * nscd/Makefile: Likewise.
28921 * hurd/Makefile: Likewise.
28922 * manual/Makefile: Likewise.
28923 * locale/Makefile: Likewise.
28924 * intl/Makefile: Likewise.
28925 * conform/Makefile: Likewise.
28926 * nss/Makefile: Likewise.
28927 * time/Makefile: Likewise.
28928 * soft-fp/Makefile: Likewise.
28929 * dirent/Makefile: Likewise.
28930 * gmon/Makefile: Likewise.
28931 * po/Makefile: Likewise.
28932 * rt/Makefile: Likewise.
28933 * socket/Makefile: Likewise.
28934 * math/Makefile: Likewise.
28935 * signal/Makefile: Likewise.
28936 * debug/Makefile: Likewise.
28937 * elf/Makefile: Likewise.
28938 * timezone/Makefile: Likewise.
28939 * stdlib/Makefile: Likewise.
28940 * iconvdata/Makefile: Likewise.
28941 * sunrpc/Makefile: Likewise.
28942 * io/Makefile: Likewise.
28943 * argp/Makefile: Likewise.
28944 * inet/Makefile: Likewise.
28945 * hesiod/Makefile: Likewise.
28946 * grp/Makefile: Likewise.
28947 * csu/Makefile: Likewise.
28948 * wctype/Makefile: Likewise.
28949 * crypt/Makefile: Likewise.
28950 * libio/Makefile: Likewise.
28951 * string/Makefile: Likewise.
28952 * nis/Makefile: Likewise.
28953 * resolv/Makefile: Likewise.
28954 * stdio-common/Makefile: Likewise.
28955 * wcsmbs/Makefile: Likewise.
28956 * dlfcn/Makefile: Likewise.
28957 * posix/Makefile: Likewise.
28960 * timezone/Makefile: Don't install timezone files, just the programs
28963 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28965 * nss/databases.def: Add missing gshadow entry.
28967 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28969 2012-03-06 Marek Polacek <polacek@redhat.com>
28972 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28973 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28974 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28975 * stdio-common/tst-long-dbl-fphex.c: New file.
28977 2012-03-06 David S. Miller <davem@davemloft.net>
28979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28980 (set_obp_int): New function.
28981 (get_obp_int): New function.
28982 (__get_clockfreq_via_dev_openprom): Likewise.
28983 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28984 Avoid unused variable warnings on 'val' and use builtin_expect.
28985 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28987 (INLINE_CLONE_SYSCALL): Likewise.
28989 2012-03-05 David S. Miller <davem@davemloft.net>
28991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28993 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28997 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28998 only for |x| >= 40.
28999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29001 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29004 Replace gettimeofday with __vdso_gettimeofday.
29006 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29007 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29008 __vdso_clock_gettime and __vdso_getcpu.
29010 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29011 time with __vdso_time.
29013 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29015 * manual/lang.texi (size_t): Note types to which size_t may be
29016 equivalent with the GNU C Library, but do not describe when
29017 differences between them are significant.
29019 2012-03-05 Andreas Jaeger <aj@suse.de>
29021 * sysdeps/i386/fpu/libm-test-ulps: Update.
29023 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29026 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29027 (__ieee754_pow): Save and restore rounding mode and use
29028 round-to-nearest for main computations.
29029 * math/libm-test.inc (pow_test_tonearest): New function.
29030 (pow_test_towardzero): Likewise.
29031 (pow_test_downward): Likewise.
29032 (pow_test_upward): Likewise.
29033 (main): Call the new functions.
29034 * sysdeps/i386/fpu/libm-test-ulps: Update.
29035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29038 * math/libm-test.inc (cosh_test_tonearest): New function.
29039 (cosh_test_towardzero): Likewise.
29040 (cosh_test_downward): Likewise.
29041 (cosh_test_upward): Likewise.
29042 (sinh_test_tonearest): Likewise.
29043 (sinh_test_towardzero): Likewise.
29044 (sinh_test_downward): Likewise.
29045 (sinh_test_upward): Likewise.
29046 (main): Call the new functions.
29047 * sysdeps/i386/fpu/libm-test-ulps: Update.
29048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050 2012-03-05 Tom de Vries <tom@codesourcery.com>
29052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29053 default stack guard is set in last bytes.
29054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29056 2012-03-05 Kees Cook <keescook@chromium.org>
29058 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29061 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29062 possibly allocate from heap instead of stack.
29063 * stdio-common/bug-vfprintf-nargs.c: New file.
29064 * stdio-common/Makefile (tests): Add nargs overflow test.
29066 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29070 2012-03-03 Marek Polacek <polacek@redhat.com>
29072 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29073 * math/math_private.h: Likewise.
29074 * stdlib/tst-strtod.c: Likewise.
29075 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29076 * sysdeps/x86_64/bits/atomic.h: Likewise.
29078 2012-03-02 David S. Miller <davem@davemloft.net>
29080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29084 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29085 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29086 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29087 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29089 2012-03-02 Roland McGrath <roland@hack.frob.com>
29092 * manual/examples/README: New file, says the example source files
29093 can be used under GPL>=2.
29094 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29095 line containing just "*/".
29096 * manual/examples/add.c: Add copyright header (GPL>=2).
29097 * manual/examples/argp-ex1.c: Likewise.
29098 * manual/examples/argp-ex2.c: Likewise.
29099 * manual/examples/argp-ex3.c: Likewise.
29100 * manual/examples/argp-ex4.c: Likewise.
29101 * manual/examples/atexit.c: Likewise.
29102 * manual/examples/db.c: Likewise.
29103 * manual/examples/dir.c: Likewise.
29104 * manual/examples/dir2.c: Likewise.
29105 * manual/examples/execinfo.c: Likewise.
29106 * manual/examples/filecli.c: Likewise.
29107 * manual/examples/filesrv.c: Likewise.
29108 * manual/examples/fmtmsgexpl.c: Likewise.
29109 * manual/examples/genpass.c: Likewise.
29110 * manual/examples/inetcli.c: Likewise.
29111 * manual/examples/inetsrv.c: Likewise.
29112 * manual/examples/isockad.c: Likewise.
29113 * manual/examples/longopt.c: Likewise.
29114 * manual/examples/memopen.c: Likewise.
29115 * manual/examples/memstrm.c: Likewise.
29116 * manual/examples/mkfsock.c: Likewise.
29117 * manual/examples/mkisock.c: Likewise.
29118 * manual/examples/mygetpass.c: Likewise.
29119 * manual/examples/pipe.c: Likewise.
29120 * manual/examples/popen.c: Likewise.
29121 * manual/examples/rprintf.c: Likewise.
29122 * manual/examples/search.c: Likewise.
29123 * manual/examples/select.c: Likewise.
29124 * manual/examples/setjmp.c: Likewise.
29125 * manual/examples/sigh1.c: Likewise.
29126 * manual/examples/sigusr.c: Likewise.
29127 * manual/examples/stpcpy.c: Likewise.
29128 * manual/examples/strdupa.c: Likewise.
29129 * manual/examples/strftim.c: Likewise.
29130 * manual/examples/strncat.c: Likewise.
29131 * manual/examples/subopt.c: Likewise.
29132 * manual/examples/swapcontext.c: Likewise.
29133 * manual/examples/termios.c: Likewise.
29134 * manual/examples/testopt.c: Likewise.
29135 * manual/examples/testpass.c: Likewise.
29136 * manual/examples/timeval_subtract.c: Likewise.
29139 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29141 * manual/timeval_subtract.c.texi: ... here, new file.
29143 2012-03-02 David S. Miller <davem@davemloft.net>
29145 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29147 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29151 (__sin): Save and restore rounding mode and use round-to-nearest
29152 for all computations.
29153 (__cos): Save and restore rounding mode and use round-to-nearest
29154 for all computations.
29155 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29157 (tan): Save and restore rounding mode and use round-to-nearest for
29159 * math/libm-test.inc (cos_test_tonearest): New function.
29160 (cos_test_towardzero): Likewise.
29161 (cos_test_downward): Likewise.
29162 (cos_test_upward): Likewise.
29163 (sin_test_tonearest): Likewise.
29164 (sin_test_towardzero): Likewise.
29165 (sin_test_downward): Likewise.
29166 (sin_test_upward): Likewise.
29167 (tan_test_tonearest): Likewise.
29168 (tan_test_towardzero): Likewise.
29169 (tan_test_downward): Likewise.
29170 (tan_test_upward): Likewise.
29171 (main): Call the new functions.
29172 * sysdeps/i386/fpu/libm-test-ulps: Update.
29173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29176 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29177 small n, then large n, before computing and testing k+n.
29178 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29183 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29184 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29190 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29191 * math/libm-test.inc (scalbn_test): Add more tests.
29192 (scalbln_test): Likewise.
29194 * manual/filesys.texi (mode_t): Describe constraints on size and
29195 signedness, not exact equivalence to a particular type.
29197 (ino64_t): Likewise.
29199 (nlink_t): Likewise.
29200 (blkcnt_t): Likewise.
29201 (blkcnt64_t): Likewise.
29202 * manual/llio.texi (off_t): Likewise.
29205 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29206 (__ieee754_exp): Save and restore rounding mode and use
29207 round-to-nearest for all computations.
29208 * math/libm-test.inc (exp_test_tonearest): New function.
29209 (exp_test_towardzero): Likewise.
29210 (exp_test_downward): Likewise.
29211 (exp_test_upward): Likewise.
29212 (main): Call the new functions.
29213 * sysdeps/i386/fpu/libm-test-ulps: Update.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29216 2012-03-01 Chris Demetriou <cgd@google.com>
29218 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29219 have predictable order.
29221 2012-03-01 David S. Miller <davem@davemloft.net>
29223 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29225 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29226 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29227 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29228 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29230 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29231 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29232 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29234 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29235 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29236 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29237 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29238 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29243 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29244 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29246 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29249 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29250 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29255 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29256 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29259 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29260 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29262 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29263 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29264 * sysdeps/sparc/elf/configure: Regenerated.
29266 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29268 * configure.in (AS, LD): Require binutils 2.20 or later.
29269 * configure: Regenerated.
29270 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29271 as required minimum version.
29272 * INSTALL: Regenerated.
29276 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29277 before squaring exponent.
29278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29279 bottom long double and 27 bits of top long double before squaring
29281 * math/libm-test.inc (erfc_test): Add more tests.
29282 * sysdeps/i386/fpu/libm-test-ulps: Update.
29283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29286 2012-03-01 Kai Tietz <ktietz@redhat.com>
29288 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29289 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29290 containing bit-fields.
29291 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29292 * soft-fp/single.h (_FP_UNION_S): Likewise.
29293 * soft-fp/double.h (_FP_UNION_D): Likewise.
29295 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29298 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29299 not include ../strcmp.S.
29300 [USE_AS_STRNCASECMP_L]: Likewise.
29301 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29302 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29303 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29304 (__strncasecmp_l_ia32): Define as alias to
29305 __strncasecmp_l_nonascii.
29308 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29309 * sysdeps/i386/fpu/libm-test-ulps: Update.
29310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29315 2012-02-29 Jeff Law <law@redhat.com>
29317 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29318 out of bounds read.
29320 2012-02-29 Marek Polacek <polacek@redhat.com>
29323 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29324 * elf/Makefile: Add rules to run tst-unused-dep.out.
29326 2012-02-28 David S. Miller <davem@davemloft.net>
29328 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29329 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29332 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29333 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29335 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29337 * math/libm-test.inc (llround_test): Move one test from
29338 lround_test. Use TEST_f_L in moved test.
29339 (lround_test): Move misplaced test to llround_test. Add testcase
29342 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29344 * sysdeps/x86_64/fpu/e_expf.S: New file.
29345 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29347 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29350 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29351 of remain_len that may cause incomplete multi-byte character and
29353 * posix/bug-regex33.c: New file.
29354 * posix/Makefile (tests): Add bug-regex33.
29356 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29358 * manual/macros.texi: New file.
29359 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29360 * manual/libc.texinfo: Include macros.texi.
29361 * manual/creatute.texi: Likewise.
29362 * manual/install.texi: Likewise.
29363 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29364 @glibcadj{} in references to the GNU C Library.
29365 * manual/charset.texi: Likewise.
29366 * manual/conf.texi: Likewise.
29367 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29368 when not using those macros.
29369 * manual/creature.texi: Likewise.
29370 * manual/crypt.texi: Likewise.
29371 * manual/errno.texi: Likewise.
29372 * manual/filesys.texi: Likewise.
29373 * manual/header.texi: Likewise.
29374 * manual/install.texi: Likewise.
29375 * manual/intro.texi: Likewise.
29376 * manual/io.texi: Likewise.
29377 * manual/job.texi: Likewise.
29378 * manual/lang.texi: Likewise.
29379 * manual/libc.texiinfo: Likewise.
29380 * manual/llio.texi: Likewise.
29381 * manual/locale.texi: Likewise.
29382 * manual/maint.texi: Likewise.
29383 * manual/math.texi: Likewise.
29384 * manual/memory.texi: Likewise.
29385 * manual/message.texi: Likewise.
29386 * manual/nss.texi: Likewise.
29387 * manual/pattern.texi: Likewise.
29388 * manual/process.texi: Likewise.
29389 * manual/resource.texi: Likewise.
29390 * manual/search.texi: Likewise.
29391 * manual/setjmp.texi: Likewise.
29392 * manual/signal.texi: Likewise.
29393 * manual/socket.texi: Likewise.
29394 * manual/startup.texi: Likewise.
29395 * manual/stdio.texi: Likewise.
29396 * manual/string.texi: Likewise.
29397 * manual/sysinfo.texi: Likewise.
29398 * manual/syslog.texi: Likewise.
29399 * manual/terminal.texi: Likewise.
29400 * manual/time.texi: Likewise.
29401 * manual/users.texi: Likewise.
29402 * INSTALL: Regenerated.
29403 * NOTES: Regenerated.
29404 * sysdeps/gnu/errlist.c: Regenerated.
29406 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29408 * include/dirent.h: Include <dirstream.h> before
29411 2012-02-28 David S. Miller <davem@davemloft.net>
29413 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29414 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29415 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29416 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29418 2012-02-27 David S. Miller <davem@davemloft.net>
29420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29422 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29423 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29426 frame pointer instead of stack pointer relative arg slot.
29427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29431 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29434 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29436 2012-02-27 David S. Miller <davem@davemloft.net>
29438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29444 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29445 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29447 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29449 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29450 later. Allow versions 5-9.
29451 * configure: Regenerated.
29452 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29453 required minimum version and 4.6 as recommended version. Do not
29454 mention bugs in GCC 2.7 and 2.8.
29455 * INSTALL: Regenerated.
29457 2012-02-27 David S. Miller <davem@davemloft.net>
29459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29463 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29464 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29465 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29466 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29468 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29469 manipulate bits before adding and subtracting TWO112[sx].
29470 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29472 2012-02-27 Roland McGrath <roland@hack.frob.com>
29475 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29476 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29477 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29478 being in POSIX, because they are in 1003.1-2008.
29480 * rt/tst-aio.c: Include <fcntl.h>.
29481 * rt/tst-aio7.c: Likewise.
29482 * rt/tst-aio64.c: Likewise.
29484 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29486 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29488 * manual/install.texi (--with-headers): Describe headers as
29489 interface headers, not private headers.
29490 (Specific advice for GNU/Linux systems): Describe use of headers
29491 from "make headers_install", not private headers from older
29493 * INSTALL: Regenerated.
29494 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29496 * sysdeps/unix/sysv/linux/configure: Regenerated.
29498 * manual/llio.texi (fclean): Remove documentation.
29500 * manual/Makefile (libc-texi-generated): New variable. Include
29502 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29503 $(libc-texi-generated), not duplicated list of files.
29504 (version.texi, stamp-version): New rules.
29505 (realclean): Remove $(libc-texi-generated), not individual files
29506 from that list. Do not remove dir-add.texinfo.
29507 * manual/libc.texinfo: Comment out uses of edition numbers and
29508 references to printed manual. Remove last-updated dates.
29509 (EDITION): Comment out.
29511 (VERSION, UPDATED): Remove.
29512 (version.texi): Include.
29514 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29516 * sysdeps/posix/spawni.c: Include <signal.h>.
29517 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29518 * sysdeps/pthread/aio_fsync.c: Likewise.
29520 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29522 * conform/Makefile (tests): Run only when not cross-compiling and
29523 when fast-check is not defined.
29525 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29526 * conform/data/limits.h-data: Fixes for POSIX2008.
29527 * conform/run-conformtest.sh: Run all tests.
29528 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29530 * include/bits/dlfcn.h: Likewise.
29531 * include/langinfo.h: Likewise.
29532 * include/monetary.h: Likewise.
29533 * include/sys/poll.h: Likewise.
29535 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29537 * posix/spawn.h: Define __need_sigset_t.
29538 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29539 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29540 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29541 to get sigevent_t only.
29542 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29543 only for __USE_GNU.
29544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29545 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29546 process_vm_writev only for __USE_GNU.
29547 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29549 * conform/Makefile: For now ignore errors from run-conformtest.
29550 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29551 POSIX to avoid namespace pollution. Don't prepend headers.
29552 * conform/data/aio.h-data: Fixes for POSIX testing.
29553 * conform/data/fcntl.h-data: Likewise.
29554 * conform/data/glob.h-data: Likewise.
29555 * conform/data/grp.h-data: Likewise.
29556 * conform/data/pthread.h-data: Likewise.
29557 * conform/data/pwd.h-data: Likewise.
29558 * conform/data/signal.h-data: Likewise.
29559 * conform/data/spawn.h-data: Likewise.
29560 * conform/data/stdio.h-data: Likewise.
29561 * conform/data/stdlib.h-data: Likewise.
29562 * conform/data/stropts.h-data: Likewise.
29563 * conform/data/sys/mman.h-data: Likewise.
29564 * conform/data/sys/stat.h-data: Likewise.
29565 * conform/data/sys/types.h-data: Likewise.
29566 * conform/data/sys/wait.h-data: Likewise.
29567 * conform/data/time.h-data: Likewise.
29568 * conform/data/unistd.h-data: Likewise.
29569 * conform/data/utime.h-data: Likewise.
29571 * io/sys/stat.h: fchmod was always in POSIX.
29572 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29573 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29574 * rt/aio.h: Define __need_timespec before including <time.h>.
29575 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29576 struct. Add forward declaration of pthread_attr_t and use it in
29578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29580 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29581 always remove CLK_TCK definition.
29583 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29585 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29587 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29589 * conform/run-conformtest.sh: New file.
29590 * conform/Makefile: Run run-conformtest for tests.
29591 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29594 * conform/data/uchar.h-data: New file.
29595 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29596 * conform/data/arpa/inet.h-data: Likewise.
29597 * conform/data/assert.h-data: Likewise.
29598 * conform/data/complex.h-data: Likewise.
29599 * conform/data/cpio.h-data: Likewise.
29600 * conform/data/ctype.h-data: Likewise.
29601 * conform/data/dirent.h-data: Likewise.
29602 * conform/data/dlfcn.h-data: Likewise.
29603 * conform/data/errno.h-data: Likewise.
29604 * conform/data/fcntl.h-data: Likewise.
29605 * conform/data/float.h-data: Likewise.
29606 * conform/data/fmtmsg.h-data: Likewise.
29607 * conform/data/fnmatch.h-data: Likewise.
29608 * conform/data/ftw.h-data: Likewise.
29609 * conform/data/glob.h-data: Likewise.
29610 * conform/data/grp.h-data: Likewise.
29611 * conform/data/iconv.h-data: Likewise.
29612 * conform/data/inttypes.h-data: Likewise.
29613 * conform/data/langinfo.h-data: Likewise.
29614 * conform/data/libgen.h-data: Likewise.
29615 * conform/data/limits.h-data: Likewise.
29616 * conform/data/locale.h-data: Likewise.
29617 * conform/data/math.h-data: Likewise.
29618 * conform/data/monetary.h-data: Likewise.
29619 * conform/data/mqueue.h-data: Likewise.
29620 * conform/data/ndbm.h-data: Likewise.
29621 * conform/data/net/if.h-data: Likewise.
29622 * conform/data/netdb.h-data: Likewise.
29623 * conform/data/netinet/in.h-data: Likewise.
29624 * conform/data/nl_types.h-data: Likewise.
29625 * conform/data/poll.h-data: Likewise.
29626 * conform/data/pthread.h-data: Likewise.
29627 * conform/data/pwd.h-data: Likewise.
29628 * conform/data/regex.h-data: Likewise.
29629 * conform/data/sched.h-data: Likewise.
29630 * conform/data/search.h-data: Likewise.
29631 * conform/data/semaphore.h-data: Likewise.
29632 * conform/data/setjmp.h-data: Likewise.
29633 * conform/data/signal.h-data: Likewise.
29634 * conform/data/spawn.h-data: Likewise.
29635 * conform/data/stdarg.h-data: Likewise.
29636 * conform/data/stdio.h-data: Likewise.
29637 * conform/data/stdlib.h-data: Likewise.
29638 * conform/data/string.h-data: Likewise.
29639 * conform/data/strings.h-data: Likewise.
29640 * conform/data/stropts.h-data: Likewise.
29641 * conform/data/sys/ipc.h-data: Likewise.
29642 * conform/data/sys/mman.h-data: Likewise.
29643 * conform/data/sys/msg.h-data: Likewise.
29644 * conform/data/sys/resource.h-data: Likewise.
29645 * conform/data/sys/select.h-data: Likewise.
29646 * conform/data/sys/sem.h-data: Likewise.
29647 * conform/data/sys/shm.h-data: Likewise.
29648 * conform/data/sys/socket.h-data: Likewise.
29649 * conform/data/sys/stat.h-data: Likewise.
29650 * conform/data/sys/statvfs.h-data: Likewise.
29651 * conform/data/sys/time.h-data: Likewise.
29652 * conform/data/sys/timeb.h-data: Likewise.
29653 * conform/data/sys/times.h-data: Likewise.
29654 * conform/data/sys/types.h-data: Likewise.
29655 * conform/data/sys/uio.h-data: Likewise.
29656 * conform/data/sys/un.h-data: Likewise.
29657 * conform/data/sys/utsname.h-data: Likewise.
29658 * conform/data/sys/wait.h-data: Likewise.
29659 * conform/data/syslog.h-data: Likewise.
29660 * conform/data/tar.h-data: Likewise.
29661 * conform/data/termios.h-data: Likewise.
29662 * conform/data/utime.h-data: Likewise.
29663 * conform/data/utmpx.h-data: Likewise.
29664 * conform/data/varargs.h-data: Likewise.
29665 * conform/data/wchar.h-data: Likewise.
29666 * conform/data/wctype.h-data: Likewise.
29667 * conform/data/wordexp.h-data: Likewise.
29669 * include/stropts.h: New file.
29670 * include/uchar.h: New file.
29671 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29672 * include/assert.h: Likewise.
29673 * include/ctype.h: Likewise.
29674 * include/dirent.h: Likewise.
29675 * include/dlfcn.h: Likewise.
29676 * include/fcntl.h: Likewise.
29677 * include/fnmatch.h: Likewise.
29678 * include/glob.h: Likewise.
29679 * include/grp.h: Likewise.
29680 * include/libio.h: Likewise.
29681 * include/locale.h: Likewise.
29682 * include/math.h: Likewise.
29683 * include/net/if.h: Likewise.
29684 * include/netdb.h: Likewise.
29685 * include/netinet/in.h: Likewise.
29686 * include/pthread.h: Likewise.
29687 * include/pwd.h: Likewise.
29688 * include/regex.h: Likewise.
29689 * include/sched.h: Likewise.
29690 * include/search.h: Likewise.
29691 * include/setjmp.h: Likewise.
29692 * include/signal.h: Likewise.
29693 * include/stdio.h: Likewise.
29694 * include/stdlib.h: Likewise.
29695 * include/string.h: Likewise.
29696 * include/sys/cdefs.h: Likewise.
29697 * include/sys/mman.h: Likewise.
29698 * include/sys/msg.h: Likewise.
29699 * include/sys/resource.h: Likewise.
29700 * include/sys/select.h: Likewise.
29701 * include/sys/socket.h: Likewise.
29702 * include/sys/stat.h: Likewise.
29703 * include/sys/statvfs.h: Likewise.
29704 * include/sys/time.h: Likewise.
29705 * include/sys/times.h: Likewise.
29706 * include/sys/uio.h: Likewise.
29707 * include/sys/utsname.h: Likewise.
29708 * include/sys/wait.h: Likewise.
29709 * include/termios.h: Likewise.
29710 * include/time.h: Likewise.
29711 * include/ulimit.h: Likewise.
29712 * include/unistd.h: Likewise.
29713 * include/utime.h: Likewise.
29714 * include/wchar.h: Likewise.
29715 * include/wctype.h: Likewise.
29716 * include/wordexp.h: Likewise.
29718 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29720 * time/time.h: TIME_UTC must be a macro.
29721 Make timespec_get available for ISO C11 only as well.
29723 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29725 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29726 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29728 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29730 * configure.in: Use -o not -a in test for unsupported multi-arch.
29732 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29734 * manual/texinfo.tex: Update to version 2012-01-19.16.
29736 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29738 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29740 2012-02-24 Roland McGrath <roland@hack.frob.com>
29743 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29744 * manual/fdl-1.3.texi: New file.
29745 * manual/fdl-1.1.texi: File removed.
29748 * manual/libc.texinfo (FDL_VERSION): New @set.
29749 Use it for mention of FDL in cover text.
29750 (Documentation License): Use it in @include file name.
29752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29753 Roland McGrath <roland@hack.frob.com>
29756 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29757 not LONG_LONG_MAX and LONG_LONG_MIN.
29758 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29759 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29761 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29763 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29767 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29768 manipulate bits before adding and subtracting TWO23[sx].
29769 * math/libm-test.inc (nearbyint_test): Add more tests.
29771 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29774 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29775 bits before adding and subtracting TWO23[sx].
29776 * math/libm-test.inc (rint_test): Add more tests.
29777 (rint_test_tonearest): Likewise.
29778 (rint_test_towardzero): Likewise.
29779 (rint_test_downward): Likewise.
29780 (rint_test_upward: Likewise.
29782 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29785 * include/stdc-predef.h: New file. Extracted from features.h.
29786 * include/features.h: Include stdc-predef.h.
29787 * Makefile (headers): Add stdc-predef.h.
29788 * CONFORMANCE (Compiler limitations): Update.
29790 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29792 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29794 2012-02-21 David S. Miller <davem@davemloft.net>
29796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29797 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29799 2012-02-20 David S. Miller <davem@davemloft.net>
29801 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29802 using a normal save/restore sequence, rather than allocating a
29803 dummy stack frame just to store a frame pointer and restore.
29804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29806 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29808 * manual/install.texi: Fix stray word in line-wrapped comment.
29810 2012-02-20 David S. Miller <davem@davemloft.net>
29812 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29813 both binutils and gcc support GOTDATA.
29815 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29816 "rd %pc" in the PIC register setup sequences.
29818 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29819 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29820 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29821 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29822 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29827 (SYSCALL_ERROR_HANDLER): Likewise.
29828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29829 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29831 (SYSCALL_ERROR_HANDLER): Likewise.
29833 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29834 (HAVE_GCC_GOTDATA): New.
29835 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29836 relocation support in both binutils and gcc.
29837 * sysdeps/sparc/elf/configure: Regenerate.
29839 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29840 * sysdeps/sparc/sparc32/elf/configure: Delete.
29841 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29842 * sysdeps/sparc/sparc64/elf/configure: Delete.
29843 * sysdeps/sparc/elf/configure.in: New file.
29844 * sysdeps/sparc/elf/configure: Generate.
29846 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29847 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29848 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29849 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29850 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29852 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29854 * manual/install.texi: Do not mention specific glibc version
29856 * manual/libc.texinfo (VERSION, UPDATED): Update.
29857 (@copying): Use @copyright{} and range of years.
29859 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29862 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29863 [crti.S not in sysdirs] (generated): Do not append.
29864 [crti.S not in sysdirs] (omit-deps): Likewise.
29865 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29866 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29867 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29868 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29869 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29871 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29872 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29873 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29874 * csu/defs.awk: Remove file.
29875 * sysdeps/generic/initfini.c: Likewise.
29876 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29878 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29881 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29883 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29884 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29888 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29890 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29891 (__EPOLL_PACKED): Define to empty if not defined by
29893 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29897 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29899 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29900 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29901 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29904 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29908 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29910 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29913 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29922 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29924 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29925 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29927 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29929 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29932 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29934 * math/w_acos.c: Use non-signaling floating-point comparisons.
29935 * math/w_acosf.c: Likewise.
29936 * math/w_acosh.c: Likewise.
29937 * math/w_acoshf.c: Likewise.
29938 * math/w_acoshl.c: Likewise.
29939 * math/w_acosl.c: Likewise.
29940 * math/w_asin.c: Likewise.
29941 * math/w_asinf.c: Likewise.
29942 * math/w_asinl.c: Likewise.
29943 * math/w_atanh.c: Likewise.
29944 * math/w_atanhf.c: Likewise.
29945 * math/w_atanhl.c: Likewise.
29946 * math/w_exp2.c: Likewise.
29947 * math/w_exp2f.c: Likewise.
29948 * math/w_exp2l.c: Likewise.
29949 * math/w_j0.c: Likewise.
29950 * math/w_j0f.c: Likewise.
29951 * math/w_j0l.c: Likewise.
29952 * math/w_j1.c: Likewise.
29953 * math/w_j1f.c: Likewise.
29954 * math/w_j1l.c: Likewise.
29955 * math/w_jn.c: Likewise.
29956 * math/w_jnf.c: Likewise.
29957 * math/w_log.c: Likewise.
29958 * math/w_log10.c: Likewise.
29959 * math/w_log10f.c: Likewise.
29960 * math/w_log10l.c: Likewise.
29961 * math/w_log2.c: Likewise.
29962 * math/w_log2f.c: Likewise.
29963 * math/w_log2l.c: Likewise.
29964 * math/w_logf.c: Likewise.
29965 * math/w_logl.c: Likewise.
29966 * math/w_sqrt.c: Likewise.
29967 * math/w_sqrtf.c: Likewise.
29968 * math/w_sqrtl.c: Likewise.
29969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29970 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29972 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29975 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29978 * manual/string.texi (strnlen): Use correct parameter name in
29979 equivalent expression.
29981 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29984 * manual/users.texi (seteuid): Consistently use neweuid for
29987 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29990 * manual/nss.texi (Services in the NSS configuration): Correct
29991 list of services in example configuration file.
29993 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29996 * manual/arith.texi: Remove statements about negative zero
29997 behaving identically to zero.
29999 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30002 * manual/install.texi: Do not document upgrading from libc5.
30004 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30007 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30009 2012-02-18 David S. Miller <davem@davemloft.net>
30011 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30012 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30013 %o7 across the call.
30014 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30017 SETUP_PIC_REG_LEAF.
30018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30019 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30020 * sysdeps/sparc/crtn.S: Likewise.
30022 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30024 * aout/Makefile: Remove.
30026 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30029 * manual/examples/argp-ex1.c (main): Format definition in GNU
30031 * manual/examples/argp-ex2.c (main): Likewise.
30032 * manual/examples/argp-ex3.c (main): Likewise.
30033 * manual/examples/argp-ex4.c (main): Likewise.
30034 * manual/examples/longopt.c (main): Use new-style prototype
30036 * manual/examples/strncat.c (main): Specify return type and use
30037 (void) for arguments.
30038 * manual/examples/subopt.c (main): Use char **argv argument.
30040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30043 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30046 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30049 * manual/string.texi (strchr): Change when strchrnul is
30052 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30055 * manual/locale.texi (setlocale): Document LOCPATH.
30057 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30060 * manual/process.texi (execle): Move @dots{} before last argument.
30062 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30065 * manual/charset.texi (Generic Charset Conversion): Fix typo
30066 (LC_TYPE -> LC_CTYPE).
30068 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30071 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30072 (scalbnf): Likewise.
30073 (scalbnl): Likewise.
30074 (scalbln): Likewise.
30075 (scalblnf): Likewise.
30076 (scalblnl): Likewise.
30077 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30078 (vwarnx): Likewise.
30081 * manual/filesys.texi (telldir): Use braces around return type.
30082 * manual/llio.texi (mmap): Add space after comma.
30083 (mmap64): Likewise.
30084 * manual/math.texi (jn): Use @var{} on parameter names.
30090 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30092 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30094 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30095 (sched_get_priority_max): Likewise.
30096 * manual/signal.texi (sigvec): Add space after comma.
30097 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30099 (if_indextoname): Likewise.
30100 (if_freenameindex): Likewise.
30101 (sendto): Use ',' instead of '.' in prototype.
30102 * manual/startup.texi (syscall): Use @dots{} instead of literal
30104 * manual/stdio.texi (__fpending): Separate initial words of
30105 paragraph from @deftypefun line.
30106 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30108 (vsyslog): Use @var{} on parameter names.
30109 * manual/terminal.texi (stty): Use @var{} on parameter names.
30110 * manual/users.texi (getutmp): Use @var{} on parameter names.
30111 (getutmpx): Likewise.
30113 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30116 * manual/stdio.texi (fopen): Fix typos in description of
30119 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30122 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30123 get clock_id definition.
30125 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30128 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30129 (madvise): Cast every argument to void on its own.
30131 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30134 * manual/startup.texi (Exit Status): Fix typo.
30136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30139 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30140 * manual/examples/argp-ex2.c: Likewise.
30141 * manual/examples/argp-ex3.c: Likewise.
30143 2012-02-16 Richard Henderson <rth@redhat.com>
30145 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30146 * sysdeps/s390/s390-32/initfini.c: Remove.
30147 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30148 * sysdeps/s390/s390-64/initfini.c: Remove.
30150 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30152 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30153 compiler output for sysdeps/generic/initfini.c.
30154 * sysdeps/sh/elf/initfini.c: Remove file.
30156 2012-02-16 David S. Miller <davem@davemloft.net>
30159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30161 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30162 * sysdeps/sparc/crti.S: New file.
30163 * sysdeps/sparc/crtn.S: New file.
30164 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30165 * sysdeps/sparc/sparc64/Makefile: Likewise.
30167 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30170 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30172 2012-02-15 Roland McGrath <roland@hack.frob.com>
30175 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30177 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30178 (write, read, close): Likewise.
30179 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30181 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30183 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30184 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30185 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30186 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30188 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30192 2012-02-14 Marek Polacek <polacek@redhat.com>
30194 * sysdeps/x86_64/crti.S: New file.
30195 * sysdeps/x86_64/crtn.S: New file.
30196 * sysdeps/x86_64/elf/initfini.c: Remove file.
30198 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30200 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30201 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30202 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30203 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30205 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30209 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30212 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30213 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30214 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30216 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30220 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30222 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30223 __feraiseexcept instead of feraiseexcept.
30225 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30226 nanosleep invocations.
30227 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30228 strings, and add error checking for a nanosleep invocations.
30230 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30232 Replace FSF snail mail address with URLs, as per GNU coding standards.
30233 Most of the snail mail addresses were wrong anyway, and omitting
30234 them makes the source code easier to maintain. Almost all of the
30235 changes are to license notices and to locale LC_IDENTIFICATION
30236 addresses, except for this one:
30237 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30238 not its snail mail address.
30240 2012-02-09 Richard Henderson <rth@twiddle.net>
30242 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30243 of kernel-features.h.
30245 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30247 2012-02-08 Marek Polacek <polacek@redhat.com>
30249 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30250 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30251 * sysdeps/gnu/_G_config.h: Likewise.
30252 * sysdeps/generic/_G_config.h: Likewise.
30254 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30256 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30260 * sysdeps/powerpc/powerpc32/crti.S: New file.
30261 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30262 * sysdeps/powerpc/powerpc64/crti.S: New file.
30263 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30265 * Makeconfig (have-initfini): Don't set.
30266 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30267 * configure.in (nopic_initfini): Don't substitute.
30268 * config.h.in (HAVE_INITFINI): Don't #undef.
30269 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30270 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30272 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30274 Support crti.S and crtn.S provided directly by architectures.
30275 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30276 [crti.S in sysdirs] (omit-deps): Likewise.
30277 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30278 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30279 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30280 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30281 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30282 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30283 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30284 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30285 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30286 compiler output for sysdeps/generic/initfini.c.
30287 * sysdeps/i386/elf/Makefile: Remove file.
30288 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30290 2012-02-07 Marek Polacek <polacek@redhat.com>
30292 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30293 * sysdeps/gnu/_G_config.h: Likewise.
30294 * sysdeps/mach/hurd/_G_config.h: Likewise.
30296 2012-02-07 Marek Polacek <polacek@redhat.com>
30298 * math/Makefile (tests): Add tst-CMPLX2.
30299 * math/tst-CMPLX2.c: New file.
30301 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30303 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30305 * math/libm-test.inc (jn_test): Add missing L suffix.
30307 2012-02-06 Marek Polacek <polacek@redhat.com>
30309 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30310 * sysdeps/i386/fpu/e_powf.S: Likewise.
30311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30313 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30314 * sysdeps/i386/fpu/e_pow.S: Likewise.
30315 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30317 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30318 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30319 * sysdeps/i386/fpu/e_log2.S: Likewise.
30320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30322 * sysdeps/i386/fpu/e_powl.S: Likewise.
30323 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30324 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30325 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30326 * sysdeps/i386/fpu/e_logl.S: Likewise.
30327 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30328 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30333 * sysdeps/i386/fpu/e_log.S: Likewise.
30334 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30335 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30336 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30337 * sysdeps/i386/fpu/e_logf.S: Likewise.
30338 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30339 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30340 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30341 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30342 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30343 * sysdeps/i386/fpu/e_log10.S: Likewise.
30344 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30345 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30346 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30347 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30348 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30349 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30350 * sysdeps/i386/asm-syntax.h: Likewise.
30351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30354 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30355 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30356 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30357 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30358 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30359 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30360 * sysdeps/powerpc/sysdep.h: Likewise.
30361 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30364 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30367 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30369 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/i386/sysdep.h: Include <features.h>.
30372 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30375 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30377 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30379 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30382 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30384 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30385 (SETUP_PIC_REG): Use GET_PC_THUNK.
30386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30389 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30392 for non-PIC compilation.
30393 (SETUP_PIC_REG): Add .p2align directive.
30394 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30395 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30407 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30411 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30417 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30421 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30422 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30423 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30424 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30425 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30426 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30429 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30430 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30431 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30433 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30434 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30436 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30438 * math/tst-CMPLX.c: Include <stdio.h>.
30440 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30444 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30445 * sysdeps/sparc/bits/mathdef.h: Likewise.
30447 2012-01-31 Marek Polacek <polacek@redhat.com>
30449 * libio/libio.h: Don't define _PARAMS.
30450 * locale/programs/config.h: Don't define PARAMS.
30451 * stdlib/strtol_l.c: Likewise.
30452 (__strtol_l): Remove PARAMS from the prototype.
30454 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30456 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30457 names. Just use the correct names. Remove unnecessary wrapper
30459 * malloc/arena.c: Likewise.
30460 * malloc/hooks.c: Likewise.
30462 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30463 ARENA_TEST says not to. Simplify test for creation of a new arena.
30464 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30466 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30468 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30470 (update_get_addr): New function.
30471 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30472 GET_ADDR_MODULE parameter.
30474 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30476 * crypt/cert.c: Remove __STDC__ conditionals.
30477 * crypt/crypt-entry.c: Likewise.
30478 * crypt/crypt_util.c: Likewise.
30479 * libio/filedoalloc.c: Likewise.
30480 * libio/fileops.c: Likewise.
30481 * libio/genops.c: Likewise.
30482 * libio/iofclose.c: Likewise.
30483 * libio/iofdopen.c: Likewise.
30484 * libio/iofopen.c: Likewise.
30485 * libio/iofopen64.c: Likewise.
30486 * libio/iogetdelim.c: Likewise.
30487 * libio/iopopen.c: Likewise.
30488 * libio/obprintf.c: Likewise.
30489 * libio/oldfileops.c: Likewise.
30490 * libio/oldiofclose.c: Likewise.
30491 * libio/oldiofdopen.c: Likewise.
30492 * libio/oldiofopen.c: Likewise.
30493 * libio/oldiopopen.c: Likewise.
30494 * libio/wfiledoalloc.c: Likewise.
30495 * libio/wgenops.c: Likewise.
30496 * locale/programs/xmalloc.c: Likewise.
30497 * misc/syslog.c: Likewise.
30498 * stdio-common/xbug.c: Likewise.
30499 * string/memchr.c: Likewise.
30500 * string/memcmp.c: Likewise.
30501 * string/memrchr.c: Likewise.
30502 * string/rawmemchr.c: Likewise.
30503 * sysdeps/posix/getcwd.c: Likewise.
30504 * time/strftime_l.c: Likewise.
30506 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30508 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30509 * config.make.in (config-cflags-sse2avx): Define.
30510 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30513 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30515 * scripts/config.guess: Update from upstream config git repository.
30516 * scripts/config.sub: Likewise.
30518 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30520 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30522 (R_TILEPRO_*, R_TILEGX_*): New macros.
30524 * scripts/firstversions.awk: Fix bug in version range handling.
30526 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30528 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30530 * include/sys/epoll.h: New file.
30531 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30534 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30536 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30537 Avoid unnecessary __WORDSIZE == 64 test.
30538 (fmaxf): Use VEX format if possible.
30543 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30544 * math/math_private.h: Remove libc_fegetround* and
30546 * sysdeps/i386/configure.in: Check for -msse2avx.
30547 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30548 also if SSE2AVX is defined.
30549 Remove libc_fegetround* and libc_fesetround*.
30550 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30551 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30552 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30560 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30562 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30568 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30571 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30573 * Makeconfig (libm): Define.
30574 * elf/Makefile: Add rules to build and run tst-relsort1.
30575 * elf/tst-relsort1.c: New file.
30576 * elf/tst-relsort1mod1.c: New file.
30577 * elf/tst-relsort1mod2.c: New file.
30579 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30581 * math/s_ldexp.c: Remove __STDC__ conditionals.
30582 * math/s_ldexpf.c: Likewise.
30583 * math/s_ldexpl.c: Likewise.
30584 * math/s_nextafter.c: Likewise.
30585 * math/s_nexttowardf.c: Likewise.
30586 * math/s_significand.c: Likewise.
30587 * math/s_significandf.c: Likewise.
30588 * math/s_significandl.c: Likewise.
30589 * math/w_jnl.c: Likewise.
30590 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30591 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30592 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30593 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30594 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30609 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30621 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30622 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30623 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30624 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30627 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30628 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30629 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30630 * sysdeps/ieee754/k_standard.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30697 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30706 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30710 * sysdeps/ieee754/s_matherr.c: Likewise.
30711 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30712 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30716 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30718 * crypt/md5.h: Remove __STDC__ conditionals.
30719 * libio/libioP.h: Likewise.
30720 * locale/programs/config.h: Likewise.
30721 * sysdeps/generic/sysdep.h: Likewise.
30722 * sysdeps/i386/asm-syntax.h: Likewise.
30723 * sysdeps/s390/asm-syntax.h: Likewise.
30724 * sysdeps/unix/sysdep.h: Likewise.
30725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30728 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30730 * libio/libio.h: Remove __STDC__ conditionals.
30731 * malloc/obstack.h: Likewise.
30732 * math/complex.h: Likewise.
30733 * math/math.h: Likewise.
30734 * sysdeps/generic/_G_config.h: Likewise.
30735 * sysdeps/gnu/_G_config.h: Likewise.
30736 * sysdeps/mach/hurd/_G_config.h: Likewise.
30737 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30738 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30739 * sysdeps/sparc/bits/mathdef.h: Likewise.
30741 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30745 Clean up HAS_* macros.
30746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30747 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30757 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30759 * elf/tst-unique3.cc (gets): Remove declaration.
30760 * elf/tst-unique3lib.cc (gets): Likewise.
30761 * elf/tst-unique3lib2.cc (gets): Likewise.
30762 * elf/tst-unique4.cc (gets): Likewise.
30764 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30766 * include/stdio.h: Add C++ protection. Add gets declarations and
30768 * debug/tst-chk1.c: Don't declare gets here.
30769 * stdio-common/tst-gets.c: Likewise.
30771 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30773 * posix/glob: Remove directory.
30775 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30777 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30779 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30781 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30782 of the non-standard EPFNOSUPPORT.
30784 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30786 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30787 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30788 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30790 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30792 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30794 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30796 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30798 * nscd/grpcache.c (cache_addgr): Likewise.
30799 * nscd/hstcache.c (cache_addhst): Likewise.
30800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30801 * nscd/pwdcache.c (cache_addpw): Likewise.
30802 * nscd/servicescache.c (cache_addserv): Likewise.
30804 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30806 * malloc/malloc.c: Various cleanups.
30807 * malloc/hooks.c: Likewise.
30809 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30810 * stdlib/bug-fmtmsg1.c: New file.
30812 * stdlib/fmtmsg.c (init): Add missing unlock.
30813 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30815 2012-01-12 Marek Polacek <polacek@redhat.com>
30817 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30820 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30822 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30824 macro to ensure uniqueness of label name.
30825 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30826 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30828 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30830 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30833 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30837 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30841 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30842 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30845 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30847 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30848 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30852 * math/bits/math-finite.h: Add ldexp support.
30854 2012-01-10 Marek Polacek <polacek@redhat.com>
30856 * locale/programs/localedef.h (show_archive_content): Add noreturn
30859 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30861 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30863 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30865 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30867 * io/Makefile (headers): Add bits/poll2.h.
30869 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30872 typo #include statement.
30874 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30876 * include/sys/cdefs.h: Define __attribute_alloc_size.
30877 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30878 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30879 * elf/pldd.c: Likewise.
30880 * iconv/iconv_charmap.c: Likewise.
30881 * iconv/iconvconfig.c: Likewise.
30882 * iconv/strtab.c: Likewise.
30883 * locale/programs/locale.c: Likewise.
30884 * locale/programs/localedef.h: Likewise.
30885 * locale/programs/simple-hash.c: Likewise.
30886 * nscd/nscd.h: Likewise.
30887 * nss/makedb.c: Likewise.
30888 * sysdeps/generic/ldconfig.h: Likewise.
30889 * locale/programs/localedef.c: Remove xmalloc prototype.
30890 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30892 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30894 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30897 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30899 * math/Makefile (tests): Add tst-CMPLX.
30900 * math/tst-CMPLX.c: New file.
30902 * math/complex.h (CMPLXL): Fix typo.
30904 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30905 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30907 * debug/tst-chk1.c: Add poll and ppoll tests.
30908 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30909 * include/sys/poll.h: Add hidden proto for ppoll.
30910 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30911 * sysdeps/mach/hurd/ppoll.c: Likewise.
30912 * io/ppoll.c: Likewise.
30913 * debug/poll_chk.c: New file.
30914 * debug/ppoll_chk.c: New file.
30915 * include/bits/poll2.h: New file.
30916 * io/bits/poll2.h: New file.
30919 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30921 * configure.in: static is always set to yes. Remove.
30922 * config.make.in: Don't set build-static.
30923 * Makeconfig: Remove use of build-static.
30924 * dlfcn/Makefile: Likewise.
30925 * elf/Makefile: Likewise.
30926 * math/Makefile: Likewise.
30927 * misc/Makefile: Likewise.
30928 * nptl/Makefile: Likewise.
30929 * sysdeps/mach/hurd/Makefile: Likewise.
30931 * configure.in: PWD_P is not used anymore.
30932 * config.make.in: Remove PWD_P entry.
30934 * configure.in: Remove last remnants of RANLIB.
30935 No need to check for signed size_t anymore.
30936 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30938 Remove __builtin_expect test because we require at least gcc 3.4.
30939 * aclocal.m4: Likewise.
30941 * wcsmbs/mbrtoc16.c: Implement using towc function.
30942 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30943 * wcsmbs/wcsmbsload.c: Likewise.
30944 * iconv/gconv_simple.c: Likewise.
30945 * iconv/gconv_int.h: Likewise.
30946 * iconv/gconv_builtin.h: Likewise.
30947 * iconv/iconv_prog.c: Remove CHAR16 handling.
30949 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30951 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30953 * configure.in: Remove --with-elf and --enable-bounded options.
30954 Dont set base_machine for ia64. More non-ELF conditions removed.
30955 Remove testing and setting of leading underscore information.
30956 * config.make.in (build-bounded): Set to no.
30957 * config.h.in: Remove NO_UNDERSCORES entry.
30958 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30960 * csu/start.c: Remove !NO_UNDERSCORE code.
30961 * locale/localeinfo.h: Likewise.
30962 * sysdeps/generic/machine-gmon.h: Likewise.
30963 * sysdeps/generic/sysdep.h: Likewise.
30964 * sysdeps/i386/sysdep.h: Likewise.
30965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30966 * sysdeps/mach/sysdep.h: Likewise.
30967 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30969 * sysdeps/sh/sysdep.h: Likewise.
30970 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30971 * sysdeps/unix/i386/sysdep.S: Likewise.
30972 * sysdeps/unix/sparc/start.c: Likewise.
30973 * sysdeps/unix/sparc/sysdep.S: Likewise.
30974 * sysdeps/unix/sparc/sysdep.h: Likewise.
30975 * sysdeps/unix/start.c: Likewise.
30976 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30977 * sysdeps/x86_64/sysdep.h: Likewise.
30979 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30982 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30984 * argp/argp-fmtstream.h: Use const instead __const.
30985 * argp/argp.h: Likewise.
30986 * assert/assert.h: Likewise.
30987 * bits/fenv.h: Likewise.
30988 * bits/sched.h: Likewise.
30989 * bits/sigset.h: Likewise.
30990 * bits/sigthread.h: Likewise.
30991 * catgets/nl_types.h: Likewise.
30992 * conform/data/pthread.h-data: Likewise.
30993 * crypt/crypt-private.h: Likewise.
30994 * crypt/crypt.h: Likewise.
30995 * crypt/crypt_util.c: Likewise.
30996 * ctype/ctype.h: Likewise.
30997 * debug/execinfo.h: Likewise.
30998 * debug/mbsnrtowcs_chk.c: Likewise.
30999 * debug/mbsrtowcs_chk.c: Likewise.
31000 * debug/wcsnrtombs_chk.c: Likewise.
31001 * debug/wcsrtombs_chk.c: Likewise.
31002 * debug/wcstombs_chk.c: Likewise.
31003 * dirent/dirent.h: Likewise.
31004 * dlfcn/dlfcn.h: Likewise.
31005 * elf/neededtest4.c: Likewise.
31006 * grp/grp.h: Likewise.
31007 * gshadow/gshadow.h: Likewise.
31008 * iconv/gconv.h: Likewise.
31009 * iconv/gconv_int.h: Likewise.
31010 * iconv/gconv_simple.c: Likewise.
31011 * iconv/iconv.h: Likewise.
31012 * iconv/loop.c: Likewise.
31013 * iconv/skeleton.c: Likewise.
31014 * include/aio.h: Likewise.
31015 * include/aliases.h: Likewise.
31016 * include/argz.h: Likewise.
31017 * include/arpa/inet.h: Likewise.
31018 * include/assert.h: Likewise.
31019 * include/dirent.h: Likewise.
31020 * include/dlfcn.h: Likewise.
31021 * include/execinfo.h: Likewise.
31022 * include/fcntl.h: Likewise.
31023 * include/fenv.h: Likewise.
31024 * include/glob.h: Likewise.
31025 * include/grp.h: Likewise.
31026 * include/libintl.h: Likewise.
31027 * include/mntent.h: Likewise.
31028 * include/netdb.h: Likewise.
31029 * include/pwd.h: Likewise.
31030 * include/rpc/netdb.h: Likewise.
31031 * include/sched.h: Likewise.
31032 * include/search.h: Likewise.
31033 * include/shadow.h: Likewise.
31034 * include/signal.h: Likewise.
31035 * include/stdio.h: Likewise.
31036 * include/stdlib.h: Likewise.
31037 * include/string.h: Likewise.
31038 * include/sys/socket.h: Likewise.
31039 * include/sys/stat.h: Likewise.
31040 * include/sys/statfs.h: Likewise.
31041 * include/sys/statvfs.h: Likewise.
31042 * include/sys/syslog.h: Likewise.
31043 * include/sys/time.h: Likewise.
31044 * include/sys/uio.h: Likewise.
31045 * include/time.h: Likewise.
31046 * include/unistd.h: Likewise.
31047 * include/utmp.h: Likewise.
31048 * include/wchar.h: Likewise.
31049 * include/wctype.h: Likewise.
31050 * inet/aliases.h: Likewise.
31051 * inet/arpa/inet.h: Likewise.
31052 * inet/netinet/ether.h: Likewise.
31053 * inet/netinet/in.h: Likewise.
31054 * intl/libintl.h: Likewise.
31055 * io/bits/fcntl2.h: Likewise.
31056 * io/fcntl.h: Likewise.
31057 * io/ftw.h: Likewise.
31058 * io/sys/poll.h: Likewise.
31059 * io/sys/stat.h: Likewise.
31060 * io/sys/statfs.h: Likewise.
31061 * io/sys/statvfs.h: Likewise.
31062 * io/utime.h: Likewise.
31063 * libio/bits/stdio.h: Likewise.
31064 * libio/bits/stdio2.h: Likewise.
31065 * libio/libio.h: Likewise.
31066 * libio/libioP.h: Likewise.
31067 * libio/stdio.h: Likewise.
31068 * locale/lc-ctype.c: Likewise.
31069 * locale/locale.h: Likewise.
31070 * login/utmp.h: Likewise.
31071 * malloc/arena.c: Likewise.
31072 * malloc/malloc.c: Likewise.
31073 * malloc/malloc.h: Likewise.
31074 * malloc/mcheck.c: Likewise.
31075 * malloc/mtrace.c: Likewise.
31076 * math/bits/mathcalls.h: Likewise.
31077 * math/fenv.h: Likewise.
31078 * math/math_private.h: Likewise.
31079 * misc/bits/error.h: Likewise.
31080 * misc/bits/syslog.h: Likewise.
31081 * misc/err.h: Likewise.
31082 * misc/error.h: Likewise.
31083 * misc/fstab.h: Likewise.
31084 * misc/mntent.h: Likewise.
31085 * misc/regexp.h: Likewise.
31086 * misc/search.h: Likewise.
31087 * misc/sgtty.h: Likewise.
31088 * misc/sys/mman.h: Likewise.
31089 * misc/sys/syslog.h: Likewise.
31090 * misc/sys/uio.h: Likewise.
31091 * misc/sys/xattr.h: Likewise.
31092 * misc/ttyent.h: Likewise.
31093 * nis/rpcsvc/ypclnt.h: Likewise.
31094 * nss/nss.h: Likewise.
31095 * posix/bits/unistd.h: Likewise.
31096 * posix/fnmatch.h: Likewise.
31097 * posix/glob.h: Likewise.
31098 * posix/sched.h: Likewise.
31099 * posix/spawn.h: Likewise.
31100 * posix/sys/wait.h: Likewise.
31101 * posix/unistd.h: Likewise.
31102 * posix/wordexp.h: Likewise.
31103 * pwd/pwd.h: Likewise.
31104 * resolv/netdb.h: Likewise.
31105 * resource/sys/resource.h: Likewise.
31106 * rt/aio.h: Likewise.
31107 * rt/bits/mqueue2.h: Likewise.
31108 * rt/mqueue.h: Likewise.
31109 * shadow/shadow.h: Likewise.
31110 * signal/signal.h: Likewise.
31111 * socket/send.c: Likewise.
31112 * socket/sendto.c: Likewise.
31113 * socket/sys/socket.h: Likewise.
31114 * stdio-common/printf.h: Likewise.
31115 * stdlib/bits/stdlib.h: Likewise.
31116 * stdlib/fmtmsg.h: Likewise.
31117 * stdlib/monetary.h: Likewise.
31118 * stdlib/stdlib.h: Likewise.
31119 * stdlib/ucontext.h: Likewise.
31120 * streams/stropts.h: Likewise.
31121 * string/argz.h: Likewise.
31122 * string/bits/string2.h: Likewise.
31123 * string/string.h: Likewise.
31124 * string/strings.h: Likewise.
31125 * sunrpc/rpc/auth.h: Likewise.
31126 * sunrpc/rpc/auth_des.h: Likewise.
31127 * sunrpc/rpc/clnt.h: Likewise.
31128 * sunrpc/rpc/netdb.h: Likewise.
31129 * sunrpc/rpc/pmap_clnt.h: Likewise.
31130 * sunrpc/rpc/xdr.h: Likewise.
31131 * sysdeps/generic/inttypes.h: Likewise.
31132 * sysdeps/generic/net/if.h: Likewise.
31133 * sysdeps/generic/sys/swap.h: Likewise.
31134 * sysdeps/gnu/net/if.h: Likewise.
31135 * sysdeps/gnu/utmpx.h: Likewise.
31136 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31137 * sysdeps/i386/i486/bits/string.h: Likewise.
31138 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31139 * sysdeps/s390/bits/string.h: Likewise.
31140 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31141 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31142 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31143 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31144 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31145 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31146 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31147 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31148 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31149 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31150 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31151 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31152 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31153 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31154 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31155 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31156 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31160 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31162 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31163 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31164 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31165 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31168 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31169 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31170 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31171 * sysvipc/sys/ipc.h: Likewise.
31172 * sysvipc/sys/msg.h: Likewise.
31173 * sysvipc/sys/sem.h: Likewise.
31174 * sysvipc/sys/shm.h: Likewise.
31175 * termios/termios.h: Likewise.
31176 * time/sys/time.h: Likewise.
31177 * time/time.h: Likewise.
31178 * wcsmbs/bits/wchar2.h: Likewise.
31179 * wcsmbs/uchar.h: Likewise.
31180 * wcsmbs/wchar.h: Likewise.
31181 * wctype/wctype.h: Likewise.
31184 * Makeconfig: Remove all but ELF support including AIX support.
31185 * Makerules: Likewise.
31186 * config.h.in: Likewise.
31187 * config.make.in: Likewise.
31188 * configure: Likewise.
31189 * configure.in: Likewise.
31190 * csu/Makefile: Likewise.
31191 * csu/version.c: Likewise.
31192 * debug/Makefile: Likewise.
31193 * dlfcn/Makefile: Likewise.
31194 * elf/Makefile: Likewise.
31195 * extra-lib.mk: Likewise.
31196 * iconv/Makefile: Likewise.
31197 * include/libc-symbols.h: Likewise.
31198 * include/shlib-compat.h: Likewise.
31199 * resolv/Makefile: Likewise.
31200 * resolv/res_libc.c: Likewise.
31201 * rt/Makefile: Likewise.
31202 * sysdeps/i386/asm-syntax.h: Likewise.
31203 * sysdeps/i386/sysdep.h: Likewise.
31204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31205 * sysdeps/mach/sysdep.h: Likewise.
31206 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31207 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31208 * sysdeps/s390/asm-syntax.h: Likewise.
31209 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31211 * sysdeps/sh/sysdep.h: Likewise.
31212 * sysdeps/unix/sparc/sysdep.h: Likewise.
31213 * sysdeps/wordsize-32/divdi3.c: Likewise.
31214 * sysdeps/x86_64/sysdep.h: Likewise.
31216 * argp/Versions: Remove _argp_unlock_xxx.
31219 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31220 * abilist/libBrokenLocale.abilist: Likewise.
31221 * abilist/libanl.abilist: Likewise.
31222 * abilist/libc.abilist: Likewise.
31223 * abilist/libcrypt.abilist: Likewise.
31224 * abilist/libdl.abilist: Likewise.
31225 * abilist/libm.abilist: Likewise.
31226 * abilist/libnsl.abilist: Likewise.
31227 * abilist/libpthread.abilist: Likewise.
31228 * abilist/libresolv.abilist: Likewise.
31229 * abilist/librt.abilist: Likewise.
31230 * abilist/libthread_db.abilist: Likewise.
31231 * abilist/libutil.abilist: Likewise.
31232 * abilist/libnss_db.abilist: New file.
31234 * scripts/abilist.awk: Add support for indirect functions.
31236 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31238 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31240 * shlib-versions: Remove entries for ports architectures.
31242 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31244 * elf/stackguard-macros.h: Remove support for IA-64.
31245 * elf/tst-auditmod1.c: Likewise.
31246 * sysdeps/generic/ldsodefs.h: Likewise.
31248 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31249 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31253 * configure.in: Remove --enable-omitfp support.
31255 * config.make.in: Likewise.
31256 * Makeconfig: Likewise.
31257 * manual/install.texi: Likewise.
31259 In case anyone cares, the IA-64 architecture could move to ports.
31260 * sysdeps/ia64/*: Removed.
31261 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31262 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31265 * configure.in: Remove entries for unsupported architectures.
31268 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31269 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31271 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31272 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31273 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31274 fall back to using wcrtomb.
31275 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31276 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31278 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31279 * wcsmbs/tst-c16c32-1.c: New file.
31281 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31284 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31286 * elf/tst-unique3.cc: Add explicit declaration of gets.
31287 * elf/tst-unique3lib.cc: Likewise.
31288 * elf/tst-unique3lib2.cc: Likewise.
31289 * elf/tst-unique4.cc: Likewise.
31291 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31293 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31296 * assert/assert.h (static_assert): Don't define for C++.
31297 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31298 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31300 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31302 * iconv/loop.c (single loop): Fix assertion in storing of
31305 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31307 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31309 * posix/getconf.c: Update copyright year.
31310 * nss/getent.c: Likewise.
31311 * nss/makedb.c: Likewise.
31312 * iconv/iconvconfig.c: Likewise.
31313 * iconv/iconv_prog.c: Likewise.
31314 * elf/ldconfig.c: Likewise.
31315 * elf/pldd.c: Likewise.
31316 * elf/sotruss.ksh: Likewise.
31317 * catgets/gencat.c: Likewise.
31318 * csu/version.c: Likewise.
31319 * elf/ldd.bash.in: Likewise.
31320 * elf/sprof.c (print_version): Likewise.
31321 * locale/programs/locale.c: Likewise.
31322 * locale/programs/localedef.c: Likewise.
31323 * login/programs/pt_chown.c: Likewise.
31324 * nscd/nscd.c (print_version): Likewise.
31325 * debug/xtrace.sh: Likewise.
31326 * malloc/memusage.sh: Likewise.
31327 * malloc/mtrace.pl: Likewise.
31328 * debug/catchsegv.sh: Likewise.
31330 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31332 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31335 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31338 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31339 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31341 * iconv/gconv_int.h: Likewise.
31342 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31343 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31344 from libc for GLIBC_2.16.
31345 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31346 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31347 * wcsmbs/uchar.h: Really define mbstate_t.
31348 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31349 * wcsmbs/c16rtomb.c: New file.
31350 * wcsmbs/mbrtoc16.c: New file.
31351 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31352 for C/POSIX locale.
31353 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31354 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31356 * wcsmbs/wchar.h: Add missing __restrict.
31358 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31361 * time/Makefile (routines): Add timespec_get.
31362 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31363 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31364 timespec for ISO C11.
31365 * time/timespec_get.c: New file.
31366 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31367 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31370 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31371 * stdlib/stdlib.h: Declare aligned_alloc.
31372 * Versions.def: Add GLIBC_2.16 for libc.
31373 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31376 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31379 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31383 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31386 * assert/assert.h (static_assert): Define.
31388 * version.h: Update for 2.16 development version.
31391 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31394 * version.h (RELEASE): Bump for 2.15 release.
31395 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31397 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31398 Patch by Marek Polacek <mpolacek@redhat.com>.
31400 * bits/byteswap.h: Protect long long constants with __extension__.
31401 * sysdeps/i386/bits/byteswap.h: Likewise.
31402 * sysdeps/ia64/bits/byteswap.h: Likewise.
31403 * sysdeps/s390/bits/byteswap.h: Likewise.
31404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31406 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31410 destination buffer.
31411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31413 2011-12-23 Marek Polacek <polacek@redhat.com>
31415 * elf/dl-addr.c (determine_info): Add inline keyword.
31416 * elf/tst-auditmod4b.c (check_avx): Likewise.
31417 * elf/tst-auditmod6b.c (check_avx): Likewise.
31418 * elf/tst-auditmod6c.c (check_avx): Likewise.
31419 * elf/tst-auditmod7b.c (check_avx): Likewise.
31421 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31426 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31430 processing for last bytes.
31432 2011-08-06 Bruno Haible <bruno@clisp.org>
31435 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31436 U+0385, not to U+1FEE.
31439 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31440 entry for U+00A5 U+0301.
31442 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31445 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31446 buffer for the output is too small.
31448 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31452 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31453 SSE flags if possible.
31455 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31459 processing for last bytes.
31461 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31463 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31464 (syscall-list-default-options, syscall-list-default-condition)
31465 (syscall-list-includes): Define.
31466 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31467 list of ABIs and options and #if conditions for each ABI. Do not
31468 handle common syscalls between ABIs specially.
31469 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31471 (syscall-list-variants, syscall-list-32bit-options)
31472 (syscall-list-32bit-condition, syscall-list-64bit-options)
31473 (syscall-list-64bit-condition): Define.
31474 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31475 (syscall-list-variants, syscall-list-32bit-options)
31476 (syscall-list-32bit-condition, syscall-list-64bit-options)
31477 (syscall-list-64bit-condition): Define.
31478 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31480 (syscall-list-variants, syscall-list-32bit-options)
31481 (syscall-list-32bit-condition, syscall-list-64bit-options)
31482 (syscall-list-64bit-condition): Define.
31483 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31485 (syscall-list-variants, syscall-list-32bit-options)
31486 (syscall-list-32bit-condition, syscall-list-64bit-options)
31487 (syscall-list-64bit-condition): Define.
31489 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31491 * locale/iso-639.def: Add brx entry.
31494 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31495 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31497 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31498 __feraiseexcept_renamed.
31500 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31503 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31504 EPOLLET with unsigned values.
31505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31508 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31509 to large cancellation.
31510 * math/s_cacoshf.c: Likewise.
31511 * math/s_cacoshl.c: Likewise.
31513 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31517 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31518 * math/s_cacoshf.c: Likewise.
31519 * math/s_cacoshl.c: Likewise.
31521 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31524 * iconv/gconv.h: Define __GCONV_SWAP.
31525 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31526 * iconvdata/utf-16.c: Likewise.
31527 * iconvdata/utf-32.c: Likewise.
31529 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31533 numerator after shifting it by one limb.
31535 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31537 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31538 under [__USE_EXTERN_INLINES].
31540 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31543 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31545 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31547 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31548 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31550 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31551 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31552 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31553 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31554 for strncasecmp/strncasecmp_l compilation.
31555 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31556 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31558 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31561 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31564 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31567 * time/tzfile.c (__tzfile_read): Check values from file header.
31569 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31571 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31572 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31573 * powerpc/powerpc32/dl-start.S: Likewise.
31574 * powerpc/powerpc32/elf/start.S: Likewise.
31575 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31576 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31577 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31578 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31579 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31580 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31581 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31582 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31583 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31584 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31585 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31586 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31587 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31588 * powerpc/powerpc32/memset.S: Likewise.
31589 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31590 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31591 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31592 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31593 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31594 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31595 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31596 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31597 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31598 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31599 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31600 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31601 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31603 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31605 * math/libm-test.inc: Added more nearbyint tests.
31606 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31611 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31613 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31616 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31618 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31619 Add wcscpy-ssse3 wcscpy-c.
31620 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31621 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31622 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31623 * sysdeps/x86_64/wcschr.S: New file.
31624 * sysdeps/x86_64/wcsrchr.S: New file.
31625 * string/test-strcmp.c: Remove checking of wcscmp function for
31627 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31628 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31629 wcsrchr-sse2 wcsrchr-c.
31630 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31631 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31632 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31633 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31634 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31635 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31636 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31637 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31638 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31639 * wcsmbc/wcschr.c (WCSCHR): New macro.
31641 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31643 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31644 * wcsmbs/test-wcsrchr.c: New file.
31645 * string/test-strrchr.c: Add wcsrchr support.
31647 * wcsmbs/test-wcscpy.c: New file.
31648 * string/test-strcpy.c: Add wcscpy support.
31651 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31656 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31659 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31661 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31664 Minor optimizations.
31666 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31667 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31668 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31670 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31672 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31673 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31674 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31675 for gcc to avoid warnings.
31676 * inet/Makefile (tests): Add tst-checks.
31677 * inet/tst-checks.c: New file.
31679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31682 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31685 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31686 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31688 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31690 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31692 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31695 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31697 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31699 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31700 conditional on GCC version.
31701 (__arch_compare_and_exchange_val_8_acq)
31702 (__arch_compare_and_exchange_val_16_acq)
31703 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31704 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31705 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31707 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31709 * sysdeps/sh/backtrace.c: New file.
31711 2011-12-02 Andreas Schwab <schwab@redhat.com>
31713 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31716 2011-12-01 Andreas Schwab <schwab@redhat.com>
31718 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31719 falling back to utime.
31721 2011-11-30 Andreas Schwab <schwab@redhat.com>
31723 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31724 expectations for float.
31726 2011-11-29 Andreas Schwab <schwab@redhat.com>
31728 * locale/weight.h (findidx): Add parameter len.
31729 * locale/weightwc.h (findidx): Likewise.
31730 * posix/fnmatch_loop.c (FCT): Adjust caller.
31731 * posix/regcomp.c (build_equiv_class): Likewise.
31732 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31733 * posix/regexec.c (check_node_accept_bytes): Likewise.
31734 * string/strcoll_l.c (STRCOLL): Likewise.
31735 * string/strxfrm_l.c (STRXFRM): Likewise.
31737 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31739 * Makefile.in: Remove CVSOPT handling.
31740 * configure.in: Remove use of AC_REVISION.
31741 * iconvdata/Makefile (distribute): No need to filter out CVS.
31742 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31745 2011-11-16 Andreas Schwab <schwab@redhat.com>
31747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31748 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31749 [USE_AS_STRNCASECMP_L]: Likewise.
31750 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31751 NO_TLS_DIRECT_SEG_REFS.
31752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31753 Fix argument offsets for non-PIC.
31754 [USE_AS_STRNCASECMP_L]: Likewise.
31755 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31756 NO_TLS_DIRECT_SEG_REFS.
31758 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31760 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31762 * locale/loadlocale.c (_nl_load_locale): Likewise.
31764 2011-11-15 Andreas Schwab <schwab@redhat.com>
31766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31767 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31769 (SYSCALL_GETTIME): Set errno on error.
31771 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31772 count references to noai6ai_cached.
31774 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31776 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31778 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31779 FD_CLOEXEC for /proc/self/maps.
31781 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31782 FD_CLOEXEC for /proc/meminfo.
31784 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31787 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31788 FD_CLOEXEC for given file.
31790 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31792 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31793 FD_CLOEXEC for /etc/hosts.
31794 (_gethtent): Likewise.
31796 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31798 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31799 cancellation and set FD_CLOEXEC for /etc/netgroup.
31801 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31802 reading /etc/publickey.
31804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31805 allow cancellation when reading /etc/group.
31807 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31809 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31811 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31812 when using data file.
31814 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31816 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31817 (write_nis_obj): Use "c" and "e" in fopen.
31819 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31821 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31823 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31825 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31827 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31830 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31832 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31834 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31836 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31837 file parsing and set FD_CLOEXEC.
31839 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31841 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31843 2011-11-14 Andreas Schwab <schwab@redhat.com>
31845 * malloc/arena.c (arena_get2): Don't call reused_arena when
31846 _int_new_arena failed.
31848 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31850 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31851 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31856 to compile strcasecmp and strncasecmp.
31857 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31858 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31862 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31865 locale-defines.sym to gen-as-const-headers.
31866 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31867 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31869 to compile strcasecmp and strncasecmp.
31870 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31871 strcasecmp_l and strncasecmp_l.
31872 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31873 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31874 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31875 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31876 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31877 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31878 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31879 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31880 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31881 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31882 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31884 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31886 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31887 result of SYSDEP_GETTIME_CPU to retval.
31888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31889 parameter list to macro. Remove trailing semicolon. Adjust users.
31891 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31894 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31898 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31899 from unused variable.
31901 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31903 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31906 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31909 * sunrpc/rpc_prot.c (rejected): Fix case value.
31911 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31912 unsigned long long int to avoid warnings in shift.
31914 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31916 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31919 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31920 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31923 * nis/nis_table.c (nis_list): Use variable of correct type for
31924 result of __follow_path call.
31926 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31928 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31929 of math functions ceil, trunc, floor, round, and sqrt, when
31930 avaliable on the platform.
31931 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31934 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31935 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31937 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31939 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31940 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31942 2011-11-11 Roland McGrath <roland@hack.frob.com>
31944 * include/unistd.h: Fix __readlink return type.
31945 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31947 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31949 * stdlib/ucontext.h: Undo last change for makecontext.
31951 2011-11-11 Andreas Schwab <schwab@redhat.com>
31953 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31955 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31956 * setjmp/setjmp.h: Mark functions as non-leaf.
31957 * setjmp/bits/setjmp2.h: Likewise.
31958 * stdlib/ucontext.h: Likewise.
31960 2011-11-10 Andreas Schwab <schwab@redhat.com>
31962 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31963 (reused_arena): Don't check arena limit.
31964 (arena_get2): Atomically check arena limit.
31966 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31968 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31969 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31974 2011-11-07 Andreas Schwab <schwab@redhat.com>
31976 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31977 handler when locking.
31979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31980 Fix size of allocated buffer.
31982 2011-11-04 Andreas Schwab <schwab@redhat.com>
31985 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31986 declarations for long double functions.
31987 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31989 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31991 2011-11-03 Andreas Schwab <schwab@redhat.com>
31993 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31996 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31999 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32001 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32003 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32005 * include/alloca.h (stackinfo_alloca_round): Define.
32006 (extend_alloca): Use it.
32007 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32008 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32011 * scripts/check-local-headers.sh: Ignore libaudit.h.
32013 * nscd/Makefile (extra-objs): Make recursively expanded.
32015 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32017 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32020 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32021 * posix/tst-rfc3484-2.c: Likewise.
32022 * posix/tst-rfc3484-3.c: Likewise.
32024 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32026 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32028 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32029 process_vm_writev from libc using GLIBC_2.15 version.
32031 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32033 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32035 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32038 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32041 * nss/getent.c (initgroups_keys): Show error message in case no group
32044 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32045 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32046 __bump_nl_timestamp.
32047 * nscd/connections (nscd_init): When host database is served open
32048 netlink socket and request notification about configuration changes.
32049 (main_loop_poll): Track netlink file descriptor and bump timestamp
32050 in case data becomes available.
32051 (main_loop_epoll): Likewise.
32052 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32053 (database_pers_head): Add extra_data fileds.
32054 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32055 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32056 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32059 in6ai data, call __free_in6ai.
32060 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32061 Add -DHAVE_NETLINK.
32062 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32063 interface information. Reuse previous data if netlink timestamp
32065 (__bump_nl_timestamp): New function.
32066 (__free_in6ai): New function.
32068 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32071 close_not_cancel_no_status here.
32072 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32074 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32077 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32080 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32081 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32082 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32084 2011-07-03 Andreas Jaeger <aj@suse.de>
32087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32088 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32089 * math/libm-test.inc (sin_test): Add test case.
32091 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32094 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32097 * elf/chroot_canon.c (chroot_canon): Cleanups.
32099 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32102 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32103 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32105 * string/test-strchr.c: Make usable for strchrnul testing.
32106 * string/test-strchrnul.c: New file.
32107 * string/Makefile (strop-tests): Add strchrnul.
32109 * po/it.po: Update from translation team.
32110 * po/es.po: Likewise.
32112 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32115 the three constants needed as parameters. Drop the others.
32116 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32117 __m128i_strloadu_tolower.
32118 Create and initialize variable zero and use it in all the places
32119 where _mm_setzero_si128 was used.
32121 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32122 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32123 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32126 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32127 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32128 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32129 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32130 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32131 __mpranred, __mptan.
32132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32136 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32137 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32138 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32139 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32140 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32142 2011-10-28 Andreas Schwab <schwab@redhat.com>
32144 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32145 redefine if SHARED.
32146 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32149 wide char related routines to wcsmbs subdir.
32151 2011-10-27 Andreas Schwab <schwab@redhat.com>
32154 * misc/sys/cdefs.h (__THROWNL): Define.
32155 * posix/unistd.h: Use __THREADNL instead of __THREAD
32156 for memory synchronization functions.
32158 2011-10-26 Roland McGrath <roland@hack.frob.com>
32161 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32163 * manual/stdio.texi (Obstack Streams): Node removed.
32165 2011-10-26 Andreas Schwab <schwab@redhat.com>
32167 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32171 * math/math_private.h (math_force_eval): Allow non-addressable
32173 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32175 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32178 file is not needed.
32180 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32187 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32189 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32190 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32191 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32192 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32193 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32194 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32195 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32199 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32200 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32202 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32203 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32204 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32206 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32207 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32209 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32210 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32213 place. Use VEX encoding when compiling for AVX.
32215 2011-10-25 Andreas Schwab <schwab@redhat.com>
32217 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32218 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32220 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32222 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32224 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32225 useless if() expression.
32226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32227 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32237 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32238 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32240 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32244 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32246 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32248 2011-10-25 Andreas Schwab <schwab@redhat.com>
32250 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32254 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32256 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32257 .text section. Avoid duplicate constants.
32258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32268 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32270 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32275 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32279 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32280 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32288 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32289 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32291 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32292 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32293 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32294 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32296 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32297 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32299 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32300 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32301 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32302 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32304 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32306 * sysdeps/x86_64/dla.h: Move to ...
32307 * sysdeps/x86_64/fpu/dla.h: ...here.
32308 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32309 situations. Use __builtin_fma only for gcc 4.6 and up.
32311 * config.make.in: Add have-mfma4 entry.
32312 * configure.in: Substitute libc_cv_cc_fma4.
32313 * math/Makefile (dbl-only-routines): Add sincostab.
32314 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32315 Use __sincostab not sincos.
32316 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32323 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32324 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32325 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32326 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32329 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32331 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32332 define aliases when function name is a macro.
32333 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32334 sysdeps/ieee754/dbl-64/sincos.tbl.
32335 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32336 fma4-enabled routines.
32337 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32347 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32348 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32349 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32368 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32379 2011-10-24 Andreas Schwab <schwab@redhat.com>
32381 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32383 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32385 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32387 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32391 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32392 Remove unused variable magic_bits.
32393 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32395 * string/strnlen.c: Define and use STRNLEN macro.
32396 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32397 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32399 * wcsmbs/wcslen.c: Define and use WCSLEN.
32400 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32401 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32402 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32403 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32404 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32405 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32406 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32408 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32411 strnlen-sse2-no-bsf.
32412 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32414 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32415 Add strnlen support.
32416 (USE_AS_STRNLEN): New macro.
32417 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32419 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32420 * sysdeps/x86_64/wcslen.S: New file.
32422 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32424 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32425 XMM-moves are used for copying on small sizes.
32427 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32429 * wcsmbs/Makefile (strop-tests): Add wcschr.
32430 * wcsmbs/test-wcschr.c: New file.
32431 * string/test-strchr.c: Update.
32432 Add wcschr support.
32435 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32437 * wcsmbs/Makefile (strop-tests): Add wcslen.
32438 * wcsmbs/test-wcslen.c: New file.
32439 * string/test-strlen.c: Update.
32440 Add wcslen support.
32443 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32445 * po/it.po: Update from translation team.
32447 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32449 * sysdeps/x86_64/wcscmp.S: Update.
32450 Fix wrong comparison semantics.
32451 wcscmp shall use signed comparison not unsigned.
32452 Don't use substraction to avoid overflow bug.
32453 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32454 * wcsmbc/wcscmp.c: Likewise.
32455 * string/test-strcmp.c: Likewise.
32456 Add new tests to check cases with negative values.
32458 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32460 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32461 * sysdeps/x86_64/dla.h: ...here. New file.
32462 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32472 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32475 __ynl_finite aliases.
32477 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32481 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32483 [DLA_FMA] (EMULV): Use DLA_FMA.
32484 [DLA_FMA] (MUL12): Use EMULV.
32485 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32486 that are not needed.
32487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32495 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32497 * math/s_nan.c: Undef __nan.
32498 * math/s_nanf.c: Undef __nanf.
32499 * math/s_nanl.c: Undef __nanl.
32500 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32503 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32505 * math/s_catan.c: Add branch predictions.
32506 * math/s_catanf.c: Likewise.
32507 * math/s_catanh.c: Likewise.
32508 * math/s_catanhf.c: Likewise.
32509 * math/s_catanhl.c: Likewise.
32510 * math/s_catanl.c: Likewise.
32511 * math/s_cexp.c: Likewise.
32512 * math/s_cexpf.c: Likewise.
32513 * math/s_cexpl.c: Likewise.
32514 * math/s_clog.c: Likewise.
32515 * math/s_clog10.c: Likewise.
32516 * math/s_clog10f.c: Likewise.
32517 * math/s_clog10l.c: Likewise.
32518 * math/s_clogf.c: Likewise.
32519 * math/s_clogl.c: Likewise.
32520 * math/s_csqrt.c: Likewise.
32521 * math/s_csqrtf.c: Likewise.
32522 * math/s_csqrtl.c: Likewise.
32523 * math/s_ctanf.c: Likewise.
32524 * math/s_ctanh.c: Likewise.
32525 * math/s_ctanhf.c: Likewise.
32526 * math/s_ctanhl.c: Likewise.
32527 * math/s_ctanl.c: Likewise.
32529 * math/math_private.h: Define __nan, __nanf, __nanl.
32530 * math/s_cacosh.c: Include <math_private.h>.
32531 * math/s_cacoshl.c: Likewise.
32532 * math/s_casinh.c: Likewise.
32533 * math/s_casinhf.c: Likewise.
32534 * math/s_casinhl.c: Likewise.
32535 * math/s_ccos.c: Rely entire on ccosh.
32536 * math/s_ccosf.c: Rely entire on ccoshf.
32537 * math/s_ccosl.c: Rely entirely on ccoshl.
32538 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32539 Remove tests for FE_INVALID.
32540 * math/s_ccoshf.c: Likewise.
32541 * math/s_ccoshl.c: Likewise.
32542 * math/s_csin.c: Likewise.
32543 * math/s_csinf.c: Likewise.
32544 * math/s_csinh.c Likewise.
32545 * math/s_csinhf.c: Likewise.
32546 * math/s_csinhl.c: Likewise.
32547 * math/s_csinl.c: Likewise.
32548 * math/s_ctan.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32550 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32551 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32553 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32556 compilation problems.
32558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32561 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32563 * sysdeps/i386/configure.in: Test for -mfma4 option.
32564 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32565 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32566 COMMON_CPUID_INDEX_80000001.
32567 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32568 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32569 use it if FMA3 is not supported.
32570 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32572 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32575 2011-10-20 Andreas Schwab <schwab@redhat.com>
32578 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32579 it would create a cycle with a link time dependency.
32581 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32583 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32585 * string/Makefile (strop-tests): Add rawmemchr.
32586 * string/test-rawmemchr.c: New file.
32588 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32589 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32590 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32591 when compiling str{,n}casecmp and when AVX is available. Hook up
32592 new optimized code in initializers.
32594 2011-10-19 Andreas Schwab <schwab@redhat.com>
32596 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32597 __feraiseexcept instead of feraiseexcept.
32599 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32601 * math/math_private.h: Define defaults for libc_fetestexcept and
32603 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32604 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32605 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32607 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32608 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32609 libc_fetestexcept and libc_feupdateenv.
32611 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32612 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32613 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32614 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32615 libc_feholdexcept_setround.
32617 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32618 Add s_nearbyint-c and s_nearbyintf-c.
32619 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32620 nearbyintf inlines.
32621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32623 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32624 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32626 * math/math_private.h: Define defaults for libc_fegetround,
32627 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32628 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32629 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32631 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32632 standard functions.
32633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32634 Remove comments and hacks for old compiler versions.
32635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32636 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32637 libc_feholdexceptl.
32639 2011-10-18 Andreas Schwab <schwab@redhat.com>
32641 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32642 (__feraiseexcept_renamed): Add __NTH.
32643 (feraiseexcept): Add __NTH. Rename local variables to fix
32644 namespace violations.
32646 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32648 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32652 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32653 recently added interfaces.
32654 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32656 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32657 about macro parameter expansion.
32659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32660 __NO_MATH_INLINES is defined. Cleanups.
32662 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32663 and __floorf is target has SSE4.1.
32664 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32665 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32669 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32671 (floorf): Likewise.
32673 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32675 2011-10-17 Andreas Schwab <schwab@redhat.com>
32677 * misc/sys/cdefs.h: Fix last change.
32679 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32682 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32684 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32686 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32688 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32695 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32696 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32697 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32698 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32699 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32700 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32701 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32702 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32703 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32704 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32705 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32706 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32707 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32709 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32710 ceil, ceilf, floor, floorf.
32712 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32713 Perform IRELATIVE relocations last.
32715 * elf/do-rel.h: Add another parameter nrelative, replacing the
32716 local variable with the same name. Change name of the function
32717 to end in Rel or Rela (uppercase).
32718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32719 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32720 elf_dynamic_do_##reloc function.
32722 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32724 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32725 is sufficient, at least on modern CPUs.
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32729 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32732 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32734 * math/bits/math-finite.h: Add entries for exp.
32735 * math/e_expl.c: Add __*_finite alias.
32736 * sysdeps/i386/fpu/e_exp.S: Likewise.
32737 * sysdeps/i386/fpu/e_expf.S: Likewise.
32738 * sysdeps/i386/fpu/e_expl.c: Likewise.
32739 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32740 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32744 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32745 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32747 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32748 is sufficient, at least on modern CPUs.
32750 * ctype/ctype-info.c (__ctype_init): Define.
32751 * include/ctype.h (__ctype_init): Declare.
32752 (__ctype_b_loc): The variable is always initialized.
32753 (__ctype_toupper_loc): Likewise.
32754 (__ctype_tolower_loc): Likewise.
32755 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32756 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32758 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32760 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32762 * configure.in: Also look in $cxxmachine/include for C++ system
32765 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32767 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32768 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32769 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32770 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32771 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32772 (USE_AS_WMEMCMP): New macro.
32774 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32775 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32776 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32777 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32779 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32780 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32781 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32782 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32783 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32784 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32785 (USE_AS_WMEMCMP): New macro.
32786 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32787 * sysdeps/string/test-memcmp.c: Update.
32788 Fix simple_wmemcmp.
32790 * wcsmbs/wmemcmp.c: Update.
32791 (WMEMCMP): New macro.
32794 2011-10-12 Andreas Jaeger <aj@suse.de>
32797 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32799 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32801 * libio/iofwide.c (do_length): Avoid warning.
32803 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32805 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32807 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32809 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32810 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32811 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32812 * sysdeps/i386/i686/fpu/e_log.S: New file.
32813 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32814 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32816 * ctype/ctype.h: Add support for inlined isXXX functions when
32817 compiling C++ code.
32819 2011-10-14 Andreas Schwab <schwab@redhat.com>
32821 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32823 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32825 2011-10-13 Roland McGrath <roland@hack.frob.com>
32828 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32830 2011-10-13 Andreas Schwab <schwab@redhat.com>
32832 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32833 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32836 * sysdeps/x86_64/memrchr.S: Check for zero size.
32838 * string/stratcliff.c: Add memrchr tests.
32840 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32843 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32844 rawmemchr-sse2 rawmemchr-sse2-bsf.
32845 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32846 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32847 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32848 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32849 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32850 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32851 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32852 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32853 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32854 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32855 * string/memrchr.c (MEMRCHR): New macro.
32857 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32859 Add integration with gcc's -ffinite-math-only and optimize wrapper
32861 * Versions.def: Define GLIBC_2.15 version for libm.
32862 * math/Makefile (headers): Add bits/math-finite.h.
32863 * math/bits/math-finite.h: New file.
32864 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32865 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32866 * math/e_acoshl.c: Add __*_finite alias.
32867 * math/e_acosl.c: Likewise.
32868 * math/e_asinl.c: Likewise.
32869 * math/e_atan2l.c: Likewise.
32870 * math/e_atanhl.c: Likewise.
32871 * math/e_coshl.c: Likewise.
32872 * math/e_exp10.c: Likewise.
32873 * math/e_exp10f.c: Likewise.
32874 * math/e_exp10l.c: Likewise.
32875 * math/e_exp2l.c: Likewise.
32876 * math/e_fmodl.c: Likewise.
32877 * math/e_gammal_r.c: Likewise.
32878 * math/e_hypotl.c: Likewise.
32879 * math/e_j0l.c: Likewise.
32880 * math/e_j1l.c: Likewise.
32881 * math/e_jnl.c: Likewise.
32882 * math/e_lgammal_r.c: Likewise.
32883 * math/e_log10l.c: Likewise.
32884 * math/e_log2l.c: Likewise.
32885 * math/e_logl.c: Likewise.
32886 * math/e_powl.c: Likewise.
32887 * math/e_sinhl.c: Likewise.
32888 * math/e_sqrtl.c: Likewise.
32889 * math/e_scalb.c: Completely rewritten and optimized.
32890 * math/e_scalbf.c: Likewise.
32891 * math/e_scalbl.c: Likewise.
32892 * math/w_acos.c: Likewise.
32893 * math/w_acosf.c: Likewise.
32894 * math/w_acosl.c: Likewise.
32895 * math/w_acosh.c: Likewise.
32896 * math/w_acoshf.c: Likewise.
32897 * math/w_acoshl.c: Likewise.
32898 * math/w_asin.c: Likewise.
32899 * math/w_asinf.c: Likewise.
32900 * math/w_asinl.c: Likewise.
32901 * math/w_atan2.c: Likewise.
32902 * math/w_atan2f.c: Likewise.
32903 * math/w_atan2l.c: Likewise.
32904 * math/w_atanh.c: Likewise.
32905 * math/w_atanhf.c: Likewise.
32906 * math/w_atanhl.c: Likewise.
32907 * math/w_exp10.c: Likewise.
32908 * math/w_exp10f.c: Likewise.
32909 * math/w_exp10l.c: Likewise.
32910 * math/w_fmod.c: Likewise.
32911 * math/w_fmodf.c: Likewise.
32912 * math/w_fmodl.c: Likewise.
32913 * math/w_j0.c: Likewise.
32914 * math/w_j0f.c: Likewise.
32915 * math/w_j0l.c: Likewise.
32916 * math/w_j1.c: Likewise.
32917 * math/w_j1f.c: Likewise.
32918 * math/w_j1l.c: Likewise.
32919 * math/w_jn.c: Likewise.
32920 * math/w_jnf.c: Likewise.
32921 * math/w_log.c: Likewise.
32922 * math/w_logf.c: Likewise.
32923 * math/w_logl.c: Likewise.
32924 * math/w_log10.c: Likewise.
32925 * math/w_log10f.c: Likewise.
32926 * math/w_log10l.c: Likewise.
32927 * math/w_log2.c: Likewise.
32928 * math/w_log2f.c: Likewise.
32929 * math/w_log2l.c: Likewise.
32930 * math/w_pow.c: Likewise.
32931 * math/w_powf.c: Likewise.
32932 * math/w_powl.c: Likewise.
32933 * math/w_remainder.c: Likewise.
32934 * math/w_remainderf.c: Likewise.
32935 * math/w_remainderl.c: Likewise.
32936 * math/w_scalb.c: Likewise.
32937 * math/w_scalbf.c: Likewise.
32938 * math/w_scalbl.c: Likewise.
32939 * math/w_sqrt.c: Likewise.
32940 * math/w_sqrtf.c: Likewise.
32941 * math/w_sqrtl.c: Likewise.
32942 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32943 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32945 * math/math_private.h: Declare __kernel_standard_f.
32946 * math/w_cosh.c: Remove cruft and optimize a bit.
32947 * math/w_coshf.c: Likewise.
32948 * math/w_coshl.c: Likewise.
32949 * math/w_exp2.c: Likewise.
32950 * math/w_exp2f.c: Likewise.
32951 * math/w_exp2l.c: Likewise.
32952 * math/w_hypot.c: Likewise.
32953 * math/w_hypotf.c: Likewise.
32954 * math/w_hypotl.c: Likewise.
32955 * math/w_lgamma.c: Likewise.
32956 * math/w_lgamma_r.c: Likewise.
32957 * math/w_lgammaf.c: Likewise.
32958 * math/w_lgammaf_r.c: Likewise.
32959 * math/w_lgammal.c: Likewise.
32960 * math/w_lgammal_r.c: Likewise.
32961 * math/w_sinh.c: Likewise.
32962 * math/w_sinhf.c: Likewise.
32963 * math/w_sinhl.c: Likewise.
32964 * math/w_tgamma.c: Likewise.
32965 * math/w_tgammaf.c: Likewise.
32966 * math/w_tgammal.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32969 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32970 Minor optimizations. Pretty printing. Remove cruft.
32971 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32972 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32973 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32975 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32976 * sysdeps/i386/fpu/e_asin.S: Likewise.
32977 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32978 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32979 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32980 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32982 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32984 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32985 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32986 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32987 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32988 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32989 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32990 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32991 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32992 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32993 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32994 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32995 * sysdeps/i386/fpu/e_log.S: Likewise.
32996 * sysdeps/i386/fpu/e_log10.S: Likewise.
32997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32998 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32999 * sysdeps/i386/fpu/e_log2.S: Likewise.
33000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33001 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33002 * sysdeps/i386/fpu/e_logf.S: Likewise.
33003 * sysdeps/i386/fpu/e_logl.S: Likewise.
33004 * sysdeps/i386/fpu/e_pow.S: Likewise.
33005 * sysdeps/i386/fpu/e_powf.S: Likewise.
33006 * sysdeps/i386/fpu/e_powl.S: Likewise.
33007 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33008 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33009 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33012 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33013 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33014 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33015 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33040 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33041 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33043 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33044 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33045 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33050 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33051 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33052 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33053 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33054 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33055 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33057 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33099 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33101 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33102 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33104 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33109 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33110 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33112 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33113 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33114 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33115 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33116 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33117 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33118 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33119 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33120 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33124 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33125 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33126 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33127 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33128 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33129 (__isnanf): Likewise.
33130 (__isinf_ns): Likewise.
33131 (__isinf_nsf): Likewise.
33132 (__finite): Likewise.
33133 (__finitef): Likewise.
33134 (__ieee754_sqrt): Define as macro.
33135 (__ieee754_sqrtf): Define as macro.
33136 (__ieee754_sqrtl): Define as macro.
33137 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33139 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33140 __FINITE_MATH_ONLY__ consistent.
33141 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33143 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33145 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33148 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33150 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33152 * po/ja.po: Update from translation team.
33154 2011-10-08 Roland McGrath <roland@hack.frob.com>
33156 * locale/programs/locarchive.c (prepare_address_space): New function.
33157 (create_archive, enlarge_archive, open_archive): Use it.
33159 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33160 inside [SHARED], where it is used.
33162 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33164 * nss/getent.c (netgroup_keys): Remove unused variable.
33165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33167 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33169 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33173 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33174 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33175 * math/Makefile (libm-calls): Add s_isinf_ns.
33176 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33177 * math/multc3.c: Likewise.
33178 * math/s_casin.c: Likewise.
33179 * math/s_casinf.c: Likewise.
33180 * math/s_casinl.c: Likewise.
33181 * math/s_ccos.c: Likewise.
33182 * math/s_ccosf.c: Likewise.
33183 * math/s_ccosl.c: Likewise.
33184 * math/s_ctan.c: Likewise.
33185 * math/s_ctanf.c: Likewise.
33186 * math/s_ctanh.c: Likewise.
33187 * math/s_ctanhf.c: Likewise.
33188 * math/s_ctanhl.c: Likewise.
33189 * math/s_ctanl.c: Likewise.
33190 * math/w_fmod.c: Likewise.
33191 * math/w_fmodf.c: Likewise.
33192 * math/w_fmodl.c: Likewise.
33193 * math/w_remainder.c: Likewise.
33194 * math/w_remainderf.c: Likewise.
33195 * math/w_remainderl.c: Likewise.
33196 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33197 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33200 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33201 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33202 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33203 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33205 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33207 * stdio-common/printf_fphex.c: Likewise.
33208 * stdio-common/printf_size.c: Likewise.
33210 * math/e_exp10.c: Include math_private.h using <...> not "...".
33211 * math/e_exp10f.c: Likewise.
33212 * math/e_exp10l.c: Likewise.
33213 * math/e_exp2l.c: Likewise.
33214 * math/e_j0l.c: Likewise.
33215 * math/e_j1l.c: Likewise.
33216 * math/e_jnl.c: Likewise.
33217 * math/e_lgammal_r.c: Likewise.
33218 * math/e_rem_pio2l.c: Likewise.
33219 * math/e_scalb.c: Likewise.
33220 * math/e_scalbf.c: Likewise.
33221 * math/e_scalbl.c: Likewise.
33222 * math/k_cosl.c: Likewise.
33223 * math/k_sinl.c: Likewise.
33224 * math/k_tanl.c: Likewise.
33225 * math/s_cacoshf.c: Likewise.
33226 * math/s_catan.c: Likewise.
33227 * math/s_catanf.c: Likewise.
33228 * math/s_catanh.c: Likewise.
33229 * math/s_catanhf.c: Likewise.
33230 * math/s_catanhl.c: Likewise.
33231 * math/s_catanl.c: Likewise.
33232 * math/s_ccosh.c: Likewise.
33233 * math/s_ccoshf.c: Likewise.
33234 * math/s_ccoshl.c: Likewise.
33235 * math/s_cexp.c: Likewise.
33236 * math/s_cexpf.c: Likewise.
33237 * math/s_cexpl.c: Likewise.
33238 * math/s_clog.c: Likewise.
33239 * math/s_clog10.c: Likewise.
33240 * math/s_clog10f.c: Likewise.
33241 * math/s_clog10l.c: Likewise.
33242 * math/s_clogf.c: Likewise.
33243 * math/s_clogl.c: Likewise.
33244 * math/s_csin.c: Likewise.
33245 * math/s_csinf.c: Likewise.
33246 * math/s_csinh.c: Likewise.
33247 * math/s_csinhf.c: Likewise.
33248 * math/s_csinhl.c: Likewise.
33249 * math/s_csinl.c: Likewise.
33250 * math/s_csqrt.c: Likewise.
33251 * math/s_csqrtf.c: Likewise.
33252 * math/s_csqrtl.c: Likewise.
33253 * math/s_ctan.c: Likewise.
33254 * math/s_ctanf.c: Likewise.
33255 * math/s_ctanh.c: Likewise.
33256 * math/s_ctanhf.c: Likewise.
33257 * math/s_ctanhl.c: Likewise.
33258 * math/s_ctanl.c: Likewise.
33259 * math/s_ldexp.c: Likewise.
33260 * math/s_ldexpf.c: Likewise.
33261 * math/s_ldexpl.c: Likewise.
33262 * math/s_significand.c: Likewise.
33263 * math/s_significandf.c: Likewise.
33264 * math/s_significandl.c: Likewise.
33265 * math/w_acos.c: Likewise.
33266 * math/w_acosf.c: Likewise.
33267 * math/w_acosh.c: Likewise.
33268 * math/w_acoshf.c: Likewise.
33269 * math/w_acoshl.c: Likewise.
33270 * math/w_acosl.c: Likewise.
33271 * math/w_asin.c: Likewise.
33272 * math/w_asinf.c: Likewise.
33273 * math/w_asinl.c: Likewise.
33274 * math/w_atan2.c: Likewise.
33275 * math/w_atan2f.c: Likewise.
33276 * math/w_atan2l.c: Likewise.
33277 * math/w_atanh.c: Likewise.
33278 * math/w_atanhf.c: Likewise.
33279 * math/w_atanhl.c: Likewise.
33280 * math/w_cosh.c: Likewise.
33281 * math/w_coshf.c: Likewise.
33282 * math/w_coshl.c: Likewise.
33283 * math/w_dremf.c: Likewise.
33284 * math/w_exp10.c: Likewise.
33285 * math/w_exp10f.c: Likewise.
33286 * math/w_exp10l.c: Likewise.
33287 * math/w_exp2.c: Likewise.
33288 * math/w_exp2f.c: Likewise.
33289 * math/w_fmod.c: Likewise.
33290 * math/w_fmodf.c: Likewise.
33291 * math/w_fmodl.c: Likewise.
33292 * math/w_hypot.c: Likewise.
33293 * math/w_hypotf.c: Likewise.
33294 * math/w_hypotl.c: Likewise.
33295 * math/w_j0.c: Likewise.
33296 * math/w_j0f.c: Likewise.
33297 * math/w_j0l.c: Likewise.
33298 * math/w_j1.c: Likewise.
33299 * math/w_j1f.c: Likewise.
33300 * math/w_j1l.c: Likewise.
33301 * math/w_jn.c: Likewise.
33302 * math/w_jnf.c: Likewise.
33303 * math/w_jnl.c: Likewise.
33304 * math/w_lgamma.c: Likewise.
33305 * math/w_lgamma_r.c: Likewise.
33306 * math/w_lgammaf.c: Likewise.
33307 * math/w_lgammaf_r.c: Likewise.
33308 * math/w_lgammal.c: Likewise.
33309 * math/w_lgammal_r.c: Likewise.
33310 * math/w_log.c: Likewise.
33311 * math/w_log10.c: Likewise.
33312 * math/w_log10f.c: Likewise.
33313 * math/w_log10l.c: Likewise.
33314 * math/w_log2.c: Likewise.
33315 * math/w_log2f.c: Likewise.
33316 * math/w_log2l.c: Likewise.
33317 * math/w_logf.c: Likewise.
33318 * math/w_logl.c: Likewise.
33319 * math/w_pow.c: Likewise.
33320 * math/w_powf.c: Likewise.
33321 * math/w_powl.c: Likewise.
33322 * math/w_remainder.c: Likewise.
33323 * math/w_remainderf.c: Likewise.
33324 * math/w_remainderl.c: Likewise.
33325 * math/w_scalb.c: Likewise.
33326 * math/w_scalbf.c: Likewise.
33327 * math/w_scalbl.c: Likewise.
33328 * math/w_sinh.c: Likewise.
33329 * math/w_sinhf.c: Likewise.
33330 * math/w_sinhl.c: Likewise.
33331 * math/w_sqrt.c: Likewise.
33332 * math/w_sqrtf.c: Likewise.
33333 * math/w_sqrtl.c: Likewise.
33334 * math/w_tgamma.c: Likewise.
33335 * math/w_tgammaf.c: Likewise.
33336 * math/w_tgammal.c: Likewise.
33338 * po/ja.po: Update from translation team.
33340 2011-09-29 Andreas Jaeger <aj@suse.de>
33343 * sunrpc/netname.c (netname2host): Fix logic.
33347 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33349 * math/w_remainder.c (__remainder): Likewise.
33350 * math/w_remainderf.c (__remainderf): Likewise.
33351 * math/libm-test.inc (remainder_test): Add test cases.
33353 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33355 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33358 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33360 * string/test-memcmp.c: Avoid unncessary #defines.
33361 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33363 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33365 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33366 Use new sse2 version for core i3 - i7 as it's faster
33367 than sse42 version.
33368 (bit_Prefer_PMINUB_for_stringop): New.
33369 * sysdeps/x86_64/rawmemchr.S: Update.
33370 Replace with faster SSE2 version.
33371 * sysdeps/x86_64/memrchr.S: New file.
33372 * sysdeps/x86_64/memchr.S: Update.
33373 Replace with faster SSE2 version.
33375 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33377 * elf/dl-load.c (lose): Add cast to avoid warning.
33379 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33381 * po/ca.po: Update from translation team.
33383 * inet/getnetgrent_r.c: Hook up nscd.
33384 * nscd/Makefile (routines): Add nscd_netgroup.
33385 (nscd-modules): Add netgroupcache.
33386 (CFLAGS-netgroupcache.c): Define.
33387 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33388 (cache_search): Add const to second parameter.
33389 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33391 (dbs): Add netgrdb entry.
33392 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33393 (verify_persistent_db): Handle netgrdb.
33394 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33395 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33397 (netgroup_response_header): Define.
33398 (innetgroup_response_header): Define.
33399 (datahead): Add netgroup_response_header and innetgroup_response_header
33401 * nscd/nscd.conf: Add entries for netgroup cache.
33402 * nscd/nscd.h (dbtype): Add netgrdb.
33403 (_PATH_NSCD_NETGROUP_DB): Define.
33404 (netgroup_iov_disabled): Declare.
33405 (xmalloc, xcalloc, xrealloc): Move declarations here.
33406 (cache_search): Adjust prototype.
33407 Add netgroup-related prototypes.
33408 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33409 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33410 (__nscd_innetgr): Declare.
33411 * nscd/selinux.c (perms): Use access_vector_t as element type and
33412 add netgroup-related initializers.
33413 * nscd/netgroupcache.c: New file.
33414 * nscd/nscd_netgroup.c: New file.
33415 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33416 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33417 For four parameters use innetgr.
33418 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33419 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33420 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33421 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33423 * nscd/connections.c (register_traced_file): Don't register file
33424 for disabled databases.
33426 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33428 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33430 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33431 from tree and freeing node.
33433 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33435 * nss/nsswitch.c (__nss_database_lookup): Handle
33436 nss_parse_service_list out of memory case.
33438 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33440 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33441 out of memory case.
33443 2011-10-04 Andreas Schwab <schwab@redhat.com>
33445 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33446 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33448 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33449 elf_machine_rela, elf_machine_lazy_rel.
33450 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33451 (ELF_DYNAMIC_DO_REL): Likewise.
33452 (ELF_DYNAMIC_DO_RELA): Likewise.
33453 (ELF_DYNAMIC_RELOCATE): Likewise.
33454 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33455 to ELF_DYNAMIC_DO_REL.
33456 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33457 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33458 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33461 skip_ifunc, don't call ifunc function if non-zero.
33462 (elf_machine_rela): Likewise.
33463 (elf_machine_lazy_rel): Likewise.
33464 (elf_machine_lazy_rela): Likewise.
33465 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33466 (elf_machine_lazy_rel): Likewise.
33467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33469 (elf_machine_lazy_rel): Likewise.
33470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33472 (elf_machine_lazy_rel): Likewise.
33473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33474 (elf_machine_lazy_rel): Likewise.
33475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33476 (elf_machine_lazy_rel): Likewise.
33477 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33478 (elf_machine_lazy_rel): Likewise.
33479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33480 (elf_machine_lazy_rel): Likewise.
33481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33482 (elf_machine_lazy_rel): Likewise.
33483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33484 (elf_machine_lazy_rel): Likewise.
33486 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33488 * nss/nss_files/files-init.c (_nss_files_init): Use static
33489 initialization for all the *_traced_file variables.
33491 2011-09-28 Andreas Schwab <schwab@redhat.com>
33493 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33495 2011-09-27 Roland McGrath <roland@hack.frob.com>
33498 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33500 2011-09-27 Andreas Schwab <schwab@redhat.com>
33502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33503 Reread the line before reparsing it.
33505 2011-09-26 Andreas Schwab <schwab@redhat.com>
33507 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33509 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33510 Maxim Kuvyrkov <maxim@codesourcery.com>
33511 Joseph Myers <joseph@codesourcery.com>
33513 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33514 if needed for __stack_chk_guard.
33516 2011-09-19 Roland McGrath <roland@hack.frob.com>
33518 * sysdeps/posix/spawni.c (script_execute): Always define it.
33519 It will be optimized away if unused.
33520 (maybe_script_execute): New function.
33521 (__spawni): Call it.
33523 * Makerules: Don't include tls.make.
33524 (config-tls): Always set to thread.
33525 * tls.make.c: File removed.
33527 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33529 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33530 * config.make.in (CPPFLAGS-config): New substituted variable.
33532 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33534 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33537 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33538 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33540 2011-09-15 Roland McGrath <roland@hack.frob.com>
33542 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33543 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33545 (CALL_FAIL): Likewise.
33546 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33547 (CALL_FAIL): Macro removed.
33548 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33550 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33552 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33553 for __FINITE_MATH_ONLY__ == 1.
33555 2011-09-15 Andreas Schwab <schwab@redhat.com>
33557 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33558 __ieee754_sqrt instead of sqrt.
33559 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33560 __ieee754_sqrtf instead of sqrtf.
33561 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33562 __floorf instead of floorf.
33563 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33564 __floorf, __truncf instead of floorf, truncf.
33566 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33568 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33570 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33571 __extern_always_inline.
33572 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33575 2011-09-14 Andreas Schwab <schwab@redhat.com>
33577 * elf/rtld.c (dl_main): Also relocate in dependency order when
33578 doing symbol dependency testing.
33580 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33583 Always define `refsym'.
33585 2011-09-13 Andreas Schwab <schwab@redhat.com>
33587 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33588 (__FD_ELT): Renamed from __FDELT.
33589 * misc/bits/select2.h (__FD_ELT): Likewise.
33590 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33591 __FD_MASK instead of __FDELT, __FDMASK.
33592 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33594 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33597 * elf/Makefile (gen-ldd): Fix pattern.
33599 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33600 (init_tls): Likewise.
33602 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33606 2011-09-12 Andreas Schwab <schwab@redhat.com>
33608 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33609 `struct cmsghdr *' instead of `void *'.
33610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33613 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33615 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33617 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33618 ldd_rewrite_script.
33620 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33622 * configure.in: Remove --with-tls option.
33623 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33624 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33625 out in case it is missing.
33626 * sysdeps/ia64/elf/configure.in: Likewise.
33627 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33628 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33629 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33630 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33631 * sysdeps/sh/elf/configure.in: Likewise.
33632 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33633 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33634 * sysdeps/x86_64/elf/configure.in: Likewise.
33635 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33636 * sysdeps/mach/hurd/tls.h: Likewise.
33639 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33642 * configure.in: Fix use of AC_INIT.
33644 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33646 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33648 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33650 * malloc/hooks.c: Likewise.
33653 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33654 variables statically.
33655 (narenas): Initialize.
33656 (list_lock): Initialize.
33657 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33658 initializtion of main_arena and list_lock. Small cleanups.
33659 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33660 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33661 Add initializers to main_arena and mp_.
33662 (malloc_state): Remove pagesize member. Change all users to use
33665 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33666 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33667 is always initialized.
33669 * malloc/malloc.c: Removed unused configurations and dead code.
33670 * malloc/arena.c: Likewise.
33671 * malloc/hooks.c: Likewise.
33672 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33674 * include/tls.h: Removed. USE___THREAD must always be defined.
33675 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33676 * elf/dl-libc.c: Likewise.
33677 * elf/dl-tsd.c: Likewise.
33678 * include/errno.h: Likewise.
33679 * include/netdb.h: Likewise.
33680 * include/resolv.h: Likewise.
33681 * inet/herrno-loc.c: Likewise.
33682 * inet/herrno.c: Likewise.
33683 * malloc/arena.c: Likewise.
33684 * malloc/hooks.c: Likewise.
33685 * malloc/malloc.c: Likewise.
33686 * resolv/res-state.c: Likewise.
33687 * resolv/res_libc.c: Likewise.
33688 * sysdeps/i386/dl-machine.h: Likewise.
33689 * sysdeps/ia64/dl-machine.h: Likewise.
33690 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33691 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33692 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33693 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33694 * sysdeps/sh/dl-machine.h: Likewise.
33695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33696 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33697 * sysdeps/unix/i386/sysdep.S: Likewise.
33698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33699 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33704 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33709 * sysdeps/x86_64/dl-machine.h: Likewise.
33710 * tls.make.c: Likewise.
33712 * configure.in: Remove --with-__thread option. Make tests for
33713 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33714 tls_model attribute fail if no support is available. Remove
33716 * Makeconfig: Adjust for dropped configure option. All features are
33718 * Makerules: Likewise.
33719 * Versions.def: Likewise.
33720 * argp/argp-fmtstream.c: Likewise.
33721 * argp/argp-fmtstream.h: Likewise.
33722 * argp/argp-help.c: Likewise.
33723 * assert/assert.c: Likewise.
33724 * config.h.in: Likewise.
33725 * config.make.in: Likewise.
33726 * configure: Likewise.
33727 * configure.in: Likewise.
33728 * csu/Versions: Likewise.
33729 * csu/init.c: Likewise.
33730 * elf/tst-audit2.c: Likewise.
33731 * elf/tst-tls10.c: Likewise.
33732 * elf/tst-tls10.h: Likewise.
33733 * elf/tst-tls11.c: Likewise.
33734 * elf/tst-tls12.c: Likewise.
33735 * elf/tst-tls14.c: Likewise.
33736 * elf/tst-tlsmod11.c: Likewise.
33737 * elf/tst-tlsmod12.c: Likewise.
33738 * elf/tst-tlsmod13.c: Likewise.
33739 * elf/tst-tlsmod13a.c: Likewise.
33740 * elf/tst-tlsmod14a.c: Likewise.
33741 * elf/tst-tlsmod15b.c: Likewise.
33742 * elf/tst-tlsmod16a.c: Likewise.
33743 * elf/tst-tlsmod16b.c: Likewise.
33744 * elf/tst-tlsmod7.c: Likewise.
33745 * elf/tst-tlsmod8.c: Likewise.
33746 * elf/tst-tlsmod9.c: Likewise.
33747 * gmon/gmon.c: Likewise.
33748 * grp/fgetgrent_r.c: Likewise.
33749 * grp/putgrent.c: Likewise.
33750 * hurd/fopenport.c: Likewise.
33751 * include/libc-symbols.h: Likewise.
33752 * include/tls.h: Likewise.
33753 * intl/gettextP.h: Likewise.
33754 * intl/loadinfo.h: Likewise.
33755 * locale/global-locale.c: Likewise.
33756 * locale/localeinfo.h: Likewise.
33757 * mach/devstream.c: Likewise.
33758 * malloc/arena.c: Likewise.
33759 * malloc/set-freeres.c: Likewise.
33760 * misc/err.c: Likewise.
33761 * misc/getttyent.c: Likewise.
33762 * misc/mntent_r.c: Likewise.
33763 * posix/getopt.c: Likewise.
33764 * posix/wordexp.c: Likewise.
33765 * pwd/fgetpwent_r.c: Likewise.
33766 * resolv/Versions: Likewise.
33767 * resolv/res_hconf.c: Likewise.
33768 * shadow/fgetspent_r.c: Likewise.
33769 * shadow/putspent.c: Likewise.
33770 * stdio-common/printf_fphex.c: Likewise.
33771 * stdio-common/tmpfile.c: Likewise.
33772 * stdlib/abort.c: Likewise.
33773 * stdlib/fmtmsg.c: Likewise.
33774 * sunrpc/auth_unix.c: Likewise.
33775 * sunrpc/clnt_perr.c: Likewise.
33776 * sunrpc/clnt_tcp.c: Likewise.
33777 * sunrpc/clnt_udp.c: Likewise.
33778 * sunrpc/clnt_unix.c: Likewise.
33779 * sunrpc/openchild.c: Likewise.
33780 * sunrpc/svc_simple.c: Likewise.
33781 * sunrpc/svc_tcp.c: Likewise.
33782 * sunrpc/svc_udp.c: Likewise.
33783 * sunrpc/svc_unix.c: Likewise.
33784 * sunrpc/xdr.c: Likewise.
33785 * sunrpc/xdr_array.c: Likewise.
33786 * sunrpc/xdr_rec.c: Likewise.
33787 * sunrpc/xdr_ref.c: Likewise.
33788 * sunrpc/xdr_stdio.c: Likewise.
33790 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33792 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33794 2011-07-03 Andreas Jaeger <aj@suse.de>
33796 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33797 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33798 regenerate with gen-libm-tests.pl.
33800 2010-05-12 Petr Baudis <pasky@suse.cz>
33803 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33804 around j0() zero points by switching to j1().
33805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33810 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33812 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33814 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33817 Patch in part by Pavel Roskin <proski@gnu.org>.
33820 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33822 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33823 Free memory block if necessary.
33826 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33827 be NULL. Don't lock in this case.
33829 2011-09-09 Roland McGrath <roland@hack.frob.com>
33831 * elf/elf.h (ELFOSABI_GNU): New macro.
33832 (ELFOSABI_LINUX): Define to that.
33834 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33836 * string/strncat.c (strncat): Undef the symbol in case it has been
33837 defined in bits/string.h.
33839 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33841 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33843 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33846 2011-08-17 Andreas Jaeger <aj@suse.de>
33848 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33850 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33851 Ian Lance Taylor <iant@google.com>
33853 * math/libm-test.inc (lround_test): New testcase.
33854 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33856 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33858 * Makefile: Remove support for automatic cvs check-ins.
33859 * Makerules: Likewise.
33860 * config.make.in: Likewise.
33861 * configure.in: Likewise.
33862 * intl/Makefile: Likewise.
33863 * locale/Makefile: Likewise.
33864 * po/Makefile: Likewise.
33865 * posix/Makefile: Likewise.
33866 * sysdeps/gnu/Makefile: Likewise.
33867 * sysdeps/mach/hurd/Makefile: Likewise.
33868 * sysdeps/sparc/sparc32/Makefile: Likewise.
33871 * posix/Makefile (bug-regex32-ENV): Define.
33872 Patch by John Stanley <jpsinthemix@verizon.net>.
33874 * misc/Makefile (headers): Add bits/select2.h.
33875 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33876 * misc/bits/select2.h: New file.
33877 * include/bits/select2.h: New file.
33878 * debug/Makefile (routines): Add fdelt_chk.
33879 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33880 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33882 * debug/fdelt_chk.c: New file.
33884 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33885 * wcsmbs/test-wmemcmp.c: Likewise.
33886 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33887 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33889 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33891 * string/Makefile (strop-tests): Add memcmp.
33892 * string/test-wmemcmp.c: New file.
33893 * string/test-memcmp.c: Add wmemcmp support.
33895 2011-09-08 Roland McGrath <roland@hack.frob.com>
33898 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33901 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33902 garbage value in a __mach_port_mod_refs call in the cases of the
33903 task-self and thread-self ports.
33905 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33907 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33909 2011-09-08 Andreas Schwab <schwab@redhat.com>
33911 * elf/dl-load.c (lose): Check for non-null L.
33913 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33915 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33917 * elf/dl-libc.c (dlerror_run): Pass back error code from
33921 * elf/dl-load.c (lose): Free l_origin if it is valid.
33923 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33925 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33929 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33930 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33932 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33934 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33935 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33936 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33937 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33938 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33939 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33940 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33941 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33942 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33943 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33945 2011-08-15 Alan Modra <amodra@gmail.com>
33948 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33949 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33950 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33951 ppc_mcount to static-only-routines.
33952 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33954 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33955 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33957 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33960 for finite and infinity parameters.
33962 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33965 and add nop instructions for throughput optimization.
33966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33968 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33971 aligned copy for power7 with vector-scalar instructions.
33972 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33974 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33979 2011-09-07 Andreas Schwab <schwab@redhat.com>
33982 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33985 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33987 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33988 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33989 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33993 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33996 Forgot to demangle the pointer.
33998 * sysdeps/i386/sysdep.h: Define atom_text_section.
33999 * sysdeps/x86_64/sysdep.h: Likewise.
34000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34001 section with atom_text_section.
34002 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34004 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34009 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34010 already be defined. Change to take two parameters and don't assign
34011 result to variable. Adjust all users.
34012 Define INTERNAL_GETTIME if not already defined.
34013 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34016 HAVE_CLOCK_GETTIME_VSYSCALL.
34017 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34020 gettimeofday vsyscall, just use time.
34022 2011-09-06 Andreas Schwab <schwab@redhat.com>
34024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34027 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34029 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34033 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34035 syscall if possible.
34037 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34039 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34040 e_ident. Don't pass to find_mapsXX.
34041 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34043 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34046 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34047 * sysdeps/x86_64/multiarch/strchr.S: Update.
34048 Check bit_slow_BSF bit.
34049 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34051 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34053 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34056 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34058 (tryshell): Define.
34059 (__spawni): Change last parameter to be flag. Test
34060 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34061 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34062 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34063 * posix/spawni.c: Likewise.
34064 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34065 * posix/spawnp.c: Likewise. Change normal version to use
34066 SPAWN_XFLAGS_USE_PATH.
34067 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34068 SPAWN_XFLAGS_TRY_SHELL.
34071 * posix/glob.h: Remove gcc 1.x support.
34074 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34076 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34079 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34081 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34082 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34088 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34090 * sysdeps/x86_64/wcscmp.S: New file.
34092 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34093 wcscmp-c wcscmp-sse2
34094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34095 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34096 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34097 * wcsmbs/wcscmp.c: Allow renaming.
34099 2011-09-05 David S. Miller <davem@davemloft.net>
34101 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34102 stack slot, rather than the struct return pointer slot.
34103 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34104 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34106 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34108 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34110 * po/ja.po: Update from translation team.
34113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34114 kernel in 64-bit binaries.
34116 2011-09-01 David S. Miller <davem@davemloft.net>
34118 * elf/elf.h (HWCAP_SPARC_*): Move to..
34119 * sysdeps/sparc/sysdep.h: this new file and add new values.
34120 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34121 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34122 _DL_HWCAP_COUNT to 24.
34123 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34125 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34126 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34127 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34129 instead of magic constants.
34130 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34132 2011-08-31 David S. Miller <davem@davemloft.net>
34134 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34136 Reimplement to do errno handling inline.
34137 (SYSCALL_ERROR_HANDLER): New macro.
34138 (__SYSCALL_STRING): Do not do errno handling in asm.
34139 (__CLONE_SYSCALL_STRING): Delete.
34140 (__INTERNAL_SYSCALL_STRING): Delete.
34141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34142 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34143 (PSEUDO): Reimplement to do errno handling inline.
34144 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34145 (SYSCALL_ERROR_HANDLER): New macro.
34146 (__SYSCALL_STRING): Do not do errno handling in asm.
34147 (__CLONE_SYSCALL_STRING): Delete.
34148 (__INTERNAL_SYSCALL_STRING): Delete.
34149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34150 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34152 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34153 (inline_syscall*): Add 'err' argument.
34154 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34155 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34156 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34157 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34159 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34160 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34162 2011-08-30 Andreas Schwab <schwab@redhat.com>
34164 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34166 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34168 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34171 2011-08-24 David S. Miller <davem@davemloft.net>
34173 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34175 2011-08-24 Andreas Schwab <schwab@redhat.com>
34177 * elf/Makefile: Add rules to build and run unload8 test.
34178 * elf/unload8.c: New file.
34179 * elf/unload8mod1.c: New file.
34180 * elf/unload8mod1x.c: New file.
34181 * elf/unload8mod2.c: New file.
34182 * elf/unload8mod3.c: New file.
34184 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34187 2011-08-23 David S. Miller <davem@davemloft.net>
34189 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34190 subtract stack bias.
34191 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34192 %sp not %fp in calculations.
34193 (_JMPBUF_UNWINDS_ADJ): Likewise.
34195 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34196 (aio_suspend): Call it to force an exception region around the
34197 AIO_MISC_WAIT() invocation.
34199 2011-08-23 Andreas Schwab <schwab@redhat.com>
34201 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34204 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34206 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34208 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34209 and <dl-machine.h>.
34210 (Elf64_FuncDesc): Remove.
34212 2011-08-22 David S. Miller <davem@davemloft.net>
34214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34215 sigaltstack check, add missing cfi directives.
34216 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34217 missing cfi directives, and sigaltstack handling.
34219 2011-08-16 Andreas Schwab <schwab@redhat.com>
34222 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34223 object is seen twice.
34224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34226 * elf/Makefile (distribute): Add tst-initorder2.c.
34227 (tests): Add tst-initorder2.
34228 (modules-names): Add tst-initorder2a tst-initorder2b
34229 tst-initorder2c tst-initorder2d. Add rules to build them.
34230 ($(objpfx)tst-initorder2.out): New rule.
34231 * elf/tst-initorder2.c: New file.
34232 * elf/tst-initorder2.exp: New file.
34234 2011-08-22 Andreas Schwab <schwab@redhat.com>
34236 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34238 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34239 dependencies back to end of function.
34241 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34242 $(elfobjdir)/ld.so.
34244 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34247 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34249 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34250 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34251 of __vdso_gettimeofday.
34252 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34253 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34255 (_libc_vdso_platform_setup): Remove initialization of
34256 __vdso_gettimeofday and __vdso_time.
34258 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34260 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34261 and fgetc_unlocked.
34262 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34265 * elf/dl-open.c (add_to_global): Report additions to the global scope
34266 for LD_DEBUG=scopes.
34267 (dl_open_worker): Also print scope of newly loaded dependencies.
34268 (_dl_show_scope): Indicate if there is no scope.
34271 * stdio-common/Makefile (tests): Add bug24.
34272 * stdio-common/bug24.c: New file.
34274 2011-08-19 Andreas Jaeger <aj@suse.de>
34277 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34278 non-existant file when using close-on-exec mode.
34280 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34283 the very first instruction.
34285 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34286 the CFI state in the end.
34287 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34288 inclusion of dl-trampoline.h.
34289 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34291 2011-08-19 Andreas Schwab <schwab@redhat.com>
34293 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34294 expectations for long double.
34296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34297 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34299 2011-08-14 David S. Miller <davem@davemloft.net>
34301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34302 artificual limit depends upon the system page size.
34304 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34306 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34307 * resolv/Makefile: Define CFLAGS-libresolv.
34309 2011-08-17 Andreas Schwab <schwab@redhat.com>
34311 * nss/makedb.c (compute_tables): Make variables used in nested
34314 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34316 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34317 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34318 if buffer was too small.
34320 * elf/pldd.c (main): Attach to all threads in the process.
34321 Rewrite /proc handling to use *at functions.
34323 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34325 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34326 specifies first scope to show.
34327 (dl_open_worker): Update callers. Move printing scope of new
34328 object to before the relocation.
34329 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34330 * sysdeps/generic/ldsodefs.h: Update declaration.
34332 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34333 string for the scope number.
34335 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34337 * nscd/servicescache.c (cache_addserv): Make sure written is always
34340 2011-08-14 Roland McGrath <roland@hack.frob.com>
34342 * sysdeps/i386/i486/bits/atomic.h
34343 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34344 statement expression, so as to suppress "set but not used" warning.
34345 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34347 * string/strncat.c (STRNCAT): Use prototype definition.
34349 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34350 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34352 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34353 (localedef-modules): Add localedef.
34354 (locale-modules): Add locale.
34356 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34357 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34358 to avoid a warning.
34360 2011-08-14 David S. Miller <davem@davemloft.net>
34362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34363 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34365 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34367 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34368 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34369 * elf/rtld.c (dl_main): Set l_name of vDSO.
34370 Call _dl_show_scope when DL_DEBUG_SCOPES.
34371 (process_dl_debug): Recognize scopes flag and also set it for all.
34372 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34373 Declare _dl_show_scope.
34375 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34376 (do_dlopen): Pass caller_dlopen to dl_open.
34377 (__libc_dlopen_mode): Initialize caller_dlopen.
34379 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34380 of libc. Make tolower call locale-independent. Optimize a bit by
34381 using isdigit instead of isalnum.
34382 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34384 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34386 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34387 was a dependency or dynamically loaded.
34389 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34391 * intl/l10nflist.c: Allow architecture-specific pop function.
34392 * sysdeps/x86_64/l10nflist.c: New file.
34394 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34397 2011-08-10 Andreas Schwab <schwab@redhat.com>
34399 * include/dirent.h: Add libc_hidden_proto for scandirat and
34400 scandirat64. Don't declare __scandirat64.
34401 * dirent/scandirat.c: Add libc_hidden_def.
34402 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34403 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34405 2011-08-10 David S. Miller <davem@davemloft.net>
34407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34413 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34415 * Versions.def [libc]: Add GLIBC_2.15.
34416 * dirent/Makefile (routines): Add scandirat and scandirat64.
34417 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34419 * dirent/dirent.h: Declare scandirat and scandirat64.
34420 * dirent/scandirat.c: New file.
34421 * dirent/scandirat64.c: New file.
34422 * sysdeps/wordsize-64/scandirat.c: New file.
34423 * sysdeps/wordsize-64/scandirat64.c: New file.
34424 * dirent/opendir.c: Define opendirat.
34425 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34427 * dirent/scandir64.c: Adjust for scandir.c change.
34428 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34429 __scandirat64, and __scandir_cancel_handler.
34430 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34431 additional parameter and use openat instead of open (outside of ld.so).
34432 Add new __opendir as wrapper around __opendirat.
34433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34434 here without requiring old scandirat implementation.
34436 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34438 * dirent/scandir.c (cancel_handler): Renamed to
34439 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34440 defined. Adjust users.
34441 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34442 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34444 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34446 * string/test-string.h (IMPL): Use __STRING to expand name and then
34449 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34452 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34454 * string/Makefile: Update.
34455 (strop-tests): Append strncat.
34456 * string/test-wcscmp.c: New file.
34457 New comprehensive test for wcscmp.
34458 * string/test-strcmp.c: Update.
34459 (WIDE): New define.
34461 2011-07-22 Andreas Schwab <schwab@redhat.com>
34463 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34466 2011-07-26 Andreas Schwab <schwab@redhat.com>
34468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34469 encoding to ACE if AI_IDN.
34471 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34474 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34476 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34478 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34479 Fix overflow bug in strncat.
34480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34482 * string/test-strncat.c: Update.
34483 Add new tests for checking overflow bugs.
34485 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34488 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34489 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34490 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34492 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34493 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34494 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34495 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34498 (USE_AS_STRCAT): Define.
34499 Add strcat and strncat support.
34500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34502 2011-07-25 Andreas Schwab <schwab@redhat.com>
34504 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34505 __n bigger than INT_MAX+1.
34506 (__strncmp_g): Likewise.
34508 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34510 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34511 * libio/stido.h: Likewise.
34513 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34518 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34525 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34530 (_dl_x86_64_save_sse): Likewise.
34532 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34536 (_dl_x86_64_save_sse): Likewise.
34538 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34540 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34542 2011-07-21 Andreas Schwab <schwab@redhat.com>
34544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34546 (_dl_x86_64_save_sse): Use correct AVX check.
34548 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34550 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34551 bug in strncpy/strncat.
34552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34554 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34556 * string/tester.c (test_strcat): Add tests for different alignments
34557 of source and destination.
34558 (test_strncat): Likewise.
34560 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34563 * posix/glob.c (glob): Check passed in values before using them in
34564 expressions to avoid some overflows.
34565 (glob_in_dir): Likewise.
34568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34569 check for AVX enablement so that we don't crash with old kernels and
34571 * elf/tst-audit4.c: Add same checks here.
34572 * elf/tst-audit6.c: Likewise.
34574 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34576 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34578 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34580 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34582 * po/cs.po: Update from translation team.
34583 * po/bg.po: Likewise.
34585 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34587 * misc/sys/cdefs.h: Add support for const attribute.
34588 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34589 to gnu_dev_{major,minor,makedev} functions.
34591 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34593 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34595 2011-07-20 Andreas Schwab <schwab@redhat.com>
34597 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34600 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34603 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34604 register in order to avoid conflicts with the soft frame pointer
34605 being held in r11 when necessary.
34606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34607 (INTERNAL_VSYSCALL_NCS): Likewise.
34609 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34611 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34612 * elf/dl-fini.c (_dl_fini): Adjust caller.
34613 * elf/dl-close.c (_dl_close_worker): Likewise.
34614 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34616 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34618 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34619 "aux_cache->nlibs < 0".
34621 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34622 in the reload-count case.
34624 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34627 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34628 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34629 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34630 * sysdeps/x86_64/multiarch/strcat.S: New file.
34631 * sysdeps/x86_64/multiarch/strncat.S: New file.
34632 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34634 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34635 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34637 (USE_AS_STRCAT): Define.
34638 Add strcat and strncat support.
34639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34642 * string/strncat.c: Update.
34643 (USE_AS_STRNCAT): Define.
34644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34645 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34647 * sysdeps/x86_64/multiarch/init-arch.h
34648 (bit_Prefer_PMINUB_for_stringop): New.
34649 (index_Prefer_PMINUB_for_stringop): Likewise.
34650 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34651 bit_Prefer_PMINUB_for_stringop.
34653 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34655 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34657 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34658 of casting of buffer.
34659 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34660 buffer32 and buffer64.
34661 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34662 writes instead of casting of buffer.
34663 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34665 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34668 2011-07-19 Andreas Schwab <schwab@redhat.com>
34670 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34672 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34674 * nscd/nscd.c (termination_handler): Don't do anything for a database
34675 if it has not yet been initialized.
34677 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34679 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34681 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34683 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34685 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34687 * po/nl.po: Update from translation team.
34688 * po/sv.po: Likewise.
34690 2011-07-16 Roland McGrath <roland@hack.frob.com>
34692 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34693 now disallowed by GCC.
34695 * configure.in (use-default-link): Default to yes if a test -shared
34696 link meets our qualifications.
34697 * configure: Regenerated.
34699 * config.make.in (output-format): New variable.
34700 * configure.in: Check for ld --print-output-format support.
34701 * configure: Regenerated.
34702 * Makerules ($(common-objpfx)format.lds)
34703 [$(output-format) != unknown]: Just use $(output-format),
34704 instead of the linker-script munging.
34706 2011-07-14 Roland McGrath <roland@hack.frob.com>
34708 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34709 of $(common-objpfx)shlib.lds.
34710 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34712 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34713 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34715 * configure.in (-z relro check): Adjust test code to add a large
34716 writable data section after it.
34717 * configure: Regenerated.
34719 2011-07-11 Roland McGrath <roland@hack.frob.com>
34721 * configure.in (-z relro check): Fix test code to make the variable
34723 * configure: Regenerated.
34725 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34727 * nscd/nscd.h (struct traced_file): Define.
34728 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34729 elements. Add traced_files.
34730 (inotify_fd): Declare.
34731 (register_traced_file): Declare.
34732 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34733 (inotify_fd): Export.
34734 (resolv_conf_descr): Remove.
34735 (nscd_init): Move inotify descriptor creation to main.
34736 Don't register files for notification here.
34737 (register_traced_file): New function.
34738 (invalidate_cache): Don't use reset_res to determine whether to call
34739 res_init, go through the list of registered files.
34740 (main_loop_poll): The inotify descriptors are now stored in the
34741 structures for the traced files.
34742 (main_loop_epoll): Likewise
34743 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34744 to __nss_disable_nscd.
34745 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34746 for a database anymore. Check the records for all the registered
34748 * nss/Makefile (libnss_files-routines): Add files-init.
34749 (libnss_db-routines): Add db-init.
34750 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34751 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34752 * nss/nss_db/db-init.c: New file.
34753 * nss/nss_files/files-init.c: New file.
34754 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34755 __nss_lookup_function.
34756 (__nss_lookup_function): Call nss_load_library.
34757 (nss_load_all_libraries): New function.
34758 (__nss_disable_nscd): Take parameter with callback function for files
34759 to register. Set is_nscd. Load all the DSOs for the NSS modules
34760 used for the cached services.
34761 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34762 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34763 options for features to all the files in nscd.
34765 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34767 2011-07-10 Roland McGrath <roland@hack.frob.com>
34769 * csu/elf-init.c (__libc_csu_init): Comment typo.
34771 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34773 * po/pl.po: Update from translation team.
34774 * po/ja.po: Likewise.
34775 * po/ru.po: Likewise.
34776 * po/ko.po: Likewise.
34777 * po/fr.po: Likewise.
34779 2011-07-09 Roland McGrath <roland@hack.frob.com>
34781 * configure.in (.ctors/.dtors header and trailer check):
34782 Use an empirical test on a built program.
34783 * configure: Regenerated.
34785 * configure.in (-z relro check): Use an empirical test on a built DSO.
34786 Detect, but do not require, on ia64.
34787 * configure: Regenerated.
34789 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34790 Update tests that use readelf to use $READELF instead.
34791 * configure: Regenerated.
34793 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34795 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34796 if the result is not used.
34798 2011-07-05 Andreas Jaeger <aj@suse.de>
34801 * stdlib/tst-strtod.c: Add testcase.
34803 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34805 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34806 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34807 The latter has a higher limit. Take additional parameter to pass to
34809 (__pathconf): Pass file to __statfs_link_max.
34810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34812 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34816 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34820 (__statfs_filesize_max): Likewise.
34821 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34823 2011-07-05 Andreas Jaeger <aj@suse.de>
34825 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34827 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34829 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34831 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34834 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34836 * Makefile (strop-tests): Add strncat.
34837 * string/test-strncat.c: New file.
34839 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34841 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34843 2011-06-21 Andreas Jaeger <aj@suse.de>
34845 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34846 Copy rule from iconvdata/Makefile.
34848 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34851 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34852 but no long options are defined, just return 'W'.
34854 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34857 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34859 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34861 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34863 (innetgr): Likewise.
34865 2011-07-05 Roland McGrath <roland@hack.frob.com>
34867 * config.make.in (install_root): Default to $(DESTDIR).
34869 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34873 2011-07-02 Roland McGrath <roland@hack.frob.com>
34875 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34877 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34878 containing directory rather than embedding absolute directory names.
34880 * scripts/check-local-headers.sh: Rewritten using awk.
34881 Match by word, not by line. Print error messages for matches.
34882 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34884 * Makerules [shlib-lds-flags empty]:
34885 ($(common-objpfx)libc_pic.opts): New target.
34886 ($(common-objpfx)libc_pic.os.clean): New target.
34887 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34889 * config.make.in (OBJCOPY): New variable.
34890 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34891 * configure: Regenerated.
34893 * config.make.in (use-default-link): New variable.
34894 * configure.in (use_default_link): Grok --with-default-link to set it.
34895 * configure: Regenerated.
34896 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34897 (shlib-lds, shlib-lds-flags): Define to empty.
34899 * Makerules (shlib-lds): New variable.
34900 (shlib-lds-flags): New variable.
34901 (build-shlib, build-moduile, build-module-asneeded): Use it.
34902 ($(common-objpfx)libc.so): Use $(shlib-lds).
34903 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34904 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34906 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34907 DT_FLAGS/DT_FLAGS_1 with zero flags.
34909 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34910 linker script munging.
34912 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34914 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34916 * crypt/sha512.c (sha512_process_block): Perform total addition using
34917 128-bit if possible.
34918 (__sha512_finish_ctx): Likewise.
34919 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34921 * crypt/sha256.c (SWAP64): Define.
34922 (sha256_process_block): Perform total addition using 64-bit if
34924 (__sha256_finish_ctx): Likewise.
34926 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34928 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34930 * nscd/hstcache.c (cache_addhst): Likewise.
34931 * nscd/grpcache.c (cache_addgr): Likewise.
34932 * nscd/aicache.c (addhstaiX): Likewise
34933 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34935 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34937 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34939 * nscd/hstcache.c (cache_addhst): Likewise.
34940 * nscd/grpcache.c (cache_addgr): Likewise.
34941 * nscd/aicache.c (addhstaiX): Likewise
34943 2011-07-01 Andreas Schwab <schwab@redhat.com>
34945 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34946 domain only when needed.
34948 2011-06-30 Andreas Schwab <schwab@redhat.com>
34950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34951 is always restored.
34953 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34955 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34956 are re-adding the entry.
34957 * nscd/servicescache.c (cache_addserv): Likewise.
34959 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34961 * sysdeps/generic/dl-irel.h: fix protection against multiple
34963 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34965 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34968 * malloc/memusage.sh: Fix quoting in message.
34969 * debug/xtrace.sh: Likewise.
34971 * configure.in: Remove support for --experimental-malloc option, make
34973 * config.make.in: Likewise.
34974 * malloc/Makefile: Likewise.
34976 2011-06-27 Andreas Schwab <schwab@redhat.com>
34978 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34979 two-byte characters.
34981 2011-06-27 Roland McGrath <roland@hack.frob.com>
34983 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34984 AC_CACHE_CHECK invocation.
34985 * configure: Regenerated.
34987 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34989 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34992 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34993 bit from old_res_options.
34995 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34997 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34998 value type for setfct.
35000 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35003 __gettimeofday instead of gettimeofday.
35005 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35007 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35009 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35016 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35019 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35020 strcpy-sse2-unaligned strncpy-sse2-unaligned
35021 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35022 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35023 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35024 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35025 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35028 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35029 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35030 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35031 (STRCPY): Support SSE2 and SSSE3 versions.
35033 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35037 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35038 kernels which artificially limit size of requests.
35040 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35043 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35044 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35045 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35046 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35047 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35048 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35049 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35052 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35053 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35054 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35055 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35056 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35058 Enable unaligned load optimization for Intel Core i3, i5 and i7
35060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35062 (index_Fast_Unaligned_Load): Define.
35063 (HAS_FAST_UNALIGNED_LOAD): Define.
35065 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35067 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35069 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35073 until it is clear that the information is realy needed.
35074 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35076 2011-06-22 Andreas Schwab <schwab@redhat.com>
35078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35080 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35083 /sys/devices/system/cpu/online if it is usable.
35085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35086 reading the information from the /proc filesystem to once a second.
35088 2011-06-21 Andreas Jaeger <aj@suse.de>
35090 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35091 NULL after inclusion of kernel headers.
35093 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35095 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35096 calls to internal_setent.
35099 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35100 addresses using gethostbyname4_r ignore IPv4 addresses.
35102 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35103 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35105 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35107 2011-06-20 David S. Miller <davem@davemloft.net>
35109 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35111 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35113 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35114 (elf_irel): Use it.
35115 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35116 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35117 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35118 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35119 * sysdeps/x86_64/dl-irel.h: Likewise.
35121 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35122 * elf/dl-sym.c: Likewise.
35124 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35126 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35127 need to dereference resplen2.
35129 2011-06-14 Andreas Schwab <schwab@redhat.com>
35131 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35133 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35135 * Makeconfig: Define vardbdir and inst_vardbdir.
35136 * nss/Makefile: Add rules to install db-Makefile.
35138 * nss/nss_db/db-XXX.c: Cleanup.
35140 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35141 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35143 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35144 * nss/makedb.c: Implement -g option to specify that value strings
35145 are generated and should not be added to table iterated over for
35147 * nss/nss_db/db-initgroups.c: New file.
35149 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35152 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35153 (internal_getgrouplist): Adjust to name change.
35154 Update use_initgroups_entry if this is not the first call.
35155 * nss/databases.def: Add initgroups entry.
35157 * nss/makedb.c (compute_tables): Check result of multiple hash table
35158 sizes to minimize maximum chain length.
35160 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35162 * Versions.def: Add entry for libnss_db.
35163 * shlib-versions: Likewise.
35164 * nss/Makefile: Add rules to build libnss_db.
35165 * nss/Versions: Add libnss_db information. Organize libnss_files
35167 * nss/db-Makefile: Add gshadow support. Change rules for the new
35168 makedb progra. Some minor improvements to generate smaller files.
35169 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35171 * nss/makedb.c: ...here.
35172 Improve database format to be smaller and require less memory at
35174 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35176 * nss/nss_db/db-netgrp.c: Likewise.
35177 * nss/nss_db/db-open.c: Likewise.
35178 * nss/nss_files/flies-XXX.x: Adjust comments.
35179 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35180 * nss/nss_files/files-grp.c: Likewise.
35181 * nss/nss_files/files-hosts.c: Likewise.
35182 * nss/nss_files/files-network.c: Likewise.
35183 * nss/nss_files/files-proto.c: Likewise.
35184 * nss/nss_files/files-pwd.c: Likewise.
35185 * nss/nss_files/files-rpc.c: Likewise.
35186 * nss/nss_files/files-service.c: Likewise.
35187 * nss/nss_files/files-sgrp.c: Likewise.
35188 * nss/nss_files/files-spwd.c: Likewise.
35189 * nss/nss_db/db-alias.c: Removed.
35190 * nss/nss_db/dummy-db.h: Removed.
35192 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35194 * nss/makedb.c: Rewritten to not use database library.
35195 * nss/Makefile: Update to build new makedb program.
35197 2011-06-14 Andreas Jaeger <aj@suse.de>
35199 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35200 memset declaration.
35202 2011-06-10 Andreas Schwab <schwab@redhat.com>
35204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35207 2011-06-10 Roland McGrath <roland@hack.frob.com>
35209 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35210 * elf/Makefile ($(objpfx)ld.so): Likewise.
35212 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35213 Don't list ld.so twice in dependencies.
35215 * posix/bug-regex31.c: Include <stdlib.h>.
35217 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35219 * nis/nss_compat/compat-spwd.c
35220 (getspent_next_nss_netgr): Remove unused variable.
35221 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35223 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35224 nonmembers" output to use the right array.
35226 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35228 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35230 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35231 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35232 * catgets/gencat.c (read_input_file): Likewise.
35233 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35235 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35236 variable definition inside #if's controlling its use.
35238 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35240 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35242 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35244 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35247 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35249 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35250 * configure: Regenerated.
35252 * Makerules: Revert last change.
35253 * elf/Makefile: Likewise.
35255 2011-06-09 Roland McGrath <roland@hack.frob.com>
35257 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35258 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35259 (reloc-link): Likewise.
35261 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35263 * elf/Makefile: Add rules to build pldd.
35264 * elf/pldd.c: New file.
35265 * elf/pldd-xx.c: New file.
35267 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35269 * version.h: Update for 2.15 development version.
35271 2011-06-07 David S. Miller <davem@davemloft.net>
35273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35276 elf_machine_lazy_rel): Likewise.
35277 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35279 elf_machine_lazy_rel): Likewise.
35280 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35281 dl_hwcap via passed in argument.
35282 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35285 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35287 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35289 2011-06-06 Roland McGrath <roland@hack.frob.com>
35292 * manual/fdl-1.1.texi: New file, verbatim from:
35293 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35294 * manual/lgpl-2.1.texi: New file, verbatim from:
35295 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35296 * manual/Makefile (licenses): New variable, list those new file names.
35298 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35300 * manual/fdl.texi: File removed.
35301 * manual/lesser.texi: File removed.
35302 * manual/libc.texinfo (Copying, Documentation License):
35303 Use new @include file names, put @appendix directive before @include.
35305 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35308 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35309 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35310 (mq_open): Add __NTH.
35312 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35315 Assume Intel Core i3/i5/i7 processor if AVX is available.
35317 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35322 2011-05-31 Andreas Schwab <schwab@redhat.com>
35324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35325 memory. Use alloca_account. Fix memory leak when retrying.
35327 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35329 * version.h (RELEASE): Bump for 2.14 release.
35330 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35332 * config.make.in (RANLIB): Remove entry.
35334 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35336 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35337 (libc.pot): Work around missing support for .ksh extension in xgettext.
35340 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35341 if both request failed.
35342 (send_dg): In case of server errors clear resplen or *resplen2.
35345 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35346 when there are multiple maps.
35347 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35348 (_dl_fini): Remove test here.
35350 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35352 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35355 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35356 bit from old_res_options.
35357 (gaih_inet): Likewise.
35360 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35363 * resolv/res_init.c (res_setoptions): Make the code more compact.
35366 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35370 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35372 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35375 * malloc/malloc.h: Declare malloc hook variables as volatile.
35377 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35381 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35382 raise in the comment.
35383 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35385 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35387 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35390 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35391 grow the buffers more if it already has to be sufficient.
35392 (build_wcs_upper_buffer): Likewise.
35393 * posix/regexec.c (check_matching): Likewise.
35394 (clean_state_log_if_needed): Likewise.
35395 (extend_buffers): Don't enlarge buffers beyond size of the input
35397 Patches mostly by Emil Wojak <emil@wojak.eu>.
35398 * posix/bug-regex32.c: New file.
35399 * posix/Makefile (tests): Add bug-regex32.
35401 * locale/findlocale.c (_nl_find_locale): Return right away if
35402 _nl_explode_name failed.
35403 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35405 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35407 * debug/xtrace.sh: Unify messages.
35408 * malloc/memusage.sh: Likewise.
35411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35412 time symbol from vDSO. Substitute with vsyscall if not available.
35413 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35416 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35417 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35418 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35419 Add sendmmsg and internal_sendmmsg.
35420 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35421 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35424 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35425 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35428 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35431 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35432 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35434 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35438 * iconvdata/Makefile (tests): Add bug-iconv9.
35439 * iconvdata/bug-iconv9.c: New file.
35441 2011-05-27 Andreas Schwab <schwab@redhat.com>
35444 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35446 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35448 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35449 (struct user_regs_struct): Change intcs field back to cs.
35451 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35453 * po/ja.po: Update from translation team.
35455 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35458 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35459 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35461 2011-05-20 Andreas Schwab <schwab@redhat.com>
35463 * stdlib/longlong.h: Update from GCC.
35465 2011-05-23 Andreas Schwab <schwab@redhat.com>
35467 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35469 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35470 Add parameter name.
35471 (__sysconf): Pass it down.
35473 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35476 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35479 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35480 add in in __libc_use_alloca calls. Adjust callers.
35481 (glob): Use malloc in some situations.
35483 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35484 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35487 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35489 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35490 and CLOCK_BOOTTIME_ALARM.
35493 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35496 * string/_strerror.c (__strerror_r): Print negative errors as signed
35500 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35501 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35502 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35504 * configure.in: Fix typo in redirection and correct removal of test
35505 files in two cases.
35508 * locale/setlocale.c (new_composite_name): Fix test to check for
35509 identical name of all categories.
35512 * libio/filedoalloc.c (local_isatty): New function.
35513 (_IO_file_doallocate): Use local_isatty.
35514 * stdio-common/perror.c (perror): In case a new stream is used
35515 forward the stream error.
35516 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35519 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35524 * include/alloca.h (extend_alloca_account): Define.
35527 * posix/regex.h: Fix comments with documentation of user-accessible
35528 fields after compilation and describe correct free'ing of pattern
35529 after re_compile_pattern.
35530 Patch by Reuben Thomas <rrt@sc3d.org>.
35532 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35534 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35535 and -mno-altivec to prevent the compiler from using Altivec and/or
35536 VSX instructions when the corresponding registers are not available.
35538 2011-05-19 Andreas Schwab <schwab@redhat.com>
35540 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35542 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35544 * libio/freopen.c (freopen): Use __dup2, not dup2.
35545 * libio/freopen64.c (freopen64): Likewise.
35547 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35550 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35551 * math/Makefile (tests): Add test-powl.
35552 (CFLAGS-test-powl.c): Define.
35553 * math/test-powl.c: New file.
35555 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35557 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35559 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35562 * iconvdata/gb18030.c: Update to GB18020-2005.
35564 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35566 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35567 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35568 Patch by Aharon Robbins <arnold@skeeve.com>.
35571 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35575 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35576 through underflows.
35579 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35580 point to strings before performing equality test for error_one_per_line
35584 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35588 (struct user_fpregs_struct): Avoid __uint*_t types.
35591 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35592 symbol info. Use it instead of calling _dl_addr locally.
35593 (lock_and_info): New function.
35594 (tr_freehook): Call lock_and_info and pass symbol info as additional
35595 parameter to tr_where.
35596 (tr_mallochook): Likewise.
35597 (tr_reallochook): Likewise.
35598 (tr_memalignhook): Likewise.
35600 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35601 used and couldn't be at all thread-safe.
35603 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35605 * libio/freopen.c (freopen): Don't close old file descriptor
35606 before the new one is opened. Instead dup the new file descriptor
35607 to the old one after the new stream is created.
35608 * libio/freopen64.c (freopen64): Likewise.
35609 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35610 * libio/fileops.c (_IO_new_file_close_it): Handle new
35611 _IO_FLAGS2_NOCLOSE flag.
35612 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35613 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35614 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35615 _IO_FLAGS2_NOCLOSE flag.
35616 * include/unistd.h: Add hidden_proto for dup3.
35617 Define __have_dup3.
35618 * io/dup3.c: Define hidden symbol.
35619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35622 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35623 when an incomplete long option is used.
35624 * posix/tst-getopt_long1.c: New file.
35625 * posix/Makefile (tests): Add tst-getopt_long1.
35628 * scripts/config.guess: Update from autoconf-2.68.
35629 * scripts/config.sub: Likewise.
35632 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35634 (has_cpuclock): ...this. New function.
35635 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35636 macro here based on has_cpuclock code.
35639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35640 First byte (not low byte) is now always NUL.
35641 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35644 Use non-cancelable interfaces.
35647 * locale/iso-639.def: Add entry for Sorani.
35650 * include/stdlib.h: Move include protection to the right place.
35651 Define abort_msg_s. Declare __abort_msg with it.
35652 * stdlib/abort.c (__abort_msg): Adjust type.
35653 * assert/assert.c (__assert_fail_base): New function. Majority
35654 of code from __assert_fail. Allocate memory for __abort_msg with
35656 (__assert_fail): Now call __assert_fail_base.
35657 * assert/assert-perr.c: Remove bulk of implementation. Use
35658 __assert_fail_base.
35659 * include/assert.hL Declare __assert_fail_base.
35660 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35662 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35664 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35668 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35669 until all modules are registered in the DTV.
35670 * elf/Makefile: Add rules to build and run tst-tls19.
35671 * elf/tst-tls19.c: New file.
35672 * elf/tst-tls19mod1.c: New file.
35673 * elf/tst-tls19mod2.c: New file.
35674 * elf/tst-tls19mod3.c: New file.
35675 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35678 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35682 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35683 two-byte sequence errors.
35684 * iconvdata/Makefile (tests): Add bug-iconv8.
35685 * iconvdata/bug-iconv8.c: New file.
35688 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35691 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35694 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35695 (dummy_getcfa): New function.
35696 (init): Get _Unwind_GetCFA address, use dummy if not found.
35697 (backtrace_helper): In recursion check, also check whether CFA changes.
35698 (__backtrace): Completely initialize arg.
35700 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35701 storing incomplete byte sequence in state object. Avoid testing for
35702 guaranteed too small input if we know there is enough data available.
35704 2011-05-11 Andreas Schwab <schwab@redhat.com>
35706 * Makeconfig (+link-pie): Indent.
35707 * Rules (binaries-pie): Define if $(have-fpie) and
35709 (binaries-shared): Also filter out $(binaries-pie).
35710 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35711 * nscd/Makefile (others-pie): Add nscd.
35712 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35713 ($(objpfx)nscd): Remove command override.
35714 * login/Makefile (others-pie): Add pt_chown.
35715 ($(objpfx)pt_chown): Remove command override.
35716 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35717 remove command overrides.
35719 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35721 * libio/tst_putwc.c: Fix error messages.
35724 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35725 currently writing and seek to current position when not.
35726 * libio/Makefile (tests): Add bug-fclose1.
35727 * libio/bug-fclose1.c: New file.
35729 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35732 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35733 don't set DF_1_NODELETE here.
35734 (do_lookup_x): When entering new entry test for copy relocation
35735 and if necessary set DF_1_NODELETE flag.
35736 * elf/tst-unique4.cc: New file.
35737 * elf/tst-unique4.h: New file.
35738 * elf/tst-unique4lib.cc: New file.
35739 * elf/Makefile: Add rules to build and run tst-unique4.
35740 Patch by Piotr Bury <pbury@goahead.com>.
35742 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35745 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35748 * misc/mntent_r.c (addmntent): Flush the stream after the output
35751 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35752 (is_trusted_path_normalize): Skip initial colon. Append slash
35753 to empty buffer. Duplicate is_trusted_path code but allow
35754 constructed patch to be prefix.
35755 (is_dst): Allow $ORIGIN followed by /.
35756 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35757 Correct testing of result of is_trusted_path_normalize
35758 (decompose_rpath): Fix warning.
35760 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35763 * grp/initgroups.c (internal_getgrouplist): When we found the service
35764 list through the initgroups entry in nsswitch.conf do not always
35765 continue on a successful lookup. Don't always use the
35766 __nss_group_database value if it is set.
35767 * nss/nsswitch.conf (initgroups): Change action for successful db
35768 lookup to continue for compatibility.
35770 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35773 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35775 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35777 * iconvdata/tst-tables.sh: Likewise.
35778 * iconvdata/cp770.c: New file.
35779 * iconvdata/cp771.c: New file.
35780 * iconvdata/cp772.c: New file.
35781 * iconvdata/cp773.c: New file.
35782 * iconvdata/cp774.c: New file.
35783 * iconvdata/testdata/CP770: New file.
35784 * iconvdata/testdata/CP770..UTF8: New file.
35785 * iconvdata/testdata/CP771: New file.
35786 * iconvdata/testdata/CP771..UTF8: New file.
35787 * iconvdata/testdata/CP772: New file.
35788 * iconvdata/testdata/CP772..UTF8: New file.
35789 * iconvdata/testdata/CP773: New file.
35790 * iconvdata/testdata/CP773..UTF8: New file.
35791 * iconvdata/testdata/CP774: New file.
35792 * iconvdata/testdata/CP774..UTF8: New file.
35794 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35796 * iconvdata/gen-8bit-gap.sh: Likewise.
35797 * iconvdata/gen-8bit.sh: Likewise.
35799 * locale/iso-639.def: Add ary entry.
35802 * locale/C-translit.h.in: Add U20A1 transliteration.
35805 * locale/iso-639.def: Add wae entry.
35806 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35809 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35813 * locale/C-translit.h.in: Add entry for U20B9.
35814 Patch by pravin.d.s@gmail.com.
35816 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35819 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35820 ENAMETOOLONG use generic getcwd.
35821 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35822 in rtld. Use *stat64.
35823 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35824 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35825 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35826 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35827 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35828 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35829 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35830 __fstatat64 macros.
35831 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35832 * dirent/rewinddir.c: Add libc_hidden_def.
35833 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35834 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35836 * include/dirent.h (__alloc_dir): Add flags parameter.
35837 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35838 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35840 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35841 from fdopendir if O_CLOEXEC is already set.
35843 2011-03-15 Alan Modra <amodra@gmail.com>
35845 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35846 l_tls_firstbyte_offset non-zero. Save padding offset in
35847 l_tls_firstbyte_offset for later use.
35848 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35849 freeing static tls block.
35851 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35853 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35854 where #ifdef was intended. The intent is to prevent ARG_MAX from
35855 being defined by the kernel headers.
35857 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35860 * resolv/resolv.h: Define RES_NOTLDQUERY.
35861 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35862 no-tld-query and set RES_NOTLDQUERY.
35863 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35864 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35865 modern BIND to search name as TLD unless forbidden.
35867 2011-05-07 Petr Baudis <pasky@suse.cz>
35868 Ulrich Drepper <drepper@gmail.com>
35871 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35872 (is_trusted_path): ...to here.
35873 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35874 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35875 using is_trusted_path_normalize() in setuid scripts.
35877 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35879 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35880 __BEGIN/__END_DECLS.
35882 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35885 NSS_STATUS_NOTFOUND if no record was found.
35887 2011-05-05 Andreas Schwab <schwab@redhat.com>
35889 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35890 (headers-not-in-tirpc): Remove rpc/netdb.h
35891 * resolv/netdb.h: Revert last change.
35893 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35895 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35896 circular dependency between libgcc.a and libc.a.
35898 2011-05-05 Andreas Schwab <schwab@redhat.com>
35900 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35901 * nis/Makefile: Don't install rpcsvc/*.
35902 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35903 instead of <rpc/types.h>.
35904 (MAXHOSTNAMELEN): Define.
35906 2011-05-03 Andreas Schwab <schwab@redhat.com>
35908 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35910 2011-04-28 Maciej Babinski <mbabinski@google.com>
35913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35914 gethostbyname4_r when IPv6 results are possible.
35916 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35919 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35920 _PC_PIPE_BUF handling.
35922 2011-04-30 Bruno Haible <bruno@clisp.org>
35925 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35926 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35928 * inet/getnameinfo.c (getnameinfo): Likewise.
35930 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35932 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35933 to groups setting in database lookup.
35934 * nss/nsswitch.conf: Add initgroups entry.
35936 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35939 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35941 Patch by Eric Blake <eblake@redhat.com>.
35943 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35945 * sunrpc/Makefile (need-export-routines): Add svc_run.
35946 (routines): Remove svc_run.
35947 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35948 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35949 * sunrpc/svc_run.c (svc_run): Likewise.
35950 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35952 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35955 problem in reallocation in last patch.
35957 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35959 * sunrpc/Makefile: Move inclusion of Rules.
35961 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35963 * nss/nss_files/files-initgroups.c: New file.
35964 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35965 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35966 _nss_files_initgroups_dyn.
35968 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35970 * elf/elf.h (R_ARM_IRELATIVE): Define.
35972 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35974 * po/ru.po: Update from translation team.
35976 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35978 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35981 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35985 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35990 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35992 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35998 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36001 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36003 * stdlib/bug-getcontext.c: New file.
36004 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36006 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36008 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36009 instructions into .machine "z9-109".
36010 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36011 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36013 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36015 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36016 between environment variables and auxiliary vector.
36018 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36020 * Makefile: Add rules to build linkobj/libc.so.
36021 * include/libc-symbols.h: Define libc_hidden_nolink.
36022 * include/rpc/auth.h: Mark functions which are to be hidden.
36023 * include/rpc/auth_des.h: Likewise.
36024 * include/rpc/auth_unix.h: Likewise.
36025 * include/rpc/clnt.h: Likewise.
36026 * include/rpc/des_crypt.h: Likewise.
36027 * include/rpc/key_prot.h: Likewise.
36028 * include/rpc/pmap_clnt.h: Likewise.
36029 * include/rpc/pmap_prot.h: Likewise.
36030 * include/rpc/pmap_rmt.h: Likewise.
36031 * include/rpc/rpc_msg.h: Likewise.
36032 * include/rpc/svc.h: Likewise.
36033 * include/rpc/svc_auth.h: Likewise.
36034 * include/rpc/xdr.h: Likewise.
36035 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36036 * nss/Makefile: Likewise.
36037 * sunrpc/Makefile: Don't install headers. Build library with normal
36038 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36039 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36040 for the compat linking library. Remove use of INTDEF/INTUSE.
36041 * sunrpc/auth_none.c: Likewise.
36042 * sunrpc/auth_unix.c: Likewise.
36043 * sunrpc/authdes_prot.c: Likewise.
36044 * sunrpc/authuxprot.c: Likewise.
36045 * sunrpc/clnt_gen.c: Likewise.
36046 * sunrpc/clnt_perr.c: Likewise.
36047 * sunrpc/clnt_raw.c: Likewise.
36048 * sunrpc/clnt_simp.c: Likewise.
36049 * sunrpc/clnt_tcp.c: Likewise.
36050 * sunrpc/clnt_udp.c: Likewise.
36051 * sunrpc/clnt_unix.c: Likewise.
36052 * sunrpc/des_crypt.c: Likewise.
36053 * sunrpc/des_soft.c: Likewise.
36054 * sunrpc/get_myaddr.c: Likewise.
36055 * sunrpc/key_call.c: Likewise.
36056 * sunrpc/key_prot.c: Likewise.
36057 * sunrpc/netname.c: Likewise.
36058 * sunrpc/pm_getmaps.c: Likewise.
36059 * sunrpc/pm_getport.c: Likewise.
36060 * sunrpc/pmap_clnt.c: Likewise.
36061 * sunrpc/pmap_prot.c: Likewise.
36062 * sunrpc/pmap_prot2.c: Likewise.
36063 * sunrpc/pmap_rmt.c: Likewise.
36064 * sunrpc/publickey.c: Likewise.
36065 * sunrpc/rpc_cmsg.c: Likewise.
36066 * sunrpc/rpc_common.c: Likewise.
36067 * sunrpc/rpc_dtable.c: Likewise.
36068 * sunrpc/rpc_prot.c: Likewise.
36069 * sunrpc/rpc_thread.c: Likewise.
36070 * sunrpc/rtime.c: Likewise.
36071 * sunrpc/svc.c: Likewise.
36072 * sunrpc/svc_auth.c: Likewise.
36073 * sunrpc/svc_authux.c: Likewise.
36074 * sunrpc/svc_raw.c: Likewise.
36075 * sunrpc/svc_run.c: Likewise.
36076 * sunrpc/svc_simple.c: Likewise.
36077 * sunrpc/svc_tcp.c: Likewise.
36078 * sunrpc/svc_udp.c: Likewise.
36079 * sunrpc/svc_unix.c: Likewise.
36080 * sunrpc/svcauth_des.c: Likewise.
36081 * sunrpc/xcrypt.c: Likewise.
36082 * sunrpc/xdr.c: Likewise.
36083 * sunrpc/xdr_array.c: Likewise.
36084 * sunrpc/xdr_float.c: Likewise.
36085 * sunrpc/xdr_intXX_t.c: Likewise.
36086 * sunrpc/xdr_mem.c: Likewise.
36087 * sunrpc/xdr_rec.c: Likewise.
36088 * sunrpc/xdr_ref.c: Likewise.
36089 * sunrpc/xdr_sizeof.c: Likewise.
36090 * sunrpc/xdr_stdio.c: Likewise.
36092 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36095 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36096 * sysdeps/ia64/dl-tls.h: Likewise.
36097 * sysdeps/powerpc/dl-tls.h: Likewise.
36098 * sysdeps/s390/dl-tls.h: Likewise.
36099 * sysdeps/sh/dl-tls.h: Likewise.
36100 * sysdeps/sparc/dl-tls.h: Likewise.
36101 * sysdeps/x86_64/dl-tls.h: Likewise.
36102 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36104 2011-03-14 Andreas Schwab <schwab@redhat.com>
36106 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36107 rpath element also skip the following colon.
36108 (expand_dynamic_string_token): Add is_path parameter and pass
36109 down to DL_DST_REQUIRED and _dl_dst_substitute.
36110 (decompose_rpath): Call expand_dynamic_string_token with
36111 non-zero is_path. Ignore empty rpaths.
36112 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36115 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36120 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36123 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36124 Patch by Filipe David Manana <fdmanana@apache.org>.
36126 2011-04-07 Andreas Schwab <schwab@redhat.com>
36128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36129 Maintain aligned stack.
36130 (CHECK_RSP): Remove unused macro.
36132 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36134 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36137 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36139 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36141 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36143 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36146 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36147 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36148 * sysdeps/x86_64/memmove.c: New file.
36149 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36150 (memcpy): Renamed to ...
36151 (__new_memcpy): This.
36152 (memcpy): Provide GLIBC_2_14 memcpy.
36153 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36154 (memcpy): Provide GLIBC_2_2_5 memcpy.
36156 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36159 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36161 2011-03-30 Andreas Schwab <schwab@redhat.com>
36163 * misc/syncfs.c: New file.
36164 * misc/Makefile (routines): Add syncfs.
36165 * posix/unistd.h: Declare syncfs.
36166 * sysdeps/unix/syscalls.list: Add syncfs.
36168 2011-04-01 Andreas Schwab <schwab@redhat.com>
36170 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36177 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36180 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36190 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36191 sync_file_range.c with -fexceptions.
36192 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36193 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36194 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36195 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36196 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36197 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36199 sync_file_range as cancellation point
36200 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36201 now a wrapper around __call_sync_file_range with cancellation handling.
36202 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36203 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36204 function name to __call_sync_file_range.
36205 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36206 Add call_sync_file_range.
36208 2011-04-01 Andreas Schwab <schwab@redhat.com>
36210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36213 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36215 * iconv/iconv.h: Fix typo in comment.
36216 * io/fcntl.h: Likewise.
36217 * libio/stdio.h: Likewise.
36218 * posix/spawn.h: Likewise.
36219 * posix/unistd.h: Likewise.
36220 * stdlib/stdlib.h: Likewise.
36221 * time/time.h: Likewise.
36222 * wcsmbs/wchar.h: Likewise.
36224 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36225 open_by_handle): Add.
36226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36227 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36228 Augment a few comments.
36229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36234 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36237 * io/fcntl.h (AT_EMPTY_PATH): Define.
36239 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36241 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36242 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36243 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36245 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36246 * Versions.def: Add GLIBC_2.14.
36247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36250 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36254 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36256 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36259 * string/test-strncmp.c (do_page_test): New function.
36260 (check2): Likewise.
36261 (test_main): Call check2.
36262 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36264 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36268 Handle cache information in CPU leaf 4.
36269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36271 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36274 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36275 character representation.
36276 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36278 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36280 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36281 END(__isnan) to END(__isnanf) to match function entry point/label
36282 EALIGN(__isnanf,...).
36284 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36286 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36288 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36291 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36292 copy from the symbol referenced in the relocation to initialize the
36294 Patch by Piotr Bury <pbury@goahead.com>.
36295 * elf/Makefile: Add rules to build and tst-unique3.
36296 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36297 * elf/tst-unique3.cc: New file.
36298 * elf/tst-unique3.h: New file.
36299 * elf/tst-unique3lib.cc: New file.
36300 * elf/tst-unique3lib2.cc: New file.
36302 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36304 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36306 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36307 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36310 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36312 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36313 to-be-loaded object along a path to loader is ld.so.
36315 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36316 Ulrich Drepper <drepper@gmail.com>
36318 * sysdeps/x86_64/memset.S: After aligning destination, code
36319 branches to different locations depending on the value of
36320 misalignment, when multiarch is enabled. Fix this.
36322 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36324 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36325 Set _x86_64_preferred_memory_instruction for AMD processsors.
36326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36327 Set bit_Prefer_SSE_for_memop for AMD processors.
36329 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36331 * libio/fmemopen.c (fmemopen): Optimize a bit.
36333 2011-03-03 Andreas Schwab <schwab@redhat.com>
36335 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36337 2011-03-03 Roland McGrath <roland@redhat.com>
36339 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36341 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36343 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36344 __bzero_ultra1 instead of __memset_ultra1.
36346 2011-02-23 Andreas Schwab <schwab@redhat.com>
36347 Ulrich Drepper <drepper@gmail.com>
36350 * include/link.h (struct link_map): Add l_orig_initfini.
36351 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36352 returning unsuccessfully.
36353 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36354 close of a file loaded at startup, restore the original l_initfini
36356 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36357 list, store the pointer.
36358 * elf/Makefile ($(objpfx)noload-mem): New rule.
36359 (noload-ENV): Define.
36360 (tests): Add $(objpfx)noload-mem.
36361 * elf/noload.c: Include <memcheck.h>.
36362 (main): Call mtrace. Close all opened handles.
36364 2011-02-17 Andreas Schwab <schwab@redhat.com>
36367 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36368 dependencies are missing.
36370 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36372 Fix __if_freereq crash: Unlike the generic version which uses free,
36374 * sysdeps/mach/hurd/ifreq.h: New file.
36376 2011-01-27 Petr Baudis <pasky@suse.cz>
36377 Ulrich Drepper <drepper@gmail.com>
36380 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36381 to extend_alloca().
36382 * stdio-common/bug23.c: New file.
36383 * stdio-common/Makefile (tests): Add bug23.
36385 2010-09-28 Andreas Schwab <schwab@redhat.com>
36386 Ulrich Drepper <drepper@gmail.com>
36389 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36390 before performing relro protection. At old place add assertion
36391 to make sure nothing changed.
36393 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36394 Glauber de Oliveira Costa <glommer@gmail.com>
36396 * elf/elf.h: Add new ARM TLS relocs.
36398 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36401 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36403 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36405 * sysdeps/wordsize-64/tst-writev.c: New file.
36407 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36409 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36410 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36411 insns in _dl_start to prevent a TOC reference before relocs are
36414 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36417 * Makeconfig: Remove RANLIB definition.
36418 * Makerules: Don't use RANLIB.
36419 * aclocal.m4: Remove ranlib test.
36420 * configure.in: No need to check for ranlib.
36421 * elf/rtld-Rules: Don't use RANLIB.
36423 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36425 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36427 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36428 inclusion protection macro.
36430 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36431 SIGRTMIN and SIGRTMAX and print information in that case only when
36432 SIGRTMIN is defined.
36434 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36436 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36437 arginfo fn returning -1.
36439 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36440 and thousands string is zero terminated.
36442 2011-02-03 Andreas Schwab <schwab@redhat.com>
36444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36445 sysdeps/unix/sysv/linux/bits/socket.h.
36447 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36449 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36450 (__CPU_COUNT): Remove old macros.
36451 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36452 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36453 (__CPU_ALLOC, __CPU_FREE): Add macros.
36454 (__sched_cpualloc, __sched_cpufree): Add declarations.
36456 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36458 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36459 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36460 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36461 (readdhstai): Return value of addhstaiX call.
36462 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36463 (addgrbyX): Return value returned by cache_addgr.
36464 (readdgrbyname): Return value returned by addgrbyX.
36465 (readdgrbygid): Likewise.
36466 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36467 (addpwbyX): Return value returned by cache_addpw.
36468 (readdpwbyname): Return value returned by addhstbyX.
36469 (readdpwbyuid): Likewise.
36470 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36471 (addservbyX): Return value returned by cache_addserv.
36472 (readdservbyname): Return value returned by addservbyX:
36473 (readdservbyport): Likewise.
36474 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36475 (addhstbyX): Return value returned by cache_addhst.
36476 (readdhstbyname): Return value returned by addhstbyX.
36477 (readdhstbyaddr): Likewise.
36478 (readdhstbynamev6): Likewise.
36479 (readdhstbyaddrv6): Likewise.
36480 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36481 (readdinitgroups): Return value returned by addinitgroupsX.
36482 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36483 (prune_cache): Keep track of timeout value of re-added entries.
36484 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36485 * nscd/nscd.h: Adjust prototypes of readd* functions.
36487 2011-02-04 Roland McGrath <roland@redhat.com>
36489 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36490 (nis_stats): Likewise.
36491 * nis/nis_modify.c (nis_modify): Likewise.
36492 * nis/nis_remove.c (nis_remove): Likewise.
36493 * nis/nis_add.c (nis_add): Likewise.
36495 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36497 * posix/fnmatch_loop.c: Add some consts.
36499 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36501 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36504 * config.make.in (config-cflags-novzeroupper): Define.
36505 * configure.in: Substitute libc_cv_cc_novzeroupper.
36506 * elf/Makefile (AVX-CFLAGS): Define.
36507 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36508 (CFLAGS-tst-auditmod4a.c): Likewise.
36509 (CFLAGS-tst-auditmod4b.c): Likewise.
36510 (CFLAGS-tst-auditmod6b.c): Likewise.
36511 (CFLAGS-tst-auditmod6c.c): Likewise.
36512 (CFLAGS-tst-auditmod7b.c): Likewise.
36513 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36515 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36517 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36518 function to the callback.
36519 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36521 2011-02-02 Andreas Schwab <schwab@redhat.com>
36523 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36526 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36529 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36531 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36533 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36536 * elf/Makefile: Add rules to build and run new test.
36537 * elf/tst-initorder.c: New file.
36538 * elf/tst-initorder.exp: New file.
36539 * elf/tst-initordera1.c: New file.
36540 * elf/tst-initordera2.c: New file.
36541 * elf/tst-initordera3.c: New file.
36542 * elf/tst-initordera4.c: New file.
36543 * elf/tst-initorderb1.c: New file.
36544 * elf/tst-initorderb2.c: New file.
36545 * elf/tst-order-a1.c: New file.
36546 * elf/tst-order-a2.c: New file.
36547 * elf/tst-order-a3.c: New file.
36548 * elf/tst-order-a4.c: New file.
36549 * elf/tst-order-b1.c: New file.
36550 * elf/tst-order-b2.c: New file.
36551 * elf/tst-order-main.c: New file.
36552 New test case by George Gensure <werkt0@gmail.com>.
36554 2010-10-01 Andreas Schwab <schwab@redhat.com>
36556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36557 decoding ACE if AI_CANONIDN.
36559 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36561 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36563 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36565 * version.h (RELEASE): Bump for 2.13 release.
36566 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36568 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36572 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36579 * posix/getconf.c: Update copyright year.
36580 * catgets/gencat.c: Likewise.
36581 * csu/version.c: Likewise.
36582 * debug/catchsegv.sh: Likewise.
36583 * debug/xtrace.sh: Likewise.
36584 * elf/ldconfig.c: Likewise.
36585 * elf/ldd.bash.in: Likewise.
36586 * elf/sprof.c (print_version): Likewise.
36587 * iconv/iconv_prog.c: Likewise.
36588 * iconv/iconvconfig.c: Likewise.
36589 * locale/programs/locale.c: Likewise.
36590 * locale/programs/localedef.c: Likewise.
36591 * malloc/memusage.sh: Likewise.
36592 * malloc/mtrace.pl: Likewise.
36593 * nscd/nscd.c (print_version): Likewise.
36594 * nss/getent.c: Likewise.
36596 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36597 PF_CAIF, and PF_ALG.
36598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36600 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36602 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36603 (modules-names): Use them.
36604 (ifunc-test-modules, ifunc-pie-tests): Define.
36605 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36606 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36607 (test-extras): Likewise.
36608 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36609 $(compile-command.c).
36610 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36611 (all-built-dso): Define.
36612 (check-textrel.out, check-execstack.out): Depend on it.
36614 * configure.in: Don't override --enable-multi-arch.
36616 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36619 * nscd/hstcache.c (tryagain): Define.
36620 (cache_addhst): Return tryagain not notfound for temporary errors.
36621 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36624 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36628 to make the syscall.
36629 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36632 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36633 and fall back to matching as normal character if the string ends before
36634 the matching ']' is found. This is what POSIX requires.
36635 * posix/testfnm.c: Adjust test result.
36636 * posix/globtest.sh: Adjust test result. Add new test.
36637 * posix/tst-fnmatch.input: Likewise.
36638 * posix/tst-fnmatch2.c: Add new test.
36640 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36642 * elf/Makefile (check-execstack): Revert last change. Depend on
36644 (check-execstack.h): New target.
36645 (generated): Add check-execstack.h.
36646 * elf/check-execstack.c: Include "check-execstack.h".
36647 (main): Revert last change.
36648 (handle_file): Return zero if GNU_STACK is absent and
36649 DEFAULT_STACK_PERMS doesn't include PF_X.
36651 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36653 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36654 in child fails because the descriptor is already closed.
36655 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36656 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36657 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36660 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36664 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36665 temporary buffer used to handle multi lookups locally.
36666 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36668 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36670 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36673 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36675 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36676 alignment for SSE2.
36678 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36681 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36682 characters. When rounding increased number of integer digits recompute
36684 * stdio-common/tst-grouping.c: New file.
36685 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36687 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36689 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36690 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36692 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36694 * bits/select.h: Likewise.
36696 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36698 * po/ja.po: Update from translation team.
36700 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36703 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36704 implementation just like for lxstat, fxstatat, et al.
36706 2010-12-27 Jim Meyering <meyering@redhat.com>
36709 * posix/regexec.c (build_trtable): Return failure indication upon
36710 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36712 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36715 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36716 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36717 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36718 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36721 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36724 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36725 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36727 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36729 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36730 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36731 script has SORT_BY_INIT_PRIORITY.
36732 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36733 NO_CTORS_DTORS_SECTIONS is defined.
36734 * elf/soinit.c: Likewise.
36735 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36736 NO_CTORS_DTORS_SECTIONS is defined.
36737 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36738 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36739 * sysdeps/sh/init-first.c: Likewise.
36740 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36742 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36744 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36745 always use the slow path.
36747 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36749 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36750 similar rule which adds the sysdep directories to the header search in
36751 order to pick up the correct platform stackinfo.h.
36752 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36753 perform test if it is, otherwise return successfully without testing.
36754 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36755 DEFAULT_STACK_PERMS define in stackinfo.h.
36756 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36757 defined in stackinfo.h.
36758 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36759 DEFAULT_STACK_PERMS defined in stackinfo.h.
36760 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36761 * sysdeps/ia64/stackinfo.h: Likewise.
36762 * sysdeps/s390/stackinfo.h: Likewise.
36763 * sysdeps/sh/stackinfo.h: Likewise.
36764 * sysdeps/sparc/stackinfo.h: Likewise.
36765 * sysdeps/x86_64/stackinfo.h: Likewise.
36766 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36767 PF_X for powerpc64. Retain PF_X for powerpc32.
36769 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36771 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36773 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36774 GETDENTS_64BIT_ALIGNED.
36776 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36778 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36780 2010-12-10 Andreas Schwab <schwab@redhat.com>
36782 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36786 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36788 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36789 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36791 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36794 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36797 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36799 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36801 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36803 * po/it.po: Update from translation team.
36805 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36810 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36812 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36814 2010-11-24 Andreas Schwab <schwab@redhat.com>
36816 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36818 (gaih_getanswer_slice): Likewise.
36820 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36824 2010-05-31 Petr Baudis <pasky@suse.cz>
36827 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36828 silently even in the chroot mode.
36830 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36832 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36833 last patch a bit. Pretty printing
36835 2010-05-31 Petr Baudis <pasky@suse.cz>
36838 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36839 initialization of skip_initgroups_dyn.
36841 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36843 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36846 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36848 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36850 2010-11-11 Andreas Schwab <schwab@redhat.com>
36852 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36853 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36854 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36855 ($(objpfx)tst-fnmatch-mem): New rule.
36856 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36857 * posix/tst-fnmatch.c (main): Call mtrace.
36859 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36862 Support Intel processor model 6 and model 0x2c.
36864 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36869 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36872 * string/test-strncasecmp.c (check_result): New function.
36873 (do_one_test): Use it.
36874 (check1): New function.
36875 (test_main): Use it.
36876 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36877 Support strcasecmp and strncasecmp.
36879 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36882 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36885 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36887 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36891 * sysdeps/x86_64/multiarch/bzero.S: New file.
36892 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36893 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36894 * sysdeps/x86_64/multiarch/memset.S: New file.
36895 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36897 Set bit_Prefer_SSE_for_memop for Intel processors.
36898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36900 (index_Prefer_SSE_for_memop): Define.
36901 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36903 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36905 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36908 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36911 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36912 (__x86_64_raw_data_cache_size_half): Likewise.
36913 (__x86_64_raw_shared_cache_size): Likewise.
36914 (__x86_64_raw_shared_cache_size_half): Likewise.
36916 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36917 (__x86_64_raw_data_cache_size_half): Likewise.
36918 (__x86_64_raw_shared_cache_size): Likewise.
36919 (__x86_64_raw_shared_cache_size_half): Likewise.
36920 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36921 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36922 and __x86_64_raw_shared_cache_size_half. Round
36923 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36924 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36925 to multiple of 256 bytes.
36927 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36931 of inacessible symlinks. Verify result of symlink before returning it.
36932 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36933 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36935 2010-10-28 Erich Ritz <erichritz@gmail.com>
36937 * math/math.h (isinf): Fix typo in comment.
36939 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36941 * po/da.po: Update from translation team.
36943 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36945 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36946 is added to the list.
36948 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36949 Ulrich Drepper <drepper@gmail.com>
36951 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36952 the global list here. Move code to...
36953 (_dl_add_to_namespace_list): ...here. New function.
36954 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36955 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36956 * elf/dl-load.c (lose): Don't remove the element from the list.
36957 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36958 (_dl_map_object): Likewise.
36960 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36963 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36964 into all bytes of SSE register.
36965 Patch by Richard Li <richardpku@gmail.com>.
36967 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36970 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36973 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36975 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36976 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36983 2010-10-22 Andreas Schwab <schwab@redhat.com>
36985 * include/dlfcn.h (__RTLD_SECURE): Define.
36986 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36987 mode & __RTLD_SECURE instead.
36988 (open_path): Rename preloaded parameter to secure.
36989 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36990 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36991 * elf/dl-deps.c (openaux): Likewise.
36992 * elf/rtld.c (struct map_args): Remove is_preloaded.
36993 (map_doit): Don't use it.
36994 (dl_main): Likewise.
36995 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36996 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36998 2010-09-09 Andreas Schwab <schwab@redhat.com>
37000 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37001 (sysd-rules-targets): Remove duplicates.
37002 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37003 rtld-%.$o dependency.
37005 2010-10-18 Andreas Schwab <schwab@redhat.com>
37007 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37008 _dl_map_object do it.
37010 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37012 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37013 fast fma builtins, define the macros in the C99 standard.
37014 (FP_FAST_FMAF): Likewise.
37015 (FP_FAST_FMAL): Likewise.
37016 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37018 * bits/mathdef.h: Update copyright year.
37019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37021 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37023 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37024 builtins, define the macros in the C99 standard.
37025 (FP_FAST_FMAF): Likewise.
37026 (FP_FAST_FMAL): Likewise.
37027 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37029 (FP_FAST_FMAF): Likewise.
37031 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37034 * math/libm-test.inc (fma_test): Some new testcases.
37035 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37036 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37037 y and infinite z. Do multiplication by C already in long double.
37038 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37040 y and infinite z. Do bitwise or of inexact bit into u.d.
37041 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37042 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37043 * sysdeps/i386/fpu/s_fma.S: Removed.
37044 * sysdeps/i386/fpu/s_fmal.S: Removed.
37046 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37049 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37051 computation is not scheduled after fetestexcept. Fix value
37052 of minimum denormal long double.
37054 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37057 * math/libm-test.inc (fma_test): Add some more tests.
37058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37061 2010-10-15 Andreas Schwab <schwab@redhat.com>
37063 * scripts/data/localplt-s390-linux-gnu.data: New file.
37064 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37066 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37069 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37070 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37072 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37074 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37076 if one of x and y is very large and the other is subnormal.
37077 * sysdeps/s390/fpu/s_fmaf.c: New file.
37078 * sysdeps/s390/fpu/s_fma.c: New file.
37079 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37080 * sysdeps/powerpc/fpu/s_fma.S: New file.
37081 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37082 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37083 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37085 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37088 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37091 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37092 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37093 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37094 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37095 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37098 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37101 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37102 * posix/bug-regex31.input: Add test case.
37104 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37106 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37107 * posix/bug-regex31.input: New file.
37110 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37111 (parse_sub_exp): Fix last change, use postorder.
37113 * posix/bug-regex31.c: New file.
37114 * posix/Makefile: Add rules to build and run bug-regex31.
37116 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37119 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37122 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37123 to have entries in sys_siglist.
37126 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37129 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37132 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37133 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37134 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37135 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37136 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37137 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37138 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37139 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37140 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37141 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37142 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37143 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37144 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37145 * math/ftestexcept.c (fetestexcept): Likewise.
37146 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37147 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37148 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37149 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37150 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37151 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37152 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37154 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37157 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37160 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37162 * string/bug-strstr1.c: New file.
37163 * string/Makefile: Add rules to build and run bug-strstr1.
37165 2010-10-05 Eric Blake <eblake@redhat.com>
37168 * string/str-two-way.h (two_way_long_needle): Always clear memory
37169 when skipping input due to the shift table.
37171 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37174 * malloc/mcheck.c: Handle large requests.
37177 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37178 for strncmp and strncasecmp.
37179 * string/stratcliff.c: Add tests for strcmp and strncmp.
37180 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37182 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37184 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37187 2010-09-30 Andreas Jaeger <aj@suse.de>
37189 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37190 (CGROUP_SUPER_MAGIC): Define.
37191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37192 Handle btrfs and cgroup file systems.
37193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37196 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37198 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37199 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37201 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37204 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37205 trying to locate the ELF header.
37207 2010-09-27 Andreas Schwab <schwab@redhat.com>
37210 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37211 Mask out sign-bit copies when constructing f_fsid.
37213 2010-09-24 Petr Baudis <pasky@suse.cz>
37215 * debug/stack_chk_fail_local.c: Add missing licence exception.
37216 * debug/warning-nop.c: Likewise.
37218 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37220 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37221 implementing getdents64 using getdents syscall, set d_type if
37222 __ASSUME_GETDENTS32_D_TYPE.
37224 2010-09-16 Andreas Schwab <schwab@redhat.com>
37226 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37227 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37229 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37232 * posix/unistd.h: Undo change of feature selection for ftruncate from
37235 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37237 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37240 2010-09-20 Andreas Schwab <schwab@redhat.com>
37242 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37246 2010-09-14 Andreas Schwab <schwab@redhat.com>
37248 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37249 variables after CHECK_SP call.
37250 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37252 2010-09-13 Andreas Schwab <schwab@redhat.com>
37253 Ulrich Drepper <drepper@redhat.com>
37255 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37256 re-relocationg ld.so.
37257 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37258 _dl_init_paths call.
37259 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37262 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37264 * resolv/res_init.c (__res_vinit): Count the default server we added.
37266 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37267 Ulrich Drepper <drepper@redhat.com>
37270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37271 (____longjmp_chk): Use %ebx for saving value across system call.
37274 2010-09-06 Andreas Schwab <schwab@redhat.com>
37276 * manual/Makefile: Don't mix pattern rules with normal rules.
37278 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37280 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37282 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37283 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37284 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37285 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37289 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37292 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37293 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37295 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37297 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37298 * sysdeps/x86_64/addmul_1.S: Likewise.
37299 * sysdeps/x86_64/lshift.S: Likewise.
37300 * sysdeps/x86_64/mul_1.S: Likewise.
37301 * sysdeps/x86_64/rshift.S: Likewise.
37302 * sysdeps/x86_64/sub_n.S: Likewise.
37303 * sysdeps/x86_64/submul_1.S: Likewise.
37305 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37307 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37308 Define __sched_param instead of SCHED_* and sched_param when
37309 <bits/sched.h> is included with __need_schedparam defined.
37310 * bits/sched.h [__need_schedparam]
37311 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37312 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37313 (__defined_schedparam): Define to 1.
37314 (__sched_param): New structure, identical to sched_param.
37315 (__need_schedparam): Undefine.
37317 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37320 (epoll_create1): Declare.
37322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37324 2010-08-31 Andreas Schwab <schwab@redhat.com>
37327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37328 shifting retval into place.
37330 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37332 * nis/rpcsvc/nis.h: Update copyright notice.
37333 * nis/rpcsvc/nis.x: Likewise.
37334 * nis/rpcsvc/nis_callback.h: Likewise.
37335 * nis/rpcsvc/nis_callback.x: Likewise.
37336 * nis/rpcsvc/nis_object.x: Likewise.
37337 * nis/rpcsvc/nis_tags.h: Likewise.
37338 * nis/rpcsvc/yp.h: Likewise.
37339 * nis/rpcsvc/yp.x: Likewise.
37340 * nis/rpcsvc/ypupd.h: Likewise.
37341 * nis/yp_xdr.c: Likewise.
37342 * nis/ypupdate_xdr.c: Likewise.
37344 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37345 mainly the body of pmap_getport. Add parameters to specify timeouts.
37346 (pmap_getport): Use __libc_rpc_getport.
37347 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37348 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37349 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37351 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37356 2010-08-27 Roland McGrath <roland@redhat.com>
37358 * sysdeps/i386/i686/multiarch/Makefile
37359 (CFLAGS-varshift.c): New variable.
37361 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37363 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37364 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37368 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37370 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37372 * sysdeps/x86_64/strlen.S: Unroll the loop.
37373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37374 strlen-sse2 strlen-sse2-bsf.
37375 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37376 __strlen_no_bsf if bit_Slow_BSF is set.
37377 (__strlen_sse42): Removed.
37378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37379 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37381 2010-08-25 Roland McGrath <roland@redhat.com>
37383 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37384 * sysdeps/x86_64/multiarch/varshift.c: New file.
37385 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37386 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37387 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37388 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37390 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37393 strlen-sse2 strlen-sse2-bsf.
37394 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37395 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37396 (__strlen_sse2): Removed.
37397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37400 bit_Slow_BSF for Atom.
37401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37402 (index_Slow_BSF): Define.
37403 (HAS_SLOW_BSF): Define.
37405 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37408 * resolv/res_init.c (__res_vinit): When no server address at all
37409 is given default to loopback.
37411 2010-08-24 Roland McGrath <roland@redhat.com>
37413 * configure.in: Remove config-name.h generation.
37414 * configure: Regenerated.
37415 * config-name.in: File removed.
37416 * scripts/config-uname.sh: New file.
37417 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37418 ($(objdir)config-name.h): New target.
37420 * sunrpc/rpc_parse.h: Avoid nested comment.
37422 2010-08-24 Richard Henderson <rth@redhat.com>
37423 Ulrich Drepper <drepper@redhat.com>
37424 H.J. Lu <hongjiu.lu@intel.com>
37426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37428 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37429 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37430 _mm_alignr_epi8 with _mm_loadu_si128.
37431 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37432 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37433 (__m128i_shift_right): Removed.
37434 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37435 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37436 * sysdeps/x86_64/multiarch/varshift.h: New file.
37437 * sysdeps/x86_64/multiarch/varshift.S: New file.
37439 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37441 * configure.in: Move assembler checks to before sysdep dir checking.
37443 2010-08-20 Petr Baudis <pasky@suse.cz>
37445 * LICENSES: Sync the sunrpc license.
37447 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37449 * sunrpc/auth_des.c: Update copyright notice once again.
37450 * sunrpc/auth_none.c: Likewise.
37451 * sunrpc/auth_unix.c: Likewise.
37452 * sunrpc/authdes_prot.c: Likewise.
37453 * sunrpc/authuxprot.c: Likewise.
37454 * sunrpc/bindrsvprt.c: Likewise.
37455 * sunrpc/clnt_gen.c: Likewise.
37456 * sunrpc/clnt_perr.c: Likewise.
37457 * sunrpc/clnt_raw.c: Likewise.
37458 * sunrpc/clnt_simp.c: Likewise.
37459 * sunrpc/clnt_tcp.c: Likewise.
37460 * sunrpc/clnt_udp.c: Likewise.
37461 * sunrpc/clnt_unix.c: Likewise.
37462 * sunrpc/des_crypt.c: Likewise.
37463 * sunrpc/des_soft.c: Likewise.
37464 * sunrpc/get_myaddr.c: Likewise.
37465 * sunrpc/getrpcport.c: Likewise.
37466 * sunrpc/key_call.c: Likewise.
37467 * sunrpc/key_prot.c: Likewise.
37468 * sunrpc/openchild.c: Likewise.
37469 * sunrpc/pm_getmaps.c: Likewise.
37470 * sunrpc/pm_getport.c: Likewise.
37471 * sunrpc/pmap_clnt.c: Likewise.
37472 * sunrpc/pmap_prot.c: Likewise.
37473 * sunrpc/pmap_prot2.c: Likewise.
37474 * sunrpc/pmap_rmt.c: Likewise.
37475 * sunrpc/rpc/auth.h: Likewise.
37476 * sunrpc/rpc/auth_unix.h: Likewise.
37477 * sunrpc/rpc/clnt.h: Likewise.
37478 * sunrpc/rpc/des_crypt.h: Likewise.
37479 * sunrpc/rpc/key_prot.h: Likewise.
37480 * sunrpc/rpc/netdb.h: Likewise.
37481 * sunrpc/rpc/pmap_clnt.h: Likewise.
37482 * sunrpc/rpc/pmap_prot.h: Likewise.
37483 * sunrpc/rpc/pmap_rmt.h: Likewise.
37484 * sunrpc/rpc/rpc.h: Likewise.
37485 * sunrpc/rpc/rpc_des.h: Likewise.
37486 * sunrpc/rpc/rpc_msg.h: Likewise.
37487 * sunrpc/rpc/svc.h: Likewise.
37488 * sunrpc/rpc/svc_auth.h: Likewise.
37489 * sunrpc/rpc/types.h: Likewise.
37490 * sunrpc/rpc/xdr.h: Likewise.
37491 * sunrpc/rpc_clntout.c: Likewise.
37492 * sunrpc/rpc_cmsg.c: Likewise.
37493 * sunrpc/rpc_common.c: Likewise.
37494 * sunrpc/rpc_cout.c: Likewise.
37495 * sunrpc/rpc_dtable.c: Likewise.
37496 * sunrpc/rpc_hout.c: Likewise.
37497 * sunrpc/rpc_main.c: Likewise.
37498 * sunrpc/rpc_parse.c: Likewise.
37499 * sunrpc/rpc_parse.h: Likewise.
37500 * sunrpc/rpc_prot.c: Likewise.
37501 * sunrpc/rpc_sample.c: Likewise.
37502 * sunrpc/rpc_scan.c: Likewise.
37503 * sunrpc/rpc_scan.h: Likewise.
37504 * sunrpc/rpc_svcout.c: Likewise.
37505 * sunrpc/rpc_tblout.c: Likewise.
37506 * sunrpc/rpc_util.c: Likewise.
37507 * sunrpc/rpc_util.h: Likewise.
37508 * sunrpc/rpcinfo.c: Likewise.
37509 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37510 * sunrpc/rpcsvc/key_prot.x: Likewise.
37511 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37512 * sunrpc/rpcsvc/mount.x: Likewise.
37513 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37514 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37515 * sunrpc/rpcsvc/rex.x: Likewise.
37516 * sunrpc/rpcsvc/rstat.x: Likewise.
37517 * sunrpc/rpcsvc/rusers.x: Likewise.
37518 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37519 * sunrpc/rpcsvc/spray.x: Likewise.
37520 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37521 * sunrpc/rtime.c: Likewise.
37522 * sunrpc/svc.c: Likewise.
37523 * sunrpc/svc_auth.c: Likewise.
37524 * sunrpc/svc_authux.c: Likewise.
37525 * sunrpc/svc_raw.c: Likewise.
37526 * sunrpc/svc_run.c: Likewise.
37527 * sunrpc/svc_simple.c: Likewise.
37528 * sunrpc/svc_tcp.c: Likewise.
37529 * sunrpc/svc_udp.c: Likewise.
37530 * sunrpc/svc_unix.c: Likewise.
37531 * sunrpc/svcauth_des.c: Likewise.
37532 * sunrpc/xcrypt.c: Likewise.
37533 * sunrpc/xdr.c: Likewise.
37534 * sunrpc/xdr_array.c: Likewise.
37535 * sunrpc/xdr_float.c: Likewise.
37536 * sunrpc/xdr_mem.c: Likewise.
37537 * sunrpc/xdr_rec.c: Likewise.
37538 * sunrpc/xdr_ref.c: Likewise.
37539 * sunrpc/xdr_sizeof.c: Likewise.
37540 * sunrpc/xdr_stdio.c: Likewise.
37542 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37545 2010-08-19 Andreas Schwab <schwab@redhat.com>
37547 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37549 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37551 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37553 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37554 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37555 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37556 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37558 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37560 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37561 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37562 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37563 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37564 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37566 2010-07-26 Anton Blanchard <anton@samba.org>
37568 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37569 * malloc/arena.c (heap_trim): Likewise.
37571 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37573 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37576 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37578 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37580 * sysdeps/i386/elf/Makefile: New file.
37582 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37584 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37585 from fanotify_init.
37586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37589 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37591 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37593 * sysdeps/multiarch/strcmp.S: Likewise.
37595 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37598 strncase_l-nonascii.
37599 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37600 Add strncase_l-ssse3.
37601 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37602 * sysdeps/x86_64/strcmp.S: Likewise.
37603 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37604 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37605 * sysdeps/x86_64/strncase.S: New file.
37606 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37607 * sysdeps/x86_64/strncase_l.S: New file.
37608 * string/Makefile (strop-tests): Add strncasecmp.
37609 * string/test-strncasecmp.c: New file.
37611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37614 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37615 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37617 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37619 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37621 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37623 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37625 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37627 2010-05-01 Alan Modra <amodra@gmail.com>
37629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37630 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37631 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37632 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37633 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37634 tidying. Don't tail-call __sigjmp_save for static lib.
37635 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37637 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37638 (CALL_MCOUNT): Add eh info, and nop after bl.
37639 (TAIL_CALL_SYSCALL_ERROR): New macro.
37640 (PSEUDO_RET): Use it.
37641 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37642 Correct save location of integer regs and cr.
37643 (_dl_profile_resolve): Correct cr save location. Delete nops
37644 after bl when SHARED. Reduce cfi size a little by better
37645 placement of cfi directives.
37646 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37647 make a stack frame. Instead use parm save area as a temp.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37649 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37651 Don't make a stack frame for parent, use parm save area.
37652 Increase child stack frame to 112 bytes. Don't save unused reg,
37653 and adjust reg usage. Set up cfi on error recovery and
37654 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37656 (__makecontext): Add dummy nop after jump to exit.
37657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37658 Use correct parm save area and cr save, reduce stack frame.
37659 Correct cfi for possible PSEUDO_RET frame setup.
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37661 Branch to local label emitted by PSEUDO_RET rather than
37664 2010-08-12 Andreas Schwab <schwab@redhat.com>
37667 * locale/programs/locale.c (print_assignment): New function.
37668 (show_locale_vars): Use it.
37670 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37672 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37674 (struct statfs64): Likewise.
37675 (_STATFS_F_FLAGS): Define.
37676 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37677 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37678 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37679 (ST_VALID): Define locally.
37680 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37681 __statvfs_getflags, use the provided value.
37682 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37683 __ASSUME_STATFS_F_FLAGS.
37685 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37687 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37688 Add sys/fanotify.h.
37689 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37690 fanotify_mask for GLIBC_2.13.
37691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37692 fanotify_init and fanotify_mark.
37693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37694 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37696 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37698 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37699 prlimit64 for GLIBC_2.13.
37700 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37706 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37707 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37710 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37713 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37714 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37716 * nss/Makefile: Add rules to build and run tst-nss-test1.
37717 * shlib-versions: Add entry for libnss_test1.
37718 * nss/nss_test1.c: New file.
37719 * nss/tst-nss-test1.c: New file.
37721 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37722 (__nss_configure_lookup): Set appropriate entry in
37723 __nss_configure_lookup to true.
37724 * nss/nsswitch.h: Define enum with indeces of databases in
37725 databases and __nss_database_custom arrays. Declare
37726 __nss_database_custom.
37727 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37728 to avoid using nscd when custom rules are installed.
37729 * nss/getXXbyYY_r.c: Likewise.
37730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37732 * nss/nss_files/files-parse.c: Whitespace fixes.
37734 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37737 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37738 * posix/fnmatch_loop.c: Likewise.
37740 2010-07-17 Andi Kleen <ak@linux.intel.com>
37742 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37743 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37744 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37745 * Versions.def [GLIBC_2.13]: Add.
37747 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37750 Also fail if tpwd after pwuid call is NULL.
37752 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37754 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37755 when converting to ms.
37757 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37759 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37760 EOPNOTSUPP errors with ENOTTY.
37761 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37762 EOPNOTSUPP errors with ENOTTY.
37764 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37767 Add strcasecmp_l-ssse3.
37768 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37770 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37771 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37772 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37774 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37776 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37778 * string/Makefile (strop-tests): Add strcasecmp.
37779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37780 strcasecmp_l-nonascii.
37781 (gen-as-const-headers): Add locale-defines.sym.
37782 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37783 * sysdeps/x86_64/strcasecmp.S: New file.
37784 * sysdeps/x86_64/strcasecmp_l.S: New file.
37785 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37786 * sysdeps/x86_64/locale-defines.sym: New file.
37787 * string/test-strcasecmp.c: New file.
37789 * string/test-strcasestr.c: Test both ends of the range of characters.
37790 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37792 2010-07-29 Roland McGrath <roland@redhat.com>
37795 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37797 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37799 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37802 2010-07-27 Andreas Schwab <schwab@redhat.com>
37804 * manual/memory.texi (Malloc Tunable Parameters): Document
37807 2010-07-26 Roland McGrath <roland@redhat.com>
37810 * configure.in (-fgnu89-inline check): Set and substitute
37811 gnu89_inline, not libc_cv_gnu89_inline.
37812 * configure: Regenerated.
37813 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37815 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37817 * string/test-strnlen.c: New file.
37818 * string/Makefile (strop-tests): Add strnlen.
37819 * string/tester.c (test_strnlen): Add a few more test cases.
37820 * string/tst-strlen.c: Better error reporting.
37822 * sysdeps/x86_64/strnlen.S: New file.
37824 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37827 lower-latency instructions.
37829 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37831 * string/test-strcasestr.c: New file.
37832 * string/test-strstr.c: New file.
37833 * string/Makefile (strop-tests): Add strstr and strcasestr.
37834 * string/str-two-way.h: Don't undefine MAX.
37835 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37837 2010-07-21 Andreas Schwab <schwab@redhat.com>
37839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37840 strcasestr-nonascii.
37841 (CFLAGS-strcasestr-nonascii.c): Define.
37842 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37843 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37844 Remove unused attribute.
37846 2010-07-20 Roland McGrath <roland@redhat.com>
37848 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37849 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37850 ld.so.cache was broken. With it, there is no way to disable dsocaps
37851 like LD_HWCAP_MASK can disable hwcaps.
37853 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37855 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37857 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37859 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37860 call in strcasestr.
37861 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37862 __strcasestr_sse42_nonascii.
37863 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37864 strcasestr-nonascii.c.
37865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37867 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37871 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37874 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37879 2010-07-06 Andreas Schwab <schwab@redhat.com>
37882 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37885 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37888 _PC_PIPE_BUF using F_GETPIPE_SZ.
37890 2010-07-05 Roland McGrath <roland@redhat.com>
37892 * manual/arith.texi (Rounding Functions): Fix rint description
37893 implicit in round description.
37895 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37897 * elf/Makefile: Fix linking for a few tests to make recent linker
37900 2010-06-30 Andreas Schwab <schwab@redhat.com>
37902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37903 $(common-objpfx)libc_nonshared.a.
37905 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37907 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37908 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37909 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37910 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37911 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37912 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37913 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37914 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37929 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37930 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37931 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37932 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37933 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37934 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37935 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37936 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37937 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37938 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37939 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37940 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37956 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37958 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37959 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37960 * string/memmove.c (memmove): Renamed to ...
37961 (MEMMOVE): ...this. Default to memmove.
37962 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37963 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37966 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37967 mempcpy-ssse3-back memmove-ssse3-back.
37968 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37969 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37971 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37972 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37973 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37974 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37975 * sysdeps/x86_64/multiarch/memmove.c: New file.
37976 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37977 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37978 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37979 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37980 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37983 (index_Fast_Copy_Backward): Define.
37984 (HAS_ARCH_FEATURE): Define.
37985 (HAS_FAST_REP_STRING): Define.
37986 (HAS_FAST_COPY_BACKWARD): Define.
37988 2010-06-21 Andreas Schwab <schwab@redhat.com>
37990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37991 Restore proper fallback handling.
37993 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37996 * posix/group_member.c (__group_member): Correct checking loop.
37998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37999 OOM in getpwuid_r correctly. Return error number when the caller
38000 should return, otherwise -1.
38001 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38002 call returning > 0 value.
38003 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38005 2010-06-07 Andreas Schwab <schwab@redhat.com>
38007 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38008 libc_nonshared.a from targets in modules-names.
38010 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38012 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38015 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38017 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38022 2010-06-02 Andreas Schwab <schwab@redhat.com>
38024 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38026 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38028 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38037 2010-06-14 Roland McGrath <roland@redhat.com>
38039 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38041 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38043 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38044 __REDIRECT followed by __THROW.
38045 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38046 * posix/getopt.h (getopt): Likewise.
38048 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38050 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38051 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38052 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38054 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38055 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38057 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38061 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38065 Properly check family and model.
38067 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38071 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38073 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38075 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38077 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38080 2010-05-19 Andreas Schwab <schwab@redhat.com>
38082 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38085 2010-05-21 Andreas Schwab <schwab@redhat.com>
38087 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38088 and internal_recvmmsg.
38089 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38090 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38092 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38094 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38098 2010-05-20 Andreas Schwab <schwab@redhat.com>
38100 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38102 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38104 POWER7 optimizations.
38105 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38106 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38108 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38110 * version.h: Update for 2.13 development version.
38112 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38115 exceptions. Return 0.
38117 2010-05-07 Roland McGrath <roland@redhat.com>
38119 * elf/ldconfig.c (main): Add a const.
38121 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38123 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38124 (args_options): Add no-idn option.
38125 (ahosts_keys_int): Add idn_flags to ai_flags.
38126 (parse_option): Handle 'i' option to clear idn_flags.
38128 * malloc/malloc.c (_int_free): Possible race in the most recently
38129 added check. Only act on the data if no current modification
38132 See ChangeLog.17 for earlier changes.